o
    FÆhø  ã                   @  sl   d dl mZ d dlmZmZmZmZ ddlmZ ddl	m
Z
mZmZmZ ddlmZ G dd	„ d	ee ƒZd
S )é    )Úannotations)ÚTYPE_CHECKINGÚAnyÚOptionalÚUnioné   )ÚDefault)ÚChatIdUnionÚDateTimeUnionÚMessageÚSuggestedPostParametersé   )ÚTelegramMethodc                      sÂ   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dƒZded< 	 dZded< 	 er]ddddedƒddœd‡ fdd„Z‡  ZS ‡  ZS )ÚForwardMessagea  
    Use this method to forward messages of any kind. Service messages and messages with protected content can't be forwarded. On success, the sent :class:`aiogram.types.message.Message` is returned.

    Source: https://core.telegram.org/bots/api#forwardmessage
    ÚforwardMessager	   Úchat_idÚfrom_chat_idÚintÚ
message_idNúOptional[int]Úmessage_thread_idÚdirect_messages_topic_idúOptional[DateTimeUnion]Úvideo_start_timestampúOptional[bool]Údisable_notificationÚprotect_contentúOptional[Union[bool, Default]]ú!Optional[SuggestedPostParameters]Úsuggested_post_parameters)r   r   r   r   r   r   Ú _ForwardMessage__pydantic_kwargsr   ÚreturnÚNonec       	           s*   t ƒ jd|||||||||	dœ	|
¤Ž d S )N)	r   r   r   r   r   r   r   r   r   © )ÚsuperÚ__init__)Ú__pydantic__self__r   r   r   r   r   r   r   r   r   r    ©Ú	__class__r#   úR/var/www/html/venv/lib/python3.10/site-packages/aiogram/methods/forward_message.pyr%   +   s   ÷

özForwardMessage.__init__)r   r	   r   r	   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r    r   r!   r"   )Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   Ú__returning__Ú__api_method__Ú__annotations__r   r   r   r   r   r   r   r   r%   Ú__classcell__r#   r#   r'   r)   r   
   s>   
 
õür   N)Ú
__future__r   Útypingr   r   r   r   Úclient.defaultr   Útypesr	   r
   r   r   Úbaser   r   r#   r#   r#   r)   Ú<module>   s    