
    dh|                    L    d dl mZ d dlmZmZmZ ddlmZ  G d dee         Z	y)    )annotations)TYPE_CHECKINGAnyOptional   )TelegramMethodc                  z     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Z
 xZS  x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Optional[str]error_message)r   c               ,    t        |   d|||d| y )N)r   r   r    )super__init__)__pydantic__self__r   r   r   (_AnswerPreCheckoutQuery__pydantic_kwargs	__class__s        c/var/www/netwell/bot/venv/lib/python3.12/site-packages/aiogram/methods/answer_pre_checkout_query.pyr   zAnswerPreCheckoutQuery.__init__   s*     G &;+ $	    )
r   r   r   r   r   r   r   r   returnNone)__name__
__module____qualname____doc__r   __returning____api_method____annotations__r   r   r   __classcell__)r   s   @r   r
   r
      s     M-N8H q#'M=' s ,0	 $'	 		
 )	 "%	 	 		 r   r
   N)

__future__r   typingr   r   r   baser   r   r
   r   r   r   <module>r(      s"    " / /  &^D1 &r   