U
    dd
                 3   @   s  U d Z ddddddddd	d
dddddddddddddddddddddd d!d"d#d$d%d&d'd(d)d*d+d,d-d.d/d0d1d2d3g3Zd4d5lZd4d6lmZmZ d4d7lmZmZ G d8d9 d9eZ	e	d:d;d<Z
ee
Zd=d>d?d@gZee ed,< G dAd deZG dBd deZG dCd deZG dDd deZG dEd deZG dFd deZG dGd	 d	eZG dHd
 d
eZG dId deZG dJd deZG dKd deZG dLd deZG dMd deZG dNd deZG dOd deZG dPd deZG dQd deZ G dRd deZ!G dSd deZ"G dTd deZ#G dUd deZ$G dVd deZ%G dWd deZ&G dXd deZ'G dYd deZ(G dZd deZ)G d[d deZ*G d\d  d eZ+G d]d! d!eZ,G d^d" d"eZ-G d_d# d#eZ.G d`d$ d$eZ/G dad% d%eZ0G dbd& d&eZ1G dcd' d'eZ2G ddd+ d+eZ3G ded- d-eZ4G dfd. d.eZ5G dgd/ d/eZ6G dhd0 d0eZ7G did( d(eZ8G djd) d)eZ9G dkd* d*eZ:G dld2 d2eZ;G dmd deZ<G dnd3 d3eZ=G dod1 d1eZ>G dpd deZ?d5S )qaI  This module contains several constants that are relevant for working with the Bot API.

Unless noted otherwise, all constants in this module were extracted from the
`Telegram Bots FAQ <https://core.telegram.org/bots/faq>`_ and
`Telegram Bots API <https://core.telegram.org/bots/api>`_.

Most of the following constants are related to specific classes or topics and are grouped into
enums. If they are related to a specific class, then they are also available as attributes of
those classes.

.. versionchanged:: 20.0

    * Most of the constants in this module are grouped into enums.
BOT_API_VERSIONBOT_API_VERSION_INFOBotCommandLimitBotCommandScopeTypeBotDescriptionLimitBotNameLimitCallbackQueryLimit
ChatActionChatIDChatInviteLinkLimit	ChatLimitChatMemberStatusChatPhotoSizeChatTypeContactLimitCustomEmojiStickerLimit	DiceEmoji	DiceLimitFileSizeLimit
FloodLimitForumIconColorForumTopicLimitInlineKeyboardButtonLimitInlineKeyboardMarkupLimitInlineQueryLimitInlineQueryResultLimitInlineQueryResultsButtonLimitInlineQueryResultTypeInputMediaTypeInvoiceLimitLocationLimitMaskPositionMediaGroupLimitMenuButtonTypeMessageAttachmentTypeMessageEntityTypeMessageLimitMessageTypePollingLimit	ParseMode	PollLimitPollType
ReplyLimitSUPPORTED_WEBHOOK_PORTSStickerFormatStickerLimitStickerSetLimitStickerTypeWebhookLimit
UpdateTypeUserProfilePhotosLimit    N)List
NamedTuple)IntEnum
StringEnumc                   @   s>   e Zd ZU dZeed< eed< edddZedddZd	S )
_BotAPIVersionz{Similar behavior to sys.version_info.
    So far TG has only published X.Y releases. We can add X.Y.Z(a(S)) if needed.
    majorminor)returnc                 C   s   d| j  d| j dS )ztUnfortunately calling super().__repr__ doesn't work with typing.NamedTuple, so we
        do this manually.
        zBotAPIVersion(major=z, minor=)r:   r;   self rA   6/tmp/pip-unpacked-wheel-e3anp165/telegram/constants.py__repr__f   s    z_BotAPIVersion.__repr__c                 C   s   | j  d| j S )N.r>   r?   rA   rA   rB   __str__l   s    z_BotAPIVersion.__str__N)	__name__
__module____qualname____doc__int__annotations__strrC   rE   rA   rA   rA   rB   r9   ^   s
   
r9         r>   i  P   X   i   c                   @   s(   e Zd ZdZdZdZdZdZdZdZ	dS )r   zThis enum contains limitations for :class:`telegram.BotCommand` and
    :meth:`telegram.Bot.set_my_commands`.
    The enum members of this enumeration are instances of :class:`int` and can be treated as such.

    .. versionadded:: 20.0
    rA             d   N)
rF   rG   rH   rI   	__slots__ZMIN_COMMANDZMAX_COMMANDZMIN_DESCRIPTIONZMAX_DESCRIPTIONZMAX_COMMAND_NUMBERrA   rA   rA   rB   r      s   c                   @   s0   e Zd ZdZdZdZdZdZdZdZ	dZ
d	Zd
S )r   zThis enum contains the available types of :class:`telegram.BotCommandScope`. The enum
    members of this enumeration are instances of :class:`str` and can be treated as such.

    .. versionadded:: 20.0
    rA   defaultZall_private_chatsZall_group_chatsZall_chat_administratorsZchatZchat_administratorschat_memberN)rF   rG   rH   rI   rU   DEFAULTZALL_PRIVATE_CHATSZALL_GROUP_CHATSZALL_CHAT_ADMINISTRATORSZCHATZCHAT_ADMINISTRATORSCHAT_MEMBERrA   rA   rA   rB   r      s   c                   @   s   e Zd ZdZdZdZdZdS )r   a  This enum contains limitations for the methods :meth:`telegram.Bot.set_my_description` and
    :meth:`telegram.Bot.set_my_short_description`. The enum members of this enumeration are
    instances of :class:`int` and can be treated as such.

    .. versionadded:: 20.2
    rA   i   x   N)rF   rG   rH   rI   rU   MAX_DESCRIPTION_LENGTHZMAX_SHORT_DESCRIPTION_LENGTHrA   rA   rA   rB   r      s
   c                   @   s   e Zd ZdZdZdZdS )r   zThis enum contains limitations for the methods :meth:`telegram.Bot.set_my_name`.
    The enum members of this enumeration are instances of :class:`int` and can be treated as such.

    .. versionadded:: 20.3
    rA   @   N)rF   rG   rH   rI   rU   MAX_NAME_LENGTHrA   rA   rA   rB   r      s   c                   @   s   e Zd ZdZdZdZdS )r   zThis enum contains limitations for :class:`telegram.CallbackQuery`/
    :meth:`telegram.Bot.answer_callback_query`. The enum members of this enumeration are instances
    of :class:`int` and can be treated as such.

    .. versionadded:: 20.0
    rA      N)rF   rG   rH   rI   rU   Z!ANSWER_CALLBACK_QUERY_TEXT_LENGTHrA   rA   rA   rB   r      s   c                   @   s@   e Zd ZdZdZdZdZdZdZdZ	dZ
d	Zd
ZdZdZdZdS )r   zThis enum contains the available chat actions for :meth:`telegram.Bot.send_chat_action`.
    The enum members of this enumeration are instances of :class:`str` and can be treated as such.

    .. versionadded:: 20.0
    rA   Zchoose_stickerZfind_locationZrecord_voiceZrecord_videoZrecord_video_notetypingZupload_voiceZupload_documentZupload_photoZupload_videoZupload_video_noteN)rF   rG   rH   rI   rU   ZCHOOSE_STICKERZFIND_LOCATIONZRECORD_VOICEZRECORD_VIDEOZRECORD_VIDEO_NOTEZTYPINGZUPLOAD_VOICEZUPLOAD_DOCUMENTZUPLOAD_PHOTOZUPLOAD_VIDEOZUPLOAD_VIDEO_NOTErA   rA   rA   rB   r      s   c                   @   s    e Zd ZdZdZdZdZdZdS )r	   zThis enum contains some special chat IDs. The enum
    members of this enumeration are instances of :class:`int` and can be treated as such.

    .. versionadded:: 20.0
    rA   i8@i( i'N)rF   rG   rH   rI   rU   ZANONYMOUS_ADMINZSERVICE_CHATZFAKE_CHANNELrA   rA   rA   rB   r	     s   c                   @   s    e Zd ZdZdZdZdZdZdS )r
   a%  This enum contains limitations for :class:`telegram.ChatInviteLink`/
    :meth:`telegram.Bot.create_chat_invite_link`/:meth:`telegram.Bot.edit_chat_invite_link`. The
    enum members of this enumeration are instances of :class:`int` and can be treated as such.

    .. versionadded:: 20.0
    rA   rQ   i rR   N)rF   rG   rH   rI   rU   ZMIN_MEMBER_LIMITZMAX_MEMBER_LIMITZNAME_LENGTHrA   rA   rA   rB   r
   8  s   c                   @   s$   e Zd ZdZdZdZdZdZdZdS )r   a<  This enum contains limitations for
    :meth:`telegram.Bot.set_chat_administrator_custom_title`,
    :meth:`telegram.Bot.set_chat_description`, and :meth:`telegram.Bot.set_chat_title`.
    The enum members of this enumeration are instances of :class:`int` and can be treated as such.

    .. versionadded:: 20.0
    rA         rQ      N)	rF   rG   rH   rI   rU   Z&CHAT_ADMINISTRATOR_CUSTOM_TITLE_LENGTHZCHAT_DESCRIPTION_LENGTHZMIN_CHAT_TITLE_LENGTHZMAX_CHAT_TITLE_LENGTHrA   rA   rA   rB   r   Y  s   c                   @   s,   e Zd ZdZdZdZdZdZdZdZ	dZ
d	S )
r   zThis enum contains the available states for :class:`telegram.ChatMember`. The enum
    members of this enumeration are instances of :class:`str` and can be treated as such.

    .. versionadded:: 20.0
    rA   ZadministratorZcreatorZkickedleftmemberZ
restrictedN)rF   rG   rH   rI   rU   ZADMINISTRATORZOWNERZBANNEDLEFTZMEMBERZ
RESTRICTEDrA   rA   rA   rB   r   z  s   c                   @   s   e Zd ZdZdZdZdZdS )r   zThis enum contains limitations for :class:`telegram.ChatPhoto`.
    The enum members of this enumeration are instances of :class:`int` and can be treated as such.

    .. versionadded:: 20.0
    rA      i  N)rF   rG   rH   rI   rU   ZSMALLZBIGrA   rA   rA   rB   r     s
   c                   @   s(   e Zd ZdZdZdZdZdZdZdZ	dS )	r   zThis enum contains the available types of :class:`telegram.Chat`. The enum
    members of this enumeration are instances of :class:`str` and can be treated as such.

    .. versionadded:: 20.0
    rA   ZsenderprivategroupZ
supergroupZchannelN)
rF   rG   rH   rI   rU   ZSENDERZPRIVATEZGROUPZ
SUPERGROUPZCHANNELrA   rA   rA   rB   r     s   c                   @   s   e Zd ZdZdZdZdS )r   a+  This enum contains limitations for :class:`telegram.InlineQueryResultContact`,
    :class:`telegram.InputContactMessageContent`, and :meth:`telegram.Bot.send_contact`.
    The enum members of this enumeration are instances of :class:`int` and can be treated as such.

    .. versionadded:: 20.0
    rA   i   N)rF   rG   rH   rI   rU   ZVCARDrA   rA   rA   rB   r     s   c                   @   s   e Zd ZdZdZdZdS )r   zThis enum contains limitations for :meth:`telegram.Bot.get_custom_emoji_stickers`.
    The enum members of this enumeration are instances of :class:`int` and can be treated as such.

    .. versionadded:: 20.0
    rA   r^   N)rF   rG   rH   rI   rU   ZCUSTOM_EMOJI_IDENTIFIER_LIMITrA   rA   rA   rB   r     s   c                   @   s,   e Zd ZdZdZdZdZdZdZdZ	dZ
d	S )
r   zThis enum contains the available emoji for :class:`telegram.Dice`/
    :meth:`telegram.Bot.send_dice`. The enum
    members of this enumeration are instances of :class:`str` and can be treated as such.

    .. versionadded:: 20.0
    rA   u   🎲u   🎯u   🏀u   ⚽u   🎰u   🎳N)rF   rG   rH   rI   rU   DICEZDARTSZ
BASKETBALLZFOOTBALLZSLOT_MACHINEZBOWLINGrA   rA   rA   rB   r     s   c                   @   s0   e Zd ZdZdZdZdZdZdZdZ	dZ
dZdS )r   zThis enum contains limitations for :class:`telegram.Dice`.
    The enum members of this enumeration are instances of :class:`int` and can be treated as such.

    .. versionadded:: 20.0
    rA   rQ      rM   r\   N)rF   rG   rH   rI   rU   Z	MIN_VALUEZMAX_VALUE_BASKETBALLZMAX_VALUE_BOWLINGZMAX_VALUE_DARTSZMAX_VALUE_DICEZMAX_VALUE_FOOTBALLZMAX_VALUE_SLOT_MACHINErA   rA   rA   rB   r     s   c                   @   sB   e Zd ZdZdZedZedZedZe	j
ZedZedZdS )	r   zThis enum contains limitations regarding the upload and download of files. The enum
    members of this enumeration are instances of :class:`int` and can be treated as such.

    .. versionadded:: 20.0
    rA   g    sAg    ׇAg    eAg    cAg    .AN)rF   rG   rH   rI   rU   rJ   ZFILESIZE_DOWNLOADZFILESIZE_UPLOADZFILESIZE_UPLOAD_LOCAL_MODEsysmaxsizeZFILESIZE_DOWNLOAD_LOCAL_MODEZPHOTOSIZE_UPLOADZVOICE_NOTE_FILE_SIZErA   rA   rA   rB   r   )  s   c                   @   s    e Zd ZdZdZdZdZdZdS )r   zThis enum contains limitations regarding flood limits. The enum
    members of this enumeration are instances of :class:`int` and can be treated as such.

    .. versionadded:: 20.0
    rA   rQ         N)rF   rG   rH   rI   rU   ZMESSAGES_PER_SECOND_PER_CHATZMESSAGES_PER_SECONDZMESSAGES_PER_MINUTE_PER_GROUPrA   rA   rA   rB   r   F  s   c                   @   s,   e Zd ZdZdZdZdZdZdZdZ	dZ
d	S )
r   zThis enum contains the available colors for use in
    :paramref:`telegram.Bot.create_forum_topic.icon_color`. The enum members of this enumeration
    are instances of :class:`int` and can be treated as such.

    .. versionadded:: 20.0
    rA   io i~ iۆ i i i_o N)rF   rG   rH   rI   rU   BLUEYELLOWZPURPLEGREENZPINKREDrA   rA   rA   rB   r   ^  s   c                   @   s   e Zd ZdZdZdZdZdS )r   zThis enum contains limitations for :class:`telegram.InlineKeyboardButton`.
    The enum members of this enumeration are instances of :class:`int` and can be treated as such.

    .. versionadded:: 20.0
    rA   rQ   r\   N)rF   rG   rH   rI   rU   ZMIN_CALLBACK_DATAZMAX_CALLBACK_DATArA   rA   rA   rB   r     s
   c                   @   s   e Zd ZdZdZdZdZdS )r   zThis enum contains limitations for :class:`telegram.InlineKeyboardMarkup`/
    :meth:`telegram.Bot.send_message` & friends. The enum
    members of this enumeration are instances of :class:`int` and can be treated as such.

    .. versionadded:: 20.0
    rA   rT      N)rF   rG   rH   rI   rU   ZTOTAL_BUTTON_NUMBERZBUTTONS_PER_ROWrA   rA   rA   rB   r     s
   c                   @   s(   e Zd ZdZdZdZdZdZdZdZ	dS )	r   zThis enum contains the available types of :class:`telegram.InputMedia`. The enum
    members of this enumeration are instances of :class:`str` and can be treated as such.

    .. versionadded:: 20.0
    rA   	animationdocumentaudiophotovideoN)
rF   rG   rH   rI   rU   	ANIMATIONDOCUMENTAUDIOPHOTOVIDEOrA   rA   rA   rB   r     s   c                   @   s(   e Zd ZdZdZdZdZdZdZdZ	dS )r   zThis enum contains limitations for :class:`telegram.InlineQuery`/
    :meth:`telegram.Bot.answer_inline_query`. The enum members of this enumeration are instances
    of :class:`int` and can be treated as such.

    .. versionadded:: 20.0
    rA   2   r\   rS   rQ   N)
rF   rG   rH   rI   rU   ZRESULTSZMAX_OFFSET_LENGTHZMAX_QUERY_LENGTHMIN_SWITCH_PM_TEXT_LENGTHMAX_SWITCH_PM_TEXT_LENGTHrA   rA   rA   rB   r     s   c                   @   s   e Zd ZdZdZdZdZdS )r   zThis enum contains limitations for :class:`telegram.InlineQueryResult` and its subclasses.
    The enum members of this enumeration are instances of :class:`int` and can be treated as such.

    .. versionadded:: 20.0
    rA   rQ   r\   N)rF   rG   rH   rI   rU   ZMIN_ID_LENGTHZMAX_ID_LENGTHrA   rA   rA   rB   r     s
   c                   @   s    e Zd ZdZdZejZejZ	dS )r   zThis enum contains limitations for :class:`telegram.InlineQueryResultsButton`.
    The enum members of this enumeration are instances of :class:`int` and can be treated as such.

    .. versionadded:: 20.3
    rA   N)
rF   rG   rH   rI   rU   r   r   ZMIN_START_PARAMETER_LENGTHr   ZMAX_START_PARAMETER_LENGTHrA   rA   rA   rB   r     s
   c                   @   sH   e Zd ZdZdZdZdZdZdZdZ	dZ
d	Zd
ZdZdZdZdZdZdS )r   zThis enum contains the available types of :class:`telegram.InlineQueryResult`. The enum
    members of this enumeration are instances of :class:`str` and can be treated as such.

    .. versionadded:: 20.0
    rA   rv   ru   ZgifZ	mpeg4_gifrw   stickerrx   voicearticlecontactgamelocationvenueN)rF   rG   rH   rI   rU   r{   rz   ZGIFZMPEG4GIFr|   STICKERr}   VOICEZARTICLECONTACTGAMELOCATIONVENUErA   rA   rA   rB   r   +  s    c                   @   s8   e Zd ZdZdZdZdZdZdZdZ	dZ
dZdZd	Zd
S )r   a=  This enum contains limitations for
    :class:`telegram.Location`/:class:`telegram.ChatLocation`/
    :meth:`telegram.Bot.edit_message_live_location`/:meth:`telegram.Bot.send_location`.
    The enum members of this enumeration are instances of :class:`int` and can be treated as such.

    .. versionadded:: 20.0
    rA   rQ   r\   i  ih  <   iQ i N)rF   rG   rH   rI   rU   ZMIN_CHAT_LOCATION_ADDRESSZMAX_CHAT_LOCATION_ADDRESSZHORIZONTAL_ACCURACYZMIN_HEADINGZMAX_HEADINGZMIN_LIVE_PERIODZMAX_LIVE_PERIODZMIN_PROXIMITY_ALERT_RADIUSZMAX_PROXIMITY_ALERT_RADIUSrA   rA   rA   rB   r   ^  s   c                   @   s$   e Zd ZdZdZdZdZdZdZdS )r    zThis enum contains the available positions for :class:`telegram.MaskPosition`. The enum
    members of this enumeration are instances of :class:`str` and can be treated as such.

    .. versionadded:: 20.0
    rA   ZforeheadZeyesZmouthZchinN)	rF   rG   rH   rI   rU   ZFOREHEADZEYESZMOUTHZCHINrA   rA   rA   rB   r      s   c                   @   s   e Zd ZdZdZdZdZdS )r!   zThis enum contains limitations for :meth:`telegram.Bot.send_media_group`.
    The enum members of this enumeration are instances of :class:`int` and can be treated as such.

    .. versionadded:: 20.0
    rA      
   N)rF   rG   rH   rI   rU   ZMIN_MEDIA_LENGTHZMAX_MEDIA_LENGTHrA   rA   rA   rB   r!     s
   c                   @   s    e Zd ZdZdZdZdZdZdS )r"   zThis enum contains the available types of :class:`telegram.MenuButton`. The enum
    members of this enumeration are instances of :class:`str` and can be treated as such.

    .. versionadded:: 20.0
    rA   commandsZweb_apprV   N)rF   rG   rH   rI   rU   ZCOMMANDSZWEB_APPrX   rA   rA   rA   rB   r"     s   c                   @   sX   e Zd ZdZdZdZdZdZdZdZ	dZ
d	Zd
ZdZdZdZdZdZdZdZdZdZdS )r#   This enum contains the available types of :class:`telegram.Message` that can be seen
    as attachment. The enum
    members of this enumeration are instances of :class:`str` and can be treated as such.

    .. versionadded:: 20.0
    rA   rt   rv   r   diceru   r   invoicer   passport_datarw   pollr   successful_paymentrx   
video_noter   r   N)rF   rG   rH   rI   rU   ry   r{   r   ri   rz   r   INVOICEr   PASSPORT_DATAr|   POLLr   SUCCESSFUL_PAYMENTr}   
VIDEO_NOTEr   r   rA   rA   rA   rB   r#     s(   c                   @   sX   e Zd ZdZdZdZdZdZdZdZ	dZ
d	Zd
ZdZdZdZdZdZdZdZdZdZdS )r$   zThis enum contains the available types of :class:`telegram.MessageEntity`. The enum
    members of this enumeration are instances of :class:`str` and can be treated as such.

    .. versionadded:: 20.0
    rA   ZmentionZhashtagZcashtagZphone_numberZbot_commandurlemailZboldZitaliccodepreZ	text_linkZtext_mentionZ	underlineZstrikethroughZspoilercustom_emojiN)rF   rG   rH   rI   rU   ZMENTIONZHASHTAGZCASHTAGZPHONE_NUMBERZBOT_COMMANDURLZEMAILZBOLDZITALICZCODEZPREZ	TEXT_LINKZTEXT_MENTIONZ	UNDERLINEZSTRIKETHROUGHZSPOILERCUSTOM_EMOJIrA   rA   rA   rB   r$   8  s(   c                   @   s(   e Zd ZdZdZdZdZdZdZdZ	dS )	r%   a!  This enum contains limitations for :class:`telegram.Message`/
    :class:`telegram.InputTextMessageContent`/
    :meth:`telegram.Bot.send_message` & friends. The enum
    members of this enumeration are instances of :class:`int` and can be treated as such.

    .. versionadded:: 20.0
    rA   i   i   rQ   r\   rT   N)
rF   rG   rH   rI   rU   ZMAX_TEXT_LENGTHZCAPTION_LENGTHZMIN_TEXT_LENGTHZDEEP_LINK_LENGTHZMESSAGE_ENTITIESrA   rA   rA   rB   r%   h  s   c                   @   s   e Zd ZdZdZdZdZdZdZdZ	dZ
d	Zd
ZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZ dZ!d Z"d!Z#d"Z$d#Z%d$Z&d%Z'd&S )'r&   r   rA   rt   rv   r   r   ru   r   r   r   r   rw   r   r   r   rx   r   r   r   textZnew_chat_membersZleft_chat_memberZnew_chat_titleZnew_chat_photoZdelete_chat_photoZgroup_chat_createdZsupergroup_chat_createdZchannel_chat_createdZ!message_auto_delete_timer_changedZmigrate_to_chat_idZmigrate_from_chat_idZpinned_messageZproximity_alert_triggeredZvideo_chat_scheduledZvideo_chat_startedZvideo_chat_endedZvideo_chat_participants_invitedN)(rF   rG   rH   rI   rU   ry   r{   r   ri   rz   r   r   r   r   r|   r   r   r   r}   r   r   r   ZTEXTZNEW_CHAT_MEMBERSZLEFT_CHAT_MEMBERZNEW_CHAT_TITLEZNEW_CHAT_PHOTOZDELETE_CHAT_PHOTOZGROUP_CHAT_CREATEDZSUPERGROUP_CHAT_CREATEDZCHANNEL_CHAT_CREATEDZ!MESSAGE_AUTO_DELETE_TIMER_CHANGEDZMIGRATE_TO_CHAT_IDZMIGRATE_FROM_CHAT_IDZPINNED_MESSAGEZPROXIMITY_ALERT_TRIGGEREDZVIDEO_CHAT_SCHEDULEDZVIDEO_CHAT_STARTEDZVIDEO_CHAT_ENDEDZVIDEO_CHAT_PARTICIPANTS_INVITEDrA   rA   rA   rB   r&     sL   c                   @   s   e Zd ZdZdZdZdZdS )r'   zThis enum contains limitations for :paramref:`telegram.Bot.get_updates.limit`.
    The enum members of this enumeration are instances of :class:`int` and can be treated as such.

    .. versionadded:: 20.0
    rA   rQ   rT   NrF   rG   rH   rI   rU   Z	MIN_LIMITZ	MAX_LIMITrA   rA   rA   rB   r'     s
   c                   @   s   e Zd ZdZdZdZdZdS )r+   zThis enum contains limitations for :class:`telegram.ForceReply`
    and :class:`telegram.ReplyKeyboardMarkup`.
    The enum members of this enumeration are instances of :class:`int` and can be treated as such.

    .. versionadded:: 20.0
    rA   rQ   r\   N)rF   rG   rH   rI   rU   ZMIN_INPUT_FIELD_PLACEHOLDERZMAX_INPUT_FIELD_PLACEHOLDERrA   rA   rA   rB   r+   
  s
   c                   @   s    e Zd ZdZdZdZdZdZdS )r-   zThis enum contains the available formats of :class:`telegram.Sticker` in the set. The enum
    members of this enumeration are instances of :class:`str` and can be treated as such.

    .. versionadded:: 20.2
    rA   ZstaticZanimatedrx   N)rF   rG   rH   rI   rU   ZSTATICZANIMATEDr}   rA   rA   rA   rB   r-   $  s   c                   @   s,   e Zd ZdZdZdZdZdZdZdZ	dZ
dS )r.   zThis enum contains limitations for various sticker methods, such as
    :meth:`telegram.Bot.create_new_sticker_set`.
    The enum members of this enumeration are instances of :class:`int` and can be treated as such.

    .. versionadded:: 20.0
    rA   rQ   r\   rn   N)rF   rG   rH   rI   rU   ZMIN_NAME_AND_TITLEZMAX_NAME_AND_TITLEZMIN_STICKER_EMOJIZMAX_STICKER_EMOJIZMAX_SEARCH_KEYWORDSZMAX_KEYWORD_LENGTHrA   rA   rA   rB   r.   5  s   c                   @   s4   e Zd ZdZdZdZdZdZdZdZ	dZ
dZd	Zd
S )r/   a)  This enum contains limitations for various sticker set methods, such as
    :meth:`telegram.Bot.create_new_sticker_set` and :meth:`telegram.Bot.add_sticker_to_set`.

    The enum members of this enumeration are instances of :class:`int` and can be treated as such.

    .. versionadded:: 20.2
    rA   rQ   r~   r^   rZ   rb   rR   rT   N)rF   rG   rH   rI   rU   ZMIN_INITIAL_STICKERSZMAX_INITIAL_STICKERSZMAX_EMOJI_STICKERSZMAX_ANIMATED_STICKERSZMAX_STATIC_STICKERSZMAX_STATIC_THUMBNAIL_SIZEZMAX_ANIMATED_THUMBNAIL_SIZEZSTATIC_THUMB_DIMENSIONSrA   rA   rA   rB   r/   i  s   c                   @   s    e Zd ZdZdZdZdZdZdS )r0   zThis enum contains the available types of :class:`telegram.Sticker`. The enum
    members of this enumeration are instances of :class:`str` and can be treated as such.

    .. versionadded:: 20.0
    rA   regularmaskr   N)rF   rG   rH   rI   rU   REGULARMASKr   rA   rA   rA   rB   r0     s   c                   @   s    e Zd ZdZdZdZdZdZdS )r(   zThis enum contains the available parse modes. The enum
    members of this enumeration are instances of :class:`str` and can be treated as such.

    .. versionadded:: 20.0
    rA   ZMarkdownZ
MarkdownV2HTMLN)rF   rG   rH   rI   rU   ZMARKDOWNZMARKDOWN_V2r   rA   rA   rA   rB   r(     s   c                   @   s<   e Zd ZdZdZdZdZdZdZdZ	dZ
dZdZd	Zd
ZdS )r)   zThis enum contains limitations for :class:`telegram.Poll`/:class:`telegram.PollOption`/
    :meth:`telegram.Bot.send_poll`. The enum
    members of this enumeration are instances of :class:`int` and can be treated as such.

    .. versionadded:: 20.0
    rA   rQ   i,  rT   r   r   r^   rj   iX  N)rF   rG   rH   rI   rU   ZMIN_QUESTION_LENGTHZMAX_QUESTION_LENGTHZMIN_OPTION_LENGTHZMAX_OPTION_LENGTHZMIN_OPTION_NUMBERZMAX_OPTION_NUMBERZMAX_EXPLANATION_LENGTHZMAX_EXPLANATION_LINE_FEEDSZMIN_OPEN_PERIODZMAX_OPEN_PERIODrA   rA   rA   rB   r)     s   c                   @   s   e Zd ZdZdZdZdZdS )r*   zThis enum contains the available types for :class:`telegram.Poll`/
    :meth:`telegram.Bot.send_poll`. The enum
    members of this enumeration are instances of :class:`str` and can be treated as such.

    .. versionadded:: 20.0
    rA   r   ZquizN)rF   rG   rH   rI   rU   r   ZQUIZrA   rA   rA   rB   r*     s
   c                   @   sL   e Zd ZdZdZdZdZdZdZdZ	dZ
d	Zd
ZdZdZdZdZdZdZdS )r2   zThis enum contains the available types of :class:`telegram.Update`. The enum
    members of this enumeration are instances of :class:`str` and can be treated as such.

    .. versionadded:: 20.0
    rA   messageZedited_messageZchannel_postZedited_channel_postZinline_queryZchosen_inline_resultZcallback_queryZshipping_queryZpre_checkout_queryr   Zpoll_answerZmy_chat_memberrW   Zchat_join_requestN)rF   rG   rH   rI   rU   ZMESSAGEZEDITED_MESSAGEZCHANNEL_POSTZEDITED_CHANNEL_POSTZINLINE_QUERYZCHOSEN_INLINE_RESULTZCALLBACK_QUERYZSHIPPING_QUERYZPRE_CHECKOUT_QUERYr   ZPOLL_ANSWERZMY_CHAT_MEMBERrY   ZCHAT_JOIN_REQUESTrA   rA   rA   rB   r2     s"   c                   @   s0   e Zd ZdZdZdZdZdZdZdZ	dZ
dZdS )	r   a)  This enum contains limitations for :class:`telegram.InputInvoiceMessageContent`,
    :meth:`telegram.Bot.send_invoice`, and :meth:`telegram.Bot.create_invoice_link`.
    The enum members of this enumeration are instances of :class:`int` and can be treated as such.

    .. versionadded:: 20.0
    rA   rQ   rR   ra   rb      N)rF   rG   rH   rI   rU   ZMIN_TITLE_LENGTHZMAX_TITLE_LENGTHZMIN_DESCRIPTION_LENGTHr[   ZMIN_PAYLOAD_LENGTHZMAX_PAYLOAD_LENGTHZMAX_TIP_AMOUNTSrA   rA   rA   rB   r   3  s   





c                   @   s   e Zd ZdZdZdZdZdS )r3   zThis enum contains limitations for :paramref:`telegram.Bot.get_user_profile_photos.limit`.
    The enum members of this enumeration are instances of :class:`int` and can be treated as such.

    .. versionadded:: 20.0
    rA   rQ   rT   Nr   rA   rA   rA   rB   r3     s
   c                   @   s$   e Zd ZdZdZdZdZdZdZdS )r1   a  This enum contains limitations for :paramref:`telegram.Bot.set_webhook.max_connections` and
    :paramref:`telegram.Bot.set_webhook.secret_token`. The enum members of this enumeration are
    instances of :class:`int` and can be treated as such.

    .. versionadded:: 20.0
    rA   rQ   rT   rS   N)	rF   rG   rH   rI   rU   ZMIN_CONNECTIONS_LIMITZMAX_CONNECTIONS_LIMITZMIN_SECRET_TOKEN_LENGTHZMAX_SECRET_TOKEN_LENGTHrA   rA   rA   rB   r1     s   c                   @   s   e Zd ZdZdZdZdZdS )r   a  This enum contains limitations for :paramref:`telegram.Bot.create_forum_topic.name` and
    :paramref:`telegram.Bot.edit_forum_topic.name`.
    The enum members of this enumeration are instances of :class:`int` and can be treated as such.

    .. versionadded:: 20.0
    rA   rQ   rb   N)rF   rG   rH   rI   rU   ZMIN_NAME_LENGTHr]   rA   rA   rA   rB   r     s
   
)@rI   __all__rk   r_   r5   r6   Ztelegram._utils.enumr7   r8   r9   r   rL   r   r,   rJ   rK   r   r   r   r   r   r   r	   r
   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r    r!   r"   r#   r$   r%   r&   r'   r+   r-   r.   r/   r0   r(   r)   r*   r2   r   r3   r1   r   rA   rA   rA   rB   <module>   s   6!!"!!.<&3p108W4,@'P 