BotNetwork

Common Telegram Update types

Fields you will switch on in a webhook handler.

FieldMeaning
messageOrdinary message
edited_messageEdited message
callback_queryInline button press
inline_queryInline mode query
my_chat_memberBot membership change

Verify against official documentation before production use.