
     j                     \    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ee         Zy)	    )TYPE_CHECKINGAny   )ChatIdUnionInputRichMessageMessageReplyMarkupUnionReplyParametersSuggestedPostParameters   )TelegramMethodc                       e Zd ZU dZeZdZeed<   	 e	ed<   	 dZ
edz  ed<   	 dZedz  ed<   	 dZedz  ed<   	 dZedz  ed	<   	 dZedz  ed
<   	 dZedz  ed<   	 dZedz  ed<   	 dZedz  ed<   	 dZedz  ed<   	 dZedz  ed<   	 erPddddddddddd
dede	dedz  dedz  dedz  d	edz  d
edz  dedz  dedz  dedz  dedz  dedz  deddf fdZ xZS  x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                >    t        |   d|||||||||	|
||d| y )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__s                 T/var/www/html/venv/lib/python3.12/site-packages/aiogram/methods/send_rich_message.pyr"   zSendRichMessage.__init__5   sE    * G )'="3)A%9 /%9"3*C!1) $    )__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$   s   @r%   r   r      s    M&N E"" )-C$J- U$(sTz( a+/cDj/ O(,$+, R#'OTD['N(,$+, k$(sTz(d@D6=D l/3o,30,0L"T)0 o 26,03704+/04,0HL7;48#	 !#	 +	#	
 %($J#	  #Tz#	 '*Dj#	 #'+#	 "D[#	 #'+#	  #Tz#	 (?'E#	 .4#	 +T1#	 "%#	  !#	 #		 r&   r   N)typingr   r   typesr   r   r   r	   r
   r   baser   r   r    r&   r%   <module>r5      s*    %  !JnW- Jr&   