LabeledPrice

data class LabeledPrice(label: String, amount: Long) : TelegramModel

This object represents a portion of the price for goods or services.

Constructors

LabeledPrice
Link copied to clipboard
fun LabeledPrice(label: String, amount: Long)
Creates a LabeledPrice.

Properties

amount
Link copied to clipboard
val amount: Long
Price of the product in the smallest units of the currency (integer, not float/double).
label
Link copied to clipboard
val label: String
Portion label