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