2018-12-26 08:07:24 +00:00
|
|
|
package com.github.insanusmokrassar.TelegramBotAPI.types.payments
|
|
|
|
|
2019-01-17 02:43:51 +00:00
|
|
|
import com.github.insanusmokrassar.TelegramBotAPI.types.amountField
|
|
|
|
import com.github.insanusmokrassar.TelegramBotAPI.types.labelField
|
2018-12-26 08:07:24 +00:00
|
|
|
import com.github.insanusmokrassar.TelegramBotAPI.types.payments.abstracts.Amounted
|
|
|
|
import kotlinx.serialization.SerialName
|
|
|
|
import kotlinx.serialization.Serializable
|
|
|
|
|
|
|
|
@Serializable
|
|
|
|
data class LabeledPrice(
|
|
|
|
@SerialName(labelField)
|
|
|
|
val label: String,
|
|
|
|
@SerialName(amountField)
|
|
|
|
override val amount: Long
|
|
|
|
) : Amounted
|