1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-15 23:56:56 +01:00
MadelineProto/docs/TD_docs/constructors/messageInvoice.md
Daniil Gentili 8600a2fcba docufix
2017-09-29 15:50:59 +02:00

1.2 KiB

title description
messageInvoice Message with an invoice from a bot

Constructor: messageInvoice

Back to constructors index

Message with an invoice from a bot

Attributes:

Name Type Required Description
title string Yes Goods title
description string Yes Goods description
photo photo Yes Goods photo, nullable
currency string Yes Currency for goods price
total_amount int53 Yes Goods total price in minimal quantity of the currency
start_parameter string Yes Unique invoice bot start_parameter. To share an invoice use a URL https: t.me/{bot_username}?start={start_parameter}
is_test Bool Yes True, if invoice is test
need_shipping_address Bool Yes True, if shipping address should be specified
receipt_message_id int53 Yes Identifier of message with receipt after the goods are paid

Type: MessageContent