tdesktop
tdesktop copied to clipboard
startBot is invoked even if the 'startgroup' deeplink doesn't carry any 'parameter'
Steps to reproduce
- click on a
startgroupdeeplink with anadminparameter and with emptystartgroupparameter - select a group where to add the bot as admin
- add the bot
Expected behaviour
messages.startBot is not invoked
Actual behaviour
messages.startBot is invoked, and /start@botusername is sent to the group
According to https://core.telegram.org/api/links#group-channel-bot-links:
t.me/<bot_username>?startgroup=customarg&admin=<permissions>should send a/startcommand in the group (works correctly)t.me/<bot_username>?startgroup&admin=<permissions>should not send a/startmessage in the group after the bot is added (tdesktop sends it (bug), Telegram for Android doesn't (correct behavior))
Note: startgroup deeplinks without an admin parameter behave as expected
Operating system
Any
Version of Telegram Desktop
6.3.1
Installation source
Static binary from official website
Crash ID
No response
Logs