L i&UdZgdZddlZddlZddlmZddlmZm Z m Z ddl m Z ddl mZmZmZGdd e ZGd d e Zed d Zeeed<eeZeeed<gdZeeeed<ejddde Zeejed<GddeZGddeZGddeZGddeZGdd eZGd!d"eZ Gd#d$eZ!Gd%d&eZ"Gd'd(eZ#Gd)d*eZ$Gd+d,eZ%Gd-d.eZ&Gd/d0eZ'Gd1d2eZ(Gd3d4eZ)Gd5d6eZ*Gd7d8eZ+Gd9d:eZ,Gd;deZ.Gd?d@eZ/GdAdBeZ0GdCdDeZ1GdEdFeZ2GdGdHeZ3GdIdJeZ4GdKdLeZ5GdMdNeZ6GdOdPeZ7GdQdReZ8GdSdTeZ9GdUdVeZ:GdWdXeZ;GdYdZeZ<Gd[d\eZ=Gd]d^eZ>Gd_d`eZ?GdadbeZ@GdcddeZAGdedfeZBGdgdheZCGdidjeZDGdkdleZEGdmdneZFGdodpeZGGdqdreZHGdsdteZIGdudveZJGdwdxeZKGdydzeZLGd{d|eZMGd}d~eZNGddeZOGddeZPGddeZQGddeZRGddeZSGddeZTGddeZUGddeZVGddeZWGddeZXGddeZYGddeZZGddeZ[GddeZ\GddeZ]GddeZ^GddeZ_GddeZ`GddeZaGddeZbGddeZcGddeZdGddeZeGddeZfGddeZgGddeZhGddeZiGddeZjGddeZkGddeZlGddeZmGddeZnGddeZoGddeZpGdÄdeZqy)aThis 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 `_ and `Telegram 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. .. versionremoved:: 22.3 Removed deprecated class ``StarTransactions``. Please instead use :attr:`telegram.constants.Nanostar.VALUE`. )[BOT_API_VERSIONBOT_API_VERSION_INFOSUPPORTED_WEBHOOK_PORTS ZERO_DATE AccentColorBackgroundFillLimitBackgroundFillTypeBackgroundTypeLimitBackgroundTypeTypeBotCommandLimitBotCommandScopeTypeBotDescriptionLimit BotNameLimitBulkRequestLimit BusinessLimitCallbackQueryLimit ChatActionChatBoostSourcesChatIDChatInviteLinkLimit ChatLimitChatMemberStatus ChatPhotoSizeChatSubscriptionLimitChatType ContactLimitCustomEmojiStickerLimit DiceEmoji DiceLimit FileSizeLimit FloodLimitForumIconColorForumTopicLimit GiftLimit GiveawayLimitInlineKeyboardButtonLimitInlineKeyboardMarkupLimitInlineQueryLimitInlineQueryResultLimitInlineQueryResultTypeInlineQueryResultsButtonLimitInputChecklistLimitInputMediaTypeInputPaidMediaTypeInputProfilePhotoTypeInputStoryContentLimitInputStoryContentType InvoiceLimitKeyboardButtonRequestUsersLimit LocationLimit MaskPositionMediaGroupLimitMenuButtonTypeMessageAttachmentTypeMessageEntityType MessageLimitMessageOriginType MessageTypeNanostar NanostarLimit OwnedGiftType PaidMediaType ParseMode PollLimitPollType PollingLimitPremiumSubscriptionProfileAccentColor ReactionEmoji ReactionType ReplyLimitRevenueWithdrawalStateTypeStarTransactionsLimit StickerFormat StickerLimitStickerSetLimit StickerTypeStoryAreaPositionLimitStoryAreaTypeLimitStoryAreaTypeType StoryLimit SuggestedPostSuggestedPostInfoStateSuggestedPostRefundedTransactionPartnerTypeTransactionPartnerUserUniqueGiftInfoOrigin UpdateTypeUserProfilePhotosLimit VerifyLimit WebhookLimitN)Enum)Final NamedTupleOptional)UTC) FloatEnumIntEnum StringEnumc>eZdZUdZeed<eed<defdZdefdZy)_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. majorminorreturnc<d|jd|jdS)ztUnfortunately calling super().__repr__ doesn't work with typing.NamedTuple, so we do this manually. zBotAPIVersion(major=z, minor=)rhriselfs X/mnt/ssd/data/python-lab/Trading/venv/lib/python3.12/site-packages/telegram/constants.py__repr__z_BotAPIVersion.__repr__s!&djj\$**QGGc8|jd|jS)N.rmrns rp__str__z_BotAPIVersion.__str__s**Qtzzl++rrN) __name__ __module__ __qualname____doc__int__annotations__strrqrurrrprgrgs- J JH#H ,,rrrgc`eZdZUdZeed<dZeeed<dZ e edfed<dZ e edfed<y) _AccentColora+A helper class for (profile) accent colors. Since TG doesn't define a class for this and the behavior is quite different for the different accent colors, we don't make this a public class. This gives us more flexibility to change the implementation if necessary for future versions. identifierNnamer}. light_colors dark_colors) rvrwrxryrzr{rrar|rtuplerr}rrrprrs@ OD(3-$&L%S/&#%KsCx%rrr rmrr)iPXi ri)tzinforceZdZdZdZeddZ eddZ edd Z ed d Z ed d Z eddZ eddZ edddZ edddZ edddZ edddZ edd d!Z ed"d#d$Z ed%d&d'Z ed(d)d*Z ed+d,d-Z ed.d/d0Z ed1d2d3Z ed4d5d6Z ed7d8d9Z ed:d;d<Zy=)>raThis enum contains the available accent colors for :class:`telegram.ChatFullInfo.accent_color_id`. The members of this enum are named tuples with the following attributes: - ``identifier`` (:obj:`int`): The identifier of the accent color. - ``name`` (:obj:`str`): Optional. The name of the accent color. - ``light_colors`` (tuple[:obj:`str`]): Optional. The light colors of the accent color as HEX value. - ``dark_colors`` (tuple[:obj:`str`]): Optional. The dark colors of the accent color as HEX value. Since Telegram gives no exact specification for the accent colors, future accent colors might have a different data type. .. versionadded:: 20.8 r}r]red)rrrorangerz purple/violetgreencyanbluepink)iRPic)ii7/rrr)i+i4)iNiWr)i_i)ii1^ )i'iWܧ)ini-~ )iά'i)i@i\ )iԑ3i})iRiT )iqCi)iin6)i{$iVH)i?iOBr)i"wir)i^i'2r)iBi?Jr)idfiODr)i(iVor)"i@=r)i ii)rixik)iWwii)iisiY)iυir)i=irN)rvrwrxry __slots__r COLOR_000 COLOR_001 COLOR_002 COLOR_003 COLOR_004 COLOR_005 COLOR_006 COLOR_007 COLOR_008 COLOR_009 COLOR_010 COLOR_011 COLOR_012 COLOR_013 COLOR_014 COLOR_015 COLOR_016 COLOR_017 COLOR_018 COLOR_019 COLOR_020r}rrrprrs"I6IE9IE@IE8IE7IE7IE7IE#7EYI$#7EYI$#7EYI$$8FZI$$8FZI&$8FZI$$8FZI$32I .32I .32I .32I .32I .32I .32I rrrc*eZdZdZdZdZ dZ dZ dZy)r zThis enum contains the available types of :class:`telegram.BackgroundType`. The enum members of this enumeration are instances of :class:`str` and can be treated as such. .. versionadded:: 21.2 r}fill wallpaperpattern chat_themeN) rvrwrxryrFILL WALLPAPERPATTERN CHAT_THEMEr}rrrpr r Ds. I DNISGQJTrrr c$eZdZdZdZdZ dZ dZy)rzThis enum contains the available types of :class:`telegram.BackgroundFill`. The enum members of this enumeration are instances of :class:`str` and can be treated as such. .. versionadded:: 21.2 r}solidgradientfreeform_gradientN)rvrwrxryrSOLIDGRADIENTFREEFORM_GRADIENTr}rrrprrWs' I EIHL+Urrrc0eZdZdZdZdZ dZ dZ dZ dZ y)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 r}r dN) rvrwrxryr MIN_COMMAND MAX_COMMANDMIN_DESCRIPTIONMAX_DESCRIPTIONMAX_COMMAND_NUMBERr}rrrpr r hsIIKKOOrrr c<eZdZdZdZdZ dZ dZ dZ dZ dZ d Z y ) 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 r}defaultall_private_chatsall_group_chatsall_chat_administratorschatchat_administrators chat_memberN) rvrwrxryrDEFAULTALL_PRIVATE_CHATSALL_GROUP_CHATSALL_CHAT_ADMINISTRATORSCHATCHAT_ADMINISTRATORS CHAT_MEMBERr}rrrpr r sI IGK+S'OQ7Y DH/VKNrrr ceZdZdZdZdZ dZy)r aThis 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 r}ixN)rvrwrxryrMAX_DESCRIPTION_LENGTHMAX_SHORT_DESCRIPTION_LENGTHr}rrrpr r s&I $' rrr ceZdZdZdZdZy)rzThis 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 r}@N)rvrwrxryrMAX_NAME_LENGTHr}rrrprrs IOrrrceZdZdZdZdZ dZy)raThis enum contains limitations for :meth:`telegram.Bot.delete_messages`, :meth:`telegram.Bot.forward_messages` and :meth:`telegram.Bot.copy_messages`. The enum members of this enumeration are instances of :class:`int` and can be treated as such. .. versionadded:: 20.8 r}rrNrvrwrxryr MIN_LIMIT MAX_LIMITr}rrrprrsIIKIKrrrceZdZdZdZeejdjZ dZ dZ dZ dZ dZ d Z dZ d Zy ) rzThis enum contains limitations related to handling business accounts. The enum members of this enumeration are instances of :class:`int` and can be treated as such. .. versionadded:: 22.1 r})hoursrrrr'N)rvrwrxryrrzdtm timedelta total_secondsCHAT_ACTIVITY_TIMEOUTMIN_NAME_LENGTHrMAX_USERNAME_LENGTHMAX_BIO_LENGTHMIN_GIFT_RESULTSMAX_GIFT_RESULTSMIN_STAR_COUNTMAX_STAR_COUNTr}rrrprrs I  B 7 E E GH OONNNrrrceZdZdZdZdZy)rzThis 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 r}N)rvrwrxryr!ANSWER_CALLBACK_QUERY_TEXT_LENGTHr}rrrprrsI(+%3rrrcTeZdZdZdZdZ dZ dZ dZ dZ dZ d Z d Z d Z d Z d Zy)rzThis 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 r}choose_sticker find_location record_voice record_videorecord_video_notetyping upload_voiceupload_document upload_photo upload_videoupload_video_noteN)rvrwrxryrCHOOSE_STICKER FIND_LOCATION RECORD_VOICE RECORD_VIDEORECORD_VIDEO_NOTETYPING UPLOAD_VOICEUPLOAD_DOCUMENT UPLOAD_PHOTO UPLOAD_VIDEOUPLOAD_VIDEO_NOTEr}rrrprr sh I%NQ#MR!LW!LO+T F:!LW'OR!LO!LO+Trrrc$eZdZdZdZdZ dZ dZy)rzThis enum contains the available sources for a :class:`Telegram chat boost `. The enum members of this enumeration are instances of :class:`str` and can be treated as such. .. versionadded:: 20.8 r} gift_codegiveawaypremiumN)rvrwrxryr GIFT_CODEGIVEAWAYPREMIUMr}rrrprrAs&IITHSG\rrrc$eZdZdZdZdZ dZ dZy)rzThis 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 r}i8@i( i'N)rvrwrxryrANONYMOUS_ADMIN SERVICE_CHAT FAKE_CHANNELr}rrrprrSs0 I OLLrrrc$eZdZdZdZdZ dZ dZy)ra%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 r}rirN)rvrwrxryrMIN_MEMBER_LIMITMAX_MEMBER_LIMIT NAME_LENGTHr}rrrprrxs2I  Krrrc*eZdZdZdZdZ dZ dZ dZy)ra<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 r}rrN) rvrwrxryr&CHAT_ADMINISTRATOR_CUSTOM_TITLE_LENGTHCHAT_DESCRIPTION_LENGTHMIN_CHAT_TITLE_LENGTHMAX_CHAT_TITLE_LENGTHr}rrrprrs@I-/*" rrrc$eZdZdZdZdZ dZ dZy)raVThis enum contains limitations for :paramref:`telegram.Bot.create_chat_subscription_invite_link.subscription_period` and :paramref:`telegram.Bot.create_chat_subscription_invite_link.subscription_price`. The enum members of this enumeration are instances of :class:`int` and can be treated as such. .. versionadded:: 21.5 r}i'rrN)rvrwrxryrSUBSCRIPTION_PERIOD MIN_PRICE MAX_PRICEr}rrrprrs)I!LIaIrrrceZdZdZdZdZ dZy)r a'This enum contains limitations for :class:`telegram.BackgroundTypeFill`, :class:`telegram.BackgroundTypeWallpaper` and :class:`telegram.BackgroundTypePattern`. The enum members of this enumeration are instances of :class:`int` and can be treated as such. .. versionadded:: 21.2 r}rN)rvrwrxryr MAX_DIMMING MAX_INTENSITYr}rrrpr r s$IKMrrr ceZdZdZdZdZy)rzThis enum contains limitations for :class:`telegram.BackgroundFillGradient`. The enum members of this enumeration are instances of :class:`int` and can be treated as such. .. versionadded:: 21.2 r}igNrvrwrxryrMAX_ROTATION_ANGLEr}rrrprr Irrrc6eZdZdZdZdZ dZ dZ dZ dZ dZ y ) rzThis 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 r} administratorcreatorkickedleftmember restrictedN) rvrwrxryr ADMINISTRATOROWNERBANNEDLEFTMEMBER RESTRICTEDr}rrrprrs> I#MV ER FP DK FQJUrrrceZdZdZdZdZ dZy)rzThis 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 r}iN)rvrwrxryrSMALLBIGr}rrrprrs$ I E Crrrc0eZdZdZdZdZ dZ dZ dZ dZ y) rzThis 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 r}senderprivategroup supergroupchannelN) rvrwrxryrSENDERPRIVATEGROUP SUPERGROUPCHANNELr}rrrprr's8 I F2G? E?JDGArrrceZdZdZdZdZy)ra+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 r}N)rvrwrxryrVCARDr}rrrprr=sI ErrrceZdZdZdZdZy)rzThis 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 r}rN)rvrwrxryrCUSTOM_EMOJI_IDENTIFIER_LIMITr}rrrprrRs I$'!rrrc6eZdZdZdZdZ dZ dZ dZ dZ dZ y ) rzThis 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 r}u🎲u🎯u🏀u⚽u🎰u🎳N) rvrwrxryrDICEDARTS BASKETBALLFOOTBALL SLOT_MACHINEBOWLINGr}rrrprrbs>I DG EGJGHFLGGGrrrc<eZdZdZdZdZ dZ dZ dZ dZ dZ dZ y)rzThis 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 r}rrrrN) rvrwrxryr MIN_VALUEMAX_VALUE_BASKETBALLMAX_VALUE_BOWLINGMAX_VALUE_DARTSMAX_VALUE_DICEMAX_VALUE_FOOTBALLMAX_VALUE_SLOT_MACHINEr}rrrprrzsd IION rrrceZdZdZdZedZ edZ edZ e jZ edZ edZ y) rzThis 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 r}gsAgׇAgeAgcAg.AN)rvrwrxryrrzFILESIZE_DOWNLOADFILESIZE_UPLOADFILESIZE_UPLOAD_LOCAL_MODEsysmaxsizeFILESIZE_DOWNLOAD_LOCAL_MODEPHOTOSIZE_UPLOADVOICE_NOTE_FILE_SIZEr}rrrprrsd ID D$iOL!$S$';; 4yHs8Lrrrc*eZdZdZdZdZ dZ dZ dZy)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 r}rrN) rvrwrxryrMESSAGES_PER_SECOND_PER_CHATMESSAGES_PER_SECONDMESSAGES_PER_MINUTE_PER_GROUPPAID_MESSAGES_PER_SECONDr}rrrpr r s@ I#$ %'! $rrr c6eZdZdZdZdZ dZ dZ dZ dZ dZ y ) 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 r}ioi~iۆiii_oN) rvrwrxryrBLUEYELLOWPURPLEGREENPINKREDr}rrrpr!r!sTI DFF E D Crrr!ceZdZdZdZdZy)r#zThis enum contains limitations for :meth:`~telegram.Bot.send_gift`. The enum members of this enumeration are instances of :class:`int` and can be treated as such. .. versionadded:: 21.8 r}r*NrvrwrxryrMAX_TEXT_LENGTHr}rrrpr#r#!s IOrrr#ceZdZdZdZdZy)r$zThis enum contains limitations for :class:`telegram.Giveaway` and related classes. The enum members of this enumeration are instances of :class:`int` and can be treated as such. .. versionadded:: 20.8 r}rN)rvrwrxryr MAX_WINNERSr}rrrpr$r$3s IKrrr$ceZdZdZdZdZ dZy)r2zThis enum contains limitations for :class:`telegram.KeyboardButtonRequestUsers`. The enum members of this enumeration are instances of :class:`int` and can be treated as such. .. versionadded:: 20.8 r}rrN)rvrwrxryr MIN_QUANTITY MAX_QUANTITYr}rrrpr2r2As$ ILLrrr2c*eZdZdZdZdZ dZ dZ dZy)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 r}rrrN) rvrwrxryrMIN_CALLBACK_DATAMAX_CALLBACK_DATA MIN_COPY_TEXT MAX_COPY_TEXTr}rrrpr%r%Vs> IMMrrr%ceZdZdZdZdZ dZy)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 r}rrN)rvrwrxryrTOTAL_BUTTON_NUMBERBUTTONS_PER_ROWr}rrrpr&r&ss%I Orrr&c6eZdZdZdZdZ dZ dZ dZ dZ dZ y)r+zThis enum contains limitations for :class:`telegram.InputChecklist`/ :class:`telegram.InputChecklistTask`. The enum members of this enumeration are instances of :class:`int` and can be treated as such. .. versionadded:: 22.3 r}rr)rrtN) rvrwrxryrMIN_TITLE_LENGTHMAX_TITLE_LENGTHMIN_TEXT_LENGTHrMIN_TASK_NUMBERMAX_TASK_NUMBERr}rrrpr+r+sVIOOOOrrr+c0eZdZdZdZdZ dZ dZ dZ dZ y) 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 r} animationdocumentaudiophotovideoN) rvrwrxryr ANIMATIONDOCUMENTAUDIOPHOTOVIDEOr}rrrpr,r,s6 IIDHC E@ E@ E@rrr,ceZdZdZdZdZ dZy)r-zThis enum contains the available types of :class:`telegram.InputPaidMedia`. The enum members of this enumeration are instances of :class:`str` and can be treated as such. .. versionadded:: 21.4 r}rrNrvrwrxryrrrr}rrrpr-r-s I E@ E@rrr-ceZdZdZdZdZ dZy)r.zThis enum contains the available types of :class:`telegram.InputProfilePhoto`. The enum members of this enumeration are instances of :class:`str` and can be treated as such. .. versionadded:: 22.1 r}staticanimatedN)rvrwrxryrSTATICANIMATEDr}rrrpr.r.s I FHHJrrr.ceZdZdZdZej Z dZ dZ e dZ dZ dZ e e jdjZy ) r/zThis enum contains limitations for :class:`telegram.InputStoryContentPhoto`/ :class:`telegram.InputStoryContentVideo`. The enum members of this enumeration are instances of :class:`int` and can be treated as such. .. versionadded:: 22.1 r}i8ig8|Ai<)secondsN)rvrwrxryrrrq PHOTO_WIDTH PHOTO_HEIGHTrzVIDEOSIZE_UPLOAD VIDEO_WIDTH VIDEO_HEIGHTrrrMAX_VIDEO_DURATIONr}rrrpr/r/sI$55KL4yKL]S]]26DDFGrrr/ceZdZdZdZdZ dZy)r0zThis enum contains the available types of :class:`telegram.InputStoryContent`. The enum members of this enumeration are instances of :class:`str` and can be treated as such. .. versionadded:: 22.1 r}rrNrr}rrrpr0r0s I EG EGrrr0c$eZdZdZdZdZ dZ dZy)r'aLThis 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 .. versionchanged:: 22.0 Removed deprecated attributes ``InlineQueryLimit.MIN_SWITCH_PM_TEXT_LENGTH`` and ``InlineQueryLimit.MAX_SWITCH_PM_TEXT_LENGTH``. Please instead use :attr:`InlineQueryResultsButtonLimit.MIN_START_PARAMETER_LENGTH` and :attr:`InlineQueryResultsButtonLimit.MAX_START_PARAMETER_LENGTH`. r}2rrN)rvrwrxryrRESULTSMAX_OFFSET_LENGTHMAX_QUERY_LENGTHr}rrrpr'r'%s1 IG11[rrr'ceZdZdZdZdZ dZy)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 r}rrN)rvrwrxryr MIN_ID_LENGTH MAX_ID_LENGTHr}rrrpr(r(As$ IMMrrr(ceZdZdZdZdZ dZy)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 r}rrN)rvrwrxryrMIN_START_PARAMETER_LENGTHMAX_START_PARAMETER_LENGTHr}rrrpr*r*Vs& I!"2"$2rrr*c`eZdZdZdZdZ dZ dZ dZ dZ dZ d Z d Z d Z d Z d Z dZ dZy)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 r}rrgif mpeg4_gifrstickerrvoicearticlecontactgamelocationvenueN)rvrwrxryrrrGIFMPEG4GIFrSTICKERrVOICEARTICLECONTACTGAMELOCATIONVENUEr}rrrpr)r)js I EH CH EGS E EGIGI DFHJ EGrrr)cheZdZdZdZdZ dZ dZ dZ dZ dZ dZ e e d d Z dZ d Zy ) r3a=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 r}rrhrQir順N)rvrwrxryrMIN_CHAT_LOCATION_ADDRESSMAX_CHAT_LOCATION_ADDRESSHORIZONTAL_ACCURACY MIN_HEADING MAX_HEADINGMIN_LIVE_PERIODMAX_LIVE_PERIODrzhexLIVE_PERIOD_FOREVERMIN_PROXIMITY_ALERT_RADIUSMAX_PROXIMITY_ALERT_RADIUSr}rrrpr3r3sI !!# K K O O c*or2 "# "( rrr3c*eZdZdZdZdZ dZ dZ dZy)r4zThis 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 r}foreheadeyesmouthchinN) rvrwrxryrFOREHEADEYESMOUTHCHINr}rrrpr4r4s. IHB D> E? D>rrr4ceZdZdZdZdZ dZy)r5zThis 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 r}rrN)rvrwrxryrMIN_MEDIA_LENGTHMAX_MEDIA_LENGTHr}rrrpr5r5/s& Irrr5c$eZdZdZdZdZ dZ dZy)r6zThis 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 r}commandsweb_apprN)rvrwrxryrCOMMANDSWEB_APPrr}rrrpr6r6Ds& IHGGEGFrrr6ceZdZdZdZdZ dZ dZ dZ dZ dZ d Z d Z d Z d Z d Z dZ dZ dZ dZ dZ dZ dZ dZy)r7zThis 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 r}rrrdicerrinvoicer paid_media passport_datarpollrstorysuccessful_paymentr video_noterrN)rvrwrxryrrrrr\rrINVOICEr PAID_MEDIA PASSPORT_DATArPOLLrSTORYSUCCESSFUL_PAYMENTr VIDEO_NOTErrr}rrrpr7r7UsI IG ECGE DBHF DBGEHFJ$MK EC DBGE EC-P ECJH EC ECrrr7ceZdZdZdZdZ dZ dZ dZ dZ dZ d Z d Z d Z d Z d Z dZ dZ dZ dZ dZ dZ dZ dZy)r8zThis 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 r} blockquotebold bot_commandcashtagcode custom_emojiemailexpandable_blockquotehashtagitalicmention phone_numberprespoiler strikethrough text_link text_mention underlineurlN)rvrwrxryr BLOCKQUOTEBOLD BOT_COMMANDCASHTAGCODE CUSTOM_EMOJIEMAILEXPANDABLE_BLOCKQUOTEHASHTAGITALICMENTION PHONE_NUMBERPRESPOILER STRIKETHROUGH TEXT_LINK TEXT_MENTION UNDERLINEURLr}rrrpr8r8s IJ D>KBG> DE!L E<3G> F@G>!LC CDGA#MGIH!L]IC C:rrr8c0eZdZdZdZdZ dZ dZ dZ dZ y) r9a!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 r}iirrrN) rvrwrxryrrCAPTION_LENGTHrDEEP_LINK_LENGTHMESSAGE_ENTITIESr}rrrpr9r9sHIO N O Crrr9c*eZdZdZdZdZ dZ dZ dZy)r:zThis enum contains the available types of :class:`telegram.MessageOrigin`. The enum members of this enumeration are instances of :class:`str` and can be treated as such. .. versionadded:: 20.8 r}user hidden_userrrPN) rvrwrxryrUSER HIDDEN_USERrrUr}rrrpr:r:s. I DOKU DNGQrrr:ceZdZdZdZdZ dZ dZ dZ dZ dZ d Z d Z d Z d Z d Z dZ dZ dZ dZ dZ dZ dZ dZ dZ dZ dZ dZ dZ dZ dZ dZ dZ dZ! 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.Z0 d/Z1 d0Z2 d1Z3 d2Z4 d3Z5 d4Z6 d5Z7 d6Z8 d7Z9 d8Z: d9Z; d:Z< d;Z= d d=Z? d>Z@ d?ZA d@ZB dAZC dBZD dCZE dDZF dEZG dFZH dGZI dHZJ dIZK dJZLyK)Lr;aThis enum contains the available types of :class:`telegram.Message`. Here, a "type" means a kind of message that is visually distinct from other kinds of messages in the Telegram app. In particular, auxiliary attributes that can be present for multiple types of messages are not considered in this enumeration. The enum members of this enumeration are instances of :class:`str` and can be treated as such. .. versionadded:: 20.0 r}rr boost_addedbusiness_connection_idchannel_chat_created chat_sharedchat_background_set checklistchecklist_tasks_addedchecklist_tasks_doneconnected_websiterdelete_chat_photordirect_message_price_changedr effect_idforum_topic_createdforum_topic_closedforum_topic_editedforum_topic_reopenedrgeneral_forum_topic_hiddengeneral_forum_topic_unhiddengiftrgiveaway_createdgiveaway_winnersgiveaway_completedgroup_chat_createdrleft_chat_memberr!message_auto_delete_timer_changedmigrate_to_chat_idnew_chat_membersnew_chat_titlenew_chat_photorpaid_message_price_changedsuggested_post_approval_failedsuggested_post_approvedsuggested_post_declinedsuggested_post_infosuggested_post_paidsuggested_post_refundedrrpinned_messagerproximity_alert_triggeredrefunded_paymentreply_to_storysender_boost_countsender_business_botrrsupergroup_chat_createdrtext unique_gift users_sharedrrvideo_chat_scheduledvideo_chat_startedvideo_chat_endedvideo_chat_participants_invitedrr web_app_datawrite_access_allowedN)Mrvrwrxryrrr BOOST_ADDEDBUSINESS_CONNECTION_IDCHANNEL_CHAT_CREATED CHAT_SHAREDCHAT_BACKGROUND_SET CHECKLISTCHECKLIST_TASKS_ADDEDCHECKLIST_TASKS_DONECONNECTED_WEBSITErDELETE_CHAT_PHOTOr\DIRECT_MESSAGE_PRICE_CHANGEDr EFFECT_IDFORUM_TOPIC_CREATEDFORUM_TOPIC_CLOSEDFORUM_TOPIC_EDITEDFORUM_TOPIC_REOPENEDrGENERAL_FORUM_TOPIC_HIDDENGENERAL_FORUM_TOPIC_UNHIDDENGIFTrGIVEAWAY_CREATEDGIVEAWAY_WINNERSGIVEAWAY_COMPLETEDGROUP_CHAT_CREATEDrLEFT_CHAT_MEMBERr!MESSAGE_AUTO_DELETE_TIMER_CHANGEDMIGRATE_TO_CHAT_IDNEW_CHAT_MEMBERSNEW_CHAT_TITLENEW_CHAT_PHOTOrPAID_MESSAGE_PRICE_CHANGEDSUGGESTED_POST_APPROVAL_FAILEDSUGGESTED_POST_APPROVEDSUGGESTED_POST_DECLINEDSUGGESTED_POST_INFOSUGGESTED_POST_PAIDSUGGESTED_POST_REFUNDEDrrPINNED_MESSAGErPROXIMITY_ALERT_TRIGGEREDREFUNDED_PAYMENTREPLY_TO_STORYSENDER_BOOST_COUNTSENDER_BUSINESS_BOTrrSUPERGROUP_CHAT_CREATEDrTEXT UNIQUE_GIFT USERS_SHAREDrrVIDEO_CHAT_SCHEDULEDVIDEO_CHAT_STARTEDVIDEO_CHAT_ENDEDVIDEO_CHAT_PARTICIPANTS_INVITEDrr WEB_APP_DATAWRITE_ACCESS_ALLOWEDr}rrrpr;r;sI IG ECK62RK0I42,OGE+O DB#A HFI0..2 DB!=$B  DH**..PGE)NHF(K%_-P)N%NL%NLJ">&F"88008$MK EC%NL DB ;W)&N.0GE EC7U-P DBK"L EC EC1R-P)N&G#]JH EC!L2rrr;ceZdZdZdZdZy)r<a8This enum contains constants for ``nanostar_amount`` parameter of :class:`telegram.StarAmount`, :class:`telegram.StarTransaction` and :class:`telegram.AffiliateInfo`. The enum members of this enumeration are instances of :class:`float` and can be treated as such. .. versionadded:: 22.1 r}g& .>N)rvrwrxryrVALUEr}rrrpr<r< sI Errr<ceZdZdZdZdZ dZy)r=a4This enum contains limitations for ``nanostar_amount`` parameter of :class:`telegram.AffiliateInfo`, :class:`telegram.StarTransaction` and :class:`telegram.StarAmount`. The enum members of this enumeration are instances of :class:`int` and can be treated as such. .. versionadded:: 22.1 r}i6eiɚ;N)rvrwrxryr MIN_AMOUNT MAX_AMOUNTr}rrrpr=r=4 s$IJ Jrrr=ceZdZdZdZdZ dZy)r>zThis enum contains the available types of :class:`telegram.OwnedGift`. The enum members of this enumeration are instances of :class:`str` and can be treated as such. .. versionadded:: 22.1 r}regularuniqueN)rvrwrxryrREGULARUNIQUEr}rrrpr>r>N s IG+ F*rrr>c$eZdZdZdZdZ dZ dZy)r?z This enum contains the available types of :class:`telegram.PaidMedia`. The enum members of this enumeration are instances of :class:`str` and can be treated as such. .. versionadded:: 21.4 r}previewrrN)rvrwrxryrPREVIEWrrr}rrrpr?r?] s&IGE EC ECrrr?ceZdZdZdZdZ dZy)rCzThis 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 r}rrNrr}rrrprCrCo s$ IIIrrrCc<eZdZdZdZdZ dZ dZ dZ dZ dZ d Z y ) rDzThis enum contains limitations for :meth:`~telegram.Bot.gift_premium_subscription`. The enum members of this enumeration are instances of :class:`int` and can be treated as such. .. versionadded:: 22.1 r}r*rrrruri N) rvrwrxryrrMONTH_COUNT_THREEMONTH_COUNT_SIXMONTH_COUNT_TWELVESTARS_THREE_MONTHSSTARS_SIX_MONTHSSTARS_TWELVE_MONTHSr}rrrprDrD se IO O    rrrDceZdZdZdZedddZ eddd Z ed d d Z ed ddZ edddZ edddZ edddZ edddZ edddZ edd d!Z ed"d#d$Z ed%d&d'Z ed(d)d*Z ed+d,d-Z ed.d/d0Z ed1d2d3Zy4)5rEaThis enum contains the available accent colors for :class:`telegram.ChatFullInfo.profile_accent_color_id`. The members of this enum are named tuples with the following attributes: - ``identifier`` (:obj:`int`): The identifier of the accent color. - ``name`` (:obj:`str`): Optional. The name of the accent color. - ``light_colors`` (tuple[:obj:`str`]): Optional. The light colors of the accent color as HEX value. - ``dark_colors`` (tuple[:obj:`str`]): Optional. The dark colors of the accent color as HEX value. Since Telegram gives no exact specification for the accent colors, future accent colors might have a different data type. .. versionadded:: 20.8 r}r])iPV)i@Err)i>|)i,^r)ij)iPqr)iUI)i;q3r)i>)i~8r)iZ)iqGr)ixS)icGr)i)iaRCr)i]ViW|)iCCi>Xr)iDri3)i/Ui2rr)ibif)iFciPr)iU=iP)iCj)iD_r)i=iP)i|l0i~>r)i‹SiM)ia8iEr)itOimf)i`AiYRr)itci{)in`SiTF8N)rvrwrxryrrrrrrrrrrrrrrrrrrr}rrrprErE s"I Q\]I  Q\]I  Q\]I  Q\]I  Q\]I  Q\]I  Q\]I  Q\]I #7EYI$#7EYI$$8FZI$$8FZI$$8FZI$$8FZI$$8FZI$$8FZIrrrEceZdZdZdZdZ dZy)rHzThis 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 r}rrN)rvrwrxryrMIN_INPUT_FIELD_PLACEHOLDERMAX_INPUT_FIELD_PLACEHOLDERr}rrrprHrH s&I"# #%rrrHc$eZdZdZdZdZ dZ dZy)rIzThis enum contains the available types of :class:`telegram.RevenueWithdrawalState`. The enum members of this enumeration are instances of :class:`str` and can be treated as such. .. versionadded:: 21.4 r}pending succeededfailedN)rvrwrxryrPENDING SUCCEEDEDFAILEDr}rrrprIrI s& IG/I- FKrrrIceZdZdZdZdZ dZy)rJa:This enum contains limitations for :class:`telegram.Bot.get_star_transactions` and :class:`telegram.StarTransaction`. The enum members of this enumeration are instances of :class:`int` and can be treated as such. .. versionadded:: 21.4 .. versionremoved:: 22.3 Removed deprecated attributes ``StarTransactionsLimit.NANOSTAR_MIN_AMOUNT`` and ``StarTransactionsLimit.NANOSTAR_MAX_AMOUNT``. Please instead use :attr:`telegram.constants.NanostarLimit.MIN_AMOUNT` and :attr:`telegram.constants.NanostarLimit.MAX_AMOUNT`. r}rrNrr}rrrprJrJ s$ II3I3rrrJc$eZdZdZdZdZ dZ dZy)rKzThis 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 r}rrrN)rvrwrxryrrrrr}rrrprKrK1 s& I F%H' E$rrrKc6eZdZdZdZdZ dZ dZ dZ dZ dZ y)rLzThis 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 r}rrrN) rvrwrxryrMIN_NAME_AND_TITLEMAX_NAME_AND_TITLEMIN_STICKER_EMOJIMAX_STICKER_EMOJIMAX_SEARCH_KEYWORDSMAX_KEYWORD_LENGTHr}rrrprLrLB sZI     rrrLcBeZdZdZdZdZ dZ dZ dZ dZ dZ dZ d Z y ) rMa)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 r}rrrrr*rrN) rvrwrxryrMIN_INITIAL_STICKERSMAX_INITIAL_STICKERSMAX_EMOJI_STICKERSMAX_ANIMATED_STICKERSMAX_STATIC_STICKERSMAX_STATIC_THUMBNAIL_SIZEMAX_ANIMATED_THUMBNAIL_SIZESTATIC_THUMB_DIMENSIONSr}rrrprMrMv ssI !$C"$C!KrrrMc$eZdZdZdZdZ dZ dZy)rNzThis 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 r}rmaskrN)rvrwrxryrrMASKrr}rrrprNrN s& IG& D#!L+rrrNceZdZdZdZdZy)rOzThis enum contains limitations for :class:`telegram.StoryAreaPosition`. The enum members of this enumeration are instances of :class:`int` and can be treated as such. .. versionadded:: 22.1 r}rNr7r}rrrprOrO r9rrrOc0eZdZdZdZdZ dZ dZ dZ dZ y)rPzThis enum contains limitations for subclasses of :class:`telegram.StoryAreaType`. The enum members of this enumeration are instances of :class:`int` and can be treated as such. .. versionadded:: 22.1 r}rrrrN) rvrwrxryrMAX_LOCATION_AREASMAX_SUGGESTED_REACTION_AREASMAX_LINK_AREASMAX_WEATHER_AREASMAX_UNIQUE_GIFT_AREASr}rrrprPrP sD I#$ NrrrPc0eZdZdZdZdZ dZ dZ dZ dZ y) rQzThis enum contains the available types of :class:`telegram.StoryAreaType`. The enum members of this enumeration are instances of :class:`str` and can be treated as such. .. versionadded:: 22.1 r}rsuggested_reactionlinkweatherr_N) rvrwrxryrrSUGGESTED_REACTIONLINKWEATHERrr}rrrprQrQ s7 IHF-O DBGEKHrrrQc0eZdZdZdZdZ dZ dZ dZ dZ y) rRzThis enum contains limitations for :meth:`~telegram.Bot.post_story` and :meth:`~telegram.Bot.edit_story`. The enum members of this enumeration are instances of :class:`int` and can be treated as such. .. versionadded:: 22.1 r}rWi`TiriN) rvrwrxryrr*ACTIVITY_SIX_HOURSACTIVITY_TWELVE_HOURSACTIVITY_ONE_DAYACTIVITY_TWO_DAYSr}rrrprRrR sFIN"(%((!(rrrRc<eZdZdZdZdZ dZ dZ dZ dZ dZ d Z y ) rSa"This enum contains limitations for :class:`telegram.SuggestedPostPrice`/:class:`telegram.SuggestedPostParameters`/:meth:`telegram.Bot.decline_suggested_post`. The enum members of this enumeration are instances of :class:`int` and can be treated as such. .. versionadded:: 22.4 r}rril a$,i(r*N) rvrwrxryrMIN_PRICE_STARSMAX_PRICE_STARSMIN_PRICE_NANOTONCOINSMAX_PRICE_NANOTONCOINS MIN_SEND_DATE MAX_SEND_DATEMAX_COMMENT_LENGTHr}rrrprSrS scIOO(0M2M2rrrSceZdZdZdZdZ dZy)rUzThis enum contains available refund reasons for :class:`telegram.SuggestedPostRefunded`. The enum members of this enumeration are instances of :class:`str` and can be treated as such. .. versionadded:: 22.4 r} post_deletedpayment_refundedN)rvrwrxryr POST_DELETEDPAYMENT_REFUNDEDr}rrrprUrU> s! I!L0)7rrrUc<eZdZdZdZdZ dZ dZ dZ dZ dZ d Z y ) rVzThis enum contains the available types of :class:`telegram.TransactionPartner`. The enum members of this enumeration are instances of :class:`str` and can be treated as such. .. versionadded:: 21.4 r}affiliate_programrfragmentother telegram_ads telegram_apir.N) rvrwrxryrAFFILIATE_PROGRAMrFRAGMENTOTHER TELEGRAM_ADS TELEGRAM_APIr0r}rrrprVrVN sS I+ DH; EC!L4!L D.rrrVc0eZdZdZdZdZ dZ dZ dZ dZ y) rWzThis enum contains constants for :class:`telegram.TransactionPartnerUser`. The enum members of this enumeration are instances of :class:`str` and can be treated as such. .. versionadded:: 22.1 r}invoice_paymentpaid_media_payment gift_purchasepremium_purchasebusiness_account_transferN) rvrwrxryrINVOICE_PAYMENTPAID_MEDIA_PAYMENT GIFT_PURCHASEPREMIUM_PURCHASEBUSINESS_ACCOUNT_TRANSFERr}rrrprWrWq sKI'O.$M*!<rrrWc$eZdZdZdZdZ dZ dZy)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 r}Markdown MarkdownV2HTMLN)rvrwrxryrMARKDOWN MARKDOWN_V2r r}rrrpr@r@ s* IH K4 D&rrr@cNeZdZdZdZdZ dZ dZ dZ dZ dZ dZ dZ d Z d Zy ) rAzThis 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 r}rrrrrrriXN)rvrwrxryrMIN_QUESTION_LENGTHMAX_QUESTION_LENGTHMIN_OPTION_LENGTHMAX_OPTION_LENGTHMIN_OPTION_NUMBERMAX_OPTION_NUMBERMAX_EXPLANATION_LENGTHMAX_EXPLANATION_LINE_FEEDSMIN_OPEN_PERIODMAX_OPEN_PERIODr}rrrprArA sI!"#O OrrrAceZdZdZdZdZ dZy)rBzThis 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 r}rquizN)rvrwrxryrrQUIZr}rrrprBrB sIG$ D!rrrBc$eZdZdZdZdZ dZ dZy)rXzThis enum contains the available origins for :class:`telegram.UniqueGiftInfo`. The enum members of this enumeration are instances of :class:`str` and can be treated as such. .. versionadded:: 22.1 r}upgradetransferresaleN)rvrwrxryrUPGRADETRANSFERRESALEr}rrrprXrX s( IG"H$ FrrrXceZdZdZdZdZ dZ dZ dZ dZ dZ d Z d Z d Z d Z d Z dZ dZ dZ dZ dZ dZ dZ dZ dZ dZ dZ dZy)rYzThis 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 r}messageedited_message channel_postedited_channel_post inline_querychosen_inline_resultcallback_queryshipping_querypre_checkout_queryr poll_answermy_chat_memberrchat_join_request chat_boostremoved_chat_boostmessage_reactionmessage_reaction_countbusiness_connectionbusiness_messageedited_business_messagedeleted_business_messagespurchased_paid_mediaN)rvrwrxryrMESSAGEEDITED_MESSAGE CHANNEL_POSTEDITED_CHANNEL_POST INLINE_QUERYCHOSEN_INLINE_RESULTCALLBACK_QUERYSHIPPING_QUERYPRE_CHECKOUT_QUERYr POLL_ANSWERMY_CHAT_MEMBERrCHAT_JOIN_REQUEST CHAT_BOOSTREMOVED_CHAT_BOOSTMESSAGE_REACTIONMESSAGE_REACTION_COUNTBUSINESS_CONNECTIONBUSINESS_MESSAGEEDITED_BUSINESS_MESSAGEDELETED_BUSINESS_MESSAGESPURCHASED_PAID_MEDIAr}rrrprYrY s IGC%NJ!LH/O!LH1P%NJ%NJ-N D@KG%NJKG+MJ.*60*8!<2rrrYceZdZdZdZdZ dZ dZ dZ dZ dZ dZ dZ dZ ejd j!Z dZy ) r1a)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 r}rrr)r*rrrt)daysN)rvrwrxryrrrMIN_DESCRIPTION_LENGTHrMIN_PAYLOAD_LENGTHMAX_PAYLOAD_LENGTHMAX_TIP_AMOUNTSrrrrrr0SUBSCRIPTION_MAX_PRICEr}rrrpr1r1b sI! ON N(#--R0>>@ #rrr1ceZdZdZdZdZ dZy)rZzThis 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 r}rrNrr}rrrprZrZ s$ IIIrrrZc*eZdZdZdZdZ dZ dZ dZy)r\aThis 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 r}rrrN) rvrwrxryrMIN_CONNECTIONS_LIMITMAX_CONNECTIONS_LIMITMIN_SECRET_TOKEN_LENGTHMAX_SECRET_TOKEN_LENGTHr}rrrpr\r\ s@I  "rrr\ceZdZdZdZdZ dZy)r"aThis 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 r}rr*N)rvrwrxryrrrr}rrrpr"r"s$IOOrrr"c$eZdZdZdZdZ dZ dZy)rTzThis enum contains the available states of :attr:`telegram.SuggestedPostInfo.state`. The enum members of this enumeration are instances of :class:`str` and can be treated as such. .. versionadded:: 22.4 r}rapproveddeclinedN)rvrwrxryrrAPPROVEDDECLINEDr}rrrprTrT(s(IG0H2HrrrTc$eZdZdZdZdZ dZ dZy)rGzThis enum contains the available types of :class:`telegram.ReactionType`. The enum members of this enumeration are instances of :class:`str` and can be treated as such. .. versionadded:: 20.8 r}emojirpaidN)rvrwrxryrEMOJIrPAIDr}rrrprGrG;s( I EK!LK DrrrGceZdZdZdZdZ dZ dZ dZ dZ dZ d Z d Z d Z d Z d Z dZ dZ dZ dZ dZ dZ dZ dZ dZ dZ dZ dZ dZ dZ dZ dZ dZ dZ! 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.Z0 d/Z1 d0Z2 d1Z3 d2Z4 d3Z5 d4Z6 d5Z7 d6Z8 d7Z9 d8Z: d9Z; d:Z< d;Z= d d=Z? d>Z@ d?ZA d@ZB dAZC dBZD dCZE dDZF dEZG dFZH dGZI dHZJ dIZK dJZL dKZMyL)MrFzThis enum contains the available emojis of :class:`telegram.ReactionTypeEmoji`. The enum members of this enumeration are instances of :class:`str` and can be treated as such. .. versionadded:: 20.8 r}u👍u👎u❤u🔥u🥰u👏u😁u🤔u🤯u😱u🤬u😢u🎉u🤩u🤮u💩u🙏u👌u🕊u🤡u🥱u🥴u😍u🐳u ❤️‍🔥u🌚u🌭u💯u🤣u⚡u🍌u🏆u💔u🤨u😐u🍓u🍾u💋u🖕u😈u😴u😭u🤓u👻u 👨‍💻u👀u🎃u🙈u😇u😨u🤝u✍u🤗u🫡u🎅u🎄u☃u💅u🤪u🗿u🆒u💘u🙉u🦄u😘u💊u🙊u😎u👾u 🤷‍♂️u🤷u 🤷‍♀️u😡N)Nrvrwrxryr THUMBS_UP THUMBS_DOWN RED_HEARTFIRESMILING_FACE_WITH_HEARTSCLAPPING_HANDSGRINNING_FACE_WITH_SMILING_EYES THINKING_FACE SHOCKED_FACE_WITH_EXPLODING_HEADFACE_SCREAMING_IN_FEAR(SERIOUS_FACE_WITH_SYMBOLS_COVERING_MOUTH CRYING_FACE PARTY_POPPERGRINNING_FACE_WITH_STAR_EYESFACE_WITH_OPEN_MOUTH_VOMITING PILE_OF_POOPERSON_WITH_FOLDED_HANDS OK_HAND_SIGN DOVE_OF_PEACE CLOWN_FACE YAWNING_FACE$FACE_WITH_UNEVEN_EYES_AND_WAVY_MOUTH#SMILING_FACE_WITH_HEART_SHAPED_EYESSPOUTING_WHALE HEART_ON_FIRENEW_MOON_WITH_FACEHOT_DOGHUNDRED_POINTS_SYMBOLROLLING_ON_THE_FLOOR_LAUGHINGHIGH_VOLTAGE_SIGNBANANATROPHY BROKEN_HEARTFACE_WITH_ONE_EYEBROW_RAISED NEUTRAL_FACE STRAWBERRYBOTTLE_WITH_POPPING_CORK KISS_MARK)REVERSED_HAND_WITH_MIDDLE_FINGER_EXTENDEDSMILING_FACE_WITH_HORNS SLEEPING_FACELOUDLY_CRYING_FACE NERD_FACEGHOSTMAN_TECHNOLOGISTrJACK_O_LANTERNSEE_NO_EVIL_MONKEYSMILING_FACE_WITH_HALO FEARFUL_FACE HANDSHAKE WRITING_HAND HUGGING_FACE SALUTING_FACEFATHER_CHRISTMASCHRISTMAS_TREESNOWMAN NAIL_POLISH.GRINNING_FACE_WITH_ONE_LARGE_AND_ONE_SMALL_EYEMOYAI SQUARED_COOLHEART_WITH_ARROWHEAR_NO_EVIL_MONKEY UNICORN_FACEFACE_THROWING_A_KISSPILLSPEAK_NO_EVIL_MONKEYSMILING_FACE_WITH_SUNGLASSES ALIEN_MONSTER MAN_SHRUGGINGSHRUGWOMAN_SHRUGGING POUTING_FACEr}rrrprFrFOss IIK!I D%.N$&,#5M#'-$6#,/5,>K!L"#) 2$*!3K!%.L"M#J L"+1(:*0'9N$#M#(G"+$*!3' F FL"#) 2L"J %.I06-?$-M#(I E$& DN$(#,L"IL"L"M#&N$GK!5;2D EL"& )L"!* D!*#) 2M##M# E%O%L"rrrFceZdZdZdZdZy)r[zThis enum contains limitations for :meth:`~telegram.Bot.verify_chat` and :meth:`~telegram.Bot.verify_user`. The enum members of this enumeration are instances of :class:`int` and can be treated as such. .. versionadded:: 21.10 r}FNrr}rrrpr[r[sIOrrr[)rry__all__datetimerrnenumr^rr_r`ratelegram._utils.datetimerbtelegram._utils.enumrcrdrergrrr{r|rrlistrzrrr rr r r rrrrrrrrrrr rrrrrrrrrr r!r#r$r2r%r&r+r,r-r.r/r0r'r(r*r)r3r4r5r6r7r8r9r:r;r<r=r>r?rCrDrErHrIrJrKrLrMrNrOrPrQrRrSrUrVrWr@rArBrXrYr1rZr\r"rTrGrFr[r}rrrprs""*\ | ..(??,Z,$ &: &(/=1A.NeN+N ""67s7 -@tCy)?".dAq!E 5 Ex$xv UU&VV"gBO*O2', 7  Lw L 6G6r 3 3 UUB]z]$"W"J'BBG.'0 '  VzV.G.BzB,7* g  H H0++\LGL:@9W9x$ G g*:0&'&RAZA* A A KJ K,Z,^ HJ H[w[8W*2G2(0HJ0Hf|G|~?:?&g*GZG"5DJ5Dp7; 7;t474nR R&J*JZy,G4 +J +DJD$7&1'1hssl 4LL"3G34%J%"171h,Kg,K^,*," W  4I I*((:)G)X 8J 8 /Z /FZ@' ',@@F "z " :(QQhn7nbW*7@g@Z&:(Z#JZ#z'rr