MadelineProto/old_docs/API_docs_v66/constructors/messageMediaInvoice.md
2017-06-30 15:36:33 +02:00

1.3 KiB

title description
messageMediaInvoice messageMediaInvoice attributes, type and example

Constructor: messageMediaInvoice

Back to constructors index

Attributes:

Name Type Required
shipping_address_requested Bool Optional
test Bool Optional
title string Yes
description string Yes
photo WebDocument Optional
receipt_msg_id int Optional
currency string Yes
total_amount long Yes
start_param string Yes

Type: MessageMedia

Example:

$messageMediaInvoice = ['_' => 'messageMediaInvoice', 'shipping_address_requested' => Bool, 'test' => Bool, 'title' => string, 'description' => string, 'photo' => WebDocument, 'receipt_msg_id' => int, 'currency' => string, 'total_amount' => long, 'start_param' => string, ];

Or, if you're into Lua:

messageMediaInvoice={_='messageMediaInvoice', shipping_address_requested=Bool, test=Bool, title=string, description=string, photo=WebDocument, receipt_msg_id=int, currency=string, total_amount=long, start_param=string, }