MadelineProtoDocs/old_docs/API_docs_v75/constructors/messageMediaInvoice.md

47 lines
1.5 KiB
Markdown
Raw Normal View History

2018-06-29 13:59:08 +02:00
---
title: messageMediaInvoice
2018-12-26 02:56:50 +01:00
description: Message media invoice
2018-06-29 13:59:08 +02:00
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: messageMediaInvoice
[Back to constructors index](index.md)
2018-12-26 02:56:50 +01:00
Message media invoice
2018-06-29 13:59:08 +02:00
### Attributes:
2018-12-26 02:56:50 +01:00
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|shipping\_address\_requested|[Bool](../types/Bool.md) | Optional|Shipping address requested?|
|test|[Bool](../types/Bool.md) | Optional|Test?|
|title|[string](../types/string.md) | Yes|Title|
|description|[string](../types/string.md) | Yes|Description|
|photo|[WebDocument](../types/WebDocument.md) | Optional|Photo|
|receipt\_msg\_id|[int](../types/int.md) | Optional|Receipt msg ID|
|currency|[string](../types/string.md) | Yes|Currency|
|total\_amount|[long](../types/long.md) | Yes|Total amount|
|start\_param|[string](../types/string.md) | Yes|Start param|
2018-06-29 13:59:08 +02:00
### Type: [MessageMedia](../types/MessageMedia.md)
### Example:
```php
2018-06-29 13:59:08 +02:00
$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:
2018-06-29 13:59:08 +02:00
```lua
2018-06-29 13:59:08 +02:00
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'}
```