
    G˝i	                    T    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ee         Z	y	)
    )annotations)TYPE_CHECKINGAny   )Story   )TelegramMethodc                       e Zd ZU dZeZdZded<   	 ded<   	 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 )RepostStorya  
    Reposts a story on behalf of a business account from another business account. Both business accounts must be managed by the same bot, and the story on the source account must have been posted (or reposted) by the bot. Requires the *can_manage_stories* business bot right for both business accounts. Returns :class:`aiogram.types.story.Story` on success.

    Source: https://core.telegram.org/bots/api#repoststory
    repostStorystrbusiness_connection_idintfrom_chat_idfrom_story_idactive_periodNbool | Nonepost_to_chat_pageprotect_content)r   r   c          
     2    t        |   d||||||d| y )N)r   r   r   r   r   r    )super__init__)	__pydantic__self__r   r   r   r   r   r   _RepostStory__pydantic_kwargs	__class__s	           U/home/leshdev/mybot/venv/lib/python3.12/site-packages/aiogram/methods/repost_story.pyr   zRepostStory.__init__$   s3     G '=)++"3 / $    )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   __classcell__)r   s   @r   r   r   	   s     M"N6V@ d%){)I#'O['l .2+/	 %(	 		
 	 	  +	 )	 "%	 	 		 r   r   N)

__future__r   typingr   r   typesr   baser	   r   r   r   r   <module>r-      s"    " %   2.' 2r   