o
    @j                     @  s   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
 d
ee ZdS )    )annotations)TYPE_CHECKINGAnyOptionalUnion)Field   )Default)
ForceReplyInlineKeyboardMarkupMessageEntity	MessageIdReplyKeyboardMarkupReplyKeyboardRemoveReplyParameters   )TelegramMethodc                      sJ  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< 	 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< 	 edddidZded< 	 edddidZd	ed< 	 erdde
dde
dde
ddddddd d' fd%d&Z  ZS   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
    copyMessageUnion[int, str]chat_idfrom_chat_idint
message_idNOptional[int]message_thread_id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[ReplyParameters]reply_parameters[Optional[Union[InlineKeyboardMarkup, ReplyKeyboardMarkup, ReplyKeyboardRemove, ForceReply]]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/   _CopyMessage__pydantic_kwargsr   returnNonec                  s6   t  jd|||||||||	|
|||||d| d S )N)r   r   r   r   r   r   r!   r"   r%   r&   r'   r)   r+   r.   r/    )super__init__)__pydantic__self__r   r   r   r   r   r   r!   r"   r%   r&   r'   r)   r+   r.   r/   r0   	__class__r3   k/var/www/www-root/data/www/ai-bot.pdev.uz/venv/lib/python3.10/site-packages/aiogram/methods/copy_message.pyr5   K   s&   
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   r0   r   r1   r2   )__name__
__module____qualname____doc__r   __returning____api_method____annotations__r   r   r	   r   r!   r"   r%   r&   r'   r)   r+   r   r.   r/   r   r5   __classcell__r3   r3   r7   r9   r      sl   
 

r   N)
__future__r   typingr   r   r   r   pydanticr   client.defaultr	   typesr
   r   r   r   r   r   r   baser   r   r3   r3   r3   r9   <module>   s    $	