o
    Fh>	                     @  sT   d dl mZ d dlmZmZmZ ddlmZmZ ddl	m
Z
 G dd de
e Zd	S )
    )annotations)TYPE_CHECKINGAnyOptional   )InlineQueryResultUnionPreparedInlineMessage   )TelegramMethodc                      s   e Zd ZU dZeZdZded< 	 ded< 	 dZded	< 	 dZ	ded
< 	 dZ
ded< 	 dZded< 	 erDdddddd fddZ  ZS   ZS )SavePreparedInlineMessagez
    Stores a message that can be sent by a user of a Mini App. Returns a :class:`aiogram.types.prepared_inline_message.PreparedInlineMessage` object.

    Source: https://core.telegram.org/bots/api#savepreparedinlinemessage
    savePreparedInlineMessageintuser_idr   resultNOptional[bool]allow_user_chatsallow_bot_chatsallow_group_chatsallow_channel_chats)r   r   r   r   +_SavePreparedInlineMessage__pydantic_kwargsr   returnNonec             	     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   _/var/www/html/venv/lib/python3.10/site-packages/aiogram/methods/save_prepared_inline_message.pyr   $   s   
z"SavePreparedInlineMessage.__init__)r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   )__name__
__module____qualname____doc__r   __returning____api_method____annotations__r   r   r   r   r   r   __classcell__r   r   r   r   r   	   s.   
 	r   N)
__future__r   typingr   r   r   typesr   r   baser
   r   r   r   r   r   <module>   s
    