o
    FÆhÈ  ã                   @  sP   d dl mZ d dlmZmZmZ ddlmZ ddlm	Z	 G dd„ de	e
 ƒZd	S )
é    )Úannotations)ÚTYPE_CHECKINGÚAnyÚOptionalé   )ÚShippingOptioné   )ÚTelegramMethodc                      sp   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< 	 e
r4dddœd‡ fdd„Z‡  ZS ‡  ZS )ÚAnswerShippingQueryam  
    If you sent an invoice requesting a shipping address and the parameter *is_flexible* was specified, the Bot API will send an :class:`aiogram.types.update.Update` with a *shipping_query* field to the bot. Use this method to reply to shipping queries. On success, :code:`True` is returned.

    Source: https://core.telegram.org/bots/api#answershippingquery
    ÚanswerShippingQueryÚstrÚshipping_query_idÚboolÚokNúOptional[list[ShippingOption]]Úshipping_optionsúOptional[str]Úerror_message)r   r   Ú%_AnswerShippingQuery__pydantic_kwargsr   ÚreturnÚNonec                  s    t ƒ jd||||dœ|¤Ž d S )N)r   r   r   r   © )ÚsuperÚ__init__)Ú__pydantic__self__r   r   r   r   r   ©Ú	__class__r   úX/var/www/html/venv/lib/python3.10/site-packages/aiogram/methods/answer_shipping_query.pyr       s   ü
ûzAnswerShippingQuery.__init__)r   r   r   r   r   r   r   r   r   r   r   r   )Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   Ú__returning__Ú__api_method__Ú__annotations__r   r   r   r   Ú__classcell__r   r   r   r   r
   	   s"   
 	úür
   N)Ú
__future__r   Útypingr   r   r   Útypesr   Úbaser	   r   r
   r   r   r   r   Ú<module>   s
    