TelegramMessenger / Telegram-iOS

Telegram-iOS
5.89k stars 1.57k forks source link

Deep Link Not Working In The Latest iOS Versions #1053

Open OriGummy opened 1 year ago

OriGummy commented 1 year ago

Greetings. I made a bot that serves about 70 iOS users and uses deep linking. All worked well until some time last week, when the deep links stop working natively for almost all of them, and would only show a START button if opened via chrome/safari.

Telegram Version: 9.5.2, 9.5.3 iOS Version: 16.3 (is where I reproduced, but many of my clients are reporting this)

Steps to reproduce: 1) Receive a link of the form: https://t.me/examplebot/?start=arg0 2) Click it. 3) If it opens in a browser, and then a popup prompt asks "open in Telegram?", the START button appears below the chat as expected and everything works fine. 4) If it opens directly in telegram without the browser step, no START button appears.

shivanraptor commented 1 year ago

Isn't it the normal behavior?

prtngn commented 1 year ago

It's not normal behaviour. Read this: https://core.telegram.org/api/links#bot-links the text input bar should be replaced with a Start button (even if the user has already started the bot)

I have same problem. And this is big big problem for me and my users!

alex4506 commented 1 year ago

Any update?

alexw92 commented 7 months ago

also discussed in this issue. It is still a problem https://github.com/TelegramMessenger/Telegram-iOS/issues/1100

ukushu commented 1 month ago

IT IS WORKS GREAT AS IS!

It must NOT require to press "Start" for user that already added bot.

Why do you think that this is bad behaviour? User ALREADY added the bot. So telegram must NOT ask for extra actions from user.

The only thing that is important that deeplinks works on iOS. Tested on 10.14.1. Command comes.

PLEASE DO NOT FIX THIS. This is absolutely insane to ask extra action (extra click to "start") from user when he already added the bot.


@OriGummy if you want to user shown another "start" - your user must stop bot and delete it. And after - open deeplink from scratch.

That's why it's called "Start". Because of user START's work with bot with this action. But if user already add telegram bot to contacts-- it's insane to require extra actions from user on each deeplink open.