mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-11-22 08:13:47 +00:00
remove redundant GiveawayInfo sealed interfaces
This commit is contained in:
parent
f0bd4c3719
commit
af4c843369
@ -17970,24 +17970,6 @@ public final class dev/inmo/tgbotapi/types/giveaway/GiveawayInfo$OptionallyStars
|
|||||||
public final fun serializer ()Lkotlinx/serialization/KSerializer;
|
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 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 static final field Companion Ldev/inmo/tgbotapi/types/giveaway/GiveawayPrivateResults$Companion;
|
||||||
public fun <init> (IILdev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Z)V
|
public fun <init> (IILdev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Z)V
|
||||||
|
@ -17,18 +17,9 @@ sealed interface GiveawayInfo {
|
|||||||
sealed interface OptionallyPremium : GiveawayInfo {
|
sealed interface OptionallyPremium : GiveawayInfo {
|
||||||
val premiumMonths: Int?
|
val premiumMonths: Int?
|
||||||
}
|
}
|
||||||
@Serializable
|
|
||||||
sealed interface Premium : OptionallyPremium {
|
|
||||||
override val premiumMonths: Int
|
|
||||||
}
|
|
||||||
|
|
||||||
@Serializable
|
@Serializable
|
||||||
sealed interface OptionallyStars : GiveawayInfo {
|
sealed interface OptionallyStars : GiveawayInfo {
|
||||||
val prizeStarCount: Int?
|
val prizeStarCount: Int?
|
||||||
}
|
}
|
||||||
|
|
||||||
@Serializable
|
|
||||||
sealed interface Stars : OptionallyStars {
|
|
||||||
override val prizeStarCount: Int
|
|
||||||
}
|
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user