1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2025-09-16 05:40:32 +00:00

remove redundant GiveawayInfo sealed interfaces

This commit is contained in:
2024-09-08 15:39:06 +06:00
parent f0bd4c3719
commit af4c843369
2 changed files with 0 additions and 27 deletions

View File

@@ -17,18 +17,9 @@ sealed interface GiveawayInfo {
sealed interface OptionallyPremium : GiveawayInfo {
val premiumMonths: Int?
}
@Serializable
sealed interface Premium : OptionallyPremium {
override val premiumMonths: Int
}
@Serializable
sealed interface OptionallyStars : GiveawayInfo {
val prizeStarCount: Int?
}
@Serializable
sealed interface Stars : OptionallyStars {
override val prizeStarCount: Int
}
}