mirror of
https://github.com/danog/MadelineProto.git
synced 2024-11-27 05:14:39 +01:00
1.6 KiB
1.6 KiB
title | description |
---|---|
messageMediaInvoice | messageMediaInvoice attributes, type and example |
Constructor: messageMediaInvoice
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'}