a
    :gc)                     @  sx   d dl mZ d dlmZmZmZmZ d dlmZ ddl	m
Z
 ddlmZmZmZmZ ddlmZ G d	d
 d
ee ZdS )    )annotations)TYPE_CHECKINGAnyOptionalUnion)Field   )Default)InlineKeyboardMarkupLabeledPriceMessageReplyParameters   )TelegramMethodc                #      s(  e Zd ZU dZeZdZded< ded< ded< ded< 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< 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< 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< dZded< dZded < dZded!< dZded"< e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 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dddddddddded#ddddddd0dddddd
ddddddddddddddddddd$ddd'd)ddd1d2d3! fd4d5Z$  Z%S )6SendInvoicez
    Use this method to send invoices. On success, the sent :class:`aiogram.types.message.Message` is returned.

    Source: https://core.telegram.org/bots/api#sendinvoice
    ZsendInvoicezUnion[int, str]chat_idstrtitledescriptionpayloadcurrencyzlist[LabeledPrice]pricesNzOptional[int]message_thread_idzOptional[str]provider_tokenmax_tip_amountzOptional[list[int]]suggested_tip_amountsstart_parameterprovider_data	photo_url
photo_sizephoto_widthphoto_heightzOptional[bool]	need_nameneed_phone_number
need_emailneed_shipping_addresssend_phone_number_to_providersend_email_to_provideris_flexibledisable_notificationprotect_contentzOptional[Union[bool, Default]]allow_paid_broadcastmessage_effect_idzOptional[ReplyParameters]reply_parameterszOptional[InlineKeyboardMarkup]reply_markup
deprecatedT)Zjson_schema_extraallow_sending_without_replyreply_to_message_id)r   r   r   r   r   r   r   r   r    r!   r"   r#   r$   r%   r&   r'   r(   r)   r*   r+   r,   r-   r.   r0   r1   r   None)!r   r   r   r   r   r   r   r   r   r   r   r   r   r   r    r!   r"   r#   r$   r%   r&   r'   r(   r)   r*   r+   r,   r-   r.   r0   r1   _SendInvoice__pydantic_kwargsreturnc          !   "     sV   t  jf |||||||||	|
|||||||||||||||||||||d|  d S )N)r   r   r   r   r   r   r   r   r   r   r   r   r   r   r    r!   r"   r#   r$   r%   r&   r'   r(   r)   r*   r+   r,   r-   r.   r0   r1   )super__init__)!Z__pydantic__self__r   r   r   r   r   r   r   r   r   r   r   r   r   r   r    r!   r"   r#   r$   r%   r&   r'   r(   r)   r*   r+   r,   r-   r.   r0   r1   r3   	__class__ y/var/www/vosh/data/www/fastworkle.ru/webshop-tgbot-v.1.0/venv/lib/python3.9/site-packages/aiogram/methods/send_invoice.pyr6   a   sF    ( zSendInvoice.__init__)&__name__
__module____qualname____doc__r   Z__returning__Z__api_method____annotations__r   r   r   r   r   r   r   r   r    r!   r"   r#   r$   r%   r&   r'   r(   r)   r	   r*   r+   r,   r-   r.   r   r0   r1   r   r6   __classcell__r9   r9   r7   r:   r      s~   
r   N)
__future__r   typingr   r   r   r   Zpydanticr   Zclient.defaultr	   typesr
   r   r   r   baser   r   r9   r9   r9   r:   <module>   s   