MadelineProtoDocs/old_docs/API_docs_v65/constructors/messageMediaInvoice.md
Daniil Gentili e5a1324684 docufix
2018-04-04 23:19:57 +00: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'}