MadelineProtoDocs/old_docs/API_docs_v66/constructors/labeledPrice.md

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}