Telegram-iOS
Telegram-iOS copied to clipboard
Share button strange behavior
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!