Enumerations

This page is about Hydrogram enumerations. Enumerations are types that hold a group of related values to be used whenever a constant value is required. They will help you deal with those values in a type-safe way and also enable code completion so that you can be sure to apply only a valid value among the expected ones.


ChatAction

Chat action enumeration used in ChatEvent.

ChatEventAction

Chat event action enumeration used in get_chat_event_log().

ChatMemberStatus

Chat member status enumeration used in ChatMember.

ChatMembersFilter

Chat members filter enumeration used in get_chat_members()

ChatType

Chat type enumeration used in Chat.

MessageEntityType

Message entity type enumeration used in MessageEntity.

MessageMediaType

Message media type enumeration used in Message.

MessageServiceType

Message service type enumeration used in Message.

MessagesFilter

Messages filter enumeration used in search_messages() and search_global()

ParseMode

Parse mode enumeration used in various places to set a specific parse mode

PollType

Poll type enumeration used in Poll.

SentCodeType

Sent code type enumeration used in SentCode.

NextCodeType

Next code type enumeration used in SentCode.

UserStatus

User status enumeration used in User.