U
    ;g                     @   s  d dl mZ G dd deZG dd deZG dd deZG dd	 d	eZG d
d deZG dd deZG dd deZG dd deZ	G dd deZ
G dd deZG dd deZG dd deZG dd deZG dd deZG dd deZG d d! d!eZG d"d# d#eZG d$d% d%eZG d&d' d'eZG d(d) d)eZG d*d+ d+eZG d,d- d-eZG d.d/ d/eZG d0d1 d1eZG d2d3 d3eZG d4d5 d5eZG d6d7 d7eZG d8d9 d9eZd:S );   )RPCErrorc                   @   s   e Zd Zd ZdZeZdS )	Forbiddeni  N)__name__
__module____qualname____doc__ZCODENAME r	   r	   h/opt/bot/vods_filmes/script/venv/lib/python3.8/site-packages/pyrogram/errors/exceptions/forbidden_403.pyr      s   r   c                   @   s   e Zd ZdZdZeZdS )BroadcastForbiddenz%The request can't be used in channelsZBROADCAST_FORBIDDENNr   r   r   r   ZIDZMESSAGEr	   r	   r	   r
   r      s   r   c                   @   s   e Zd ZdZdZeZdS )ChannelPublicGroupNaz'The channel/supergroup is not availableZCHANNEL_PUBLIC_GROUP_NANr   r	   r	   r	   r
   r   $   s   r   c                   @   s   e Zd ZdZdZeZdS )ChatAdminInviteRequiredz+You don't have rights to invite other usersZCHAT_ADMIN_INVITE_REQUIREDNr   r	   r	   r	   r
   r   +   s   r   c                   @   s   e Zd ZdZdZeZdS )ChatAdminRequiredz)The method requires chat admin privilegesZCHAT_ADMIN_REQUIREDNr   r	   r	   r	   r
   r   2   s   r   c                   @   s   e Zd ZdZdZeZdS )ChatForbiddenzYou cannot write in this chatZCHAT_FORBIDDENNr   r	   r	   r	   r
   r   9   s   r   c                   @   s   e Zd ZdZdZeZdS )ChatSendGifsForbiddenz&You can't send animations in this chatZCHAT_SEND_GIFS_FORBIDDENNr   r	   r	   r	   r
   r   @   s   r   c                   @   s   e Zd ZdZdZeZdS )ChatSendInlineForbiddenz8You cannot use inline bots to send messages in this chatZCHAT_SEND_INLINE_FORBIDDENNr   r	   r	   r	   r
   r   G   s   r   c                   @   s   e Zd ZdZdZeZdS )ChatSendMediaForbiddenz*You can't send media messages in this chatZCHAT_SEND_MEDIA_FORBIDDENNr   r	   r	   r	   r
   r   N   s   r   c                   @   s   e Zd ZdZdZeZdS )ChatSendPollForbiddenz!You can't send polls in this chatZCHAT_SEND_POLL_FORBIDDENNr   r	   r	   r	   r
   r   U   s   r   c                   @   s   e Zd ZdZdZeZdS )ChatSendStickersForbiddenz$You can't send stickers in this chatZCHAT_SEND_STICKERS_FORBIDDENNr   r	   r	   r	   r
   r   \   s   r   c                   @   s   e Zd ZdZdZeZdS )ChatWriteForbiddenz3You don't have rights to send messages in this chatZCHAT_WRITE_FORBIDDENNr   r	   r	   r	   r
   r   c   s   r   c                   @   s   e Zd ZdZdZeZdS )EditBotInviteForbiddenz'Bots' chat invite links can't be editedZEDIT_BOT_INVITE_FORBIDDENNr   r	   r	   r	   r
   r   j   s   r   c                   @   s   e Zd ZdZdZeZdS )InlineBotRequiredz;The action must be performed through an inline bot callbackZINLINE_BOT_REQUIREDNr   r	   r	   r	   r
   r   q   s   r   c                   @   s   e Zd ZdZdZeZdS )MessageAuthorRequiredz&You are not the author of this messageZMESSAGE_AUTHOR_REQUIREDNr   r	   r	   r	   r
   r   x   s   r   c                   @   s   e Zd ZdZdZeZdS )MessageDeleteForbiddenziYou don't have rights to delete messages in this chat, most likely because you are not the author of themZMESSAGE_DELETE_FORBIDDENNr   r	   r	   r	   r
   r      s   r   c                   @   s   e Zd ZdZdZeZdS )PollVoteRequiredz2Cast a vote in the poll before calling this methodZPOLL_VOTE_REQUIREDNr   r	   r	   r	   r
   r      s   r   c                   @   s   e Zd ZdZdZeZdS )PremiumAccountRequiredz&This action requires a premium accountZPREMIUM_ACCOUNT_REQUIREDNr   r	   r	   r	   r
   r      s   r   c                   @   s   e Zd ZdZdZeZdS )RightForbiddenzYou don't have enough rights for this action, or you tried to set one or more admin rights that can't be applied to this kind of chat (channel or supergroup)ZRIGHT_FORBIDDENNr   r	   r	   r	   r
   r      s   r   c                   @   s   e Zd ZdZdZeZdS )SensitiveChangeForbiddenz=Your sensitive content settings can't be changed at this timeZSENSITIVE_CHANGE_FORBIDDENNr   r	   r	   r	   r
   r      s   r   c                   @   s   e Zd ZdZdZeZdS )TakeoutRequiredz3The method must be invoked inside a takeout sessionZTAKEOUT_REQUIREDNr   r	   r	   r	   r
   r      s   r   c                   @   s   e Zd ZdZdZeZdS )UserBotInvalidz'This method can only be called by a botZUSER_BOT_INVALIDNr   r	   r	   r	   r
   r       s   r    c                   @   s   e Zd ZdZdZeZdS )UserChannelsTooMuchzMOne of the users you tried to add is already in too many channels/supergroupsZUSER_CHANNELS_TOO_MUCHNr   r	   r	   r	   r
   r!      s   r!   c                   @   s   e Zd ZdZdZeZdS )UserInvalidzThe provided user is invalidZUSER_INVALIDNr   r	   r	   r	   r
   r"      s   r"   c                   @   s   e Zd ZdZdZeZdS )UserIsBlockedzThe user is blockedZUSER_IS_BLOCKEDNr   r	   r	   r	   r
   r#      s   r#   c                   @   s   e Zd ZdZdZeZdS )UserNotMutualContactz)The provided user is not a mutual contactZUSER_NOT_MUTUAL_CONTACTNr   r	   r	   r	   r
   r$      s   r$   c                   @   s   e Zd ZdZdZeZdS )UserPrivacyRestrictedzDThe user's privacy settings is preventing you to perform this actionZUSER_PRIVACY_RESTRICTEDNr   r	   r	   r	   r
   r%      s   r%   c                   @   s   e Zd ZdZdZeZdS )UserRestrictedz9You are limited/restricted. You can't perform this actionZUSER_RESTRICTEDNr   r	   r	   r	   r
   r&      s   r&   N)Z	rpc_errorr   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
   <module>   s8   