mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2025-09-07 17:19:24 +00:00
fix: made entities field optional for GiftInfo
This commit is contained in:
@@ -24,7 +24,7 @@ data class GiftInfo private constructor(
|
|||||||
@SerialName(textField)
|
@SerialName(textField)
|
||||||
val text: String? = null,
|
val text: String? = null,
|
||||||
@SerialName(entitiesField)
|
@SerialName(entitiesField)
|
||||||
val entities: RawMessageEntities,
|
val entities: RawMessageEntities = emptyList(),
|
||||||
@SerialName(isPrivateField)
|
@SerialName(isPrivateField)
|
||||||
val isPrivate: Boolean = false
|
val isPrivate: Boolean = false
|
||||||
) {
|
) {
|
||||||
|
Reference in New Issue
Block a user