a
    :¶g×  ã                   @   sL   d dl mZmZmZmZ ddlmZ ddlmZ G dd„ dee	e  ƒZ
dS )	é    )ÚTYPE_CHECKINGÚAnyÚOptionalÚUnioné   )Ú	MessageIdé   )ÚTelegramMethodc                       sä   e Zd ZU dZee ZdZee	e
f ed< ee	e
f 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
< erÜdddddœee	e
f ee	e
f ee	 ee	 ee ee ee eddœ	‡ fdd„Z‡  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
    ZcopyMessagesÚchat_idÚfrom_chat_idÚmessage_idsNÚmessage_thread_idÚdisable_notificationÚprotect_contentÚremove_caption)r   r   r   r   )	r   r   r   r   r   r   r   Ú_CopyMessages__pydantic_kwargsÚreturnc          	   
      s&   t ƒ jf |||||||dœ|¤Ž d S )N)r   r   r   r   r   r   r   )ÚsuperÚ__init__)	Z__pydantic__self__r   r   r   r   r   r   r   r   ©Ú	__class__© úz/var/www/vosh/data/www/fastworkle.ru/webshop-tgbot-v.1.0/venv/lib/python3.9/site-packages/aiogram/methods/copy_messages.pyr   $   s    ùøzCopyMessages.__init__)Ú__name__Ú
__module__Ú__qualname__Ú__doc__Úlistr   Z__returning__Z__api_method__r   ÚintÚstrÚ__annotations__r   r   r   Úboolr   r   r   r   r   Ú__classcell__r   r   r   r   r
      s4   

÷

õr
   N)Útypingr   r   r   r   Útypesr   Úbaser	   r   r
   r   r   r   r   Ú<module>   s   