mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-11-21 15:53:47 +00:00
Bot API 7.6
i am sleepyhead (:
This commit is contained in:
parent
83352dd284
commit
3383bcaff3
@ -38,8 +38,10 @@ sealed interface TransactionPartner {
|
||||
|
||||
@Serializable(TransactionPartner.Companion::class)
|
||||
data class User(
|
||||
@SerialName(userField)
|
||||
val user: PreviewUser,
|
||||
val invoice_payload: InvoicePayload? = null
|
||||
@SerialName(invoicePayloadField)
|
||||
val invoicePayload: InvoicePayload? = null
|
||||
) : TransactionPartner {
|
||||
override val type: String
|
||||
get() = Companion.type
|
||||
@ -73,8 +75,7 @@ sealed interface TransactionPartner {
|
||||
val type: String,
|
||||
val withdrawal_state: RevenueWithdrawalState? = null,
|
||||
val user: PreviewUser? = null,
|
||||
@SerialName(invoicePayloadField)
|
||||
val invoicePayload: InvoicePayload? = null
|
||||
val invoice_payload: InvoicePayload? = null
|
||||
)
|
||||
|
||||
override val descriptor: SerialDescriptor
|
||||
|
Loading…
Reference in New Issue
Block a user