Closed mikhaillav closed 3 months ago
I am not sure, there is a way to open such kind of links. You could try opening them via usual way we use in browsers. In case, it works fine in all Telegram applications, we may add it in the SDK
I tried to open it via browser. It asked me to open telegram but didn't open requested chat. Thats sad. But thank you for the response!
Accroding to documentation normal clients should ignore these links. Its telegram issue.
I need to open links like
tg://user?id=12345678
. So for example by pressing a button you can open someones profile.I tried to use
utils.openLink
andopenTelegramLink
(just in case).openLink
mini app crashed and I don't know how to fetch any debug information in this case.openTelegramLink
I got an error about using onlyt.me
links (as expected).Code to reproduce crash (assuming you have
<SDKProvider />
)I also used nextjs
<Link>
&<a>
but they don't seem to be working (just nothing happens on click).I ran out of ideas how to implement this feature, maybe this even a bug. Will appreciate any help.