1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2024-12-22 16:47:13 +00:00

Bot API 7.6

removed @SerialName annotations from TransactionPartner.User data class fields
This commit is contained in:
bpavuk 2024-07-09 13:32:00 +03:00
parent 18fcb6bb97
commit 83352dd284
No known key found for this signature in database
GPG Key ID: B501D26D9DEA9CFE

View File

@ -38,10 +38,8 @@ sealed interface TransactionPartner {
@Serializable(TransactionPartner.Companion::class)
data class User(
@SerialName(userField)
val user: PreviewUser,
@SerialName(invoicePayloadField)
val invoicePayload: InvoicePayload? = null
val invoice_payload: InvoicePayload? = null
) : TransactionPartner {
override val type: String
get() = Companion.type