
    dh                    \    d dl mZ d dlmZmZmZ ddlmZmZ ddl	m
Z
  G d de
e         Zy	)
    )annotations)TYPE_CHECKINGAnyOptional   )ChatIdUnion
ForumTopic   )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 )CreateForumTopicai  
    Use this method to create 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. Returns information about the created topic as a :class:`aiogram.types.forum_topic.ForumTopic` object.

    Source: https://core.telegram.org/bots/api#createforumtopic
    createForumTopicr   chat_idstrnameNOptional[int]
icon_colorOptional[str]icon_custom_emoji_id)r   r   c               .    t        |   d||||d| y )N)r   r   r   r    )super__init__)__pydantic__self__r   r   r   r   "_CreateForumTopic__pydantic_kwargs	__class__s         \/var/www/netwell/bot/venv/lib/python3.12/site-packages/aiogram/methods/create_forum_topic.pyr   zCreateForumTopic.__init__    s-     G %%9	
 $    )r   r   r   r   r   r   r   r   r   r   returnNone)__name__
__module____qualname____doc__r	   __returning____api_method____annotations__r   r   r   r   __classcell__)r   s   @r   r   r   	   s     M'N A
I& $J$ I*.-. K )-26	 !	 		
 &	 #0	 "%	 	 		 r   r   N)
__future__r   typingr   r   r   typesr   r	   baser   r   r   r   r   <module>r-      s%    " / / +  *~j1 *r   