TelegramBots / Telegram.Bot.Examples

Examples for the Telegram.Bot C# Library
MIT License
630 stars 289 forks source link

OnCallbackQuery Event not fire on version 14 #151

Closed ekhtiari closed 6 years ago

ekhtiari commented 6 years ago

Hi Thanks for best Package I have problem with inline keyboard I get your sample and write my code but OnCallbackQuery Event or OnInlineQuery Event not fire I get last package version (14.2.0-rc-452) try on net core framework ( v2.1) and try anything I get your sample ( Echo Bot) and this is not work what must i do ?

karb0f0s commented 6 years ago

Please check for updates in examples project. Make sure you add this parameter in StartReceiving() method call https://github.com/TelegramBots/Telegram.Bot.Examples/blob/e262aed1ed3b8ba659afc9a9c0310f233eded882/Telegram.Bot.Examples.Echo/Program.cs#L29