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}

This site uses cookies, as described in the cookie policy. By clicking on "Accept" you consent to the use of cookies.