1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2025-09-09 01:59:47 +00:00

PollId now is value class

This commit is contained in:
2024-03-16 22:53:01 +06:00
parent 8ec209422a
commit d963cdae35
8 changed files with 89 additions and 42 deletions

View File

@@ -10048,6 +10048,36 @@ public final class dev/inmo/tgbotapi/types/MigrateChatId : dev/inmo/tgbotapi/typ
public fun toString ()Ljava/lang/String;
}
public final class dev/inmo/tgbotapi/types/PollId {
public static final field Companion Ldev/inmo/tgbotapi/types/PollId$Companion;
public static final synthetic fun box-impl (Ljava/lang/String;)Ldev/inmo/tgbotapi/types/PollId;
public static fun constructor-impl (Ljava/lang/String;)Ljava/lang/String;
public fun equals (Ljava/lang/Object;)Z
public static fun equals-impl (Ljava/lang/String;Ljava/lang/Object;)Z
public static final fun equals-impl0 (Ljava/lang/String;Ljava/lang/String;)Z
public final fun getString ()Ljava/lang/String;
public fun hashCode ()I
public static fun hashCode-impl (Ljava/lang/String;)I
public fun toString ()Ljava/lang/String;
public static fun toString-impl (Ljava/lang/String;)Ljava/lang/String;
public final synthetic fun unbox-impl ()Ljava/lang/String;
}
public final class dev/inmo/tgbotapi/types/PollId$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
public static final field INSTANCE Ldev/inmo/tgbotapi/types/PollId$$serializer;
public fun childSerializers ()[Lkotlinx/serialization/KSerializer;
public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object;
public fun deserialize-rQzybd8 (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/String;
public fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V
public fun serialize-9UUi0os (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/String;)V
public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer;
}
public final class dev/inmo/tgbotapi/types/PollId$Companion {
public final fun serializer ()Lkotlinx/serialization/KSerializer;
}
public final class dev/inmo/tgbotapi/types/PreCheckoutQueryId {
public static final field Companion Ldev/inmo/tgbotapi/types/PreCheckoutQueryId$Companion;
public static final synthetic fun box-impl (Ljava/lang/String;)Ldev/inmo/tgbotapi/types/PreCheckoutQueryId;
@@ -21910,7 +21940,7 @@ public final class dev/inmo/tgbotapi/types/polls/MultipleAnswersPoll$Companion {
public abstract interface class dev/inmo/tgbotapi/types/polls/Poll : dev/inmo/tgbotapi/types/ReplyInfo$External$ContentVariant {
public static final field Companion Ldev/inmo/tgbotapi/types/polls/Poll$Companion;
public abstract fun getId ()Ljava/lang/String;
public abstract fun getId-S5FO_mE ()Ljava/lang/String;
public abstract fun getOptions ()Ljava/util/List;
public abstract fun getQuestion ()Ljava/lang/String;
public abstract fun getScheduledCloseInfo ()Ldev/inmo/tgbotapi/types/polls/ScheduledCloseInfo;
@@ -21927,22 +21957,22 @@ public abstract interface class dev/inmo/tgbotapi/types/polls/PollAnswer : dev/i
public static final field Companion Ldev/inmo/tgbotapi/types/polls/PollAnswer$Companion;
public abstract fun getChosen ()Ljava/util/List;
public abstract fun getFrom ()Ldev/inmo/tgbotapi/types/chat/User;
public abstract fun getPollId ()Ljava/lang/String;
public abstract fun getPollId-S5FO_mE ()Ljava/lang/String;
public abstract fun getUser ()Ldev/inmo/tgbotapi/types/chat/User;
}
public final class dev/inmo/tgbotapi/types/polls/PollAnswer$Anonymous : dev/inmo/tgbotapi/types/polls/PollAnswer {
public static final field Companion Ldev/inmo/tgbotapi/types/polls/PollAnswer$Anonymous$Companion;
public fun <init> (Ljava/lang/String;Ldev/inmo/tgbotapi/types/chat/ChannelChat;Ljava/util/List;)V
public final fun component1 ()Ljava/lang/String;
public synthetic fun <init> (Ljava/lang/String;Ldev/inmo/tgbotapi/types/chat/ChannelChat;Ljava/util/List;Lkotlin/jvm/internal/DefaultConstructorMarker;)V
public final fun component1-S5FO_mE ()Ljava/lang/String;
public final fun component2 ()Ldev/inmo/tgbotapi/types/chat/ChannelChat;
public final fun component3 ()Ljava/util/List;
public final fun copy (Ljava/lang/String;Ldev/inmo/tgbotapi/types/chat/ChannelChat;Ljava/util/List;)Ldev/inmo/tgbotapi/types/polls/PollAnswer$Anonymous;
public static synthetic fun copy$default (Ldev/inmo/tgbotapi/types/polls/PollAnswer$Anonymous;Ljava/lang/String;Ldev/inmo/tgbotapi/types/chat/ChannelChat;Ljava/util/List;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/polls/PollAnswer$Anonymous;
public final fun copy-kNAtUQk (Ljava/lang/String;Ldev/inmo/tgbotapi/types/chat/ChannelChat;Ljava/util/List;)Ldev/inmo/tgbotapi/types/polls/PollAnswer$Anonymous;
public static synthetic fun copy-kNAtUQk$default (Ldev/inmo/tgbotapi/types/polls/PollAnswer$Anonymous;Ljava/lang/String;Ldev/inmo/tgbotapi/types/chat/ChannelChat;Ljava/util/List;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/polls/PollAnswer$Anonymous;
public fun equals (Ljava/lang/Object;)Z
public fun getChosen ()Ljava/util/List;
public fun getFrom ()Ldev/inmo/tgbotapi/types/chat/User;
public fun getPollId ()Ljava/lang/String;
public fun getPollId-S5FO_mE ()Ljava/lang/String;
public fun getUser ()Ldev/inmo/tgbotapi/types/chat/User;
public final fun getVoterChat ()Ldev/inmo/tgbotapi/types/chat/ChannelChat;
public fun hashCode ()I
@@ -21969,7 +21999,7 @@ public final class dev/inmo/tgbotapi/types/polls/PollAnswer$Companion : kotlinx/
public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/inmo/tgbotapi/types/polls/PollAnswer;
public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object;
public fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
public final fun invoke (Ljava/lang/String;Ldev/inmo/tgbotapi/types/chat/User;Ljava/util/List;)Ldev/inmo/tgbotapi/types/polls/PollAnswer$Public;
public final fun invoke-kNAtUQk (Ljava/lang/String;Ldev/inmo/tgbotapi/types/chat/User;Ljava/util/List;)Ldev/inmo/tgbotapi/types/polls/PollAnswer$Public;
public fun serialize (Lkotlinx/serialization/encoding/Encoder;Ldev/inmo/tgbotapi/types/polls/PollAnswer;)V
public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V
public final fun serializer ()Lkotlinx/serialization/KSerializer;
@@ -21981,16 +22011,16 @@ public final class dev/inmo/tgbotapi/types/polls/PollAnswer$DefaultImpls {
public final class dev/inmo/tgbotapi/types/polls/PollAnswer$Public : dev/inmo/tgbotapi/types/polls/PollAnswer {
public static final field Companion Ldev/inmo/tgbotapi/types/polls/PollAnswer$Public$Companion;
public fun <init> (Ljava/lang/String;Ldev/inmo/tgbotapi/types/chat/User;Ljava/util/List;)V
public final fun component1 ()Ljava/lang/String;
public synthetic fun <init> (Ljava/lang/String;Ldev/inmo/tgbotapi/types/chat/User;Ljava/util/List;Lkotlin/jvm/internal/DefaultConstructorMarker;)V
public final fun component1-S5FO_mE ()Ljava/lang/String;
public final fun component2 ()Ldev/inmo/tgbotapi/types/chat/User;
public final fun component3 ()Ljava/util/List;
public final fun copy (Ljava/lang/String;Ldev/inmo/tgbotapi/types/chat/User;Ljava/util/List;)Ldev/inmo/tgbotapi/types/polls/PollAnswer$Public;
public static synthetic fun copy$default (Ldev/inmo/tgbotapi/types/polls/PollAnswer$Public;Ljava/lang/String;Ldev/inmo/tgbotapi/types/chat/User;Ljava/util/List;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/polls/PollAnswer$Public;
public final fun copy-kNAtUQk (Ljava/lang/String;Ldev/inmo/tgbotapi/types/chat/User;Ljava/util/List;)Ldev/inmo/tgbotapi/types/polls/PollAnswer$Public;
public static synthetic fun copy-kNAtUQk$default (Ldev/inmo/tgbotapi/types/polls/PollAnswer$Public;Ljava/lang/String;Ldev/inmo/tgbotapi/types/chat/User;Ljava/util/List;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/polls/PollAnswer$Public;
public fun equals (Ljava/lang/Object;)Z
public fun getChosen ()Ljava/util/List;
public fun getFrom ()Ldev/inmo/tgbotapi/types/chat/User;
public fun getPollId ()Ljava/lang/String;
public fun getPollId-S5FO_mE ()Ljava/lang/String;
public fun getUser ()Ldev/inmo/tgbotapi/types/chat/User;
public fun hashCode ()I
public fun toString ()Ljava/lang/String;
@@ -22049,9 +22079,9 @@ public final class dev/inmo/tgbotapi/types/polls/PollSerializer : kotlinx/serial
public final class dev/inmo/tgbotapi/types/polls/QuizPoll : dev/inmo/tgbotapi/abstracts/TextedInput, dev/inmo/tgbotapi/types/polls/Poll {
public static final field Companion Ldev/inmo/tgbotapi/types/polls/QuizPoll$Companion;
public fun <init> (Ljava/lang/String;Ljava/lang/String;Ljava/util/List;ILjava/lang/Integer;Ljava/lang/String;Ljava/util/List;ZZLdev/inmo/tgbotapi/types/polls/ScheduledCloseInfo;)V
public synthetic fun <init> (Ljava/lang/String;Ljava/lang/String;Ljava/util/List;ILjava/lang/Integer;Ljava/lang/String;Ljava/util/List;ZZLdev/inmo/tgbotapi/types/polls/ScheduledCloseInfo;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
public final fun component1 ()Ljava/lang/String;
public synthetic fun <init> (Ljava/lang/String;Ljava/lang/String;Ljava/util/List;ILjava/lang/Integer;Ljava/lang/String;Ljava/util/List;ZZLdev/inmo/tgbotapi/types/polls/ScheduledCloseInfo;Lkotlin/jvm/internal/DefaultConstructorMarker;)V
public final fun component1-S5FO_mE ()Ljava/lang/String;
public final fun component10 ()Ldev/inmo/tgbotapi/types/polls/ScheduledCloseInfo;
public final fun component2 ()Ljava/lang/String;
public final fun component3 ()Ljava/util/List;
@@ -22061,11 +22091,11 @@ public final class dev/inmo/tgbotapi/types/polls/QuizPoll : dev/inmo/tgbotapi/ab
public final fun component7 ()Ljava/util/List;
public final fun component8 ()Z
public final fun component9 ()Z
public final fun copy (Ljava/lang/String;Ljava/lang/String;Ljava/util/List;ILjava/lang/Integer;Ljava/lang/String;Ljava/util/List;ZZLdev/inmo/tgbotapi/types/polls/ScheduledCloseInfo;)Ldev/inmo/tgbotapi/types/polls/QuizPoll;
public static synthetic fun copy$default (Ldev/inmo/tgbotapi/types/polls/QuizPoll;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;ILjava/lang/Integer;Ljava/lang/String;Ljava/util/List;ZZLdev/inmo/tgbotapi/types/polls/ScheduledCloseInfo;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/polls/QuizPoll;
public final fun copy-5LOS23Y (Ljava/lang/String;Ljava/lang/String;Ljava/util/List;ILjava/lang/Integer;Ljava/lang/String;Ljava/util/List;ZZLdev/inmo/tgbotapi/types/polls/ScheduledCloseInfo;)Ldev/inmo/tgbotapi/types/polls/QuizPoll;
public static synthetic fun copy-5LOS23Y$default (Ldev/inmo/tgbotapi/types/polls/QuizPoll;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;ILjava/lang/Integer;Ljava/lang/String;Ljava/util/List;ZZLdev/inmo/tgbotapi/types/polls/ScheduledCloseInfo;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/polls/QuizPoll;
public fun equals (Ljava/lang/Object;)Z
public final fun getCorrectOptionId ()Ljava/lang/Integer;
public fun getId ()Ljava/lang/String;
public fun getId-S5FO_mE ()Ljava/lang/String;
public fun getOptions ()Ljava/util/List;
public fun getQuestion ()Ljava/lang/String;
public fun getScheduledCloseInfo ()Ldev/inmo/tgbotapi/types/polls/ScheduledCloseInfo;
@@ -22084,9 +22114,9 @@ public final class dev/inmo/tgbotapi/types/polls/QuizPoll$Companion {
public final class dev/inmo/tgbotapi/types/polls/RegularPoll : dev/inmo/tgbotapi/types/polls/MultipleAnswersPoll {
public static final field Companion Ldev/inmo/tgbotapi/types/polls/RegularPoll$Companion;
public fun <init> (Ljava/lang/String;Ljava/lang/String;Ljava/util/List;IZZZLdev/inmo/tgbotapi/types/polls/ScheduledCloseInfo;)V
public synthetic fun <init> (Ljava/lang/String;Ljava/lang/String;Ljava/util/List;IZZZLdev/inmo/tgbotapi/types/polls/ScheduledCloseInfo;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
public final fun component1 ()Ljava/lang/String;
public synthetic fun <init> (Ljava/lang/String;Ljava/lang/String;Ljava/util/List;IZZZLdev/inmo/tgbotapi/types/polls/ScheduledCloseInfo;Lkotlin/jvm/internal/DefaultConstructorMarker;)V
public final fun component1-S5FO_mE ()Ljava/lang/String;
public final fun component2 ()Ljava/lang/String;
public final fun component3 ()Ljava/util/List;
public final fun component4 ()I
@@ -22094,11 +22124,11 @@ public final class dev/inmo/tgbotapi/types/polls/RegularPoll : dev/inmo/tgbotapi
public final fun component6 ()Z
public final fun component7 ()Z
public final fun component8 ()Ldev/inmo/tgbotapi/types/polls/ScheduledCloseInfo;
public final fun copy (Ljava/lang/String;Ljava/lang/String;Ljava/util/List;IZZZLdev/inmo/tgbotapi/types/polls/ScheduledCloseInfo;)Ldev/inmo/tgbotapi/types/polls/RegularPoll;
public static synthetic fun copy$default (Ldev/inmo/tgbotapi/types/polls/RegularPoll;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;IZZZLdev/inmo/tgbotapi/types/polls/ScheduledCloseInfo;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/polls/RegularPoll;
public final fun copy-KILYFNk (Ljava/lang/String;Ljava/lang/String;Ljava/util/List;IZZZLdev/inmo/tgbotapi/types/polls/ScheduledCloseInfo;)Ldev/inmo/tgbotapi/types/polls/RegularPoll;
public static synthetic fun copy-KILYFNk$default (Ldev/inmo/tgbotapi/types/polls/RegularPoll;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;IZZZLdev/inmo/tgbotapi/types/polls/ScheduledCloseInfo;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/polls/RegularPoll;
public fun equals (Ljava/lang/Object;)Z
public fun getAllowMultipleAnswers ()Z
public fun getId ()Ljava/lang/String;
public fun getId-S5FO_mE ()Ljava/lang/String;
public fun getOptions ()Ljava/util/List;
public fun getQuestion ()Ljava/lang/String;
public fun getScheduledCloseInfo ()Ldev/inmo/tgbotapi/types/polls/ScheduledCloseInfo;
@@ -22149,17 +22179,18 @@ public final class dev/inmo/tgbotapi/types/polls/SimplePollOption$Companion {
public final class dev/inmo/tgbotapi/types/polls/UnknownPollType : dev/inmo/tgbotapi/types/polls/Poll {
public static final field Companion Ldev/inmo/tgbotapi/types/polls/UnknownPollType$Companion;
public final fun component1 ()Ljava/lang/String;
public synthetic fun <init> (Ljava/lang/String;Ljava/lang/String;Ljava/util/List;IZZLkotlinx/serialization/json/JsonObject;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
public final fun component1-S5FO_mE ()Ljava/lang/String;
public final fun component2 ()Ljava/lang/String;
public final fun component3 ()Ljava/util/List;
public final fun component4 ()I
public final fun component5 ()Z
public final fun component6 ()Z
public final fun component7 ()Lkotlinx/serialization/json/JsonObject;
public final fun copy (Ljava/lang/String;Ljava/lang/String;Ljava/util/List;IZZLkotlinx/serialization/json/JsonObject;)Ldev/inmo/tgbotapi/types/polls/UnknownPollType;
public static synthetic fun copy$default (Ldev/inmo/tgbotapi/types/polls/UnknownPollType;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;IZZLkotlinx/serialization/json/JsonObject;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/polls/UnknownPollType;
public final fun copy-lVWo1a4 (Ljava/lang/String;Ljava/lang/String;Ljava/util/List;IZZLkotlinx/serialization/json/JsonObject;)Ldev/inmo/tgbotapi/types/polls/UnknownPollType;
public static synthetic fun copy-lVWo1a4$default (Ldev/inmo/tgbotapi/types/polls/UnknownPollType;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;IZZLkotlinx/serialization/json/JsonObject;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/polls/UnknownPollType;
public fun equals (Ljava/lang/Object;)Z
public fun getId ()Ljava/lang/String;
public fun getId-S5FO_mE ()Ljava/lang/String;
public fun getOptions ()Ljava/util/List;
public fun getQuestion ()Ljava/lang/String;
public final fun getRaw ()Lkotlinx/serialization/json/JsonObject;