MadelineProtoDocs/old_docs/API_docs_v68/constructors/messageMediaInvoice.md
Daniil Gentili f73c175203 Update docs
2018-12-26 01:56:50 +00:00

1.8 KiB

title description image
messageMediaInvoice Message media invoice https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: messageMediaInvoice

Back to constructors index

Message media invoice

Attributes:

Name Type Required Description
shipping_address_requested Bool Optional Shipping address requested?
test Bool Optional Test?
title string Yes Title
description string Yes Description
photo WebDocument Optional Photo
receipt_msg_id int Optional Receipt msg ID
currency string Yes Currency
total_amount long Yes Total amount
start_param string Yes Start param

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