Enums
You can import all enums at once:
trueconf.enums ⚓︎
ALLOWED_BUTTON_URL_SCHEMES module-attribute ⚓︎
ButtonStyle ⚓︎
ButtonType ⚓︎
ChatActivity ⚓︎
This object represents a type of activity that the bot can show in a chat.
ChatParticipantRole ⚓︎
This object represents a possible participant role in a chat.
ChatType ⚓︎
The enumeration contains possible chat types.
CommandAnswerType ⚓︎
CommandMessageLevel ⚓︎
CommandMessageStatus ⚓︎
CommandMessageVisibility ⚓︎
EnvelopeAuthorType ⚓︎
The enumeration contains possible author types.
FileReadyState ⚓︎
This enumeration is used to indicate the status of a file on the server.
IncomingUpdateMethod ⚓︎
ADDED_CHAT_PARTICIPANT class-attribute instance-attribute ⚓︎
CHANGED_FILE_UPLOAD_LIMITS class-attribute instance-attribute ⚓︎
CHANGED_PARTICIPANT_ROLE class-attribute instance-attribute ⚓︎
CREATED_FAVORITES_CHAT class-attribute instance-attribute ⚓︎
REMOVED_CHAT_PARTICIPANT class-attribute instance-attribute ⚓︎
MessageType ⚓︎
The enumeration contains the message type.
OAuthError ⚓︎
Error codes, according to the OAuth 2.0 specification, are presented as ASCII strings from the list specified in the specification.
UNSUPORTED_GRANT_TYPE class-attribute instance-attribute ⚓︎
ParseMode ⚓︎
Formatting options
SurveyType ⚓︎
UpdateType ⚓︎
There are three types of messages. Only REQUEST and RESPONSE are applicable.