I've recorded video that demonstrates this bug: https://youtu.be/bKbG5akhBVw
There should be "Play %game%" button or game should start when you click on image.
There's no "Play %game%" button and you can't start game clicking on its image. Only restart solves the problem.
Operating system: Windows 10 LTSB x64
Version of Telegram Desktop: 0.10.15 alpha
I can confirm this behavior in 0.10.16... however, this does not happen @gamee
or @gamebot
but with new bots that are building by independent developers: Ex. @gameshdbot
, @awesomebot
, @microgamesbot
, etc.
As @Kondra007 says, the button to start the game only appears once restarted TDesktop.
Before
After
Those bots don't send the required markup in the inline results list. I hope that it will be fixed on the server side (the markup will be forced for the game inline results if there is no such provided by the bot).
The other apps I guess handle this case correctly (by adding the markup when it is returned from server after sending).
@john-preston
I think they rely on Bot API description for sendGame, where it's stated that "Play Game" button will be shown even if no reply_markup is passed.
Well, then this is server-side fault :) It should add this "Play game_title" button in the inline results list, I hope it will.
芦Well, then this is server-side fault禄
@john-preston Should I (or you) close the issue then?
No, if the server won't fix it, then I'll fix it in the next version from the client side.
Fixed.
Most helpful comment
Fixed.