mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-06-26 11:38:09 +00:00
15 lines
454 B
Kotlin
15 lines
454 B
Kotlin
|
package com.github.insanusmokrassar.TelegramBotAPI.types.payments
|
||
|
|
||
|
import com.github.insanusmokrassar.TelegramBotAPI.types.*
|
||
|
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
|