
    F˝i                    X    d dl mZ d dl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   )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 )CreateForumTopica  
    Use this method to create a topic in a forum supergroup chat or a private chat with a user. In the case of a supergroup chat the bot must be an administrator in the chat for this to work and must have the *can_manage_topics* administrator right. 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
int | None
icon_color
str | None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         [/home/leshdev/mybot/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 &*/3	 !	 		
 #	 #-	 "%	 	 		 r   r   N)
__future__r   typingr   r   typesr   r   baser
   r   r   r   r   <module>r,      s"    " % +  *~j1 *r   