TelegramBots / Telegram.Bot.Framework

Simple framework for building Telegram bots
MIT License
98 stars 43 forks source link

Ignore non-message updates for handling commands #17

Closed poulad closed 6 years ago

poulad commented 6 years ago

Return false if not a message update

https://github.com/TelegramBots/Telegram.Bot.Framework/blob/c0864217d787c0ef543316c41a3fb055355f75a7/src/Telegram.Bot.Framework/Extensions/BotExtensions.cs#L16-L17