Telegram.Bot icon indicating copy to clipboard operation
Telegram.Bot copied to clipboard

callbackQuery.IsGameQuery is gone. Replace with what?

Open frostmyr opened this issue 1 year ago • 2 comments

I just upgraded from 19.x.x to 22.6. What is the replacement for callbackQuery.IsGameQuery? callbackQuery.GameShortName != null perhaps?

Thanks in advance!

frostmyr avatar Jul 31 '25 09:07 frostmyr

https://telegrambots.github.io/book/migrate/Version-21.x.html https://telegrambots.github.io/book/migrate/Version-22.x.html

wiz0u avatar Jul 31 '25 10:07 wiz0u

Ah sorry, the right answer is indeed to replace with GameShortName != null

wiz0u avatar Jul 31 '25 14:07 wiz0u