1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2024-11-21 15:53:47 +00:00

remove redundant GiveawayInfo sealed interfaces

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

View File

@ -17970,24 +17970,6 @@ public final class dev/inmo/tgbotapi/types/giveaway/GiveawayInfo$OptionallyStars
public final fun serializer ()Lkotlinx/serialization/KSerializer;
}
public abstract interface class dev/inmo/tgbotapi/types/giveaway/GiveawayInfo$Premium : dev/inmo/tgbotapi/types/giveaway/GiveawayInfo$OptionallyPremium {
public static final field Companion Ldev/inmo/tgbotapi/types/giveaway/GiveawayInfo$Premium$Companion;
public abstract fun getPremiumMonths ()Ljava/lang/Integer;
}
public final class dev/inmo/tgbotapi/types/giveaway/GiveawayInfo$Premium$Companion {
public final fun serializer ()Lkotlinx/serialization/KSerializer;
}
public abstract interface class dev/inmo/tgbotapi/types/giveaway/GiveawayInfo$Stars : dev/inmo/tgbotapi/types/giveaway/GiveawayInfo$OptionallyStars {
public static final field Companion Ldev/inmo/tgbotapi/types/giveaway/GiveawayInfo$Stars$Companion;
public abstract fun getPrizeStarCount ()Ljava/lang/Integer;
}
public final class dev/inmo/tgbotapi/types/giveaway/GiveawayInfo$Stars$Companion {
public final fun serializer ()Lkotlinx/serialization/KSerializer;
}
public final class dev/inmo/tgbotapi/types/giveaway/GiveawayPrivateResults : dev/inmo/tgbotapi/types/giveaway/GiveawayResults {
public static final field Companion Ldev/inmo/tgbotapi/types/giveaway/GiveawayPrivateResults$Companion;
public fun <init> (IILdev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Z)V

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
}
}