
    dh                    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   )ChatIdUnion   )TelegramMethodc                  b     e Zd ZU dZeZdZded<   	 ded<   	 er	 	 	 	 	 	 	 	 d fdZ	 xZ
S  xZ
S )	CloseForumTopicaN  
    Use this method to close an open 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#closeforumtopic
    closeForumTopicr   chat_idintmessage_thread_idc               *    t        |   d||d| y )N)r   r    )super__init__)__pydantic__self__r   r   !_CloseForumTopic__pydantic_kwargs	__class__s       [/var/www/netwell/bot/venv/lib/python3.12/site-packages/aiogram/methods/close_forum_topic.pyr   zCloseForumTopic.__init__   s%     G 3DHY    )r   r   r   r   r   r   returnNone)__name__
__module____qualname____doc__bool__returning____api_method____annotations__r   r   __classcell__)r   s   @r   r   r   	   sc     M&N AL	 !	  #		
 "%	 	 		 r   r   N)
__future__r   typingr   r   typesr   baser	   r   r   r   r   r   <module>r(      s"    " %    nT*  r   