o
    4˜Žj¯
  ã                   @   s@   d dl mZmZ ddlmZ ddlmZ G dd„ dee ƒZdS )	é    )ÚTYPE_CHECKINGÚAnyé   )ÚInputRichMessageé   )ÚTelegramMethodc                       sÂ   e Zd ZU dZeZdZeed< 	 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	< 	 er]dddd
œdedede	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 )ÚSendRichMessageDraftaÍ  
    Use this method to stream a partial rich message to a user while the message is being generated. Note that the streamed draft is ephemeral and acts as a temporary 30-second preview - once the output is finalized, you **must** call :class:`aiogram.methods.send_rich_message.SendRichMessage` with the complete message to persist it in the user's chat. Returns :code:`True` on success.

    Source: https://core.telegram.org/bots/api#sendrichmessagedraft
    ÚsendRichMessageDraftÚchat_idÚdraft_idÚrich_messageNÚmessage_thread_idÚcan_stopÚkeep_on_stop)r   r   r   Ú&_SendRichMessageDraft__pydantic_kwargsÚreturnc             	      s$   t ƒ jd||||||dœ|¤Ž d S )N)r
   r   r   r   r   r   © )ÚsuperÚ__init__)Ú__pydantic__self__r
   r   r   r   r   r   r   ©Ú	__class__r   úd/var/www/kodo/Anonymous/send/lib/python3.10/site-packages/aiogram/methods/send_rich_message_draft.pyr   "   s   ú
ùzSendRichMessageDraft.__init__)Ú__name__Ú
__module__Ú__qualname__Ú__doc__ÚboolÚ__returning__Ú__api_method__ÚintÚ__annotations__r   r   r   r   r   r   r   Ú__classcell__r   r   r   r   r      sL   
 
øýüûúùø	÷
öür   N)	Útypingr   r   Útypesr   Úbaser   r   r   r   r   r   r   Ú<module>   s    