
    dh                     V    d dl mZmZmZ ddlmZmZ ddlmZ  G d dee	e            Z
y)	    )TYPE_CHECKINGAnyOptional   )ChatIdUnion	MessageId   )TelegramMethodc                   2    e Zd ZU dZee   ZdZee	d<   	 ee	d<   	 ee
   e	d<   	 dZee
   e	d<   	 dZee
   e	d<   	 dZee   e	d	<   	 dZee   e	d
<   	 dZee   e	d<   	 er7dddddddededee
   dee
   dee
   d	ee   d
ee   dee   deddf fdZ xZS  xZS )CopyMessagesa  
    Use this method to copy messages of any kind. If some of the specified messages can't be found or copied, they are skipped. 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_messages.ForwardMessages`, but the copied messages don't have a link to the original message. Album grouping is kept for copied messages. On success, an array of :class:`aiogram.types.message_id.MessageId` of the sent messages is returned.

    Source: https://core.telegram.org/bots/api#copymessages
    copyMessageschat_idfrom_chat_idmessage_idsNmessage_thread_iddirect_messages_topic_iddisable_notificationprotect_contentremove_caption)r   r   r   r   r   _CopyMessages__pydantic_kwargsreturnc                6    t        
|   d||||||||d|	 y )N)r   r   r   r   r   r   r   r    )super__init__)__pydantic__self__r   r   r   r   r   r   r   r   r   	__class__s             W/var/www/netwell/bot/venv/lib/python3.12/site-packages/aiogram/methods/copy_messages.pyr   zCopyMessages.__init__&   s9    " G 
)'"3)A%9 /-
 $
    )__name__
__module____qualname____doc__listr   __returning____api_method__r   __annotations__intr   r   r   r   boolr   r   r   r   r   __classcell__)r   s   @r   r   r      s:    OM#Nz Lc h'+x}+j.2hsm2 R+/(4./ T&*OXd^*O%)NHTN)G 046:37.2-1	 !	 &		
 c	  (}	 '/sm	 #+4.	 &d^	 %TN	 "%	 	 		 r   r   N)typingr   r   r   typesr   r   baser
   r$   r   r   r   r   <module>r.      s&    / / *  :>$y/2 :r   