Telegram-iOS icon indicating copy to clipboard operation
Telegram-iOS copied to clipboard

Deep link does not run "start" command

Open PaulZadorozhniy opened this issue 1 year ago • 33 comments

Checklist

  • [x] I am reporting an issue in existing functionality that does not work as intended
  • [x] I've searched for existing GitHub issues. This is kind of related Issue

Description

I have a telegram bot that uses deep links for making actions. When I generate QR codes for that links and scan them - only the first scan goes well, and second does not run "start" command with params.

The same behaviour can be reproduced by opening several link in browser and open them one by one. Only the first will trigger "start" command and the second does nothing. To overcome this behavior telegram app needs to be re-launched.

Or the easiest way is to try opening same deep link a couple of times. The second will not work.

Attaching videos

Expected Behavior

The expected behavior - "start" command triggers each time by deep link

Actual Behavior

Currently "start" command triggers only first time

Steps to Reproduce

Way 1

  1. Open http://t.me/bot-name?start=command_with_parrams in the browser
  2. Click "Send Message" -> "Open in Telegram". I will submit "start" command
  3. Come back to the browser and try to do the same -> No "start" command submited (same will be if open 2 different http://t.me/bot-name?start=command_with_parrams_1 and http://t.me/bot-name?start=command_with_parrams_2)

Way 2

  1. Generate 2 QR codes base on deep links http://t.me/bot-name?start=command_with_parrams_1 & http://t.me/bot-name?start=command_with_parrams_2
  2. Scan first QR code -> I will submit "start" command
  3. Scan second QR code -> I will NOT submit "start" command

Screenshots and Videos

Remove, if not applicable

https://user-images.githubusercontent.com/2473683/236692166-b63b0765-7135-4932-be97-727df4a72fc2.mp4

https://user-images.githubusercontent.com/2473683/236692174-a9923c9c-b6d8-423f-8a93-e190542be273.mp4

Environment

Device: iPhone/iPad X

iOS version: 16.0.2

App version: 9.6.3

PaulZadorozhniy avatar May 07 '23 17:05 PaulZadorozhniy

+1

evgeniyz13 avatar May 07 '23 18:05 evgeniyz13

same issue

beschastniyartem avatar May 07 '23 18:05 beschastniyartem

same issue

bijanRostamnejad avatar May 30 '23 13:05 bijanRostamnejad

same issue

andreintys avatar Jun 13 '23 07:06 andreintys

same issue

klimatov avatar Jun 15 '23 13:06 klimatov

same issue

behnammohammadi avatar Jun 19 '23 19:06 behnammohammadi

Same issue for pretty long time. But in my case I do not need to press "send message" button, I'm just getting redirected automatically into the app with no start command.

Maxim-Lanskoy avatar Jun 21 '23 02:06 Maxim-Lanskoy

Bumping up. Seems like an iOS bug, Mac app is fine.

iezepov avatar Jun 29 '23 13:06 iezepov

Took the liberty of reporting here as well for visibility: https://bugs.telegram.org/c/29562 Please, upvote, might be fixed faster.

iezepov avatar Jun 29 '23 14:06 iezepov

any update? looks like the issue is still there.

taco-devs avatar Jul 24 '23 20:07 taco-devs

the same issue still , pleaseeeeeee fixxxxxxx ti GODDDDD

aicoderr avatar Jul 26 '23 18:07 aicoderr

Hello community, Any update on this, I am facing same issue

KrishEnacton avatar Jul 31 '23 10:07 KrishEnacton

Hello, community, Any update on this, I am facing the same issue only on iPhone

If a dialogue with the bot is opened in the Telegram application and a direct link is made to the bot with a tag from another application, then there is no reaction. If you close either the dialog or the Telegram application, then everything comes fine

burovytskyi avatar Aug 14 '23 14:08 burovytskyi

Hello, same issue. Any fixes?

NodgeTheRage avatar Sep 25 '23 13:09 NodgeTheRage

same issue on OSX. opening a deep link in the browser open telegram app but start command isn't working at all. it isn't neither logged as i coded to be. It's like it is not sent to the bot.

JoGreen avatar Oct 10 '23 10:10 JoGreen

please fixxxx it

sonoaziz avatar Oct 18 '23 17:10 sonoaziz

The same issue. IOS 17, app 10.1.2

Svatok avatar Oct 28 '23 16:10 Svatok

Same issue

Volosh1n avatar Oct 29 '23 10:10 Volosh1n

Hello everyone! @ali-fareed, @laktyushin, @petertechstories, @maicki, @Adlai-Holler, @smohantty, @lumaxis, @overtake, @garrettmoon, please take a look at this issue.

venri avatar Nov 17 '23 08:11 venri

same problem

amigolj avatar Nov 28 '23 20:11 amigolj

Still exist

fengyuxx avatar Dec 19 '23 09:12 fengyuxx

I think we can solve this problem by adding a timestamp parameter to the link so that each link is different.

fengyuxx avatar Dec 19 '23 09:12 fengyuxx

The only workaround so far is to restart (swipe up) the Telegram App on iOS (iPhone and iPad)

vzhilov avatar Jan 11 '24 07:01 vzhilov

I noticed this too and it kills usability of my bot...

alexw92 avatar Jan 20 '24 13:01 alexw92

I think we can solve this problem by adding a timestamp parameter to the link so that each link is different.

Unfortunately, timestamp doesn't help. I checked.

Svatok avatar Feb 08 '24 15:02 Svatok

same issue, please, fix it. It kills usability

vladkuzmich avatar Feb 27 '24 21:02 vladkuzmich

+1

eburgwedel avatar Mar 22 '24 10:03 eburgwedel

Any updates?

Svatok avatar Apr 22 '24 18:04 Svatok

It already works

On Mon, 22 Apr 2024 at 21:24, Svatok @.***> wrote:

Any updates?

— Reply to this email directly, view it on GitHub https://github.com/TelegramMessenger/Telegram-iOS/issues/1100#issuecomment-2070542972, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMYHQ52QO5PBKY7SJNPH4BLY6VIXJAVCNFSM6AAAAAAXZAEV6WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZQGU2DEOJXGI . You are receiving this because you commented.Message ID: @.***>

yedubi avatar Apr 23 '24 12:04 yedubi

not working

foinution avatar May 09 '24 15:05 foinution