1.5 KiB
1.5 KiB
title | description | image |
---|---|---|
messageMediaInvoice | Message media invoice | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: messageMediaInvoice
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'];
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'}