a
    y{Jh                     @  sH   d dl mZ d dlmZmZmZmZ ddlmZ G dd dee	 Z
dS )    )annotations)TYPE_CHECKINGAnyOptionalUnion   )TelegramMethodc                      sn   e Zd ZU dZeZdZded< ded< dZded	< dZ	ded
< e
rfdddddddddd fddZ  ZS )EditForumTopicaS  
    Use this method to edit name and icon of a topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have *can_manage_topics* administrator rights, unless it is the creator of the topic. Returns :code:`True` on success.

    Source: https://core.telegram.org/bots/api#editforumtopic
    ZeditForumTopiczUnion[int, str]chat_idintmessage_thread_idNzOptional[str]nameicon_custom_emoji_id)r   r   r   None)r
   r   r   r    _EditForumTopic__pydantic_kwargsreturnc                  s    t  jf ||||d| d S )N)r
   r   r   r   )super__init__)Z__pydantic__self__r
   r   r   r   r   	__class__ R/var/www/shaz/venv/lib/python3.9/site-packages/aiogram/methods/edit_forum_topic.pyr      s    zEditForumTopic.__init__)__name__
__module____qualname____doc__boolZ__returning__Z__api_method____annotations__r   r   r   r   __classcell__r   r   r   r   r	      s   
	r	   N)
__future__r   typingr   r   r   r   baser   r   r	   r   r   r   r   <module>   s   