
    F˝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<   	 er!d	d	d	d	d	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 d fdZ xZS  xZS )	EditStorya  
    Edits a story previously posted by the bot 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#editstory
    	editStorystrbusiness_connection_idintstory_idr   contentN
str | Nonecaption
parse_modelist[MessageEntity] | Nonecaption_entitieslist[StoryArea] | Noneareas)r   r   r   r   c               4    t        	|   d|||||||d| y )N)r   r   r   r   r   r   r    )super__init__)
__pydantic__self__r   r   r   r   r   r   r   _EditStory__pydantic_kwargs	__class__s
            S/home/leshdev/mybot/venv/lib/python3.12/site-packages/aiogram/methods/edit_story.pyr   zEditStory.__init__&   s6      G 	'=!%!1	 $	    )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   __classcell__)r"   s   @r#   r   r   	   s     M N6M0##GZH!J
! ^3707$(E!(L #'%);?,0	 %(	 		
 ,	  	 #	 9	 *	 "%	 	 		 r$   r   N)
__future__r   typingr   r   typesr   r   r	   r
   baser   r   r   r$   r#   <module>r3      s%    " % K K  6u% 6r$   