Ë
    çObj#  ã                  ó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      €úK/var/www/html/venv/lib/python3.12/site-packages/aiogram/methods/get_file.pyr   zGetFile.__init__   s   ø€ ô
 ‰GÑÑB WÐBÐ0AÓ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ˆn˜TÑ"õ Cr   