@luckydonaldsbots · Post #145 · 22.07.2018 г., 04:19
Why are there 5 buttons now? Technical details time (6am local) In order to switch to private chat we have to let the user click on a t.me/RulesRulesBot link with a start parameter. However, Telegram requires the first button to be a GameCallback button. It cannot be a normal url button. When that button is clicked, the bot gets an incoming update, which it can act upon. One way is to send a url to navigate to (open the game). I tried using the t.me start link there, but that doesn't work smoothly across all Telegram clients. Here is a summary: - Telegram Mac works without problem - Telegram on iOS works, but briefly shows a frame of the Telegram homepage before jumping to the chat - Telegram Android opens the Telegram website, and nothing happens - Telegram Desktop doesn't work at all, showing an error about the user not being found. Therefore I choose to disable the button showing the user an message he should use one of the plenty other buttons. Long answer short, with more buttons, the wrong one gets smaller, as does the chance to hit it. #TechnicalDetails
Hashtags