MadelineProto/docs/TD_docs/constructors/messageInvoice.md
2017-08-25 15:05:53 +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