o
    @j{                     @  s   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
mZmZmZmZmZmZmZmZmZmZmZmZmZ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 )    )annotations)TYPE_CHECKINGAnyOptionalUnion)Field   )InlineQueryResultArticleInlineQueryResultAudioInlineQueryResultCachedAudioInlineQueryResultCachedDocumentInlineQueryResultCachedGifInlineQueryResultCachedMpeg4GifInlineQueryResultCachedPhotoInlineQueryResultCachedStickerInlineQueryResultCachedVideoInlineQueryResultCachedVoiceInlineQueryResultContactInlineQueryResultDocumentInlineQueryResultGameInlineQueryResultGifInlineQueryResultLocationInlineQueryResultMpeg4GifInlineQueryResultPhotoInlineQueryResultsButtonInlineQueryResultVenueInlineQueryResultVideoInlineQueryResultVoice   )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dddidZded< 	 edddidZded< 	 er`dddddddd fddZ  ZS   ZS )AnswerInlineQueryz
    Use this method to send answers to an inline query. On success, :code:`True` is returned.

    No more than **50** results per query are allowed.

    Source: https://core.telegram.org/bots/api#answerinlinequery
    answerInlineQuerystrinline_query_id+  list[Union[InlineQueryResultCachedAudio, InlineQueryResultCachedDocument, InlineQueryResultCachedGif, InlineQueryResultCachedMpeg4Gif, InlineQueryResultCachedPhoto, InlineQueryResultCachedSticker, InlineQueryResultCachedVideo, InlineQueryResultCachedVoice, InlineQueryResultArticle, InlineQueryResultAudio, InlineQueryResultContact, InlineQueryResultGame, InlineQueryResultDocument, InlineQueryResultGif, InlineQueryResultLocation, InlineQueryResultMpeg4Gif, InlineQueryResultPhoto, InlineQueryResultVenue, InlineQueryResultVideo, InlineQueryResultVoice]]resultsNOptional[int]
cache_timeOptional[bool]is_personalOptional[str]next_offset"Optional[InlineQueryResultsButton]button
deprecatedT)json_schema_extraswitch_pm_parameterswitch_pm_text)r'   r)   r+   r-   r0   r1   #_AnswerInlineQuery__pydantic_kwargsr   returnNonec          
        s(   t  jd||||||||d|	 d S )N)r#   r%   r'   r)   r+   r-   r0   r1    )super__init__)
__pydantic__self__r#   r%   r'   r)   r+   r-   r0   r1   r2   	__class__r5   r/var/www/www-root/data/www/ai-bot.pdev.uz/venv/lib/python3.10/site-packages/aiogram/methods/answer_inline_query.pyr7   _   s   (	
zAnswerInlineQuery.__init__)r#   r"   r%   r$   r'   r&   r)   r(   r+   r*   r-   r,   r0   r*   r1   r*   r2   r   r3   r4   )__name__
__module____qualname____doc__bool__returning____api_method____annotations__r'   r)   r+   r-   r   r0   r1   r   r7   __classcell__r5   r5   r9   r;   r    !   s:   
  r    N)#
__future__r   typingr   r   r   r   pydanticr   typesr	   r
   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   baser   r@   r    r5   r5   r5   r;   <module>   s    \