Closed Viiprogrammer closed 1 week ago
@Viiprogrammer
The correct link to share looks like: https://t.me/share/url?url={url}
@Viiprogrammer
The correct link to share looks like: https://t.me/share/url?url={url}
Hmm, this actually works https://core.telegram.org/widgets/share#custom-buttons
https://t.me/share?url={url} also works too, but outside the WebApp and not present in docs.
Solved, thanks for your answer!
Steps to reproduce
webApp.openTelegramLink('https://t.me/share?url=' + address)
or 2.2.webApp.openLink('https://t.me/share?url=' + address.value)
Expected behaviour
Open link as share link
Actual behaviour
Operating system
Ubuntu 22.04.4 LTS x86_64 / Windows 11
Version of Telegram Desktop
5.0.1
Installation source
Static binary from official website
Crash ID
No response
Logs
No response