mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2025-10-18 05:40:08 +00:00
fix of #917
This commit is contained in:
@@ -2,6 +2,9 @@
|
||||
|
||||
## 29.0.1
|
||||
|
||||
* `Core`:
|
||||
* Fix of [#917](https://github.com/InsanusMokrassar/ktgbotapi/issues/917): all `OrderInfo` fields now have defaults nulls
|
||||
|
||||
## 29.0.0
|
||||
|
||||
**THIS UPDATE CONTAINS ADDING SUPPORT OF [Telegram Bots API 9.2](https://core.telegram.org/bots/api-changelog#august-15-2025)**
|
||||
|
@@ -14,11 +14,11 @@ import kotlinx.serialization.Serializable
|
||||
@Serializable
|
||||
data class OrderInfo(
|
||||
@SerialName(nameField)
|
||||
val name: String?,
|
||||
val name: String? = null,
|
||||
@SerialName(phoneNumberField)
|
||||
val phoneNumber: String?,
|
||||
val phoneNumber: String? = null,
|
||||
@SerialName(emailField)
|
||||
val email: String?,
|
||||
val email: String? = null,
|
||||
@SerialName(shippingAddressField)
|
||||
val shippingAddress: ShippingAddress?
|
||||
val shippingAddress: ShippingAddress? = null
|
||||
)
|
||||
|
Reference in New Issue
Block a user