LabeledPrice Interface
{
"id": 2550,
"name": "LabeledPrice",
"variant": "declaration",
"kind": 256,
"flags": {},
"children": [
{
"id": 2552,
"name": "amount",
"variant": "declaration",
"kind": 1024,
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "Price of the product in the smallest units of the [currency](https://core.telegram.org/bots/payments#supported-currencies) (integer, **not** float). For example, for a price of "
},
{
"kind": "code",
"text": "`US$ 1.45`"
},
{
"kind": "text",
"text": " pass "
},
{
"kind": "code",
"text": "`amount: 145`"
},
{
"kind": "text",
"text": ". See the *exp* parameter in [currencieson](https://core.telegram.org/bots/payments/currencieson), it shows the number of digits past the decimal point for each currency (2 for the majority of currencies)."
}
]
},
"sources": [
{
"fileName": "packages/tgkit/src/types.ts",
"line": 1472,
"character": 1
}
],
"type": {
"type": "intrinsic",
"name": "number"
}
},
{
"id": 2551,
"name": "label",
"variant": "declaration",
"kind": 1024,
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "Portion label"
}
]
},
"sources": [
{
"fileName": "packages/tgkit/src/types.ts",
"line": 1470,
"character": 1
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"groups": [
{
"title": "Properties",
"children": [
2552,
2551
]
}
],
"sources": [
{
"fileName": "packages/tgkit/src/types.ts",
"line": 1468,
"character": 17
}
]
}