
    G˝i                    `    d dl mZ d dlmZmZ ddlmZmZmZm	Z	 ddl
mZ  G d dee         Zy	)
    )annotations)TYPE_CHECKINGAny   )InputStoryContentUnionMessageEntityStory	StoryArea   )TelegramMethodc                       e Zd ZU dZeZdZded<   	 ded<   	 ded<   	 d	Zd
ed<   	 d	Z	d
ed<   	 d	Z
ded<   	 d	Zded<   	 d	Zded<   	 d	Zded<   	 er'd	d	d	d	d	d	d	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 d fdZ xZS  xZS )	PostStoryz
    Posts a story on behalf of a managed business account. Requires the *can_manage_stories* business bot right. Returns :class:`aiogram.types.story.Story` on success.

    Source: https://core.telegram.org/bots/api#poststory
    	postStorystrbusiness_connection_idr   contentintactive_periodN
str | Nonecaption
parse_modelist[MessageEntity] | Nonecaption_entitieslist[StoryArea] | Noneareasbool | Nonepost_to_chat_pageprotect_content)r   r   r   r   r   r   c       	        8    t        |   d|||||||||	d	|
 y )N)	r   r   r   r   r   r   r   r   r    )super__init__)__pydantic__self__r   r   r   r   r   r   r   r   r   _PostStory__pydantic_kwargs	__class__s              S/home/leshdev/mybot/venv/lib/python3.12/site-packages/aiogram/methods/post_story.pyr"   zPostStory.__init__*   s<    $ G '=+%!1"3 / $    )r   r   r   r   r   r   r   r   r   r   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   r   r   r   r"   __classcell__)r%   s   @r&   r   r   	   s    M N6## dGZH!J
! ^3707$(E!(L%){)I#'O['l #'%);?,0-1+/	 %(	 ,		
 	  	 #	 9	 *	  +	 )	 "%	 	 		 r'   r   N)
__future__r   typingr   r   typesr   r   r	   r
   baser   r   r    r'   r&   <module>r6      s%    " % K K  >u% >r'   