tucnak / telebot

Telebot is a Telegram bot framework in Go.
MIT License
4.04k stars 469 forks source link

telebot: add AllUpdates flag for the long poller settings #629

Closed demget closed 8 months ago

demget commented 1 year ago

A convenient way to specify all the updates the bot will receive. To do this you need to specify all the update kinds possible to the allowed_updates param.

The list of updates:

message
edited_message
channel_post
edited_channel_post
inline_query
chosen_inline_result
callback_query
shipping_query
pre_checkout_query
poll
poll_answer
my_chat_member
chat_member
chat_join_request