mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2025-09-07 00:59:57 +00:00
Bot API 7.6
removed @SerialName annotations from TransactionPartner.User data class fields
This commit is contained in:
@@ -38,10 +38,8 @@ sealed interface TransactionPartner {
|
|||||||
|
|
||||||
@Serializable(TransactionPartner.Companion::class)
|
@Serializable(TransactionPartner.Companion::class)
|
||||||
data class User(
|
data class User(
|
||||||
@SerialName(userField)
|
|
||||||
val user: PreviewUser,
|
val user: PreviewUser,
|
||||||
@SerialName(invoicePayloadField)
|
val invoice_payload: InvoicePayload? = null
|
||||||
val invoicePayload: InvoicePayload? = null
|
|
||||||
) : TransactionPartner {
|
) : TransactionPartner {
|
||||||
override val type: String
|
override val type: String
|
||||||
get() = Companion.type
|
get() = Companion.type
|
||||||
|
Reference in New Issue
Block a user