justdmitry / NetTelegramBotApi

C# client library for building Telegram bot
MIT License
74 stars 28 forks source link

allowed_updates in setWebhook and getUpdates (API 2.3.1) #54

Open justdmitry opened 7 years ago

justdmitry commented 7 years ago

Bot API 3.2.1: Use allowed_updates in setWebhook and getUpdates to selectively subscribe to updates of a certain type. Among other things, this allows you to stop getting updates about new posts in channels where your bot is an admin.