o
    @jG                     @  sD  d dl mZ d dlmZmZmZmZ ddlmZ ddl	m
Z
 ddlmZ ddlmZ ddlmZ dd	lmZ dd
lmZ ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddlm Z  ddl!m"Z" ddl#m$Z$ ddl%m&Z& ddl'm(Z( ddl)m*Z* ddl+m,Z, ddl-m.Z. ddl/m0Z0 ddl1m2Z2 G dd de2e0 Z3dS )    )annotations)TYPE_CHECKINGAnyOptionalUnion   )InlineQueryResultArticle)InlineQueryResultAudio)InlineQueryResultCachedAudio)InlineQueryResultCachedDocument)InlineQueryResultCachedGif)InlineQueryResultCachedMpeg4Gif)InlineQueryResultCachedPhoto)InlineQueryResultCachedSticker)InlineQueryResultCachedVideo)InlineQueryResultCachedVoice)InlineQueryResultContact)InlineQueryResultDocument)InlineQueryResultGame)InlineQueryResultGif)InlineQueryResultLocation)InlineQueryResultMpeg4Gif)InlineQueryResultPhoto)InlineQueryResultVenue)InlineQueryResultVideo)InlineQueryResultVoice)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_id%  Union[InlineQueryResultCachedAudio, InlineQueryResultCachedDocument, InlineQueryResultCachedGif, InlineQueryResultCachedMpeg4Gif, InlineQueryResultCachedPhoto, InlineQueryResultCachedSticker, InlineQueryResultCachedVideo, InlineQueryResultCachedVoice, InlineQueryResultArticle, InlineQueryResultAudio, InlineQueryResultContact, InlineQueryResultGame, InlineQueryResultDocument, InlineQueryResultGif, InlineQueryResultLocation, InlineQueryResultMpeg4Gif, InlineQueryResultPhoto, InlineQueryResultVenue, InlineQueryResultVideo, InlineQueryResultVoice]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/www-root/data/www/ai-bot.pdev.uz/venv/lib/python3.10/site-packages/aiogram/methods/save_prepared_inline_message.pyr/   M   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-   r1   r3   r      s.   
 r   N)4
__future__r   typingr   r   r   r   !types.inline_query_result_articler   types.inline_query_result_audior	   &types.inline_query_result_cached_audior
   )types.inline_query_result_cached_documentr   $types.inline_query_result_cached_gifr   *types.inline_query_result_cached_mpeg4_gifr   &types.inline_query_result_cached_photor   (types.inline_query_result_cached_stickerr   &types.inline_query_result_cached_videor   &types.inline_query_result_cached_voicer   !types.inline_query_result_contactr   "types.inline_query_result_documentr   types.inline_query_result_gamer   types.inline_query_result_gifr   "types.inline_query_result_locationr   #types.inline_query_result_mpeg4_gifr   types.inline_query_result_photor   types.inline_query_result_venuer   types.inline_query_result_videor   types.inline_query_result_voicer   types.prepared_inline_messager   baser   r   r-   r-   r-   r3   <module>   s2    