o
    4˜Žjù  ã                   @  s\   d dl mZ d dlmZmZ d dl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)ÚFieldé   )ÚInlineQueryResultsButtonÚInlineQueryResultUnioné   )Ú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[InlineQueryResultUnion]ÚresultsNú
int | NoneÚ
cache_timeúbool | NoneÚis_personalú
str | NoneÚnext_offsetúInlineQueryResultsButton | NoneÚbuttonÚ
deprecatedT)Újson_schema_extraÚswitch_pm_parameterÚswitch_pm_text)r   r   r   r   r   r   Ú#_AnswerInlineQuery__pydantic_kwargsr   ÚreturnÚNonec          
        s(   t ƒ jd||||||||dœ|	¤Ž d S )N)r   r   r   r   r   r   r   r   © )ÚsuperÚ__init__)
Ú__pydantic__self__r   r   r   r   r   r   r   r   r   ©Ú	__class__r    ú`/var/www/kodo/Anonymous/send/lib/python3.10/site-packages/aiogram/methods/answer_inline_query.pyr"   2   s   ø	
÷zAnswerInlineQuery.__init__)r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   )Ú__name__Ú
__module__Ú__qualname__Ú__doc__ÚboolÚ__returning__Ú__api_method__Ú__annotations__r   r   r   r   r   r   r   r   r"   Ú__classcell__r    r    r$   r&   r      s:   
 	öür   N)Ú
__future__r   Útypingr   r   Úpydanticr   Útypesr   r   Úbaser
   r+   r   r    r    r    r&   Ú<module>   s    