MadelineProtoDocs/docs/TD_docs/constructors/messageInvoice.md
Daniil Gentili e5a1324684 docufix
2018-04-04 23:19:57 +00:00

1.2 KiB

title description image
messageInvoice Message with an invoice from a bot https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

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