o
    4˜Žj‘  ã                   @  s|   d dl mZ d dlmZmZ d dlmZ ddlmZ ddl	m
Z
mZmZ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)ÚFieldé   )ÚDefault)ÚChatIdUnionÚDateTimeUnionÚMessageEntityÚ	MessageIdÚReplyMarkupUnionÚReplyParametersÚ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dƒZded< 	 dZded< 	 e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dd!d"id#�Zded$< 	 edd!d"id#�Zd	ed%< 	 erÁddddedƒdedƒdedƒdddddddd&œd-‡ fd+d,„Z‡  ZS ‡  ZS ).ÚCopyMessageaj  
    Use this method to copy messages of any kind. Service messages, paid media messages, giveaway messages, giveaway winners messages, and invoice messages can't be copied. A quiz :class:`aiogram.methods.poll.Poll` can be copied only if the value of the field *correct_option_ids* is known to the bot. The method is analogous to the method :class:`aiogram.methods.forward_message.ForwardMessage`, but the copied message doesn't have a link to the original message. Returns the :class:`aiogram.types.message_id.MessageId` of the sent message on success.

    Source: https://core.telegram.org/bots/api#copymessage
    ÚcopyMessager   Úchat_idÚfrom_chat_idÚintÚ
message_idNú
int | NoneÚmessage_thread_idÚdirect_messages_topic_idúDateTimeUnion | NoneÚvideo_start_timestampú
str | NoneÚcaptionÚ
parse_modeústr | Default | Noneúlist[MessageEntity] | NoneÚcaption_entitiesÚshow_caption_above_mediaúbool | Default | Noneúbool | NoneÚdisable_notificationÚprotect_contentÚallow_paid_broadcastÚmessage_effect_idúSuggestedPostParameters | NoneÚsuggested_post_parametersúReplyParameters | NoneÚreply_parametersúReplyMarkupUnion | NoneÚreply_markupÚ
deprecatedT)Újson_schema_extraÚallow_sending_without_replyÚreply_to_message_id)r   r   r   r   r   r!   r"   r%   r&   r'   r(   r*   r,   r.   r1   r2   Ú_CopyMessage__pydantic_kwargsr   ÚreturnÚNonec                  sˆ   t ƒ jdi d|“d|“d|“d|“d|“d|“d|“d|“d	|	“d
|
“d|“d|“d|“d|“d|“d|“d|“d|“d|“|¤Ž d S )Nr   r   r   r   r   r   r   r   r!   r"   r%   r&   r'   r(   r*   r,   r.   r1   r2   © )ÚsuperÚ__init__)Ú__pydantic__self__r   r   r   r   r   r   r   r   r!   r"   r%   r&   r'   r(   r*   r,   r.   r1   r2   r3   ©Ú	__class__r6   úY/var/www/kodo/Anonymous/send/lib/python3.10/site-packages/aiogram/methods/copy_message.pyr8   O   sP   ÿþýüûúùø	÷
öõôóòñðïî
ìzCopyMessage.__init__)*r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r!   r    r"   r#   r%   r$   r&   r#   r'   r$   r(   r   r*   r)   r,   r+   r.   r-   r1   r$   r2   r   r3   r   r4   r5   )Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   Ú__returning__Ú__api_method__Ú__annotations__r   r   r   r   r   r   r!   r"   r%   r&   r'   r(   r*   r,   r.   r   r1   r2   r   r8   Ú__classcell__r6   r6   r:   r<   r      sz   
 
ëür   N)Ú
__future__r   Útypingr   r   Úpydanticr   Úclient.defaultr   Útypesr   r	   r
   r   r   r   r   Úbaser   r   r6   r6   r6   r<   Ú<module>   s    $	