o
    *fjj                     @  s@   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   )TelegramMethodc                      s`   e Zd ZU dZeZdZded< 	 ded< 	 dZded	< 	 e	r,dd
d fddZ
  ZS   ZS )AnswerPreCheckoutQuerya  
    Once the user has confirmed their payment and shipping details, the Bot API sends the final confirmation in the form of an :class:`aiogram.types.update.Update` with the field *pre_checkout_query*. Use this method to respond to such pre-checkout queries. On success, :code:`True` is returned. **Note:** The Bot API must receive an answer within 10 seconds after the pre-checkout query was sent.

    Source: https://core.telegram.org/bots/api#answerprecheckoutquery
    answerPreCheckoutQuerystrpre_checkout_query_idboolokN
str | Noneerror_message)r   (_AnswerPreCheckoutQuery__pydantic_kwargsr   returnNonec                  s   t  jd|||d| d S )N)r
   r   r    )super__init__)__pydantic__self__r
   r   r   r   	__class__r   /var/www/botplatforma_usr/data/www/botplatforma.ilyaolesya.ru/.venv/lib/python3.10/site-packages/aiogram/methods/answer_pre_checkout_query.pyr      s   
zAnswerPreCheckoutQuery.__init__)
r
   r	   r   r   r   r   r   r   r   r   )__name__
__module____qualname____doc__r   __returning____api_method____annotations__r   r   r   __classcell__r   r   r   r   r      s   
 	r   N)	
__future__r   typingr   r   baser   r   r   r   r   r   r   <module>   s    