MadelineProtoDocs/old_docs/API_docs_v81/constructors/messageMediaInvoice.md
2018-07-12 20:24:55 +02:00

1.7 KiB

title description image
messageMediaInvoice messageMediaInvoice attributes, type and example https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

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'];

PWRTelegram json-encoded version:

{"_": "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'}