
    dh                        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
 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
ee         Zy)    )annotations)TYPE_CHECKINGAnyOptionalUnion)Field   )Default)ChatIdUnionDateTimeUnionMessageEntity	MessageIdReplyMarkupUnionReplyParametersSuggestedPostParameters   )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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<   	  edd d!i"      Zded#<   	  edd d!i"      Zd	ed$<   	 erTdddd ed      d ed      d ed      ddddddd%	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 d' fd&Z xZS  xZS )(CopyMessageai  
    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_id* 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Optional[int]message_thread_iddirect_messages_topic_idOptional[DateTimeUnion]video_start_timestampOptional[str]caption
parse_modeOptional[Union[str, Default]]Optional[list[MessageEntity]]caption_entitiesshow_caption_above_mediaOptional[Union[bool, Default]]Optional[bool]disable_notificationprotect_contentallow_paid_broadcast!Optional[SuggestedPostParameters]suggested_post_parametersOptional[ReplyParameters]reply_parametersOptional[ReplyMarkupUnion]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/   r1   r4   r5   c                   t        |   di d|d|d|d|d|d|d|d|d	|	d
|
d|d|d|d|d|d|d|d|| y )Nr   r   r   r   r   r   r!   r"   r%   r&   r)   r*   r+   r-   r/   r1   r4   r5    )super__init__)__pydantic__self__r   r   r   r   r   r   r!   r"   r%   r&   r)   r*   r+   r-   r/   r1   r4   r5   _CopyMessage__pydantic_kwargs	__class__s                       V/var/www/netwell/bot/venv/lib/python3.12/site-packages/aiogram/methods/copy_message.pyr9   zCopyMessage.__init__O   s    : G ) & #4	
 *B '<   & "2 *B &: !0 &: +D "2  *!" -H#$ %8#'    )(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   r0   r4   r(   r5   r   r;   r   returnNone)__name__
__module____qualname____doc__r   __returning____api_method____annotations__r   r   r   r!   r
   r"   r%   r&   r)   r*   r+   r-   r/   r1   r   r4   r5   r   r9   __classcell__)r<   s   @r=   r   r      sv    M"Nz JOD'+}+j.2m2 O5929A!G]!y070EJ-E \6:3: D?FGa?b<b|+/./ S6=>O6PO3PN+/./ kCG@G m26/60/3L,3 o27t 43 D */tVZG[)\\D
  046:=A%)8?8M>BGN*H 48>EFW>X37KO:>7;:>15-1	 !1	 &	1	
 1	  -1	 '41	 $;1	 #1	 61	 <1	 'E1	 #11	  <!1	" #1#1	$ (I%1	& 8'1	( 5)1	* *8+1	, "/-1	. "%/1	0 11	 1		 r>   r   N)
__future__r   typingr   r   r   r   pydanticr   client.defaultr
   typesr   r   r   r   r   r   r   baser   r   r7   r>   r=   <module>rO      s;    " 6 6  $   !l.+ lr>   