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 )ÚDocumenta<  Telegram API base type.

    Constructors:
        This base type has 2 constructors available.

        .. currentmodule:: pyrogram.raw.types

        .. autosummary::
            :nosignatures:

            Document
            DocumentEmpty

    Functions:
        This object can be returned by 4 functions.

        .. currentmodule:: pyrogram.raw.functions

        .. autosummary::
            :nosignatures:

            account.UploadTheme
            account.UploadRingtone
            messages.GetDocumentByHash
            messages.GetCustomEmojiDocuments
    zpyrogram.raw.base.Documentc                 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/document)Ú	TypeError)Úself© r   úZ/opt/bot/vods_filmes/script/venv/lib/python3.8/site-packages/pyrogram/raw/base/document.pyÚ__init__?   s    zDocument.__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DocumentEmptyr   r   r   r	   Ú<module>   s   