U
    ç;ãgË  ã                   @   sJ   d dl mZ d dlmZ d dlmZ eejjejjf ZG dd„ dƒZdS )é    )ÚUnion)Úraw)ÚTLObjectc                   @   s   e Zd ZdZdZdd„ ZdS )ÚUseraE  Telegram API base type.

    Constructors:
        This base type has 2 constructors available.

        .. currentmodule:: pyrogram.raw.types

        .. autosummary::
            :nosignatures:

            User
            UserEmpty

    Functions:
        This object can be returned by 5 functions.

        .. currentmodule:: pyrogram.raw.functions

        .. autosummary::
            :nosignatures:

            account.UpdateProfile
            account.UpdateUsername
            account.ChangePhone
            users.GetUsers
            contacts.ImportContactToken
    zpyrogram.raw.base.Userc                 C   s   t dƒ‚d S )NzßBase types can only be used for type checking purposes: you tried to use a base type instance as argument, but you need to instantiate one of its constructors instead. More info: https://docs.pyrogram.org/telegram/base/user)Ú	TypeError)Úself© r   úV/opt/bot/vods_filmes/script/venv/lib/python3.8/site-packages/pyrogram/raw/base/user.pyÚ__init__@   s    zUser.__init__N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__ZQUALNAMEr
   r   r   r   r	   r   !   s   r   N)	Útypingr   Zpyrogramr   Zpyrogram.raw.corer   Útypesr   Z	UserEmptyr   r   r   r	   Ú<module>   s   