o
    Uj¢  ã                   @   sT   d dl mZmZ ddl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 )	é    )ÚTYPE_CHECKINGÚAnyé   )ÚChatIdUnionÚInputRichMessageÚMessageÚReplyMarkupUnionÚReplyParametersÚSuggestedPostParametersé   )ÚTelegramMethodc                       sx  e Zd ZU dZeZdZeed< 	 e	ed< 	 dZ
edB ed< 	 dZedB ed< 	 dZedB ed< 	 dZedB ed	< 	 dZedB ed
< 	 dZedB ed< 	 dZedB ed< 	 dZedB ed< 	 dZedB ed< 	 dZedB ed< 	 er¸dddddddddddœ
dede	dedB dedB dedB d	edB d
edB dedB dedB dedB dedB dedB deddf‡ fdd„Z‡  ZS ‡  ZS )ÚSendRichMessagea/  
    Use this method to send rich messages. If the message contains a block with a media element, then the bot must have the right to send the media to the chat. On success, the sent :class:`aiogram.types.message.Message` is returned.

    Source: https://core.telegram.org/bots/api#sendrichmessage
    ÚsendRichMessageÚchat_idÚrich_messageNÚbusiness_connection_idÚmessage_thread_idÚdirect_messages_topic_idÚdisable_notificationÚprotect_contentÚallow_paid_broadcastÚmessage_effect_idÚsuggested_post_parametersÚreply_parametersÚreply_markup)
r   r   r   r   r   r   r   r   r   r   Ú!_SendRichMessage__pydantic_kwargsÚreturnc                   s0   t ƒ jd|||||||||	|
||dœ|¤Ž d S )N)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   ©Ú	__class__r   úZ/opt/telega-widget/.venv/lib/python3.10/site-packages/aiogram/methods/send_rich_message.pyr   5   s    ô
ózSendRichMessage.__init__)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   Ú__returning__Ú__api_method__r   Ú__annotations__r   r   Ústrr   Úintr   r   Úboolr   r   r   r   r
   r   r	   r   r   r   r   r   Ú__classcell__r   r   r!   r#   r      sŠ   
 	òýüûúùø	÷
öõôóòñðür   N)Útypingr   r   Útypesr   r   r   r   r	   r
   Úbaser   r   r   r   r   r#   Ú<module>   s     