MessageInvoice¶
A message with an invoice from a bot. Use getInternalLink with internalLinkTypeBotStart to share the invoice
MessageInvoice(
product_info: ProductInfo,
currency: string,
total_amount: int53,
start_parameter: string,
is_test: Bool,
need_shipping_address: Bool,
receipt_message_id: int53,
paid_media: PaidMedia,
paid_media_caption: FormattedText
) → MessageContent
product_info¶
Information about the product
currency¶
string
Currency for the product price
total_amount¶
int53
Product total price in the smallest units of the currency
start_parameter¶
string
Unique invoice bot start_parameter to be passed to getInternalLink
is_test¶
Bool
True, if the invoice is a test invoice
need_shipping_address¶
Bool
True, if the shipping address must be specified
receipt_message_id¶
int53
The identifier of the message with the receipt, after the product has been purchased
paid_media¶
Extended media attached to the invoice; may be null if none
paid_media_caption¶
Extended media caption; may be null if none