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

46 lines
830 B
Markdown

---
title: labeledPrice
description: Labeled price
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: labeledPrice
[Back to constructors index](index.md)
Labeled price
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|label|[string](../types/string.md) | Yes|Label|
|amount|[long](../types/long.md) | Yes|Amount|
### Type: [LabeledPrice](../types/LabeledPrice.md)
### Example:
```php
$labeledPrice = ['_' => 'labeledPrice', 'label' => 'string', 'amount' => long];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "labeledPrice", "label": "string", "amount": long}
```
Or, if you're into Lua:
```lua
labeledPrice={_='labeledPrice', label='string', amount=long}
```