
    N[i                     v#   d dl mZ  G d de      Z G d de      Z G d de      Z G d d	e      Z G d
 de      Z G d de      Z G d de      Z G d de      Z	 G d de      Z
 G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d  d!e      Z G d" d#e      Z G d$ d%e      Z G d& d'e      Z G d( d)e      Z G d* d+e      Z G d, d-e      Z G d. d/e      Z G d0 d1e      Z G d2 d3e      Z G d4 d5e      Z G d6 d7e      Z G d8 d9e      Z G d: d;e      Z G d< d=e      Z G d> d?e      Z  G d@ dAe      Z! G dB dCe      Z" G dD dEe      Z# G dF dGe      Z$ G dH dIe      Z% G dJ dKe      Z& G dL dMe      Z' G dN dOe      Z( G dP dQe      Z) G dR dSe      Z* G dT dUe      Z+ G dV dWe      Z, G dX dYe      Z- G dZ d[e      Z. G d\ d]e      Z/ G d^ d_e      Z0 G d` dae      Z1 G db dce      Z2 G dd dee      Z3 G df dge      Z4 G dh die      Z5 G dj dke      Z6 G dl dme      Z7 G dn doe      Z8 G dp dqe      Z9 G dr dse      Z: G dt due      Z; G dv dwe      Z< G dx dye      Z= G dz d{e      Z> G d| d}e      Z? G d~ de      Z@ G d de      ZA G d de      ZB G d de      ZC G d de      ZD G d de      ZE G d de      ZF G d de      ZG G d de      ZH G d de      ZI G d de      ZJ G d de      ZK G d de      ZL G d de      ZM G d de      ZN G d de      ZO G d de      ZP G d de      ZQ G d de      ZR G d de      ZS G d de      ZT G d de      ZU G d de      ZV G d de      ZW G d de      ZX G d de      ZY G d de      ZZ G d de      Z[ G d de      Z\ G d de      Z] G d de      Z^ G d de      Z^ G d de      Z_ G d de      Z` G d de      Za G dÄ de      Zb G dń de      Zc G dǄ de      Zd G dɄ de      Ze G d˄ de      Zf G d̈́ de      Zg G dτ de      Zh G dф de      Zi G dӄ de      Zj G dՄ de      Zk G dׄ de      Zl G dل de      Zm G dۄ de      Zn G d݄ de      Zo G d߄ de      Zp G d de      Zq G d de      Zr G d de      Zs G d de      Zt G d de      Zu G d de      Zv G d de      Zw G d de      Zx G d de      Zy G d de      Zz G d de      Z{ G d de      Z| G d de      Z} G d de      Z~ G d de      Z G d d e      Z G d de      Z G d de      Z G d de      Z G d de      Z G d	 d
e      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d d e      Z G d! d"e      Z G d# d$e      Z G d% d&e      Z G d' d(e      Z G d) d*e      Z G d+ d,e      Z G d- d.e      Z G d/ d0e      Z G d1 d2e      Z G d3 d4e      Z G d5 d6e      Z G d7 d8e      Z G d9 d:e      Z G d; d<e      Z G d= d>e      Z G d? d@e      Z G dA dBe      Z G dC dDe      Z G dE dFe      Z G dG dHe      Z G dI dJe      Z G dK dLe      Z G dM dNe      Z G dO dPe      Z G dQ dRe      Z G dS dTe      Z G dU dVe      Z G dW dXe      Z G dY dZe      Z G d[ d\e      Z G d] d^e      Z G d_ d`e      Z G da dbe      Z G dc dde      Z G de dfe      Z G dg dhe      Z G di dje      Z G dk dle      Z G dm dne      Z G do dpe      Z G dq dre      Z G ds dte      Z G du dve      Z G dw dxe      Z G dy dze      Z G d{ d|e      Z G d} d~e      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G dÄ de      Z G dń de      Z G dǄ de      Z G dɄ de      Z G d˄ de      Z G d̈́ de      Z G dτ de      Z G dф de      Z G dӄ de      Z G dՄ de      Z G dׄ de      Z G dل de      Z G dۄ de      Z G d݄ de      Z G d߄ de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d d e      Z  G d de      Z G d de      Z G d de      Z G d de      Z G d	 d
e      Z G d de      Z G d de      Z G d de      Z G d de      Z	 G d de      Z
 G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d d e      Z G d! d"e      Z G d# d$e      Z G d% d&e      Z G d' d(e      Z G d) d*e      Z G d+ d,e      Z G d- d.e      Z G d/ d0e      Z G d1 d2e      Z G d3 d4e      Z G d5 d6e      Z G d7 d8e      Z G d9 d:e      Z G d; d<e      Z G d= d>e      Z G d? d@e      Z  G dA dBe      Z! G dC dDe      Z" G dE dFe      Z# G dG dHe      Z$ G dI dJe      Z% G dK dLe      Z& G dM dNe      Z' G dO dPe      Z( G dQ dRe      Z) G dS dTe      Z* G dU dVe      Z+ G dW dXe      Z, G dY dZe      Z- G d[ d\e      Z. G d] d^e      Z/ G d_ d`e      Z0 G da dbe      Z1 G dc dde      Z2 G de dfe      Z3 G dg dhe      Z4 G di dje      Z5 G dk dle      Z6 G dm dne      Z7 G do dpe      Z8 G dq dre      Z9 G ds dte      Z: G du dve      Z; G dw dxe      Z< G dy dze      Z= G d{ d|e      Z> G d} d~e      Z? G d de      Z@ G d de      ZA G d de      ZB G d de      ZC G d de      ZD G d de      ZE G d de      ZF G d de      ZG G d de      ZH G d de      ZI G d de      ZJ G d de      ZK G d de      ZL G d de      ZM G d de      ZN G d de      ZO G d de      ZP G d de      ZQ G d de      ZR G d de      ZS G d de      ZT G d de      ZU G d de      ZV G d de      ZW G d de      ZX G d de      ZY G d de      ZZ G d de      Z[ G d de      Z\ G d de      Z] G d de      Z^ G d de      Z_ G d de      Z` G d de      Za G dÄ de      Zb G dń de      Zc G dǄ de      Zd G dɄ de      Ze G d˄ de      Zf G d̈́ de      Zg G dτ de      Zhy(     )RPCErrorc                       e Zd ZdZdZ	 eZy)
BadRequestzBad Requesti  N)__name__
__module____qualname____doc__CODENAME     ]/var/www/files/kim/lib/python3.12/site-packages/pyrogram/errors/exceptions/bad_request_400.pyr   r      s    D!Dr   r   c                       e Zd ZdZdZ	 eZy)AboutTooLongz'The provided about/bio text is too longABOUT_TOO_LONGNr   r   r   r	   IDMESSAGEr   r   r   r   r      s    1	BGr   r   c                       e Zd ZdZdZ	 eZy)AccessTokenExpiredzThe bot token has expiredACCESS_TOKEN_EXPIREDNr   r   r   r   r   r   $       #	BGr   r   c                       e Zd ZdZdZ	 eZy)AccessTokenInvalidzThe bot access token is invalidACCESS_TOKEN_INVALIDNr   r   r   r   r   r   +       )	BGr   r   c                       e Zd ZdZdZ	 eZy)AdminsTooMuchz$The chat has too many administratorsADMINS_TOO_MUCHNr   r   r   r   r   r   2   s    .	BGr   r   c                       e Zd ZdZdZ	 eZy)AdminRankEmojiNotAllowedz4Emoji are not allowed in custom administrator titlesADMIN_RANK_EMOJI_NOT_ALLOWEDNr   r   r   r   r!   r!   9   s    >	'BGr   r!   c                       e Zd ZdZdZ	 eZy)AdminRankInvalidz5The custom administrator title is invalid or too longADMIN_RANK_INVALIDNr   r   r   r   r$   r$   @   s    ?	BGr   r$   c                       e Zd ZdZdZ	 eZy)AlbumPhotosTooManyz*Too many photos were included in the albumALBUM_PHOTOS_TOO_MANYNr   r   r   r   r'   r'   G   s    4	 BGr   r'   c                       e Zd ZdZdZ	 eZy)ApiIdInvalidz*The api_id/api_hash combination is invalidAPI_ID_INVALIDNr   r   r   r   r*   r*   N   s    4	BGr   r*   c                       e Zd ZdZdZ	 eZy)ApiIdPublishedFloodz^You are using an API key that is limited on the server side because it was published somewhereAPI_ID_PUBLISHED_FLOODNr   r   r   r   r-   r-   U   s    h	!BGr   r-   c                       e Zd ZdZdZ	 eZy)ArticleTitleEmptyzThe article title is emptyARTICLE_TITLE_EMPTYNr   r   r   r   r0   r0   \       $	BGr   r0   c                       e Zd ZdZdZ	 eZy)AudioTitleEmptyz)The title attribute of the audio is emptyAUDIO_TITLE_EMPTYNr   r   r   r   r4   r4   c   s    3	BGr   r4   c                       e Zd ZdZdZ	 eZy)AuthBytesInvalidz#The authorization bytes are invalidAUTH_BYTES_INVALIDNr   r   r   r   r7   r7   j       -	BGr   r7   c                       e Zd ZdZdZ	 eZy)AuthTokenAlreadyAcceptedz(The authorization token was already usedAUTH_TOKEN_ALREADY_ACCEPTEDNr   r   r   r   r;   r;   q   s    2	&BGr   r;   c                       e Zd ZdZdZ	 eZy)AuthTokenExpiredzWThe provided authorization token has expired and the updated QR-code must be re-scannedAUTH_TOKEN_EXPIREDNr   r   r   r   r>   r>   x   s    a	BGr   r>   c                       e Zd ZdZdZ	 eZy)AuthTokenInvalidz+An invalid authorization token was providedAUTH_TOKEN_INVALIDNr   r   r   r   rA   rA          5	BGr   rA   c                       e Zd ZdZdZ	 eZy)AutoarchiveNotAvailablezqThis feature is not yet enabled for your account due to it not receiving too many private messages from strangersAUTOARCHIVE_NOT_AVAILABLENr   r   r   r   rE   rE      s    {	$BGr   rE   c                       e Zd ZdZdZ	 eZy)BankCardNumberInvalidz!The credit card number is invalidBANK_CARD_NUMBER_INVALIDNr   r   r   r   rH   rH      s    +	#BGr   rH   c                       e Zd ZdZdZ	 eZy)BannedRightsInvalidz2You provided a set of restrictions that is invalidBANNED_RIGHTS_INVALIDNr   r   r   r   rK   rK      s    <	 BGr   rK   c                       e Zd ZdZdZ	 eZy)BasePortLocInvalidz!The base port location is invalidBASE_PORT_LOC_INVALIDNr   r   r   r   rN   rN      s    +	 BGr   rN   c                       e Zd ZdZdZ	 eZy)BotsTooMuchzThe chat has too many botsBOTS_TOO_MUCHNr   r   r   r   rQ   rQ      s    $	BGr   rQ   c                       e Zd ZdZdZ	 eZy)BotChannelsNaz Bots can't edit admin privilegesBOT_CHANNELS_NANr   r   r   r   rT   rT          *	BGr   rT   c                       e Zd ZdZdZ	 eZy)BotCommandDescriptionInvalidzEThe command description was empty, too long or had invalid charactersBOT_COMMAND_DESCRIPTION_INVALIDNr   r   r   r   rX   rX      s    O	*BGr   rX   c                       e Zd ZdZdZ	 eZy)BotDomainInvalidzSThe domain used for the auth button does not match the one configured in @BotFatherBOT_DOMAIN_INVALIDNr   r   r   r   r[   r[      s    ]	BGr   r[   c                       e Zd ZdZdZ	 eZy)BotGamesDisabledz-Bot games cannot be used in this type of chatBOT_GAMES_DISABLEDNr   r   r   r   r^   r^          7	BGr   r^   c                       e Zd ZdZdZ	 eZy)BotGroupsBlockedz!This bot can't be added to groupsBOT_GROUPS_BLOCKEDNr   r   r   r   rb   rb          +	BGr   rb   c                       e Zd ZdZdZ	 eZy)BotInlineDisabledz)The inline feature of the bot is disabledBOT_INLINE_DISABLEDNr   r   r   r   rf   rf          3	BGr   rf   c                       e Zd ZdZdZ	 eZy)
BotInvalidzThis is not a valid botBOT_INVALIDNr   r   r   r   rj   rj      s    !	BGr   rj   c                       e Zd ZdZdZ	 eZy)BotMethodInvalidz The method can't be used by botsBOT_METHOD_INVALIDNr   r   r   r   rm   rm          *	BGr   rm   c                       e Zd ZdZdZ	 eZy)
BotMissing$This method can only be run by a botBOT_MISSINGNr   r   r   r   rq   rq      s    .	BGr   rq   c                       e Zd ZdZdZ	 eZy)BotOnesideNotAvailz:Bots can't pin messages for one side only in private chatsBOT_ONESIDE_NOT_AVAILNr   r   r   r   ru   ru      s    D	 BGr   ru   c                       e Zd ZdZdZ	 eZy)BotPaymentsDisabledrr   BOT_PAYMENTS_DISABLEDNr   r   r   r   rx   rx      s    .	 BGr   rx   c                       e Zd ZdZdZ	 eZy)BotPollsDisabledz'Sending polls by bots has been disabledBOT_POLLS_DISABLEDNr   r   r   r   r{   r{      s    1	BGr   r{   c                       e Zd ZdZdZ	 eZy)BotResponseTimeoutz4The bot did not answer to the callback query in timeBOT_RESPONSE_TIMEOUTNr   r   r   r   r~   r~      s    >	BGr   r~   c                       e Zd ZdZdZ	 eZy)BotScoreNotModifiedzThe bot score was not modifiedBOT_SCORE_NOT_MODIFIEDNr   r   r   r   r   r     s    (	!BGr   r   c                       e Zd ZdZdZ	 eZy)BroadcastIdInvalidzThe channel is invalidBROADCAST_ID_INVALIDNr   r   r   r   r   r     s     	BGr   r   c                       e Zd ZdZdZ	 eZy)BroadcastPublicVotersForbiddenz3Polls with public voters cannot be sent in channels!BROADCAST_PUBLIC_VOTERS_FORBIDDENNr   r   r   r   r   r     s    =	,BGr   r   c                       e Zd ZdZdZ	 eZy)BroadcastRequiredz+The request can only be used with a channelBROADCAST_REQUIREDNr   r   r   r   r   r     rC   r   r   c                       e Zd ZdZdZ	 eZy)ButtonDataInvalidz0The button callback data is invalid or too largeBUTTON_DATA_INVALIDNr   r   r   r   r   r          :	BGr   r   c                       e Zd ZdZdZ	 eZy)ButtonTypeInvalidz6The type of one of the buttons you provided is invalidBUTTON_TYPE_INVALIDNr   r   r   r   r   r   '  s    @	BGr   r   c                       e Zd ZdZdZ	 eZy)ButtonUrlInvalidzThe button url is invalidBUTTON_URL_INVALIDNr   r   r   r   r   r   .      #	BGr   r   c                       e Zd ZdZdZ	 eZy)ButtonUserPrivacyRestrictedzaThe privacy settings of the user specified in a keyboard button do not allow creating such buttonBUTTON_USER_PRIVACY_RESTRICTEDNr   r   r   r   r   r   5  s    k	)BGr   r   c                       e Zd ZdZdZ	 eZy)CallAlreadyAcceptedzThe call is already acceptedCALL_ALREADY_ACCEPTEDNr   r   r   r   r   r   <      &	 BGr   r   c                       e Zd ZdZdZ	 eZy)CallAlreadyDeclinedzThe call is already declinedCALL_ALREADY_DECLINEDNr   r   r   r   r   r   C  r   r   r   c                       e Zd ZdZdZ	 eZy)CallPeerInvalidz(The provided call peer object is invalidCALL_PEER_INVALIDNr   r   r   r   r   r   J  s    2	BGr   r   c                       e Zd ZdZdZ	 eZy)CallProtocolFlagsInvalidzCall protocol flags invalidCALL_PROTOCOL_FLAGS_INVALIDNr   r   r   r   r   r   Q  s    %	&BGr   r   c                       e Zd ZdZdZ	 eZy)CdnMethodInvalidz#The method can't be used on CDN DCsCDN_METHOD_INVALIDNr   r   r   r   r   r   X  r9   r   r   c                       e Zd ZdZdZ	 eZy)ChannelsAdminPublicTooMuchz4You are an administrator of too many public channelsCHANNELS_ADMIN_PUBLIC_TOO_MUCHNr   r   r   r   r   r   _  s    >	)BGr   r   c                       e Zd ZdZdZ	 eZy)ChannelsTooMuchzJYou have joined too many channels or supergroups, leave some and try againCHANNELS_TOO_MUCHNr   r   r   r   r   r   f  s    T	BGr   r   c                       e Zd ZdZdZ	 eZy)ChannelAddInvalidzInternal error.CHANNEL_ADD_INVALIDNr   r   r   r   r   r   m  s    	BGr   r   c                       e Zd ZdZdZ	 eZy)ChannelBannedzThe channel is bannedCHANNEL_BANNEDNr   r   r   r   r   r   t      	BGr   r   c                       e Zd ZdZdZ	 eZy)ChannelInvalidz The channel parameter is invalidCHANNEL_INVALIDNr   r   r   r   r   r   {  rV   r   r   c                       e Zd ZdZdZ	 eZy)ChannelPrivatez(The channel/supergroup is not accessibleCHANNEL_PRIVATENr   r   r   r   r   r     s    2	BGr   r   c                       e Zd ZdZdZ	 eZy)ChannelTooLargezThe channel is too largeCHANNEL_TOO_LARGENr   r   r   r   r   r         "	BGr   r   c                       e Zd ZdZdZ	 eZy)ChatAboutNotModifiedzXThe chat about text was not modified because you tried to edit it using the same contentCHAT_ABOUT_NOT_MODIFIEDNr   r   r   r   r   r     s    b	"BGr   r   c                       e Zd ZdZdZ	 eZy)ChatAboutTooLongzThe chat about text is too longCHAT_ABOUT_TOO_LONGNr   r   r   r   r   r         )	BGr   r   c                       e Zd ZdZdZ	 eZy)ChatAdminRequiredz)The method requires chat admin privilegesCHAT_ADMIN_REQUIREDNr   r   r   r   r   r     rh   r   r   c                       e Zd ZdZdZ	 eZy)ChatForwardsRestrictedz%The chat restricts forwarding contentCHAT_FORWARDS_RESTRICTEDNr   r   r   r   r   r         /	#BGr   r   c                       e Zd ZdZdZ	 eZy)ChatIdEmptyzThe provided chat id is emptyCHAT_ID_EMPTYNr   r   r   r   r   r         '	BGr   r   c                       e Zd ZdZdZ	 eZy)ChatIdInvalidziThe chat id being used is invalid or not known yet. Make sure you see the chat before interacting with itCHAT_ID_INVALIDNr   r   r   r   r   r     s    s	BGr   r   c                       e Zd ZdZdZ	 eZy)ChatInvalidzThe chat is invalidCHAT_INVALIDNr   r   r   r   r   r         	BGr   r   c                       e Zd ZdZdZ	 eZy)ChatInvitePermanentzThe chat invite link is primaryCHAT_INVITE_PERMANENTNr   r   r   r   r   r     s    )	 BGr   r   c                       e Zd ZdZdZ	 eZy)ChatLinkExistsz?The action failed because the supergroup is linked to a channelCHAT_LINK_EXISTSNr   r   r   r   r   r     s    I	BGr   r   c                       e Zd ZdZdZ	 eZy)ChatNotModifiedz|The chat settings (title, permissions, photo, etc..) were not modified because you tried to edit them using the same contentCHAT_NOT_MODIFIEDNr   r   r   r   r   r     s     G	BGr   r   c                       e Zd ZdZdZ	 eZy)ChatRestrictedz)The chat is restricted and cannot be usedCHAT_RESTRICTEDNr   r   r   r   r   r     s    3	BGr   r   c                       e Zd ZdZdZ	 eZy)ChatSendInlineForbiddenz8You cannot use inline bots to send messages in this chatCHAT_SEND_INLINE_FORBIDDENNr   r   r   r   r   r         B	%BGr   r   c                       e Zd ZdZdZ	 eZy)ChatTitleEmptyzThe chat title is emptyCHAT_TITLE_EMPTYNr   r   r   r   r   r         !	BGr   r   c                       e Zd ZdZdZ	 eZy)
ChatTooBigz#The chat is too big for this actionCHAT_TOO_BIGNr   r   r   r   r   r     s    -	BGr   r   c                       e Zd ZdZdZ	 eZy)	CodeEmptyzThe provided code is empty
CODE_EMPTYNr   r   r   r   r   r         $	BGr   r   c                       e Zd ZdZdZ	 eZy)CodeHashInvalidzThe provided code hash invalidCODE_HASH_INVALIDNr   r   r   r   r   r         (	BGr   r   c                       e Zd ZdZdZ	 eZy)CodeInvalidz.The provided code is invalid (i.e. from email)CODE_INVALIDNr   r   r   r   r   r      s    8	BGr   r   c                       e Zd ZdZdZ	 eZy)ConnectionApiIdInvalidzThe provided API id is invalidCONNECTION_API_ID_INVALIDNr   r   r   r   r   r     s    (	$BGr   r   c                       e Zd ZdZdZ	 eZy)ConnectionAppVersionEmptyzApp version is emptyCONNECTION_APP_VERSION_EMPTYNr   r   r   r   r   r     s    	'BGr   r   c                       e Zd ZdZdZ	 eZy)ConnectionDeviceModelEmptyzThe device model is emptyCONNECTION_DEVICE_MODEL_EMPTYNr   r   r   r   r  r    s    #	(BGr   r  c                       e Zd ZdZdZ	 eZy)ConnectionLangPackInvalidz(The specified language pack is not validCONNECTION_LANG_PACK_INVALIDNr   r   r   r   r  r    s    2	'BGr   r  c                       e Zd ZdZdZ	 eZy)ConnectionLayerInvalidzLThe connection layer is invalid. Missing InvokeWithLayer-InitConnection callCONNECTION_LAYER_INVALIDNr   r   r   r   r	  r	  #  s    V	#BGr   r	  c                       e Zd ZdZdZ	 eZy)ConnectionNotInitedz"The connection was not initializedCONNECTION_NOT_INITEDNr   r   r   r   r  r  *      ,	 BGr   r  c                       e Zd ZdZdZ	 eZy)ConnectionSystemEmptyz%The connection to the system is emptyCONNECTION_SYSTEM_EMPTYNr   r   r   r   r  r  1  s    /	"BGr   r  c                       e Zd ZdZdZ	 eZy)ConnectionSystemLangCodeEmptyz!The system language code is empty!CONNECTION_SYSTEM_LANG_CODE_EMPTYNr   r   r   r   r  r  8  s    +	,BGr   r  c                       e Zd ZdZdZ	 eZy)ContactAddMissingzContact to add is missingCONTACT_ADD_MISSINGNr   r   r   r   r  r  ?  s    #	BGr   r  c                       e Zd ZdZdZ	 eZy)ContactIdInvalidz"The provided contact id is invalidCONTACT_ID_INVALIDNr   r   r   r   r  r  F      ,	BGr   r  c                       e Zd ZdZdZ	 eZy)ContactNameEmptyz"The provided contact name is emptyCONTACT_NAME_EMPTYNr   r   r   r   r  r  M  r  r   r  c                       e Zd ZdZdZ	 eZy)ContactReqMissingzMissing contact requestCONTACT_REQ_MISSINGNr   r   r   r   r   r   T  s    !	BGr   r   c                       e Zd ZdZdZ	 eZy)DataInvalidzThe encrypted data is invalidDATA_INVALIDNr   r   r   r   r#  r#  [  s    '	BGr   r#  c                       e Zd ZdZdZ	 eZy)DataJsonInvalidz!The provided JSON data is invalidDATA_JSON_INVALIDNr   r   r   r   r&  r&  b      +	BGr   r&  c                       e Zd ZdZdZ	 eZy)DataTooLongzData too longDATA_TOO_LONGNr   r   r   r   r*  r*  i  s    	BGr   r*  c                       e Zd ZdZdZ	 eZy)	DateEmptyzThe date argument is empty
DATE_EMPTYNr   r   r   r   r-  r-  p  r   r   r-  c                       e Zd ZdZdZ	 eZy)DcIdInvalidzThe dc_id parameter is invalidDC_ID_INVALIDNr   r   r   r   r0  r0  w      (	BGr   r0  c                       e Zd ZdZdZ	 eZy)DhGAInvalidzThe g_a parameter invalidDH_G_A_INVALIDNr   r   r   r   r4  r4  ~  s    #	BGr   r4  c                       e Zd ZdZdZ	 eZy)DocumentInvalidzThe document is invalidDOCUMENT_INVALIDNr   r   r   r   r7  r7    r   r   r7  c                       e Zd ZdZdZ	 eZy)EmailHashExpiredz6The email hash expired and cannot be used to verify itEMAIL_HASH_EXPIREDNr   r   r   r   r:  r:        @	BGr   r:  c                       e Zd ZdZdZ	 eZy)EmailInvalidzThe email provided is invalidEMAIL_INVALIDNr   r   r   r   r>  r>    r   r   r>  c                       e Zd ZdZdZ	 eZy)EmailUnconfirmedzEmail unconfirmedEMAIL_UNCONFIRMEDNr   r   r   r   rA  rA    s    	BGr   rA  c                       e Zd ZdZdZ	 eZy)rA  zrThe provided email isn't confirmed, {value} is the length of the verification code that was just sent to the emailEMAIL_UNCONFIRMED_XNr   r   r   r   rA  rA    s    |	BGr   c                       e Zd ZdZdZ	 eZy)EmailVerifyExpiredz"The verification email has expiredEMAIL_VERIFY_EXPIREDNr   r   r   r   rF  rF        ,	BGr   rF  c                       e Zd ZdZdZ	 eZy)EmoticonEmptyzThe emoticon parameter is emptyEMOTICON_EMPTYNr   r   r   r   rJ  rJ        )	BGr   rJ  c                       e Zd ZdZdZ	 eZy)EmoticonInvalidz!The emoticon parameter is invalidEMOTICON_INVALIDNr   r   r   r   rN  rN    s    +	BGr   rN  c                       e Zd ZdZdZ	 eZy)EmoticonStickerpackMissingz=The emoticon sticker pack you are trying to obtain is missingEMOTICON_STICKERPACK_MISSINGNr   r   r   r   rQ  rQ    s    G	'BGr   rQ  c                       e Zd ZdZdZ	 eZy)EncryptedMessageInvalidzGThe special binding message (bind_auth_key_inner) contains invalid dataENCRYPTED_MESSAGE_INVALIDNr   r   r   r   rT  rT    s    Q	$BGr   rT  c                       e Zd ZdZdZ	 eZy)EncryptionAlreadyAcceptedz#The secret chat is already acceptedENCRYPTION_ALREADY_ACCEPTEDNr   r   r   r   rW  rW        -	&BGr   rW  c                       e Zd ZdZdZ	 eZy)EncryptionAlreadyDeclinedz#The secret chat is already declinedENCRYPTION_ALREADY_DECLINEDNr   r   r   r   r[  r[    rY  r   r[  c                       e Zd ZdZdZ	 eZy)EncryptionDeclinedzThe secret chat was declinedENCRYPTION_DECLINEDNr   r   r   r   r^  r^        &	BGr   r^  c                       e Zd ZdZdZ	 eZy)EncryptionIdInvalidz&The provided secret chat id is invalidENCRYPTION_ID_INVALIDNr   r   r   r   rb  rb        0	 BGr   rb  c                       e Zd ZdZdZ	 eZy)EntitiesTooLongzcThe entity provided contains data that is too long, or you passed too many entities to this messageENTITIES_TOO_LONGNr   r   r   r   rf  rf    s    m	BGr   rf  c                       e Zd ZdZdZ	 eZy)EntityBoundsInvalidz%The message entity bounds are invalidENTITY_BOUNDS_INVALIDNr   r   r   r   ri  ri        /	 BGr   ri  c                       e Zd ZdZdZ	 eZy)EntityMentionUserInvalidz#The mentioned entity is not an userENTITY_MENTION_USER_INVALIDNr   r   r   r   rm  rm    rY  r   rm  c                       e Zd ZdZdZ	 eZy)ErrorTextEmptyz#The provided error message is emptyERROR_TEXT_EMPTYNr   r   r   r   rp  rp    s    -	BGr   rp  c                       e Zd ZdZdZ	 eZy)ExpireDateInvalidzThe expiration date is invalidEXPIRE_DATE_INVALIDNr   r   r   r   rs  rs        (	BGr   rs  c                       e Zd ZdZdZ	 eZy)ExportCardInvalidzThe provided card is invalidEXPORT_CARD_INVALIDNr   r   r   r   rw  rw  
  r`  r   rw  c                       e Zd ZdZdZ	 eZy)ExternalUrlInvalidz!The external media URL is invalidEXTERNAL_URL_INVALIDNr   r   r   r   rz  rz        +	BGr   rz  c                       e Zd ZdZdZ	 eZy)FieldNameEmptyz-The field with the name FIELD_NAME is missingFIELD_NAME_EMPTYNr   r   r   r   r~  r~    s    7	BGr   r~  c                       e Zd ZdZdZ	 eZy)FieldNameInvalidz-The field with the name FIELD_NAME is invalidFIELD_NAME_INVALIDNr   r   r   r   r  r    r`   r   r  c                       e Zd ZdZdZ	 eZy)FileIdInvalidzThe file id is invalidFILE_ID_INVALIDNr   r   r   r   r  r  &       	BGr   r  c                       e Zd ZdZdZ	 eZy)FileMigratez&The file is in Data Center No. {value}FILE_MIGRATE_XNr   r   r   r   r  r  -  s    0	BGr   r  c                       e Zd ZdZdZ	 eZy)FilePartsInvalidzInvalid number of parts.FILE_PARTS_INVALIDNr   r   r   r   r  r  4  s    "	BGr   r  c                       e Zd ZdZdZ	 eZy)FilePartEmptyzThe file part sent is emptyFILE_PART_EMPTYNr   r   r   r   r  r  ;      %	BGr   r  c                       e Zd ZdZdZ	 eZy)FilePartInvalidz The file part number is invalid.FILE_PART_INVALIDNr   r   r   r   r  r  B  s    *	BGr   r  c                       e Zd ZdZdZ	 eZy)FilePartLengthInvalidz$The length of a file part is invalidFILE_PART_LENGTH_INVALIDNr   r   r   r   r  r  I  s    .	#BGr   r  c                       e Zd ZdZdZ	 eZy)FilePartSizeChangedzVThe part size is different from the size of one of the previous parts in the same fileFILE_PART_SIZE_CHANGEDNr   r   r   r   r  r  P  s    `	!BGr   r  c                       e Zd ZdZdZ	 eZy)FilePartSizeInvalidzThe file part size is invalidFILE_PART_SIZE_INVALIDNr   r   r   r   r  r  W      '	!BGr   r  c                       e Zd ZdZdZ	 eZy)FilePartTooBigzAThe size limit for the content of the file part has been exceededFILE_PART_TOO_BIGNr   r   r   r   r  r  ^      K	BGr   r  c                       e Zd ZdZdZ	 eZy)FilePartMissingz0Part {value} of the file is missing from storageFILE_PART_X_MISSINGNr   r   r   r   r  r  e  r   r   r  c                       e Zd ZdZdZ	 eZy)FileReferenceEmptyzyThe file id contains an empty file reference, you must obtain a valid one by fetching the message from the origin contextFILE_REFERENCE_EMPTYNr   r   r   r   r  r  l  s     D	BGr   r  c                       e Zd ZdZdZ	 eZy)FileReferenceExpiredz{The file id contains an expired file reference, you must obtain a valid one by fetching the message from the origin contextFILE_REFERENCE_EXPIREDNr   r   r   r   r  r  s       F	!BGr   r  c                       e Zd ZdZdZ	 eZy)FileReferenceInvalidz{The file id contains an invalid file reference, you must obtain a valid one by fetching the message from the origin contextFILE_REFERENCE_INVALIDNr   r   r   r   r  r  z  r  r   r  c                       e Zd ZdZdZ	 eZy)FilterIdInvalidz"The specified filter ID is invalidFILTER_ID_INVALIDNr   r   r   r   r  r    s    ,	BGr   r  c                       e Zd ZdZdZ	 eZy)FirstnameInvalidzThe first name is invalidFIRSTNAME_INVALIDNr   r   r   r   r  r    s    #	BGr   r  c                       e Zd ZdZdZ	 eZy)FolderIdEmptyz0The folder you tried to delete was already emptyFOLDER_ID_EMPTYNr   r   r   r   r  r    s    :	BGr   r  c                       e Zd ZdZdZ	 eZy)FolderIdInvalidzThe folder id is invalidFOLDER_ID_INVALIDNr   r   r   r   r  r    r   r   r  c                       e Zd ZdZdZ	 eZy)FreshChangeAdminsForbiddenz`You can't change administrator settings in this chat because your session was logged-in recentlyFRESH_CHANGE_ADMINS_FORBIDDENNr   r   r   r   r  r    s    j	(BGr   r  c                       e Zd ZdZdZ	 eZy)FromMessageBotDisabledz+Bots can't use fromMessage min constructorsFROM_MESSAGE_BOT_DISABLEDNr   r   r   r   r  r    s    5	$BGr   r  c                       e Zd ZdZdZ	 eZy)FromPeerInvalidzThe from peer value is invalidFROM_PEER_INVALIDNr   r   r   r   r  r    r   r   r  c                       e Zd ZdZdZ	 eZy)GameBotInvalidz.You cannot send that game with the current botGAME_BOT_INVALIDNr   r   r   r   r  r    s    8	BGr   r  c                       e Zd ZdZdZ	 eZy)GeoPointInvalidzInvalid geo point providedGEO_POINT_INVALIDNr   r   r   r   r  r    s    $	BGr   r  c                       e Zd ZdZdZ	 eZy)GifContentTypeInvalidzGIF content-type invalidGIF_CONTENT_TYPE_INVALIDNr   r   r   r   r  r    s    "	#BGr   r  c                       e Zd ZdZdZ	 eZy)GifIdInvalidz(The provided gif/animation id is invalidGIF_ID_INVALIDNr   r   r   r   r  r    s    2	BGr   r  c                       e Zd ZdZdZ	 eZy)GraphInvalidReloadzSInvalid graph token provided, please reload the stats and provide the updated tokenGRAPH_INVALID_RELOADNr   r   r   r   r  r    s    ]	BGr   r  c                       e Zd ZdZdZ	 eZy)GraphOutdatedReloadzThe graph data is outdatedGRAPH_OUTDATED_RELOADNr   r   r   r   r  r    s    $	 BGr   r  c                       e Zd ZdZdZ	 eZy)GroupcallSsrcDuplicateMuchz5Too many group call synchronization source duplicatesGROUPCALL_SSRC_DUPLICATE_MUCHNr   r   r   r   r  r    s    ?	(BGr   r  c                       e Zd ZdZdZ	 eZy)GroupedMediaInvalidz The album contains invalid mediaGROUPED_MEDIA_INVALIDNr   r   r   r   r  r    s    *	 BGr   r  c                       e Zd ZdZdZ	 eZy)GroupCallInvalidzThe group call is invalidGROUP_CALL_INVALIDNr   r   r   r   r  r    r   r   r  c                       e Zd ZdZdZ	 eZy)HashInvalidzThe provided hash is invalidHASH_INVALIDNr   r   r   r   r  r        &	BGr   r  c                       e Zd ZdZdZ	 eZy)ImageProcessFailedz'The server failed to process your imageIMAGE_PROCESS_FAILEDNr   r   r   r   r  r    s    1	BGr   r  c                       e Zd ZdZdZ	 eZy)ImportFileInvalidzThe imported file is invalidIMPORT_FILE_INVALIDNr   r   r   r   r  r    r`  r   r  c                       e Zd ZdZdZ	 eZy)ImportFormatUnrecognizedz#The imported format is unrecognizedIMPORT_FORMAT_UNRECOGNIZEDNr   r   r   r   r  r    s    -	%BGr   r  c                       e Zd ZdZdZ	 eZy)ImportIdInvalidzThe import id is invalidIMPORT_ID_INVALIDNr   r   r   r   r  r    r   r   r  c                       e Zd ZdZdZ	 eZy)InlineResultExpiredzThe inline bot query expiredINLINE_RESULT_EXPIREDNr   r   r   r   r  r    r   r   r  c                       e Zd ZdZdZ	 eZy)InputConstructorInvalidz#The provided constructor is invalidINPUT_CONSTRUCTOR_INVALIDNr   r   r   r   r  r    s    -	$BGr   r  c                       e Zd ZdZdZ	 eZy)InputFetchErrorz3An error occurred while deserializing TL parametersINPUT_FETCH_ERRORNr   r   r   r   r  r  "  s    =	BGr   r  c                       e Zd ZdZdZ	 eZy)InputFetchFailzFailed deserializing TL payloadINPUT_FETCH_FAILNr   r   r   r   r  r  )  s    )	BGr   r  c                       e Zd ZdZdZ	 eZy)InputFilterInvalidz$The filter is invalid for this queryINPUT_FILTER_INVALIDNr   r   r   r   r  r  0      .	BGr   r  c                       e Zd ZdZdZ	 eZy)InputLayerInvalidzThe provided layer is invalidINPUT_LAYER_INVALIDNr   r   r   r   r   r   7  s    '	BGr   r   c                       e Zd ZdZdZ	 eZy)InputMethodInvalidz3The method invoked is invalid in the current schemaINPUT_METHOD_INVALIDNr   r   r   r   r  r  >  s    =	BGr   r  c                       e Zd ZdZdZ	 eZy)InputRequestTooLongzThe input request is too longINPUT_REQUEST_TOO_LONGNr   r   r   r   r  r  E  r  r   r  c                       e Zd ZdZdZ	 eZy)InputUserDeactivatedz,The target user has been deleted/deactivatedINPUT_USER_DEACTIVATEDNr   r   r   r   r	  r	  L  s    6	!BGr   r	  c                       e Zd ZdZdZ	 eZy)InviteHashEmptyzThe invite hash is emptyINVITE_HASH_EMPTYNr   r   r   r   r  r  S  r   r   r  c                       e Zd ZdZdZ	 eZy)InviteHashExpiredz'The chat invite link is no longer validINVITE_HASH_EXPIREDNr   r   r   r   r  r  Z      1	BGr   r  c                       e Zd ZdZdZ	 eZy)InviteHashInvalidzThe invite link hash is invalidINVITE_HASH_INVALIDNr   r   r   r   r  r  a  r   r   r  c                       e Zd ZdZdZ	 eZy)InviteRequestSentzCThe request to join this chat or channel has been successfully sentINVITE_REQUEST_SENTNr   r   r   r   r  r  h  s    M	BGr   r  c                       e Zd ZdZdZ	 eZy)InviteRevokedMissingz:The action required a chat invite link to be revoked firstINVITE_REVOKED_MISSINGNr   r   r   r   r  r  o  s    D	!BGr   r  c                       e Zd ZdZdZ	 eZy)LangPackInvalidz%The provided language pack is invalidLANG_PACK_INVALIDNr   r   r   r   r  r  v  s    /	BGr   r  c                       e Zd ZdZdZ	 eZy)LastnameInvalidzThe last name is invalidLASTNAME_INVALIDNr   r   r   r   r  r  }  s    "	BGr   r  c                       e Zd ZdZdZ	 eZy)LimitInvalidzThe limit parameter is invalidLIMIT_INVALIDNr   r   r   r   r"  r"    r2  r   r"  c                       e Zd ZdZdZ	 eZy)LinkNotModifiedzKThe chat link was not modified because you tried to link to the same targetLINK_NOT_MODIFIEDNr   r   r   r   r%  r%    s    U	BGr   r%  c                       e Zd ZdZdZ	 eZy)LocationInvalidzThe file location is invalidLOCATION_INVALIDNr   r   r   r   r(  r(        &	BGr   r(  c                       e Zd ZdZdZ	 eZy)MaxIdInvalidzThe max_id parameter is invalidMAX_ID_INVALIDNr   r   r   r   r,  r,    rL  r   r,  c                       e Zd ZdZdZ	 eZy)MaxQtsInvalidzThe provided QTS is invalidMAX_QTS_INVALIDNr   r   r   r   r/  r/    r  r   r/  c                       e Zd ZdZdZ	 eZy)Md5ChecksumInvalidz<The file's checksum did not match the md5_checksum parameterMD5_CHECKSUM_INVALIDNr   r   r   r   r2  r2    s    F	BGr   r2  c                       e Zd ZdZdZ	 eZy)MediaCaptionTooLongzThe media caption is too longMEDIA_CAPTION_TOO_LONGNr   r   r   r   r5  r5    r  r   r5  c                       e Zd ZdZdZ	 eZy)
MediaEmptyz&The media you tried to send is invalidMEDIA_EMPTYNr   r   r   r   r8  r8    s    0	BGr   r8  c                       e Zd ZdZdZ	 eZy)MediaInvalidzThe media is invalidMEDIA_INVALIDNr   r   r   r   r;  r;        	BGr   r;  c                       e Zd ZdZdZ	 eZy)MediaNewInvalidz1The new media to edit the message with is invalidMEDIA_NEW_INVALIDNr   r   r   r   r?  r?    s    ;	BGr   r?  c                       e Zd ZdZdZ	 eZy)MediaPrevInvalidz6The previous media cannot be edited with anything elseMEDIA_PREV_INVALIDNr   r   r   r   rB  rB    r<  r   rB  c                       e Zd ZdZdZ	 eZy)MegagroupIdInvalidzThe supergroup is invalidMEGAGROUP_ID_INVALIDNr   r   r   r   rE  rE    r   r   rE  c                       e Zd ZdZdZ	 eZy)MegagroupPrehistoryHiddenzCThe action failed because the supergroup has the pre-history hiddenMEGAGROUP_PREHISTORY_HIDDENNr   r   r   r   rH  rH    s    M	&BGr   rH  c                       e Zd ZdZdZ	 eZy)MegagroupRequiredz.The request can only be used with a supergroupMEGAGROUP_REQUIREDNr   r   r   r   rK  rK    s    8	BGr   rK  c                       e Zd ZdZdZ	 eZy)MessageEditTimeExpiredzDYou can no longer edit this message because too much time has passedMESSAGE_EDIT_TIME_EXPIREDNr   r   r   r   rN  rN    s    N	$BGr   rN  c                       e Zd ZdZdZ	 eZy)MessageEmptyz8The message sent is empty or contains invalid charactersMESSAGE_EMPTYNr   r   r   r   rQ  rQ    s    B	BGr   rQ  c                       e Zd ZdZdZ	 eZy)MessageIdsEmptyzAThe requested message doesn't exist or you provided no message idMESSAGE_IDS_EMPTYNr   r   r   r   rT  rT    r  r   rT  c                       e Zd ZdZdZ	 eZy)MessageIdInvalidzThe message id is invalidMESSAGE_ID_INVALIDNr   r   r   r   rW  rW    r   r   rW  c                       e Zd ZdZdZ	 eZy)MessageNotModifiedzPThe message was not modified because you tried to edit it using the same contentMESSAGE_NOT_MODIFIEDNr   r   r   r   rZ  rZ    s    Z	BGr   rZ  c                       e Zd ZdZdZ	 eZy)MessagePollClosedz%You can't interact with a closed pollMESSAGE_POLL_CLOSEDNr   r   r   r   r]  r]  	  s    /	BGr   r]  c                       e Zd ZdZdZ	 eZy)MessageTooLongzThe message text is too longMESSAGE_TOO_LONGNr   r   r   r   r`  r`    r*  r   r`  c                       e Zd ZdZdZ	 eZy)MethodInvalidz,The API method is invalid and cannot be usedMETHOD_INVALIDNr   r   r   r   rc  rc    s    6	BGr   rc  c                       e Zd ZdZdZ	 eZy)MsgIdInvalidz+The message ID used in the peer was invalidMSG_ID_INVALIDNr   r   r   r   rf  rf    s    5	BGr   rf  c                       e Zd ZdZdZ	 eZy)MsgWaitFailedz A waiting call returned an errorMSG_WAIT_FAILEDNr   r   r   r   ri  ri  %  rV   r   ri  c                       e Zd ZdZdZ	 eZy)MultiMediaTooLongz-The album/media group contains too many itemsMULTI_MEDIA_TOO_LONGNr   r   r   r   rl  rl  ,      7	BGr   rl  c                       e Zd ZdZdZ	 eZy)NewSaltInvalidzThe new salt is invalidNEW_SALT_INVALIDNr   r   r   r   rp  rp  3  r   r   rp  c                       e Zd ZdZdZ	 eZy)NewSettingsInvalidzThe new settings are invalidNEW_SETTINGS_INVALIDNr   r   r   r   rs  rs  :      &	BGr   rs  c                       e Zd ZdZdZ	 eZy)NextOffsetInvalidz The next offset value is invalidNEXT_OFFSET_INVALIDNr   r   r   r   rw  rw  A  s    *	BGr   rw  c                       e Zd ZdZdZ	 eZy)OffsetInvalidzThe offset parameter is invalidOFFSET_INVALIDNr   r   r   r   rz  rz  H  rL  r   rz  c                       e Zd ZdZdZ	 eZy)OffsetPeerIdInvalidz#The provided offset peer is invalidOFFSET_PEER_ID_INVALIDNr   r   r   r   r}  r}  O  s    -	!BGr   r}  c                       e Zd ZdZdZ	 eZy)OptionsTooMuchzThe poll options are too manyOPTIONS_TOO_MUCHNr   r   r   r   r  r  V  s    '	BGr   r  c                       e Zd ZdZdZ	 eZy)OptionInvalidzEThe option specified is invalid and does not exist in the target pollOPTION_INVALIDNr   r   r   r   r  r  ]  s    O	BGr   r  c                       e Zd ZdZdZ	 eZy)PackShortNameInvalidzInvalid sticker pack name. It must begin with a letter, can't contain consecutive underscores and must end in '_by_<bot username>'.PACK_SHORT_NAME_INVALIDNr   r   r   r   r  r  d  s     N	"BGr   r  c                       e Zd ZdZdZ	 eZy)PackShortNameOccupiedz,A sticker pack with this name already existsPACK_SHORT_NAME_OCCUPIEDNr   r   r   r   r  r  k  s    6	#BGr   r  c                       e Zd ZdZdZ	 eZy)PackTitleInvalidz!The sticker pack title is invalidPACK_TITLE_INVALIDNr   r   r   r   r  r  r  rd   r   r  c                       e Zd ZdZdZ	 eZy)ParticipantsTooFewz)The chat doesn't have enough participantsPARTICIPANTS_TOO_FEWNr   r   r   r   r  r  y  s    3	BGr   r  c                       e Zd ZdZdZ	 eZy)ParticipantVersionOutdatedz?The other participant is using an outdated Telegram app versionPARTICIPANT_VERSION_OUTDATEDNr   r   r   r   r  r    s    I	'BGr   r  c                       e Zd ZdZdZ	 eZy)PasswordEmptyzThe password provided is emptyPASSWORD_EMPTYNr   r   r   r   r  r        (	BGr   r  c                       e Zd ZdZdZ	 eZy)PasswordHashInvalidz-The two-step verification password is invalidPASSWORD_HASH_INVALIDNr   r   r   r   r  r    s    7	 BGr   r  c                       e Zd ZdZdZ	 eZy)PasswordMissingz9The account is missing the two-step verification passwordPASSWORD_MISSINGNr   r   r   r   r  r    s    C	BGr   r  c                       e Zd ZdZdZ	 eZy)PasswordRecoveryNaz-The password recovery e-mail is not availablePASSWORD_RECOVERY_NANr   r   r   r   r  r    rn  r   r  c                       e Zd ZdZdZ	 eZy)PasswordRequiredz>The two-step verification password is required for this methodPASSWORD_REQUIREDNr   r   r   r   r  r    s    H	BGr   r  c                       e Zd ZdZdZ	 eZy)PasswordTooFreshzbThe two-step verification password was added recently and you are required to wait {value} secondsPASSWORD_TOO_FRESH_XNr   r   r   r   r  r    s    l	BGr   r  c                       e Zd ZdZdZ	 eZy)PaymentProviderInvalidz@The payment provider was not recognised or its token was invalidPAYMENT_PROVIDER_INVALIDNr   r   r   r   r  r    s    J	#BGr   r  c                       e Zd ZdZdZ	 eZy)	PeerFloodzBThe method can't be used because your account is currently limited
PEER_FLOODNr   r   r   r   r  r    s    L	BGr   r  c                       e Zd ZdZdZ	 eZy)PeerIdInvalidzjThe peer id being used is invalid or not known yet. Make sure you meet the peer before interacting with itPEER_ID_INVALIDNr   r   r   r   r  r        t	BGr   r  c                       e Zd ZdZdZ	 eZy)PeerIdNotSupportedz%The provided peer id is not supportedPEER_ID_NOT_SUPPORTEDNr   r   r   r   r  r    rk  r   r  c                       e Zd ZdZdZ	 eZy)PersistentTimestampEmptyzThe pts argument is emptyPERSISTENT_TIMESTAMP_EMPTYNr   r   r   r   r  r    s    #	%BGr   r  c                       e Zd ZdZdZ	 eZy)PersistentTimestampInvalidz#The persistent timestamp is invalidPERSISTENT_TIMESTAMP_INVALIDNr   r   r   r   r  r    s    -	'BGr   r  c                       e Zd ZdZdZ	 eZy)PhoneCodeEmptyzThe phone code is missingPHONE_CODE_EMPTYNr   r   r   r   r  r    s    #	BGr   r  c                       e Zd ZdZdZ	 eZy)PhoneCodeExpiredz!The confirmation code has expiredPHONE_CODE_EXPIREDNr   r   r   r   r  r    rd   r   r  c                       e Zd ZdZdZ	 eZy)PhoneCodeHashEmptyzThe phone code hash is missingPHONE_CODE_HASH_EMPTYNr   r   r   r   r  r        (	 BGr   r  c                       e Zd ZdZdZ	 eZy)PhoneCodeInvalidz The confirmation code is invalidPHONE_CODE_INVALIDNr   r   r   r   r  r    ro   r   r  c                       e Zd ZdZdZ	 eZy)PhoneNumberAppSignupForbiddenz You can't sign up using this app!PHONE_NUMBER_APP_SIGNUP_FORBIDDENNr   r   r   r   r  r    s    *	,BGr   r  c                       e Zd ZdZdZ	 eZy)PhoneNumberBannedz;The phone number is banned from Telegram and cannot be usedPHONE_NUMBER_BANNEDNr   r   r   r   r  r    s    E	BGr   r  c                       e Zd ZdZdZ	 eZy)PhoneNumberFloodz-This number has tried to login too many timesPHONE_NUMBER_FLOODNr   r   r   r   r  r    r`   r   r  c                       e Zd ZdZdZ	 eZy)PhoneNumberInvalidzThe phone number is invalidPHONE_NUMBER_INVALIDNr   r   r   r   r  r        %	BGr   r  c                       e Zd ZdZdZ	 eZy)PhoneNumberOccupiedz"The phone number is already in usePHONE_NUMBER_OCCUPIEDNr   r   r   r   r  r    r  r   r  c                       e Zd ZdZdZ	 eZy)PhoneNumberUnoccupiedz&The phone number is not yet being usedPHONE_NUMBER_UNOCCUPIEDNr   r   r   r   r  r    s    0	"BGr   r  c                       e Zd ZdZdZ	 eZy)PhonePasswordProtectedzThe phone is password protectedPHONE_PASSWORD_PROTECTEDNr   r   r   r   r  r  !      )	#BGr   r  c                       e Zd ZdZdZ	 eZy)PhotoContentTypeInvalidz!The photo content type is invalidPHOTO_CONTENT_TYPE_INVALIDNr   r   r   r   r  r  (  s    +	%BGr   r  c                       e Zd ZdZdZ	 eZy)PhotoContentUrlEmptyzThe photo content URL is emptyPHOTO_CONTENT_URL_EMPTYNr   r   r   r   r  r  /      (	"BGr   r  c                       e Zd ZdZdZ	 eZy)PhotoCropFileMissingzPhoto crop file missingPHOTO_CROP_FILE_MISSINGNr   r   r   r   r  r  6      !	"BGr   r  c                       e Zd ZdZdZ	 eZy)PhotoCropSizeSmallzThe photo is too smallPHOTO_CROP_SIZE_SMALLNr   r   r   r   r  r  =  s     	 BGr   r  c                       e Zd ZdZdZ	 eZy)PhotoExtInvalidzThe photo extension is invalidPHOTO_EXT_INVALIDNr   r   r   r   r  r  D  r   r   r  c                       e Zd ZdZdZ	 eZy)PhotoFileMissingzProfile photo file missingPHOTO_FILE_MISSINGNr   r   r   r   r  r  K  s    $	BGr   r  c                       e Zd ZdZdZ	 eZy)PhotoIdInvalidzThe photo id is invalidPHOTO_ID_INVALIDNr   r   r   r   r  r  R  r   r   r  c                       e Zd ZdZdZ	 eZy)PhotoInvalidzThe photo is invalidPHOTO_INVALIDNr   r   r   r   r  r  Y  r=  r   r  c                       e Zd ZdZdZ	 eZy)PhotoInvalidDimensionsz The photo dimensions are invalidPHOTO_INVALID_DIMENSIONSNr   r   r   r   r  r  `  s    *	#BGr   r  c                       e Zd ZdZdZ	 eZy)PhotoSaveFileInvalidz7The photo you tried to send cannot be saved by TelegramPHOTO_SAVE_FILE_INVALIDNr   r   r   r   r  r  g  s    A	"BGr   r  c                       e Zd ZdZdZ	 eZy)PhotoThumbUrlEmptyzThe photo thumb URL is emptyPHOTO_THUMB_URL_EMPTYNr   r   r   r   r  r  n  r   r   r  c                       e Zd ZdZdZ	 eZy)PhotoThumbUrlInvalidzThe photo thumb URL is invalidPHOTO_THUMB_URL_INVALIDNr   r   r   r   r  r  u  r  r   r  c                       e Zd ZdZdZ	 eZy)PinnedDialogsTooMuchzToo many pinned dialogsPINNED_DIALOGS_TOO_MUCHNr   r   r   r   r  r  |  r  r   r  c                       e Zd ZdZdZ	 eZy)PinRestrictedz9You can't pin messages in private chats with other peoplePIN_RESTRICTEDNr   r   r   r   r  r    s    C	BGr   r  c                       e Zd ZdZdZ	 eZy)PollAnswersInvalidzThe poll answers are invalidPOLL_ANSWERS_INVALIDNr   r   r   r   r  r    ru  r   r  c                       e Zd ZdZdZ	 eZy)PollOptionDuplicatez,A duplicate option was sent in the same pollPOLL_OPTION_DUPLICATENr   r   r   r   r  r    s    6	 BGr   r  c                       e Zd ZdZdZ	 eZy)PollOptionInvalidz:A poll option used invalid data (the data may be too long)POLL_OPTION_INVALIDNr   r   r   r   r  r    s    D	BGr   r  c                       e Zd ZdZdZ	 eZy)PollQuestionInvalidzThe poll question is invalidPOLL_QUESTION_INVALIDNr   r   r   r   r  r    r   r   r  c                       e Zd ZdZdZ	 eZy)PollUnsupportedz7This layer does not support polls in the invoked methodPOLL_UNSUPPORTEDNr   r   r   r   r  r    s    A	BGr   r  c                       e Zd ZdZdZ	 eZy)PollVoteRequiredz2Cast a vote in the poll before calling this methodPOLL_VOTE_REQUIREDNr   r   r   r   r  r    s    <	BGr   r  c                       e Zd ZdZdZ	 eZy)PrivacyKeyInvalidzThe privacy key is invalidPRIVACY_KEY_INVALIDNr   r   r   r   r  r    r2   r   r  c                       e Zd ZdZdZ	 eZy)PrivacyTooLongz=Your privacy exception list has exceeded the maximum capacityPRIVACY_TOO_LONGNr   r   r   r   r   r     s    G	BGr   r   c                       e Zd ZdZdZ	 eZy)PrivacyValueInvalidzThe privacy value is invalidPRIVACY_VALUE_INVALIDNr   r   r   r   r#  r#    r   r   r#  c                       e Zd ZdZdZ	 eZy)QueryIdEmptyzThe query ID is emptyQUERY_ID_EMPTYNr   r   r   r   r&  r&    r   r   r&  c                       e Zd ZdZdZ	 eZy)QueryIdInvalidz The callback query id is invalidQUERY_ID_INVALIDNr   r   r   r   r)  r)        *	BGr   r)  c                       e Zd ZdZdZ	 eZy)QueryTooShortzThe query is too shortQUERY_TOO_SHORTNr   r   r   r   r-  r-    r  r   r-  c                       e Zd ZdZdZ	 eZy)QuizCorrectAnswersEmptyz)The correct answers of the quiz are emptyQUIZ_CORRECT_ANSWERS_EMPTYNr   r   r   r   r0  r0    s    3	%BGr   r0  c                       e Zd ZdZdZ	 eZy)QuizCorrectAnswersTooMuchz*The quiz contains too many correct answersQUIZ_CORRECT_ANSWERS_TOO_MUCHNr   r   r   r   r3  r3    s    4	(BGr   r3  c                       e Zd ZdZdZ	 eZy)QuizCorrectAnswerInvalidz+The correct answers of the quiz are invalidQUIZ_CORRECT_ANSWER_INVALIDNr   r   r   r   r6  r6    s    5	&BGr   r6  c                       e Zd ZdZdZ	 eZy)QuizMultipleInvalidz"A quiz can't have multiple answersQUIZ_MULTIPLE_INVALIDNr   r   r   r   r9  r9    r  r   r9  c                       e Zd ZdZdZ	 eZy)RandomIdEmptyzThe random ID is emptyRANDOM_ID_EMPTYNr   r   r   r   r<  r<    r  r   r<  c                       e Zd ZdZdZ	 eZy)RandomIdInvalidz!The provided random ID is invalidRANDOM_ID_INVALIDNr   r   r   r   r?  r?    r(  r   r?  c                       e Zd ZdZdZ	 eZy)RandomLengthInvalidzThe random length is invalidRANDOM_LENGTH_INVALIDNr   r   r   r   rB  rB    r   r   rB  c                       e Zd ZdZdZ	 eZy)RangesInvalidzInvalid range providedRANGES_INVALIDNr   r   r   r   rE  rE    s     	BGr   rE  c                       e Zd ZdZdZ	 eZy)ReactionEmptyzThe reaction provided is emptyREACTION_EMPTYNr   r   r   r   rH  rH    r  r   rH  c                       e Zd ZdZdZ	 eZy)ReactionInvalidz8Invalid reaction provided (only valid emoji are allowed)REACTION_INVALIDNr   r   r   r   rK  rK    s    B	BGr   rK  c                       e Zd ZdZdZ	 eZy)ReflectorNotAvailablez#The call reflector is not availableREFLECTOR_NOT_AVAILABLENr   r   r   r   rN  rN  $  s    -	"BGr   rN  c                       e Zd ZdZdZ	 eZy)ReplyMarkupBuyEmptyz!Reply markup for buy button emptyREPLY_MARKUP_BUY_EMPTYNr   r   r   r   rQ  rQ  +  s    +	!BGr   rQ  c                       e Zd ZdZdZ	 eZy)ReplyMarkupGameEmptyz/The provided reply markup for the game is emptyREPLY_MARKUP_GAME_EMPTYNr   r   r   r   rT  rT  2  s    9	"BGr   rT  c                       e Zd ZdZdZ	 eZy)ReplyMarkupInvalidz$The provided reply markup is invalidREPLY_MARKUP_INVALIDNr   r   r   r   rW  rW  9  r  r   rW  c                       e Zd ZdZdZ	 eZy)ReplyMarkupTooLongzThe reply markup is too longREPLY_MARKUP_TOO_LONGNr   r   r   r   rZ  rZ  @  r   r   rZ  c                       e Zd ZdZdZ	 eZy)ResultsTooMuchz"The result contains too many itemsRESULTS_TOO_MUCHNr   r   r   r   r]  r]  G  s    ,	BGr   r]  c                       e Zd ZdZdZ	 eZy)ResultIdDuplicatez5The result contains items with duplicated identifiersRESULT_ID_DUPLICATENr   r   r   r   r`  r`  N  s    ?	BGr   r`  c                       e Zd ZdZdZ	 eZy)ResultIdEmptyzResult ID emptyRESULT_ID_EMPTYNr   r   r   r   rc  rc  U  s    	BGr   rc  c                       e Zd ZdZdZ	 eZy)ResultIdInvalidz@The given result cannot be used to send the selection to the botRESULT_ID_INVALIDNr   r   r   r   rf  rf  \      J	BGr   rf  c                       e Zd ZdZdZ	 eZy)ResultTypeInvalidzThe result type is invalidRESULT_TYPE_INVALIDNr   r   r   r   rj  rj  c  r2   r   rj  c                       e Zd ZdZdZ	 eZy)RevoteNotAllowedzYou cannot change your voteREVOTE_NOT_ALLOWEDNr   r   r   r   rm  rm  j      %	BGr   rm  c                       e Zd ZdZdZ	 eZy)RsaDecryptFailedzInternal RSA decryption failedRSA_DECRYPT_FAILEDNr   r   r   r   rq  rq  q      (	BGr   rq  c                       e Zd ZdZdZ	 eZy)ScheduleBotNotAllowedz)Bots are not allowed to schedule messagesSCHEDULE_BOT_NOT_ALLOWEDNr   r   r   r   ru  ru  x  s    3	#BGr   ru  c                       e Zd ZdZdZ	 eZy)ScheduleDateInvalidzInvalid schedule date providedSCHEDULE_DATE_INVALIDNr   r   r   r   rx  rx    r  r   rx  c                       e Zd ZdZdZ	 eZy)ScheduleDateTooLatezLThe date you tried to schedule is too far in the future (more than one year)SCHEDULE_DATE_TOO_LATENr   r   r   r   r{  r{    s    V	!BGr   r{  c                       e Zd ZdZdZ	 eZy)ScheduleStatusPrivatezkYou cannot schedule a message until the person comes online if their privacy does not show this informationSCHEDULE_STATUS_PRIVATENr   r   r   r   r~  r~    s    u	"BGr   r~  c                       e Zd ZdZdZ	 eZy)ScheduleTooMuchz4You tried to schedule too many messages in this chatSCHEDULE_TOO_MUCHNr   r   r   r   r  r    s    >	BGr   r  c                       e Zd ZdZdZ	 eZy)SearchQueryEmptyzThe search query is emptySEARCH_QUERY_EMPTYNr   r   r   r   r  r    r   r   r  c                       e Zd ZdZdZ	 eZy)SecondsInvalidzThe seconds interval is invalidSECONDS_INVALIDNr   r   r   r   r  r        )	BGr   r  c                       e Zd ZdZdZ	 eZy)SendMessageMediaInvalidzThe message media is invalidSEND_MESSAGE_MEDIA_INVALIDNr   r   r   r   r  r    s    &	%BGr   r  c                       e Zd ZdZdZ	 eZy)SendMessageTypeInvalidzThe message type is invalidSEND_MESSAGE_TYPE_INVALIDNr   r   r   r   r  r    s    %	$BGr   r  c                       e Zd ZdZdZ	 eZy)SessionTooFreshzKYou can't do this action because the current session was logged-in recentlySESSION_TOO_FRESH_XNr   r   r   r   r  r    s    U	BGr   r  c                       e Zd ZdZdZ	 eZy)SettingsInvalidzInvalid settings were providedSETTINGS_INVALIDNr   r   r   r   r  r    s    (	BGr   r  c                       e Zd ZdZdZ	 eZy)Sha256HashInvalidz#The provided SHA256 hash is invalidSHA256_HASH_INVALIDNr   r   r   r   r  r    s    -	BGr   r  c                       e Zd ZdZdZ	 eZy)ShortnameOccupyFailedzhAn error occurred when trying to register the short-name used for the sticker pack. Try a different nameSHORTNAME_OCCUPY_FAILEDNr   r   r   r   r  r    s    r	"BGr   r  c                       e Zd ZdZdZ	 eZy)SlowmodeMultiMsgsDisabledzGSlowmode is enabled, you cannot forward multiple messages to this groupSLOWMODE_MULTI_MSGS_DISABLEDNr   r   r   r   r  r    s    Q	'BGr   r  c                       e Zd ZdZdZ	 eZy)SmsCodeCreateFailedz-An error occurred while creating the SMS codeSMS_CODE_CREATE_FAILEDNr   r   r   r   r  r    s    7	!BGr   r  c                       e Zd ZdZdZ	 eZy)SrpIdInvalidzInvalid SRP ID providedSRP_ID_INVALIDNr   r   r   r   r  r    s    !	BGr   r  c                       e Zd ZdZdZ	 eZy)SrpPasswordChangedzThe password has changedSRP_PASSWORD_CHANGEDNr   r   r   r   r  r    s    "	BGr   r  c                       e Zd ZdZdZ	 eZy)StartParamEmptyzThe start parameter is emptySTART_PARAM_EMPTYNr   r   r   r   r  r        &	BGr   r  c                       e Zd ZdZdZ	 eZy)StartParamInvalidzThe start parameter is invalidSTART_PARAM_INVALIDNr   r   r   r   r  r    ru  r   r  c                       e Zd ZdZdZ	 eZy)StartParamTooLongzThe start parameter is too longSTART_PARAM_TOO_LONGNr   r   r   r   r  r    r   r   r  c                       e Zd ZdZdZ	 eZy)StickersetInvalidz$The requested sticker set is invalidSTICKERSET_INVALIDNr   r   r   r   r  r    s    .	BGr   r  c                       e Zd ZdZdZ	 eZy)StickersetNotModifiedzThe sticker set is not modifiedSTICKERSET_NOT_MODIFIEDNr   r   r   r   r  r        )	"BGr   r  c                       e Zd ZdZdZ	 eZy)StickersEmptyzThe sticker provided is emptySTICKERS_EMPTYNr   r   r   r   r  r    s    '	BGr   r  c                       e Zd ZdZdZ	 eZy)StickersTooMuchzToo many stickers in the setSTICKERS_TOO_MUCHNr   r   r   r   r  r    r  r   r  c                       e Zd ZdZdZ	 eZy)StickerDocumentInvalidzThe sticker document is invalidSTICKER_DOCUMENT_INVALIDNr   r   r   r   r  r     r  r   r  c                       e Zd ZdZdZ	 eZy)StickerEmojiInvalidzThe sticker emoji is invalidSTICKER_EMOJI_INVALIDNr   r   r   r   r  r  '  r   r   r  c                       e Zd ZdZdZ	 eZy)StickerFileInvalidzThe sticker file is invalidSTICKER_FILE_INVALIDNr   r   r   r   r  r  .  r  r   r  c                       e Zd ZdZdZ	 eZy)StickerIdInvalidz"The provided sticker id is invalidSTICKER_ID_INVALIDNr   r   r   r   r  r  5  r  r   r  c                       e Zd ZdZdZ	 eZy)StickerInvalidzThe provided sticker is invalidSTICKER_INVALIDNr   r   r   r   r  r  <  r  r   r  c                       e Zd ZdZdZ	 eZy)StickerPngDimensionsz&The sticker png dimensions are invalidSTICKER_PNG_DIMENSIONSNr   r   r   r   r  r  C  s    0	!BGr   r  c                       e Zd ZdZdZ	 eZy)StickerPngNopngz?Stickers must be png files but the provided image was not a pngSTICKER_PNG_NOPNGNr   r   r   r   r  r  J  s    I	BGr   r  c                       e Zd ZdZdZ	 eZy)StickerTgsNotgsz@A tgs sticker file was expected, but something else was providedSTICKER_TGS_NOTGSNr   r   r   r   r  r  Q  rh  r   r  c                       e Zd ZdZdZ	 eZy)StickerThumbPngNopngzJA png sticker thumbnail file was expected, but something else was providedSTICKER_THUMB_PNG_NOPNGNr   r   r   r   r  r  X  s    T	"BGr   r  c                       e Zd ZdZdZ	 eZy)StickerVideoNowebmz?A webm video file was expected, but something else was providedSTICKER_VIDEO_NOWEBMNr   r   r   r   r  r  _  s    I	BGr   r  c                       e Zd ZdZdZ	 eZy)TakeoutInvalidzThe takeout id is invalidTAKEOUT_INVALIDNr   r   r   r   r  r  f  s    #	BGr   r  c                       e Zd ZdZdZ	 eZy)TakeoutRequiredz3The method must be invoked inside a takeout sessionTAKEOUT_REQUIREDNr   r   r   r   r  r  m  s    =	BGr   r  c                       e Zd ZdZdZ	 eZy)TempAuthKeyEmptyz(The temporary auth key provided is emptyTEMP_AUTH_KEY_EMPTYNr   r   r   r   r  r  t  s    2	BGr   r  c                       e Zd ZdZdZ	 eZy)ThemeFileInvalidzInvalid theme file providedTHEME_FILE_INVALIDNr   r   r   r   r  r  {  ro  r   r  c                       e Zd ZdZdZ	 eZy)ThemeFormatInvalidzInvalid theme format providedTHEME_FORMAT_INVALIDNr   r   r   r   r  r    s    '	BGr   r  c                       e Zd ZdZdZ	 eZy)ThemeInvalidzInvalid theme providedTHEME_INVALIDNr   r   r   r   r  r    s     	BGr   r  c                       e Zd ZdZdZ	 eZy)ThemeMimeInvalidz=You cannot create this theme because the mime-type is invalidTHEME_MIME_INVALIDNr   r   r   r   r  r    s    G	BGr   r  c                       e Zd ZdZdZ	 eZy)TmpPasswordDisabledz"The temporary password is disabledTMP_PASSWORD_DISABLEDNr   r   r   r   r  r    r  r   r  c                       e Zd ZdZdZ	 eZy)TmpPasswordInvalidz!The temporary password is invalidTMP_PASSWORD_INVALIDNr   r   r   r   r  r    r|  r   r  c                       e Zd ZdZdZ	 eZy)TokenInvalidzThe provided token is invalidTOKEN_INVALIDNr   r   r   r   r  r    r   r   r  c                       e Zd ZdZdZ	 eZy)TtlDaysInvalidz The provided TTL days is invalidTTL_DAYS_INVALIDNr   r   r   r   r  r    r+  r   r  c                       e Zd ZdZdZ	 eZy)TtlMediaInvalidz+The media does not support self-destructionTTL_MEDIA_INVALIDNr   r   r   r   r  r    s    5	BGr   r  c                       e Zd ZdZdZ	 eZy)
TypesEmptyzThe types parameter is emptyTYPES_EMPTYNr   r   r   r   r  r    s    &	BGr   r  c                       e Zd ZdZdZ	 eZy)TypeConstructorInvalidzThe type constructor is invalidTYPE_CONSTRUCTOR_INVALIDNr   r   r   r   r  r    r  r   r  c                       e Zd ZdZdZ	 eZy)UntilDateInvalidzThat date parameter is invalidUNTIL_DATE_INVALIDNr   r   r   r   r  r    rs  r   r  c                       e Zd ZdZdZ	 eZy)
UrlInvalidzThe URL provided is invalidURL_INVALIDNr   r   r   r   r  r    s    %	BGr   r  c                       e Zd ZdZdZ	 eZy)UsageLimitInvalidzThe usage limit is invalidUSAGE_LIMIT_INVALIDNr   r   r   r   r  r    r2   r   r  c                       e Zd ZdZdZ	 eZy)UsernameInvalidzThe username is invalidUSERNAME_INVALIDNr   r   r   r   r  r    r   r   r  c                       e Zd ZdZdZ	 eZy)UsernameNotModifiedzMThe username was not modified because you tried to edit it using the same oneUSERNAME_NOT_MODIFIEDNr   r   r   r   r  r    s    W	 BGr   r  c                       e Zd ZdZdZ	 eZy)UsernameNotOccupiedz&The username is not occupied by anyoneUSERNAME_NOT_OCCUPIEDNr   r   r   r   r  r    rd  r   r  c                       e Zd ZdZdZ	 eZy)UsernameOccupiedz.The username is already in use by someone elseUSERNAME_OCCUPIEDNr   r   r   r   r  r    s    8	BGr   r  c                       e Zd ZdZdZ	 eZy)UserpicUploadRequiredz<You are required to upload a profile picture for this actionUSERPIC_UPLOAD_REQUIREDNr   r   r   r   r  r    s    F	"BGr   r  c                       e Zd ZdZdZ	 eZy)UsersTooFewz0Not enough users (to create a chat, for example)USERS_TOO_FEWNr   r   r   r   r   r    	  s    :	BGr   r   c                       e Zd ZdZdZ	 eZy)UsersTooMuchzMThe maximum number of users has been exceeded (to create a chat, for example)USERS_TOO_MUCHNr   r   r   r   r#  r#  	  s    W	BGr   r#  c                       e Zd ZdZdZ	 eZy)UserAdminInvalidzuThe action requires admin privileges. Probably you tried to edit admin privileges on someone you don't have rights toUSER_ADMIN_INVALIDNr   r   r   r   r&  r&  	  s    	BGr   r&  c                       e Zd ZdZdZ	 eZy)UserAlreadyParticipantz.The user is already a participant of this chatUSER_ALREADY_PARTICIPANTNr   r   r   r   r)  r)  	  s    8	#BGr   r)  c                       e Zd ZdZdZ	 eZy)UserBannedInChannelzYYou are limited from sending messages in supergroups/channels, check @SpamBot for detailsUSER_BANNED_IN_CHANNELNr   r   r   r   r,  r,  	  s    c	!BGr   r,  c                       e Zd ZdZdZ	 eZy)UserBlockedzThe user is blockedUSER_BLOCKEDNr   r   r   r   r/  r/  #	  r   r   r/  c                       e Zd ZdZdZ	 eZy)UserBotz9Bots in channels can only be administrators, not members.USER_BOTNr   r   r   r   r2  r2  *	  s    C	BGr   r2  c                       e Zd ZdZdZ	 eZy)UserBotInvalidz%This method can only be used by a botUSER_BOT_INVALIDNr   r   r   r   r5  r5  1	  s    /	BGr   r5  c                       e Zd ZdZdZ	 eZy)UserBotRequiredz#The method can be used by bots onlyUSER_BOT_REQUIREDNr   r   r   r   r8  r8  8	  s    -	BGr   r8  c                       e Zd ZdZdZ	 eZy)UserChannelsTooMuchz7The user is already in too many channels or supergroupsUSER_CHANNELS_TOO_MUCHNr   r   r   r   r;  r;  ?	  s    A	!BGr   r;  c                       e Zd ZdZdZ	 eZy)UserCreatorz7You can't leave this channel because you're its creatorUSER_CREATORNr   r   r   r   r>  r>  F	  s    A	BGr   r>  c                       e Zd ZdZdZ	 eZy)UserIdInvalidzjThe user id being used is invalid or not known yet. Make sure you meet the user before interacting with itUSER_ID_INVALIDNr   r   r   r   rA  rA  M	  r  r   rA  c                       e Zd ZdZdZ	 eZy)UserInvalidzThe provided user is invalidUSER_INVALIDNr   r   r   r   rD  rD  T	  r  r   rD  c                       e Zd ZdZdZ	 eZy)UserIsBlockedzThe user blocked youUSER_IS_BLOCKEDNr   r   r   r   rG  rG  [	  s    	BGr   rG  c                       e Zd ZdZdZ	 eZy)	UserIsBotz5A bot cannot send messages to other bots or to itselfUSER_IS_BOTNr   r   r   r   rJ  rJ  b	  s    ?	BGr   rJ  c                       e Zd ZdZdZ	 eZy)
UserKickedz#This user was kicked from this chatUSER_KICKEDNr   r   r   r   rM  rM  i	  s    -	BGr   rM  c                       e Zd ZdZdZ	 eZy)UserNotMutualContactz The user is not a mutual contactUSER_NOT_MUTUAL_CONTACTNr   r   r   r   rP  rP  p	  s    *	"BGr   rP  c                       e Zd ZdZdZ	 eZy)UserNotParticipantz%The user is not a member of this chatUSER_NOT_PARTICIPANTNr   r   r   r   rS  rS  w	  s    /	BGr   rS  c                       e Zd ZdZdZ	 eZy)VideoContentTypeInvalidz8The video content type is invalid (i.e.: not streamable)VIDEO_CONTENT_TYPE_INVALIDNr   r   r   r   rV  rV  ~	  r   r   rV  c                       e Zd ZdZdZ	 eZy)VideoFileInvalidzThe video file is invalidVIDEO_FILE_INVALIDNr   r   r   r   rY  rY  	  r   r   rY  c                       e Zd ZdZdZ	 eZy)VoiceMessagesForbiddenzVoice messages are restrictedVOICE_MESSAGES_FORBIDDENNr   r   r   r   r\  r\  	  s    '	#BGr   r\  c                       e Zd ZdZdZ	 eZy)VolumeLocNotFoundz"The volume location can't be foundVOLUME_LOC_NOT_FOUNDNr   r   r   r   r_  r_  	  rH  r   r_  c                       e Zd ZdZdZ	 eZy)WallpaperFileInvalidz/The provided file cannot be used as a wallpaperWALLPAPER_FILE_INVALIDNr   r   r   r   rb  rb  	  s    9	!BGr   rb  c                       e Zd ZdZdZ	 eZy)WallpaperInvalidz!The input wallpaper was not validWALLPAPER_INVALIDNr   r   r   r   re  re  	  r(  r   re  c                       e Zd ZdZdZ	 eZy)WallpaperMimeInvalidz"The wallpaper mime type is invalidWALLPAPER_MIME_INVALIDNr   r   r   r   rh  rh  	  s    ,	!BGr   rh  c                       e Zd ZdZdZ	 eZy)WcConvertUrlInvalidzWC convert URL invalidWC_CONVERT_URL_INVALIDNr   r   r   r   rk  rk  	  s     	!BGr   rk  c                       e Zd ZdZdZ	 eZy)WebdocumentInvalidzThe web document is invalidWEBDOCUMENT_INVALIDNr   r   r   r   rn  rn  	  s    %	BGr   rn  c                       e Zd ZdZdZ	 eZy)WebdocumentMimeInvalidz%The web document mime type is invalidWEBDOCUMENT_MIME_INVALIDNr   r   r   r   rq  rq  	  r   r   rq  c                       e Zd ZdZdZ	 eZy)WebdocumentSizeTooBigzThe web document is too bigWEBDOCUMENT_SIZE_TOO_BIGNr   r   r   r   rt  rt  	  s    %	#BGr   rt  c                       e Zd ZdZdZ	 eZy)WebdocumentUrlEmptyzThe web document URL is emptyWEBDOCUMENT_URL_EMPTYNr   r   r   r   rw  rw  	  s    '	 BGr   rw  c                       e Zd ZdZdZ	 eZy)WebdocumentUrlInvalidzThe web document URL is invalidWEBDOCUMENT_URL_INVALIDNr   r   r   r   rz  rz  	  r  r   rz  c                       e Zd ZdZdZ	 eZy)WebpageCurlFailedz0Telegram server could not fetch the provided URLWEBPAGE_CURL_FAILEDNr   r   r   r   r}  r}  	  r   r   r}  c                       e Zd ZdZdZ	 eZy)WebpageMediaEmptyz'The URL doesn't contain any valid mediaWEBPAGE_MEDIA_EMPTYNr   r   r   r   r  r  	  r  r   r  c                       e Zd ZdZdZ	 eZy)YouBlockedUserzYou blocked this userYOU_BLOCKED_USERNr   r   r   r   r  r  	  s    	BGr   r  N(i  	rpc_errorr   r   r   r   r   r   r!   r$   r'   r*   r-   r0   r4   r7   r;   r>   rA   rE   rH   rK   rN   rQ   rT   rX   r[   r^   rb   rf   rj   rm   rq   ru   rx   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   r   r   r  r  r	  r  r  r  r  r  r  r   r#  r&  r*  r-  r0  r4  r7  r:  r>  rA  rF  rJ  rN  rQ  rT  rW  r[  r^  rb  rf  ri  rm  rp  rs  rw  rz  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  r  r  r   r  r  r	  r  r  r  r  r  r  r  r"  r%  r(  r,  r/  r2  r5  r8  r;  r?  rB  rE  rH  rK  rN  rQ  rT  rW  rZ  r]  r`  rc  rf  ri  rl  rp  rs  rw  rz  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  r  r  r  r  r  r  r  r  r  r  r  r  r  r   r#  r&  r)  r-  r0  r3  r6  r9  r<  r?  rB  rE  rH  rK  rN  rQ  rT  rW  rZ  r]  r`  rc  rf  rj  rm  rq  ru  rx  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  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r   r#  r&  r)  r,  r/  r2  r5  r8  r;  r>  rA  rD  rG  rJ  rM  rP  rS  rV  rY  r\  r_  rb  re  rh  rk  rn  rq  rt  rw  rz  r}  r  r  r   r   r   <module>r     s  & ! :   J z z  : * 
 j z z z z j J *  * J : z z z 
  z   * z  *  Z 
 
 
 z * * * j z z  j 
 J Z Z j : z 
 Z * J * * Z j Z j Z  
 j * Z 
  
 Z * J J 
 z z 
 * j * 
 * * j z : z z  J j  j 
 
  * j * z Z 
 
  Z z J * z J j J * * Z j  : : j z J j  Z j Z j J :  *  * z *  
 z j * j j Z  
  * : j 
 
 
 : j j : j j : J  *  : j z  
 
 Z : j z  
 Z J : J 
 Z  
 J * Z J : J z   J * j  z z Z 
 J  z  Z z  z J 
 z  * J Z j : :  j z Z : Z :  : : J  * 
 * j z 
 Z * : Z J j 
 z * J j * J J j J * :   Z 
 J j 
 z z J * * J j z Z j Z j j 
 J 
 * :  j 
 
 
 J J j Z *  z Z : j j :  Z j z z  : z *  : Z j  Z z  
 j * * z J * : z Z * * j Z j * * J * J 
  :  j z Z 
 : z : *  Z J * J 
 
 Z r   