diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/gifts/GiftInfo.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/gifts/GiftInfo.kt index 03f37347f4..b0c77d8d38 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/gifts/GiftInfo.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/gifts/GiftInfo.kt @@ -11,14 +11,22 @@ import kotlin.jvm.JvmName @Serializable data class GiftInfo private constructor( - @SerialName(giftField) val gift: Gift, - @SerialName(ownedGiftIdField) val ownedGiftId: GiftId? = null, - @SerialName(convertStarCountField) val convertStarCount: Int? = null, - @SerialName(prepaidUpgradeStarCountField) val prepaidUpgradeStarCount: Int? = null, - @SerialName(canBeUpgradedField) val canBeUpgraded: Boolean = false, - @SerialName(textField) val text: String? = null, - @SerialName(entitiesField) val entities: RawMessageEntities, - @SerialName(isPrivateField) val isPrivate: Boolean = false + @SerialName(giftField) + val gift: Gift, + @SerialName(ownedGiftIdField) + val ownedGiftId: GiftId? = null, + @SerialName(convertStarCountField) + val convertStarCount: Int? = null, + @SerialName(prepaidUpgradeStarCountField) + val prepaidUpgradeStarCount: Int? = null, + @SerialName(canBeUpgradedField) + val canBeUpgraded: Boolean = false, + @SerialName(textField) + val text: String? = null, + @SerialName(entitiesField) + val entities: RawMessageEntities, + @SerialName(isPrivateField) + val isPrivate: Boolean = false ) { companion object { @JvmName("PublicConstructor")