MadelineProtoDocs/docs/API_docs/constructors/messageMediaInvoice.md
2018-04-01 13:24:46 +02:00

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

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'}