1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2025-09-03 23:29:33 +00:00

feat: Add UniqueGiftBackdrop type

This commit is contained in:
bpavuk (aider)
2025-04-13 14:32:30 +03:00
committed by bpavuk
parent cd3ba8f480
commit 4c9d888668

View File

@@ -0,0 +1,21 @@
package dev.inmo.tgbotapi.types
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
/**
* This object describes the backdrop of a unique gift.
*
* @param name Name of the backdrop
* @param colors Colors of the backdrop
* @param rarityPerMille The number of unique gifts that receive this backdrop for every 1000 gifts upgraded
*/
@Serializable
data class UniqueGiftBackdrop(
@SerialName(nameField)
val name: String,
@SerialName(colorsField)
val colors: UniqueGiftBackdropColors,
@SerialName(rarityPerMilleField)
val rarityPerMille: Int
)