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

830 B

title description image
labeledPrice Labeled price https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: labeledPrice

Back to constructors index

Labeled price

Attributes:

Name Type Required Description
label string Yes Label
amount long Yes Amount

Type: LabeledPrice

Example:

$labeledPrice = ['_' => 'labeledPrice', 'label' => 'string', 'amount' => long];

PWRTelegram json-encoded version:

{"_": "labeledPrice", "label": "string", "amount": long}

Or, if you're into Lua:

labeledPrice={_='labeledPrice', label='string', amount=long}