
    N[i                         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y)    )Union)raw)TLObjectc                       e Zd ZdZdZd Zy)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    M/var/www/files/kim/lib/python3.12/site-packages/pyrogram/raw/base/document.py__init__zDocument.__init__?   s     V W 	W    N)__name__
__module____qualname____doc__QUALNAMEr    r   r   r   r   !   s    6 ,HWr   r   N)	typingr   pyrogramr   pyrogram.raw.corer   typesr   DocumentEmptyr   r   r   <module>r      s?   2   &##SYY%<%<<="W "Wr   