o
    UjÐ  ã                   @   s4   d dl mZmZ ddlmZ G dd„ dee ƒZdS )é    )ÚTYPE_CHECKINGÚAnyé   )ÚTelegramMethodc                       sN   e Zd ZU dZeZdZeed< 	 e	r#dede
ddf‡ fdd„Z‡  ZS ‡  ZS )	ÚReplaceManagedBotTokenzÓ
    Use this method to revoke the current token of a managed bot and generate a new one. Returns the new token as *String* on success.

    Source: https://core.telegram.org/bots/api#replacemanagedbottoken
    ÚreplaceManagedBotTokenÚuser_idÚ(_ReplaceManagedBotToken__pydantic_kwargsÚreturnNc                   s   t ƒ jdd|i|¤Ž d S )Nr   © )ÚsuperÚ__init__)Ú__pydantic__self__r   r	   ©Ú	__class__r   úb/opt/telega-widget/.venv/lib/python3.10/site-packages/aiogram/methods/replace_managed_bot_token.pyr      s   zReplaceManagedBotToken.__init__)Ú__name__Ú
__module__Ú__qualname__Ú__doc__ÚstrÚ__returning__Ú__api_method__ÚintÚ__annotations__r   r   r   Ú__classcell__r   r   r   r   r      s   
 "ür   N)Útypingr   r   Úbaser   r   r   r   r   r   r   Ú<module>   s    