
    dh                    X    d dl mZ d dlmZ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Optional   )ChatIdUnion   )TelegramMethodc                       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
rddd	 	 	 	 	 	 	 	 	 	 	 d fdZ xZS  xZS )EditForumTopicaW  
    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 the *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
    editForumTopicr   chat_idintmessage_thread_idNOptional[str]nameicon_custom_emoji_id)r   r   c               .    t        |   d||||d| y )N)r   r   r   r    )super__init__)__pydantic__self__r   r   r   r    _EditForumTopic__pydantic_kwargs	__class__s         Z/var/www/netwell/bot/venv/lib/python3.12/site-packages/aiogram/methods/edit_forum_topic.pyr   zEditForumTopic.__init__    s-     G "3%9	
 $    )r   r   r   r   r   r   r   r   r   r   returnNone)__name__
__module____qualname____doc__bool__returning____api_method____annotations__r   r   r   r   __classcell__)r   s   @r   r   r   	   s     M%N ALD-q*.-. h #'26	 !	  #		
  	 #0	 "%	 	 		 r   r   N)
__future__r   typingr   r   r   typesr   baser
   r#   r   r   r   r   <module>r,      s%    " / /   *^D) *r   