
    $Sh                         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          ZdS )    )Union)raw)TLObjectc                       e Zd ZdZdZ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                      t          d          )NzBase 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)selfs    `/var/www/html/movieo_spanner_bot/venv/lib/python3.11/site-packages/pyrogram/raw/base/document.py__init__zDocument.__init__?   s     V W W 	W    N)__name__
__module____qualname____doc__QUALNAMEr    r   r   r   r   !   s9         6 ,HW W W W Wr   r   N)	typingr   pyrogramr   pyrogram.raw.corer   typesr   DocumentEmptyr   r   r   <module>r      s   2             & & & & & &#SY%<<="W "W "W "W "W "W "W "W "W "Wr   