Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Share button strange behavior #1550

Open
OptimusFaber opened this issue Sep 15, 2024 · 0 comments
Open

Share button strange behavior #1550

OptimusFaber opened this issue Sep 15, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@OptimusFaber
Copy link

I'm making a telegram bot and I faced 1 big problem
In telegram I can either share my post (I select users who I want to share with) or forward (I select only one user who I want share with and I automatically jumping in chat with that user)
I'm making a bot with mini-app in which by pushing the button you switch to forward option - it works well for android and windows, but however on IOS opens the share window:

const telegramShareUrl = `https://t.me/share/url?url=${encodeURIComponent(postUrl)}`;
Telegram.WebApp.openTelegramLink(telegramShareUrl);

Can you please fix it or tell me how to go to forward option instead of share?
Thx!

@OptimusFaber OptimusFaber added the bug Something isn't working label Sep 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
1 participant