
    N[i	                     ~    d dl mZ d dlmZmZmZmZmZmZm	Z	m
Z
mZ d dlmZ d dlmZ d dlmZmZmZ  G d de      Zy)	    )BytesIO)	IntLongInt128Int256BoolBytesStringDoubleVector)TLObject)raw)ListOptionalAnyc                   p    e Zd ZU dZddgZee   ed<   dZdZ	de
de
ddfd	Zed
ededd fd       Zde
fdZy)ReuploadCdnFilea  Telegram API function.

    Details:
        - Layer: ``158``
        - ID: ``9B2754A8``

    Parameters:
        file_token (``bytes``):
            N/A

        request_token (``bytes``):
            N/A

    Returns:
        List of :obj:`FileHash <pyrogram.raw.base.FileHash>`
    
file_tokenrequest_token	__slots__l   TN6 z functions.upload.ReuploadCdnFilereturnNc                     || _         || _        y )Nr   r   )selfr   r   s      b/var/www/files/kim/lib/python3.12/site-packages/pyrogram/raw/functions/upload/reupload_cdn_file.py__init__zReuploadCdnFile.__init__8   s    $*    bargsc                 p    t        j                  |       }t        j                  |       }t        ||      S )Nr   )r	   readr   )r   r   r   r   s       r   r!   zReuploadCdnFile.read<   s+     ZZ]


1*MRRr   c                    t               }|j                  t        | j                  d             |j                  t	        | j
                               |j                  t	        | j                               |j                         S )NF)r   writer   IDr	   r   r   getvalue)r   r   r   s      r   r#   zReuploadCdnFile.writeF   sZ    I	DGGU#$ 	
doo&'	d(()*zz|r   )__name__
__module____qualname____doc__r   r   str__annotations__r$   QUALNAMEbytesr   staticmethodr   r   r!   r#    r   r   r   r   !   s{    " )/:ItCy:	B1H+e +E +d + S S S(9 S S
e 
r   r   N)ior   pyrogram.raw.core.primitivesr   r   r   r   r   r	   r
   r   r   pyrogram.raw.corer   pyrogramr   typingr   r   r   r   r/   r   r   <module>r5      s+   &  g g g &  & &/h /r   