tdesktop icon indicating copy to clipboard operation
tdesktop copied to clipboard

MacOS desktop client loses bot deeplink params

Open olekshchavelev opened this issue 7 years ago • 8 comments

Steps to reproduce

  1. Send share link to bot with deeplinks params (for example https://telegram.me/share/url?url=t.me/alextest44bot?start=123)
  2. Press on it. Share to any user/saved messages

Expected behaviour

In chat should be link t.me/alextest44bot?start=123 (from the example above)

Actual behaviour

Chat has t.me/alextest44bot?start link

Configuration

High Sierra 10.13.4

Version of Telegram Desktop: 4.9.9

Used theme: Default

olekshchavelev avatar Mar 28 '19 15:03 olekshchavelev

video of reproduction https://vimeo.com/327078114

olekshchavelev avatar Mar 28 '19 15:03 olekshchavelev

@alexshavelev44 Shouldn't the value of url parameter be urlencoded?

john-preston avatar Mar 28 '19 16:03 john-preston

@john-preston no. this form works on windows desktop and ios/android mobile apps. if url will be encoded it won't.

you can also copy the link and paste in the browser it will work. but when you click inside desktop - error

olekshchavelev avatar Mar 28 '19 18:03 olekshchavelev

@alexshavelev44 But it should. The correct form is when parameters are encoded.

john-preston avatar Mar 28 '19 18:03 john-preston

@john-preston ok. if i make https://telegram.me/share/url?url=t.me%2Falextest44bot%3Fstart%3D123 then after sharing user will see t.me%2falextest44bot%3fstart%3d123 which isn't clickable

or if make https://telegram.me/share/url?url=t.me/alextest44bot?start%3D123 after share user see t.me/alextest44bot?start%3d123 (clickable but now show start button at bot's page)

image image

olekshchavelev avatar Mar 28 '19 18:03 olekshchavelev

@alexshavelev44 Did you try that in Telegram Desktop? Right now you try on Telegram for macOS, another macOS app. You can try Telegram Desktop from https://desktop.telegram.org

john-preston avatar Mar 29 '19 05:03 john-preston

This is not TDesktop but a different app -- from https://macos.telegram.org. You can get TDesktop at https://desktop.telegram.org. (There are two apps in Mac App Store as well).

You can report issues in the app you're using at https://t.me/macswift, or at https://github.com/overtake/TelegramSwift.

stek29 avatar Mar 31 '19 10:03 stek29

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

github-actions[bot] avatar Mar 06 '21 01:03 github-actions[bot]