Telegram.Bot
Telegram.Bot copied to clipboard
callbackQuery.IsGameQuery is gone. Replace with what?
I just upgraded from 19.x.x to 22.6. What is the replacement for callbackQuery.IsGameQuery? callbackQuery.GameShortName != null perhaps?
Thanks in advance!
https://telegrambots.github.io/book/migrate/Version-21.x.html https://telegrambots.github.io/book/migrate/Version-22.x.html
Ah sorry, the right answer is indeed to replace with GameShortName != null