
    dh#                    T    d dl mZ d dlmZmZ ddlmZ ddlmZ  G d dee         Z	y	)
    )annotations)TYPE_CHECKINGAny   )File   )TelegramMethodc                  F     e Zd ZU dZeZdZded<   	 er
d fdZ	 xZ
S  xZ
S )GetFilea  
    Use this method to get basic information about a file and prepare it for downloading. For the moment, bots can download files of up to 20MB in size. On success, a :class:`aiogram.types.file.File` object is returned. The file can then be downloaded via the link :code:`https://api.telegram.org/file/bot<token>/<file_path>`, where :code:`<file_path>` is taken from the response. It is guaranteed that the link will be valid for at least 1 hour. When the link expires, a new one can be requested by calling :class:`aiogram.methods.get_file.GetFile` again.
    **Note:** This function may not preserve the original file name and MIME type. You should save the file's MIME type and name (if available) when the File object is received.

    Source: https://core.telegram.org/bots/api#getfile
    getFilestrfile_idc               (    t        |   dd|i| y )Nr    )super__init__)__pydantic__self__r   _GetFile__pydantic_kwargs	__class__s      R/var/www/netwell/bot/venv/lib/python3.12/site-packages/aiogram/methods/get_file.pyr   zGetFile.__init__   s    
 GBWB0AB    )r   r   r   r   returnNone)__name__
__module____qualname____doc__r   __returning____api_method____annotations__r   r   __classcell__)r   s   @r   r   r   	   s0     MNL2	C 	C	 r   r   N)

__future__r   typingr   r   typesr   baser	   r   r   r   r   <module>r&      s$    " %   CnT" Cr   