o
    4˜Žjá  ã                   @   sd   d dl mZ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 )
é    )ÚTYPE_CHECKINGÚAnyé   )ÚDefault)ÚChatIdUnionÚEphemeralMessageParametersÚInputRichMessageÚMessageÚReplyMarkupUnionÚReplyParametersÚSuggestedPostParametersé   )ÚTelegramMethodc                       s¤  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	< 	 ed
ƒZeeB 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e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eB 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Úephemeral_message_parameters)r   r   r   r   r   r   r   r   r   r   r   Ú!_SendRichMessage__pydantic_kwargsÚreturnc                   s2   t ƒ jd|||||||||	|
|||dœ|¤Ž d S )N)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   ©Ú	__class__r    ú^/var/www/kodo/Anonymous/send/lib/python3.10/site-packages/aiogram/methods/send_rich_message.pyr"   9   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   r   r   r"   Ú__classcell__r    r    r$   r&   r      s”   
 	ñýüûúùø
	÷
öõôóòñðïür   N)Útypingr   r   Úclient.defaultr   Útypesr   r   r   r	   r
   r   r   Úbaser   r   r    r    r    r&   Ú<module>   s
    $	