a
    y{Jhú  ã                   @   s8   d dl mZmZmZ ddlmZ G dd„ dee ƒZdS )é    )ÚTYPE_CHECKINGÚAnyÚOptionalé   )ÚTelegramMethodc                       sj   e Zd ZU dZeZdZdZee	 e
d< dZee	 e
d< erbdddœee	 ee	 eddœ‡ fdd	„Z‡  ZS )
Ú	SetMyNamezŽ
    Use this method to change the bot's name. Returns :code:`True` on success.

    Source: https://core.telegram.org/bots/api#setmyname
    Z	setMyNameNÚnameÚlanguage_code©r   r	   )r   r	   Ú_SetMyName__pydantic_kwargsÚreturnc                   s   t ƒ jf ||dœ|¤Ž d S )Nr
   )ÚsuperÚ__init__)Z__pydantic__self__r   r	   r   ©Ú	__class__© úM/var/www/shaz/venv/lib/python3.9/site-packages/aiogram/methods/set_my_name.pyr      s    zSetMyName.__init__)Ú__name__Ú
__module__Ú__qualname__Ú__doc__ÚboolZ__returning__Z__api_method__r   r   ÚstrÚ__annotations__r	   r   r   r   Ú__classcell__r   r   r   r   r      s   
üúr   N)Útypingr   r   r   Úbaser   r   r   r   r   r   r   Ú<module>   s   