
    F˝i5                    H    d dl mZ d dlmZmZ ddlmZ  G d dee         Zy)    )annotations)TYPE_CHECKINGAny   )TelegramMethodc                       e Zd ZU dZeZdZded<   	 dZded<   	 dZ	ded	<   	 dZ
ded
<   	 dZded<   	 erddddd	 	 	 	 	 	 	 	 	 	 	 	 	 d fdZ xZS  xZS )AnswerCallbackQuerya  
    Use this method to send answers to callback queries sent from `inline keyboards <https://core.telegram.org/bots/features#inline-keyboards>`_. The answer will be displayed to the user as a notification at the top of the chat screen or as an alert. On success, :code:`True` is returned.

     Alternatively, the user can be redirected to the specified Game URL. For this option to work, you must first create a game for your bot via `@BotFather <https://t.me/botfather>`_ and accept the terms. Otherwise, you may use links like :code:`t.me/your_bot?start=XXXX` that open your bot with a parameter.

    Source: https://core.telegram.org/bots/api#answercallbackquery
    answerCallbackQuerystrcallback_query_idN
str | Nonetextbool | None
show_alerturl
int | None
cache_time)r   r   r   r   c          	     0    t        |   d|||||d| y )N)r   r   r   r   r    )super__init__)__pydantic__self__r   r   r   r   r   %_AnswerCallbackQuery__pydantic_kwargs	__class__s          ^/home/leshdev/mybot/venv/lib/python3.12/site-packages/aiogram/methods/answer_callback_query.pyr   zAnswerCallbackQuery.__init__#   s0     G "3%% $    )r   r   r   r   r   r   r   r   r   r   r   r   returnNone)__name__
__module____qualname____doc__bool__returning____api_method____annotations__r   r   r   r   r   r   __classcell__)r   s   @r   r	   r	      s     M*N8D*i"J" NC c!J
! }  $&*"%)	  #	 		
 $	 	 #	 "%	 	 		 r   r	   N)	
__future__r   typingr   r   baser   r#   r	   r   r   r   <module>r+      s    " %  0.. 0r   