Source code for aiogram.enums.update_type

from enum import Enum


[docs] class UpdateType(str, Enum): """ This object represents the complete list of allowed update types Source: https://core.telegram.org/bots/api#update """ MESSAGE = "message" EDITED_MESSAGE = "edited_message" CHANNEL_POST = "channel_post" EDITED_CHANNEL_POST = "edited_channel_post" BUSINESS_CONNECTION = "business_connection" BUSINESS_MESSAGE = "business_message" EDITED_BUSINESS_MESSAGE = "edited_business_message" DELETED_BUSINESS_MESSAGES = "deleted_business_messages" MESSAGE_REACTION = "message_reaction" MESSAGE_REACTION_COUNT = "message_reaction_count" INLINE_QUERY = "inline_query" CHOSEN_INLINE_RESULT = "chosen_inline_result" CALLBACK_QUERY = "callback_query" SHIPPING_QUERY = "shipping_query" PRE_CHECKOUT_QUERY = "pre_checkout_query" PURCHASED_PAID_MEDIA = "purchased_paid_media" POLL = "poll" POLL_ANSWER = "poll_answer" MY_CHAT_MEMBER = "my_chat_member" CHAT_MEMBER = "chat_member" CHAT_JOIN_REQUEST = "chat_join_request" CHAT_BOOST = "chat_boost" REMOVED_CHAT_BOOST = "removed_chat_boost"