dataclass-only
/
com.github.omarmiatello.telegram
/
LabeledPrice
Labeled
Price
data class
LabeledPrice
(label:
String
, amount:
Long
) :
TelegramModel
Content copied to clipboard
This object represents a portion of the price for goods or services.
Constructors
Properties
Constructors
LabeledPrice
Link copied to clipboard
fun
LabeledPrice
(label:
String
, amount:
Long
)
Content copied to clipboard
Creates a
LabeledPrice
.
Properties
amount
Link copied to clipboard
val
amount
:
Long
Content copied to clipboard
Price of the product in the
smallest units
of the
currency
(integer,
not
float/double).
label
Link copied to clipboard
val
label
:
String
Content copied to clipboard
Portion label