MadelineProtoDocs/old_docs/API_docs_v105/constructors/labeledPrice.md
2019-09-13 17:13:55 +02:00

702 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];

Or, if you're into Lua:

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