o
    *fj                     @  sL   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 dee	 Z
d	S )
    )annotations)TYPE_CHECKINGAny   )ChatIdUnion   )TelegramMethodc                      sB   e Zd ZU dZeZdZded< 	 erd fd	d
Z	  Z
S   Z
S )CloseGeneralForumTopica8  
    Use this method to close an open 'General' 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. Returns :code:`True` on success.

    Source: https://core.telegram.org/bots/api#closegeneralforumtopic
    closeGeneralForumTopicr   chat_id(_CloseGeneralForumTopic__pydantic_kwargsr   returnNonec                  s   t  jdd|i| d S )Nr    )super__init__)__pydantic__self__r   r   	__class__r   /var/www/botplatforma_usr/data/www/botplatforma.ilyaolesya.ru/.venv/lib/python3.10/site-packages/aiogram/methods/close_general_forum_topic.pyr      s   zCloseGeneralForumTopic.__init__)r   r   r   r   r   r   )__name__
__module____qualname____doc__bool__returning____api_method____annotations__r   r   __classcell__r   r   r   r   r	   	   s   
 r	   N)
__future__r   typingr   r   typesr   baser   r   r	   r   r   r   r   <module>   s
    