From d6d62d082b770592e0ff1bb6b474a62a8ed89093 Mon Sep 17 00:00:00 2001 From: Alex by Software Date: Wed, 25 Jun 2025 00:22:32 +0200 Subject: [PATCH 1/2] Ignore local kotlin files --- .gitignore | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitignore b/.gitignore index 0e77962..97d10ab 100644 --- a/.gitignore +++ b/.gitignore @@ -3,6 +3,9 @@ .gradle build +# Kotlin +.kotlin + # IDEA .idea *.iml From 724caa3bbd06f0c67444b24933d9121f366da376 Mon Sep 17 00:00:00 2001 From: Alex by Software Date: Wed, 25 Jun 2025 01:03:44 +0200 Subject: [PATCH 2/2] Migrate to Context Parameters from Kotlin 2.2.0 --- api/tbot-api.api | 1275 +++++++++++------ build.gradle.kts | 2 +- .../me/alllex/tbot/apigen/BotApiGenerator.kt | 16 +- gradle/libs.versions.toml | 4 +- .../api/client/TelegramBotUpdateListener.kt | 90 +- .../tbot/api/model/TryWithContextMethods.kt | 640 ++++----- .../tbot/api/model/WithContextMethods.kt | 750 +++++----- .../api/client/TelegramBotUpdateHandler.kt | 2 +- 8 files changed, 1594 insertions(+), 1185 deletions(-) diff --git a/api/tbot-api.api b/api/tbot-api.api index 053cfb9..852d46a 100644 --- a/api/tbot-api.api +++ b/api/tbot-api.api @@ -44,29 +44,29 @@ public abstract interface class me/alllex/tbot/api/client/TelegramBotUpdateHandl } public abstract interface class me/alllex/tbot/api/client/TelegramBotUpdateListener { - public abstract fun onBusinessConnection (Lme/alllex/tbot/api/client/TelegramBotApiContext;Lme/alllex/tbot/api/model/BusinessConnection;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public abstract fun onBusinessMessage (Lme/alllex/tbot/api/client/TelegramBotApiContext;Lme/alllex/tbot/api/model/Message;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public abstract fun onCallbackQuery (Lme/alllex/tbot/api/client/TelegramBotApiContext;Lme/alllex/tbot/api/model/CallbackQuery;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public abstract fun onChannelPost (Lme/alllex/tbot/api/client/TelegramBotApiContext;Lme/alllex/tbot/api/model/Message;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public abstract fun onChatBoost (Lme/alllex/tbot/api/client/TelegramBotApiContext;Lme/alllex/tbot/api/model/ChatBoostUpdated;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public abstract fun onChatJoinRequest (Lme/alllex/tbot/api/client/TelegramBotApiContext;Lme/alllex/tbot/api/model/ChatJoinRequest;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public abstract fun onChatMember (Lme/alllex/tbot/api/client/TelegramBotApiContext;Lme/alllex/tbot/api/model/ChatMemberUpdated;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public abstract fun onChosenInlineResult (Lme/alllex/tbot/api/client/TelegramBotApiContext;Lme/alllex/tbot/api/model/ChosenInlineResult;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public abstract fun onDeletedBusinessMessages (Lme/alllex/tbot/api/client/TelegramBotApiContext;Lme/alllex/tbot/api/model/BusinessMessagesDeleted;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public abstract fun onEditedBusinessMessage (Lme/alllex/tbot/api/client/TelegramBotApiContext;Lme/alllex/tbot/api/model/Message;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public abstract fun onEditedChannelPost (Lme/alllex/tbot/api/client/TelegramBotApiContext;Lme/alllex/tbot/api/model/Message;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public abstract fun onEditedMessage (Lme/alllex/tbot/api/client/TelegramBotApiContext;Lme/alllex/tbot/api/model/Message;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public abstract fun onInlineQuery (Lme/alllex/tbot/api/client/TelegramBotApiContext;Lme/alllex/tbot/api/model/InlineQuery;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public abstract fun onMessage (Lme/alllex/tbot/api/client/TelegramBotApiContext;Lme/alllex/tbot/api/model/Message;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public abstract fun onMessageReaction (Lme/alllex/tbot/api/client/TelegramBotApiContext;Lme/alllex/tbot/api/model/MessageReactionUpdated;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public abstract fun onMessageReactionCount (Lme/alllex/tbot/api/client/TelegramBotApiContext;Lme/alllex/tbot/api/model/MessageReactionCountUpdated;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public abstract fun onMyChatMember (Lme/alllex/tbot/api/client/TelegramBotApiContext;Lme/alllex/tbot/api/model/ChatMemberUpdated;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public abstract fun onPoll (Lme/alllex/tbot/api/client/TelegramBotApiContext;Lme/alllex/tbot/api/model/Poll;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public abstract fun onPollAnswer (Lme/alllex/tbot/api/client/TelegramBotApiContext;Lme/alllex/tbot/api/model/PollAnswer;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public abstract fun onPreCheckoutQuery (Lme/alllex/tbot/api/client/TelegramBotApiContext;Lme/alllex/tbot/api/model/PreCheckoutQuery;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public abstract fun onRemovedChatBoost (Lme/alllex/tbot/api/client/TelegramBotApiContext;Lme/alllex/tbot/api/model/ChatBoostRemoved;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public abstract fun onShippingQuery (Lme/alllex/tbot/api/client/TelegramBotApiContext;Lme/alllex/tbot/api/model/ShippingQuery;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public abstract fun onUpdate (Lme/alllex/tbot/api/client/TelegramBotApiContext;Lme/alllex/tbot/api/model/Update;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public fun onBusinessConnection (Lme/alllex/tbot/api/client/TelegramBotApiContext;Lme/alllex/tbot/api/model/BusinessConnection;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public fun onBusinessMessage (Lme/alllex/tbot/api/client/TelegramBotApiContext;Lme/alllex/tbot/api/model/Message;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public fun onCallbackQuery (Lme/alllex/tbot/api/client/TelegramBotApiContext;Lme/alllex/tbot/api/model/CallbackQuery;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public fun onChannelPost (Lme/alllex/tbot/api/client/TelegramBotApiContext;Lme/alllex/tbot/api/model/Message;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public fun onChatBoost (Lme/alllex/tbot/api/client/TelegramBotApiContext;Lme/alllex/tbot/api/model/ChatBoostUpdated;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public fun onChatJoinRequest (Lme/alllex/tbot/api/client/TelegramBotApiContext;Lme/alllex/tbot/api/model/ChatJoinRequest;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public fun onChatMember (Lme/alllex/tbot/api/client/TelegramBotApiContext;Lme/alllex/tbot/api/model/ChatMemberUpdated;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public fun onChosenInlineResult (Lme/alllex/tbot/api/client/TelegramBotApiContext;Lme/alllex/tbot/api/model/ChosenInlineResult;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public fun onDeletedBusinessMessages (Lme/alllex/tbot/api/client/TelegramBotApiContext;Lme/alllex/tbot/api/model/BusinessMessagesDeleted;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public fun onEditedBusinessMessage (Lme/alllex/tbot/api/client/TelegramBotApiContext;Lme/alllex/tbot/api/model/Message;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public fun onEditedChannelPost (Lme/alllex/tbot/api/client/TelegramBotApiContext;Lme/alllex/tbot/api/model/Message;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public fun onEditedMessage (Lme/alllex/tbot/api/client/TelegramBotApiContext;Lme/alllex/tbot/api/model/Message;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public fun onInlineQuery (Lme/alllex/tbot/api/client/TelegramBotApiContext;Lme/alllex/tbot/api/model/InlineQuery;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public fun onMessage (Lme/alllex/tbot/api/client/TelegramBotApiContext;Lme/alllex/tbot/api/model/Message;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public fun onMessageReaction (Lme/alllex/tbot/api/client/TelegramBotApiContext;Lme/alllex/tbot/api/model/MessageReactionUpdated;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public fun onMessageReactionCount (Lme/alllex/tbot/api/client/TelegramBotApiContext;Lme/alllex/tbot/api/model/MessageReactionCountUpdated;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public fun onMyChatMember (Lme/alllex/tbot/api/client/TelegramBotApiContext;Lme/alllex/tbot/api/model/ChatMemberUpdated;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public fun onPoll (Lme/alllex/tbot/api/client/TelegramBotApiContext;Lme/alllex/tbot/api/model/Poll;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public fun onPollAnswer (Lme/alllex/tbot/api/client/TelegramBotApiContext;Lme/alllex/tbot/api/model/PollAnswer;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public fun onPreCheckoutQuery (Lme/alllex/tbot/api/client/TelegramBotApiContext;Lme/alllex/tbot/api/model/PreCheckoutQuery;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public fun onRemovedChatBoost (Lme/alllex/tbot/api/client/TelegramBotApiContext;Lme/alllex/tbot/api/model/ChatBoostRemoved;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public fun onShippingQuery (Lme/alllex/tbot/api/client/TelegramBotApiContext;Lme/alllex/tbot/api/model/ShippingQuery;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public fun onUpdate (Lme/alllex/tbot/api/client/TelegramBotApiContext;Lme/alllex/tbot/api/model/Update;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; } public final class me/alllex/tbot/api/client/TelegramBotUpdateListener$DefaultImpls { @@ -121,7 +121,7 @@ public final class me/alllex/tbot/api/client/TelegramResponse { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/client/TelegramResponse$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/client/TelegramResponse$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public fun (Lkotlinx/serialization/KSerializer;)V public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -158,7 +158,7 @@ public final class me/alllex/tbot/api/model/AcceptedGiftTypes { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/AcceptedGiftTypes$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/AcceptedGiftTypes$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/AcceptedGiftTypes$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -166,6 +166,7 @@ public synthetic class me/alllex/tbot/api/model/AcceptedGiftTypes$$serializer : public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/AcceptedGiftTypes;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/AcceptedGiftTypes$Companion { @@ -188,7 +189,7 @@ public final class me/alllex/tbot/api/model/AddStickerToSetRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/AddStickerToSetRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/AddStickerToSetRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/AddStickerToSetRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -196,6 +197,7 @@ public synthetic class me/alllex/tbot/api/model/AddStickerToSetRequest$$serializ public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/AddStickerToSetRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/AddStickerToSetRequest$Companion { @@ -223,7 +225,7 @@ public final class me/alllex/tbot/api/model/AffiliateInfo { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/AffiliateInfo$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/AffiliateInfo$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/AffiliateInfo$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -231,6 +233,7 @@ public synthetic class me/alllex/tbot/api/model/AffiliateInfo$$serializer : kotl public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/AffiliateInfo;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/AffiliateInfo$Companion { @@ -266,7 +269,7 @@ public final class me/alllex/tbot/api/model/Animation { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/Animation$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/Animation$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/Animation$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -274,6 +277,7 @@ public synthetic class me/alllex/tbot/api/model/Animation$$serializer : kotlinx/ public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/Animation;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/Animation$Companion { @@ -301,7 +305,7 @@ public final class me/alllex/tbot/api/model/AnswerCallbackQueryRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/AnswerCallbackQueryRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/AnswerCallbackQueryRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/AnswerCallbackQueryRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -309,6 +313,7 @@ public synthetic class me/alllex/tbot/api/model/AnswerCallbackQueryRequest$$seri public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/AnswerCallbackQueryRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/AnswerCallbackQueryRequest$Companion { @@ -338,7 +343,7 @@ public final class me/alllex/tbot/api/model/AnswerInlineQueryRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/AnswerInlineQueryRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/AnswerInlineQueryRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/AnswerInlineQueryRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -346,6 +351,7 @@ public synthetic class me/alllex/tbot/api/model/AnswerInlineQueryRequest$$serial public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/AnswerInlineQueryRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/AnswerInlineQueryRequest$Companion { @@ -369,7 +375,7 @@ public final class me/alllex/tbot/api/model/AnswerPreCheckoutQueryRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/AnswerPreCheckoutQueryRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/AnswerPreCheckoutQueryRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/AnswerPreCheckoutQueryRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -377,6 +383,7 @@ public synthetic class me/alllex/tbot/api/model/AnswerPreCheckoutQueryRequest$$s public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/AnswerPreCheckoutQueryRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/AnswerPreCheckoutQueryRequest$Companion { @@ -402,7 +409,7 @@ public final class me/alllex/tbot/api/model/AnswerShippingQueryRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/AnswerShippingQueryRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/AnswerShippingQueryRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/AnswerShippingQueryRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -410,6 +417,7 @@ public synthetic class me/alllex/tbot/api/model/AnswerShippingQueryRequest$$seri public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/AnswerShippingQueryRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/AnswerShippingQueryRequest$Companion { @@ -430,7 +438,7 @@ public final class me/alllex/tbot/api/model/AnswerWebAppQueryRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/AnswerWebAppQueryRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/AnswerWebAppQueryRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/AnswerWebAppQueryRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -438,6 +446,7 @@ public synthetic class me/alllex/tbot/api/model/AnswerWebAppQueryRequest$$serial public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/AnswerWebAppQueryRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/AnswerWebAppQueryRequest$Companion { @@ -458,7 +467,7 @@ public final class me/alllex/tbot/api/model/ApproveChatJoinRequestRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/ApproveChatJoinRequestRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/ApproveChatJoinRequestRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/ApproveChatJoinRequestRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -466,6 +475,7 @@ public synthetic class me/alllex/tbot/api/model/ApproveChatJoinRequestRequest$$s public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/ApproveChatJoinRequestRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/ApproveChatJoinRequestRequest$Companion { @@ -501,7 +511,7 @@ public final class me/alllex/tbot/api/model/Audio { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/Audio$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/Audio$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/Audio$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -509,6 +519,7 @@ public synthetic class me/alllex/tbot/api/model/Audio$$serializer : kotlinx/seri public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/Audio;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/Audio$Companion { @@ -535,7 +546,7 @@ public final class me/alllex/tbot/api/model/BackgroundFillFreeformGradient : me/ public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/BackgroundFillFreeformGradient$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/BackgroundFillFreeformGradient$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/BackgroundFillFreeformGradient$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -543,6 +554,7 @@ public synthetic class me/alllex/tbot/api/model/BackgroundFillFreeformGradient$$ public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/BackgroundFillFreeformGradient;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/BackgroundFillFreeformGradient$Companion { @@ -565,7 +577,7 @@ public final class me/alllex/tbot/api/model/BackgroundFillGradient : me/alllex/t public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/BackgroundFillGradient$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/BackgroundFillGradient$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/BackgroundFillGradient$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -573,6 +585,7 @@ public synthetic class me/alllex/tbot/api/model/BackgroundFillGradient$$serializ public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/BackgroundFillGradient;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/BackgroundFillGradient$Companion { @@ -591,7 +604,7 @@ public final class me/alllex/tbot/api/model/BackgroundFillSolid : me/alllex/tbot public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/BackgroundFillSolid$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/BackgroundFillSolid$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/BackgroundFillSolid$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -599,6 +612,7 @@ public synthetic class me/alllex/tbot/api/model/BackgroundFillSolid$$serializer public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/BackgroundFillSolid;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/BackgroundFillSolid$Companion { @@ -625,7 +639,7 @@ public final class me/alllex/tbot/api/model/BackgroundTypeChatTheme : me/alllex/ public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/BackgroundTypeChatTheme$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/BackgroundTypeChatTheme$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/BackgroundTypeChatTheme$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -633,6 +647,7 @@ public synthetic class me/alllex/tbot/api/model/BackgroundTypeChatTheme$$seriali public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/BackgroundTypeChatTheme;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/BackgroundTypeChatTheme$Companion { @@ -653,7 +668,7 @@ public final class me/alllex/tbot/api/model/BackgroundTypeFill : me/alllex/tbot/ public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/BackgroundTypeFill$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/BackgroundTypeFill$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/BackgroundTypeFill$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -661,6 +676,7 @@ public synthetic class me/alllex/tbot/api/model/BackgroundTypeFill$$serializer : public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/BackgroundTypeFill;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/BackgroundTypeFill$Companion { @@ -688,7 +704,7 @@ public final class me/alllex/tbot/api/model/BackgroundTypePattern : me/alllex/tb public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/BackgroundTypePattern$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/BackgroundTypePattern$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/BackgroundTypePattern$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -696,6 +712,7 @@ public synthetic class me/alllex/tbot/api/model/BackgroundTypePattern$$serialize public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/BackgroundTypePattern;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/BackgroundTypePattern$Companion { @@ -721,7 +738,7 @@ public final class me/alllex/tbot/api/model/BackgroundTypeWallpaper : me/alllex/ public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/BackgroundTypeWallpaper$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/BackgroundTypeWallpaper$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/BackgroundTypeWallpaper$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -729,6 +746,7 @@ public synthetic class me/alllex/tbot/api/model/BackgroundTypeWallpaper$$seriali public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/BackgroundTypeWallpaper;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/BackgroundTypeWallpaper$Companion { @@ -754,7 +772,7 @@ public final class me/alllex/tbot/api/model/BanChatMemberRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/BanChatMemberRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/BanChatMemberRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/BanChatMemberRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -762,6 +780,7 @@ public synthetic class me/alllex/tbot/api/model/BanChatMemberRequest$$serializer public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/BanChatMemberRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/BanChatMemberRequest$Companion { @@ -782,7 +801,7 @@ public final class me/alllex/tbot/api/model/BanChatSenderChatRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/BanChatSenderChatRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/BanChatSenderChatRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/BanChatSenderChatRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -790,6 +809,7 @@ public synthetic class me/alllex/tbot/api/model/BanChatSenderChatRequest$$serial public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/BanChatSenderChatRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/BanChatSenderChatRequest$Companion { @@ -813,7 +833,7 @@ public final class me/alllex/tbot/api/model/Birthdate { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/Birthdate$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/Birthdate$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/Birthdate$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -821,6 +841,7 @@ public synthetic class me/alllex/tbot/api/model/Birthdate$$serializer : kotlinx/ public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/Birthdate;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/Birthdate$Companion { @@ -841,7 +862,7 @@ public final class me/alllex/tbot/api/model/BotCommand { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/BotCommand$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/BotCommand$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/BotCommand$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -849,6 +870,7 @@ public synthetic class me/alllex/tbot/api/model/BotCommand$$serializer : kotlinx public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/BotCommand;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/BotCommand$Companion { @@ -899,7 +921,7 @@ public final class me/alllex/tbot/api/model/BotCommandScopeChat : me/alllex/tbot public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/BotCommandScopeChat$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/BotCommandScopeChat$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/BotCommandScopeChat$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -907,6 +929,7 @@ public synthetic class me/alllex/tbot/api/model/BotCommandScopeChat$$serializer public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/BotCommandScopeChat;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/BotCommandScopeChat$Companion { @@ -925,7 +948,7 @@ public final class me/alllex/tbot/api/model/BotCommandScopeChatAdministrators : public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/BotCommandScopeChatAdministrators$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/BotCommandScopeChatAdministrators$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/BotCommandScopeChatAdministrators$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -933,6 +956,7 @@ public synthetic class me/alllex/tbot/api/model/BotCommandScopeChatAdministrator public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/BotCommandScopeChatAdministrators;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/BotCommandScopeChatAdministrators$Companion { @@ -953,7 +977,7 @@ public final class me/alllex/tbot/api/model/BotCommandScopeChatMember : me/allle public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/BotCommandScopeChatMember$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/BotCommandScopeChatMember$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/BotCommandScopeChatMember$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -961,6 +985,7 @@ public synthetic class me/alllex/tbot/api/model/BotCommandScopeChatMember$$seria public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/BotCommandScopeChatMember;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/BotCommandScopeChatMember$Companion { @@ -987,7 +1012,7 @@ public final class me/alllex/tbot/api/model/BotDescription { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/BotDescription$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/BotDescription$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/BotDescription$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -995,6 +1020,7 @@ public synthetic class me/alllex/tbot/api/model/BotDescription$$serializer : kot public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/BotDescription;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/BotDescription$Companion { @@ -1013,7 +1039,7 @@ public final class me/alllex/tbot/api/model/BotName { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/BotName$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/BotName$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/BotName$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -1021,6 +1047,7 @@ public synthetic class me/alllex/tbot/api/model/BotName$$serializer : kotlinx/se public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/BotName;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/BotName$Companion { @@ -1039,7 +1066,7 @@ public final class me/alllex/tbot/api/model/BotShortDescription { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/BotShortDescription$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/BotShortDescription$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/BotShortDescription$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -1047,6 +1074,7 @@ public synthetic class me/alllex/tbot/api/model/BotShortDescription$$serializer public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/BotShortDescription;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/BotShortDescription$Companion { @@ -1093,7 +1121,7 @@ public final class me/alllex/tbot/api/model/BusinessBotRights { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/BusinessBotRights$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/BusinessBotRights$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/BusinessBotRights$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -1101,6 +1129,7 @@ public synthetic class me/alllex/tbot/api/model/BusinessBotRights$$serializer : public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/BusinessBotRights;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/BusinessBotRights$Companion { @@ -1130,7 +1159,7 @@ public final class me/alllex/tbot/api/model/BusinessConnection { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/BusinessConnection$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/BusinessConnection$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/BusinessConnection$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -1138,6 +1167,7 @@ public synthetic class me/alllex/tbot/api/model/BusinessConnection$$serializer : public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/BusinessConnection;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/BusinessConnection$Companion { @@ -1159,7 +1189,7 @@ public final class me/alllex/tbot/api/model/BusinessConnectionId { public final synthetic fun unbox-impl ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/BusinessConnectionId$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/BusinessConnectionId$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/BusinessConnectionId$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -1167,6 +1197,7 @@ public synthetic class me/alllex/tbot/api/model/BusinessConnectionId$$serializer public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize-zTEcP0Q (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/String;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/BusinessConnectionId$Companion { @@ -1188,7 +1219,7 @@ public final class me/alllex/tbot/api/model/BusinessConnectionUpdate : me/alllex public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/BusinessConnectionUpdate$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/BusinessConnectionUpdate$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/BusinessConnectionUpdate$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -1196,6 +1227,7 @@ public synthetic class me/alllex/tbot/api/model/BusinessConnectionUpdate$$serial public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/BusinessConnectionUpdate;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/BusinessConnectionUpdate$Companion { @@ -1220,7 +1252,7 @@ public final class me/alllex/tbot/api/model/BusinessIntro { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/BusinessIntro$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/BusinessIntro$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/BusinessIntro$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -1228,6 +1260,7 @@ public synthetic class me/alllex/tbot/api/model/BusinessIntro$$serializer : kotl public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/BusinessIntro;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/BusinessIntro$Companion { @@ -1249,7 +1282,7 @@ public final class me/alllex/tbot/api/model/BusinessLocation { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/BusinessLocation$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/BusinessLocation$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/BusinessLocation$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -1257,6 +1290,7 @@ public synthetic class me/alllex/tbot/api/model/BusinessLocation$$serializer : k public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/BusinessLocation;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/BusinessLocation$Companion { @@ -1278,7 +1312,7 @@ public final class me/alllex/tbot/api/model/BusinessMessageUpdate : me/alllex/tb public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/BusinessMessageUpdate$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/BusinessMessageUpdate$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/BusinessMessageUpdate$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -1286,6 +1320,7 @@ public synthetic class me/alllex/tbot/api/model/BusinessMessageUpdate$$serialize public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/BusinessMessageUpdate;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/BusinessMessageUpdate$Companion { @@ -1308,7 +1343,7 @@ public final class me/alllex/tbot/api/model/BusinessMessagesDeleted { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/BusinessMessagesDeleted$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/BusinessMessagesDeleted$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/BusinessMessagesDeleted$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -1316,6 +1351,7 @@ public synthetic class me/alllex/tbot/api/model/BusinessMessagesDeleted$$seriali public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/BusinessMessagesDeleted;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/BusinessMessagesDeleted$Companion { @@ -1336,7 +1372,7 @@ public final class me/alllex/tbot/api/model/BusinessOpeningHours { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/BusinessOpeningHours$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/BusinessOpeningHours$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/BusinessOpeningHours$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -1344,6 +1380,7 @@ public synthetic class me/alllex/tbot/api/model/BusinessOpeningHours$$serializer public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/BusinessOpeningHours;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/BusinessOpeningHours$Companion { @@ -1364,7 +1401,7 @@ public final class me/alllex/tbot/api/model/BusinessOpeningHoursInterval { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/BusinessOpeningHoursInterval$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/BusinessOpeningHoursInterval$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/BusinessOpeningHoursInterval$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -1372,6 +1409,7 @@ public synthetic class me/alllex/tbot/api/model/BusinessOpeningHoursInterval$$se public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/BusinessOpeningHoursInterval;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/BusinessOpeningHoursInterval$Companion { @@ -1411,7 +1449,7 @@ public final class me/alllex/tbot/api/model/CallbackQuery { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/CallbackQuery$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/CallbackQuery$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/CallbackQuery$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -1419,6 +1457,7 @@ public synthetic class me/alllex/tbot/api/model/CallbackQuery$$serializer : kotl public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/CallbackQuery;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/CallbackQuery$Companion { @@ -1440,7 +1479,7 @@ public final class me/alllex/tbot/api/model/CallbackQueryId { public final synthetic fun unbox-impl ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/CallbackQueryId$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/CallbackQueryId$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/CallbackQueryId$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -1448,6 +1487,7 @@ public synthetic class me/alllex/tbot/api/model/CallbackQueryId$$serializer : ko public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize-ivvejxg (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/String;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/CallbackQueryId$Companion { @@ -1469,7 +1509,7 @@ public final class me/alllex/tbot/api/model/CallbackQueryUpdate : me/alllex/tbot public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/CallbackQueryUpdate$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/CallbackQueryUpdate$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/CallbackQueryUpdate$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -1477,6 +1517,7 @@ public synthetic class me/alllex/tbot/api/model/CallbackQueryUpdate$$serializer public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/CallbackQueryUpdate;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/CallbackQueryUpdate$Companion { @@ -1498,7 +1539,7 @@ public final class me/alllex/tbot/api/model/ChannelPostUpdate : me/alllex/tbot/a public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/ChannelPostUpdate$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/ChannelPostUpdate$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/ChannelPostUpdate$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -1506,6 +1547,7 @@ public synthetic class me/alllex/tbot/api/model/ChannelPostUpdate$$serializer : public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/ChannelPostUpdate;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/ChannelPostUpdate$Companion { @@ -1537,7 +1579,7 @@ public final class me/alllex/tbot/api/model/Chat { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/Chat$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/Chat$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/Chat$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -1545,6 +1587,7 @@ public synthetic class me/alllex/tbot/api/model/Chat$$serializer : kotlinx/seria public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/Chat;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/Chat$Companion { @@ -1592,7 +1635,7 @@ public final class me/alllex/tbot/api/model/ChatAdministratorRights { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/ChatAdministratorRights$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/ChatAdministratorRights$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/ChatAdministratorRights$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -1600,6 +1643,7 @@ public synthetic class me/alllex/tbot/api/model/ChatAdministratorRights$$seriali public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/ChatAdministratorRights;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/ChatAdministratorRights$Companion { @@ -1618,7 +1662,7 @@ public final class me/alllex/tbot/api/model/ChatBackground { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/ChatBackground$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/ChatBackground$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/ChatBackground$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -1626,6 +1670,7 @@ public synthetic class me/alllex/tbot/api/model/ChatBackground$$serializer : kot public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/ChatBackground;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/ChatBackground$Companion { @@ -1650,7 +1695,7 @@ public final class me/alllex/tbot/api/model/ChatBoost { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/ChatBoost$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/ChatBoost$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/ChatBoost$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -1658,6 +1703,7 @@ public synthetic class me/alllex/tbot/api/model/ChatBoost$$serializer : kotlinx/ public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/ChatBoost;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/ChatBoost$Companion { @@ -1676,7 +1722,7 @@ public final class me/alllex/tbot/api/model/ChatBoostAdded { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/ChatBoostAdded$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/ChatBoostAdded$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/ChatBoostAdded$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -1684,6 +1730,7 @@ public synthetic class me/alllex/tbot/api/model/ChatBoostAdded$$serializer : kot public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/ChatBoostAdded;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/ChatBoostAdded$Companion { @@ -1708,7 +1755,7 @@ public final class me/alllex/tbot/api/model/ChatBoostRemoved { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/ChatBoostRemoved$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/ChatBoostRemoved$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/ChatBoostRemoved$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -1716,6 +1763,7 @@ public synthetic class me/alllex/tbot/api/model/ChatBoostRemoved$$serializer : k public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/ChatBoostRemoved;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/ChatBoostRemoved$Companion { @@ -1742,7 +1790,7 @@ public final class me/alllex/tbot/api/model/ChatBoostSourceGiftCode : me/alllex/ public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/ChatBoostSourceGiftCode$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/ChatBoostSourceGiftCode$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/ChatBoostSourceGiftCode$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -1750,6 +1798,7 @@ public synthetic class me/alllex/tbot/api/model/ChatBoostSourceGiftCode$$seriali public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/ChatBoostSourceGiftCode;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/ChatBoostSourceGiftCode$Companion { @@ -1775,7 +1824,7 @@ public final class me/alllex/tbot/api/model/ChatBoostSourceGiveaway : me/alllex/ public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/ChatBoostSourceGiveaway$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/ChatBoostSourceGiveaway$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/ChatBoostSourceGiveaway$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -1783,6 +1832,7 @@ public synthetic class me/alllex/tbot/api/model/ChatBoostSourceGiveaway$$seriali public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/ChatBoostSourceGiveaway;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/ChatBoostSourceGiveaway$Companion { @@ -1801,7 +1851,7 @@ public final class me/alllex/tbot/api/model/ChatBoostSourcePremium : me/alllex/t public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/ChatBoostSourcePremium$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/ChatBoostSourcePremium$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/ChatBoostSourcePremium$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -1809,6 +1859,7 @@ public synthetic class me/alllex/tbot/api/model/ChatBoostSourcePremium$$serializ public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/ChatBoostSourcePremium;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/ChatBoostSourcePremium$Companion { @@ -1830,7 +1881,7 @@ public final class me/alllex/tbot/api/model/ChatBoostUpdate : me/alllex/tbot/api public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/ChatBoostUpdate$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/ChatBoostUpdate$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/ChatBoostUpdate$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -1838,6 +1889,7 @@ public synthetic class me/alllex/tbot/api/model/ChatBoostUpdate$$serializer : ko public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/ChatBoostUpdate;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/ChatBoostUpdate$Companion { @@ -1858,7 +1910,7 @@ public final class me/alllex/tbot/api/model/ChatBoostUpdated { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/ChatBoostUpdated$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/ChatBoostUpdated$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/ChatBoostUpdated$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -1866,6 +1918,7 @@ public synthetic class me/alllex/tbot/api/model/ChatBoostUpdated$$serializer : k public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/ChatBoostUpdated;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/ChatBoostUpdated$Companion { @@ -1973,7 +2026,7 @@ public final class me/alllex/tbot/api/model/ChatFullInfo { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/ChatFullInfo$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/ChatFullInfo$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/ChatFullInfo$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -1981,6 +2034,7 @@ public synthetic class me/alllex/tbot/api/model/ChatFullInfo$$serializer : kotli public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/ChatFullInfo;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/ChatFullInfo$Companion { @@ -2002,7 +2056,7 @@ public final class me/alllex/tbot/api/model/ChatId { public final synthetic fun unbox-impl ()J } -public synthetic class me/alllex/tbot/api/model/ChatId$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/ChatId$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/ChatId$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -2010,6 +2064,7 @@ public synthetic class me/alllex/tbot/api/model/ChatId$$serializer : kotlinx/ser public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize-u60QbII (Lkotlinx/serialization/encoding/Encoder;J)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/ChatId$Companion { @@ -2049,7 +2104,7 @@ public final class me/alllex/tbot/api/model/ChatInviteLink { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/ChatInviteLink$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/ChatInviteLink$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/ChatInviteLink$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -2057,6 +2112,7 @@ public synthetic class me/alllex/tbot/api/model/ChatInviteLink$$serializer : kot public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/ChatInviteLink;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/ChatInviteLink$Companion { @@ -2086,7 +2142,7 @@ public final class me/alllex/tbot/api/model/ChatJoinRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/ChatJoinRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/ChatJoinRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/ChatJoinRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -2094,6 +2150,7 @@ public synthetic class me/alllex/tbot/api/model/ChatJoinRequest$$serializer : ko public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/ChatJoinRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/ChatJoinRequest$Companion { @@ -2115,7 +2172,7 @@ public final class me/alllex/tbot/api/model/ChatJoinRequestUpdate : me/alllex/tb public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/ChatJoinRequestUpdate$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/ChatJoinRequestUpdate$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/ChatJoinRequestUpdate$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -2123,6 +2180,7 @@ public synthetic class me/alllex/tbot/api/model/ChatJoinRequestUpdate$$serialize public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/ChatJoinRequestUpdate;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/ChatJoinRequestUpdate$Companion { @@ -2143,7 +2201,7 @@ public final class me/alllex/tbot/api/model/ChatLocation { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/ChatLocation$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/ChatLocation$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/ChatLocation$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -2151,6 +2209,7 @@ public synthetic class me/alllex/tbot/api/model/ChatLocation$$serializer : kotli public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/ChatLocation;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/ChatLocation$Companion { @@ -2212,7 +2271,7 @@ public final class me/alllex/tbot/api/model/ChatMemberAdministrator : me/alllex/ public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/ChatMemberAdministrator$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/ChatMemberAdministrator$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/ChatMemberAdministrator$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -2220,6 +2279,7 @@ public synthetic class me/alllex/tbot/api/model/ChatMemberAdministrator$$seriali public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/ChatMemberAdministrator;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/ChatMemberAdministrator$Companion { @@ -2240,7 +2300,7 @@ public final class me/alllex/tbot/api/model/ChatMemberBanned : me/alllex/tbot/ap public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/ChatMemberBanned$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/ChatMemberBanned$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/ChatMemberBanned$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -2248,6 +2308,7 @@ public synthetic class me/alllex/tbot/api/model/ChatMemberBanned$$serializer : k public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/ChatMemberBanned;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/ChatMemberBanned$Companion { @@ -2266,7 +2327,7 @@ public final class me/alllex/tbot/api/model/ChatMemberLeft : me/alllex/tbot/api/ public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/ChatMemberLeft$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/ChatMemberLeft$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/ChatMemberLeft$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -2274,6 +2335,7 @@ public synthetic class me/alllex/tbot/api/model/ChatMemberLeft$$serializer : kot public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/ChatMemberLeft;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/ChatMemberLeft$Companion { @@ -2295,7 +2357,7 @@ public final class me/alllex/tbot/api/model/ChatMemberMember : me/alllex/tbot/ap public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/ChatMemberMember$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/ChatMemberMember$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/ChatMemberMember$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -2303,6 +2365,7 @@ public synthetic class me/alllex/tbot/api/model/ChatMemberMember$$serializer : k public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/ChatMemberMember;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/ChatMemberMember$Companion { @@ -2326,7 +2389,7 @@ public final class me/alllex/tbot/api/model/ChatMemberOwner : me/alllex/tbot/api public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/ChatMemberOwner$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/ChatMemberOwner$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/ChatMemberOwner$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -2334,6 +2397,7 @@ public synthetic class me/alllex/tbot/api/model/ChatMemberOwner$$serializer : ko public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/ChatMemberOwner;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/ChatMemberOwner$Companion { @@ -2384,7 +2448,7 @@ public final class me/alllex/tbot/api/model/ChatMemberRestricted : me/alllex/tbo public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/ChatMemberRestricted$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/ChatMemberRestricted$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/ChatMemberRestricted$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -2392,6 +2456,7 @@ public synthetic class me/alllex/tbot/api/model/ChatMemberRestricted$$serializer public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/ChatMemberRestricted;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/ChatMemberRestricted$Companion { @@ -2413,7 +2478,7 @@ public final class me/alllex/tbot/api/model/ChatMemberUpdate : me/alllex/tbot/ap public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/ChatMemberUpdate$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/ChatMemberUpdate$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/ChatMemberUpdate$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -2421,6 +2486,7 @@ public synthetic class me/alllex/tbot/api/model/ChatMemberUpdate$$serializer : k public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/ChatMemberUpdate;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/ChatMemberUpdate$Companion { @@ -2454,7 +2520,7 @@ public final class me/alllex/tbot/api/model/ChatMemberUpdated { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/ChatMemberUpdated$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/ChatMemberUpdated$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/ChatMemberUpdated$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -2462,6 +2528,7 @@ public synthetic class me/alllex/tbot/api/model/ChatMemberUpdated$$serializer : public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/ChatMemberUpdated;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/ChatMemberUpdated$Companion { @@ -2508,7 +2575,7 @@ public final class me/alllex/tbot/api/model/ChatPermissions { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/ChatPermissions$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/ChatPermissions$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/ChatPermissions$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -2516,6 +2583,7 @@ public synthetic class me/alllex/tbot/api/model/ChatPermissions$$serializer : ko public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/ChatPermissions;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/ChatPermissions$Companion { @@ -2540,7 +2608,7 @@ public final class me/alllex/tbot/api/model/ChatPhoto { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/ChatPhoto$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/ChatPhoto$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/ChatPhoto$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -2548,6 +2616,7 @@ public synthetic class me/alllex/tbot/api/model/ChatPhoto$$serializer : kotlinx/ public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/ChatPhoto;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/ChatPhoto$Companion { @@ -2575,7 +2644,7 @@ public final class me/alllex/tbot/api/model/ChatShared { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/ChatShared$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/ChatShared$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/ChatShared$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -2583,6 +2652,7 @@ public synthetic class me/alllex/tbot/api/model/ChatShared$$serializer : kotlinx public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/ChatShared;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/ChatShared$Companion { @@ -2610,7 +2680,7 @@ public final class me/alllex/tbot/api/model/ChosenInlineResult { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/ChosenInlineResult$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/ChosenInlineResult$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/ChosenInlineResult$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -2618,6 +2688,7 @@ public synthetic class me/alllex/tbot/api/model/ChosenInlineResult$$serializer : public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/ChosenInlineResult;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/ChosenInlineResult$Companion { @@ -2639,7 +2710,7 @@ public final class me/alllex/tbot/api/model/ChosenInlineResultUpdate : me/alllex public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/ChosenInlineResultUpdate$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/ChosenInlineResultUpdate$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/ChosenInlineResultUpdate$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -2647,6 +2718,7 @@ public synthetic class me/alllex/tbot/api/model/ChosenInlineResultUpdate$$serial public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/ChosenInlineResultUpdate;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/ChosenInlineResultUpdate$Companion { @@ -2667,7 +2739,7 @@ public final class me/alllex/tbot/api/model/CloseForumTopicRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/CloseForumTopicRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/CloseForumTopicRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/CloseForumTopicRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -2675,6 +2747,7 @@ public synthetic class me/alllex/tbot/api/model/CloseForumTopicRequest$$serializ public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/CloseForumTopicRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/CloseForumTopicRequest$Companion { @@ -2693,7 +2766,7 @@ public final class me/alllex/tbot/api/model/CloseGeneralForumTopicRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/CloseGeneralForumTopicRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/CloseGeneralForumTopicRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/CloseGeneralForumTopicRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -2701,6 +2774,7 @@ public synthetic class me/alllex/tbot/api/model/CloseGeneralForumTopicRequest$$s public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/CloseGeneralForumTopicRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/CloseGeneralForumTopicRequest$Companion { @@ -2728,7 +2802,7 @@ public final class me/alllex/tbot/api/model/Contact { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/Contact$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/Contact$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/Contact$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -2736,6 +2810,7 @@ public synthetic class me/alllex/tbot/api/model/Contact$$serializer : kotlinx/se public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/Contact;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/Contact$Companion { @@ -2756,7 +2831,7 @@ public final class me/alllex/tbot/api/model/ConvertGiftToStarsRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/ConvertGiftToStarsRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/ConvertGiftToStarsRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/ConvertGiftToStarsRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -2764,6 +2839,7 @@ public synthetic class me/alllex/tbot/api/model/ConvertGiftToStarsRequest$$seria public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/ConvertGiftToStarsRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/ConvertGiftToStarsRequest$Companion { @@ -2809,7 +2885,7 @@ public final class me/alllex/tbot/api/model/CopyMessageRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/CopyMessageRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/CopyMessageRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/CopyMessageRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -2817,6 +2893,7 @@ public synthetic class me/alllex/tbot/api/model/CopyMessageRequest$$serializer : public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/CopyMessageRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/CopyMessageRequest$Companion { @@ -2848,7 +2925,7 @@ public final class me/alllex/tbot/api/model/CopyMessagesRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/CopyMessagesRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/CopyMessagesRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/CopyMessagesRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -2856,6 +2933,7 @@ public synthetic class me/alllex/tbot/api/model/CopyMessagesRequest$$serializer public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/CopyMessagesRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/CopyMessagesRequest$Companion { @@ -2874,7 +2952,7 @@ public final class me/alllex/tbot/api/model/CopyTextButton { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/CopyTextButton$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/CopyTextButton$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/CopyTextButton$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -2882,6 +2960,7 @@ public synthetic class me/alllex/tbot/api/model/CopyTextButton$$serializer : kot public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/CopyTextButton;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/CopyTextButton$Companion { @@ -2909,7 +2988,7 @@ public final class me/alllex/tbot/api/model/CreateChatInviteLinkRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/CreateChatInviteLinkRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/CreateChatInviteLinkRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/CreateChatInviteLinkRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -2917,6 +2996,7 @@ public synthetic class me/alllex/tbot/api/model/CreateChatInviteLinkRequest$$ser public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/CreateChatInviteLinkRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/CreateChatInviteLinkRequest$Companion { @@ -2942,7 +3022,7 @@ public final class me/alllex/tbot/api/model/CreateChatSubscriptionInviteLinkRequ public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/CreateChatSubscriptionInviteLinkRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/CreateChatSubscriptionInviteLinkRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/CreateChatSubscriptionInviteLinkRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -2950,6 +3030,7 @@ public synthetic class me/alllex/tbot/api/model/CreateChatSubscriptionInviteLink public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/CreateChatSubscriptionInviteLinkRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/CreateChatSubscriptionInviteLinkRequest$Companion { @@ -2975,7 +3056,7 @@ public final class me/alllex/tbot/api/model/CreateForumTopicRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/CreateForumTopicRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/CreateForumTopicRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/CreateForumTopicRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -2983,6 +3064,7 @@ public synthetic class me/alllex/tbot/api/model/CreateForumTopicRequest$$seriali public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/CreateForumTopicRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/CreateForumTopicRequest$Companion { @@ -3044,7 +3126,7 @@ public final class me/alllex/tbot/api/model/CreateInvoiceLinkRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/CreateInvoiceLinkRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/CreateInvoiceLinkRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/CreateInvoiceLinkRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -3052,6 +3134,7 @@ public synthetic class me/alllex/tbot/api/model/CreateInvoiceLinkRequest$$serial public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/CreateInvoiceLinkRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/CreateInvoiceLinkRequest$Companion { @@ -3081,7 +3164,7 @@ public final class me/alllex/tbot/api/model/CreateNewStickerSetRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/CreateNewStickerSetRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/CreateNewStickerSetRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/CreateNewStickerSetRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -3089,6 +3172,7 @@ public synthetic class me/alllex/tbot/api/model/CreateNewStickerSetRequest$$seri public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/CreateNewStickerSetRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/CreateNewStickerSetRequest$Companion { @@ -3110,7 +3194,7 @@ public final class me/alllex/tbot/api/model/CustomEmojiId { public final synthetic fun unbox-impl ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/CustomEmojiId$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/CustomEmojiId$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/CustomEmojiId$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -3118,6 +3202,7 @@ public synthetic class me/alllex/tbot/api/model/CustomEmojiId$$serializer : kotl public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize-vrGW0_8 (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/String;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/CustomEmojiId$Companion { @@ -3144,7 +3229,7 @@ public final class me/alllex/tbot/api/model/DeclineChatJoinRequestRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/DeclineChatJoinRequestRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/DeclineChatJoinRequestRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/DeclineChatJoinRequestRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -3152,6 +3237,7 @@ public synthetic class me/alllex/tbot/api/model/DeclineChatJoinRequestRequest$$s public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/DeclineChatJoinRequestRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/DeclineChatJoinRequestRequest$Companion { @@ -3172,7 +3258,7 @@ public final class me/alllex/tbot/api/model/DeleteBusinessMessagesRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/DeleteBusinessMessagesRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/DeleteBusinessMessagesRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/DeleteBusinessMessagesRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -3180,6 +3266,7 @@ public synthetic class me/alllex/tbot/api/model/DeleteBusinessMessagesRequest$$s public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/DeleteBusinessMessagesRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/DeleteBusinessMessagesRequest$Companion { @@ -3198,7 +3285,7 @@ public final class me/alllex/tbot/api/model/DeleteChatPhotoRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/DeleteChatPhotoRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/DeleteChatPhotoRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/DeleteChatPhotoRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -3206,6 +3293,7 @@ public synthetic class me/alllex/tbot/api/model/DeleteChatPhotoRequest$$serializ public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/DeleteChatPhotoRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/DeleteChatPhotoRequest$Companion { @@ -3224,7 +3312,7 @@ public final class me/alllex/tbot/api/model/DeleteChatStickerSetRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/DeleteChatStickerSetRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/DeleteChatStickerSetRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/DeleteChatStickerSetRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -3232,6 +3320,7 @@ public synthetic class me/alllex/tbot/api/model/DeleteChatStickerSetRequest$$ser public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/DeleteChatStickerSetRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/DeleteChatStickerSetRequest$Companion { @@ -3252,7 +3341,7 @@ public final class me/alllex/tbot/api/model/DeleteForumTopicRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/DeleteForumTopicRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/DeleteForumTopicRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/DeleteForumTopicRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -3260,6 +3349,7 @@ public synthetic class me/alllex/tbot/api/model/DeleteForumTopicRequest$$seriali public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/DeleteForumTopicRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/DeleteForumTopicRequest$Companion { @@ -3280,7 +3370,7 @@ public final class me/alllex/tbot/api/model/DeleteMessageRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/DeleteMessageRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/DeleteMessageRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/DeleteMessageRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -3288,6 +3378,7 @@ public synthetic class me/alllex/tbot/api/model/DeleteMessageRequest$$serializer public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/DeleteMessageRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/DeleteMessageRequest$Companion { @@ -3308,7 +3399,7 @@ public final class me/alllex/tbot/api/model/DeleteMessagesRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/DeleteMessagesRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/DeleteMessagesRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/DeleteMessagesRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -3316,6 +3407,7 @@ public synthetic class me/alllex/tbot/api/model/DeleteMessagesRequest$$serialize public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/DeleteMessagesRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/DeleteMessagesRequest$Companion { @@ -3338,7 +3430,7 @@ public final class me/alllex/tbot/api/model/DeleteMyCommandsRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/DeleteMyCommandsRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/DeleteMyCommandsRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/DeleteMyCommandsRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -3346,6 +3438,7 @@ public synthetic class me/alllex/tbot/api/model/DeleteMyCommandsRequest$$seriali public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/DeleteMyCommandsRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/DeleteMyCommandsRequest$Companion { @@ -3364,7 +3457,7 @@ public final class me/alllex/tbot/api/model/DeleteStickerFromSetRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/DeleteStickerFromSetRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/DeleteStickerFromSetRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/DeleteStickerFromSetRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -3372,6 +3465,7 @@ public synthetic class me/alllex/tbot/api/model/DeleteStickerFromSetRequest$$ser public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/DeleteStickerFromSetRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/DeleteStickerFromSetRequest$Companion { @@ -3390,7 +3484,7 @@ public final class me/alllex/tbot/api/model/DeleteStickerSetRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/DeleteStickerSetRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/DeleteStickerSetRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/DeleteStickerSetRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -3398,6 +3492,7 @@ public synthetic class me/alllex/tbot/api/model/DeleteStickerSetRequest$$seriali public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/DeleteStickerSetRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/DeleteStickerSetRequest$Companion { @@ -3418,7 +3513,7 @@ public final class me/alllex/tbot/api/model/DeleteStoryRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/DeleteStoryRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/DeleteStoryRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/DeleteStoryRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -3426,6 +3521,7 @@ public synthetic class me/alllex/tbot/api/model/DeleteStoryRequest$$serializer : public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/DeleteStoryRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/DeleteStoryRequest$Companion { @@ -3446,7 +3542,7 @@ public final class me/alllex/tbot/api/model/DeleteWebhookRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/DeleteWebhookRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/DeleteWebhookRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/DeleteWebhookRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -3454,6 +3550,7 @@ public synthetic class me/alllex/tbot/api/model/DeleteWebhookRequest$$serializer public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/DeleteWebhookRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/DeleteWebhookRequest$Companion { @@ -3475,7 +3572,7 @@ public final class me/alllex/tbot/api/model/DeletedBusinessMessagesUpdate : me/a public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/DeletedBusinessMessagesUpdate$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/DeletedBusinessMessagesUpdate$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/DeletedBusinessMessagesUpdate$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -3483,6 +3580,7 @@ public synthetic class me/alllex/tbot/api/model/DeletedBusinessMessagesUpdate$$s public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/DeletedBusinessMessagesUpdate;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/DeletedBusinessMessagesUpdate$Companion { @@ -3503,7 +3601,7 @@ public final class me/alllex/tbot/api/model/Dice { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/Dice$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/Dice$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/Dice$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -3511,6 +3609,7 @@ public synthetic class me/alllex/tbot/api/model/Dice$$serializer : kotlinx/seria public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/Dice;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/Dice$Companion { @@ -3540,7 +3639,7 @@ public final class me/alllex/tbot/api/model/Document { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/Document$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/Document$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/Document$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -3548,6 +3647,7 @@ public synthetic class me/alllex/tbot/api/model/Document$$serializer : kotlinx/s public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/Document;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/Document$Companion { @@ -3577,7 +3677,7 @@ public final class me/alllex/tbot/api/model/EditChatInviteLinkRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/EditChatInviteLinkRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/EditChatInviteLinkRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/EditChatInviteLinkRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -3585,6 +3685,7 @@ public synthetic class me/alllex/tbot/api/model/EditChatInviteLinkRequest$$seria public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/EditChatInviteLinkRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/EditChatInviteLinkRequest$Companion { @@ -3608,7 +3709,7 @@ public final class me/alllex/tbot/api/model/EditChatSubscriptionInviteLinkReques public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/EditChatSubscriptionInviteLinkRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/EditChatSubscriptionInviteLinkRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/EditChatSubscriptionInviteLinkRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -3616,6 +3717,7 @@ public synthetic class me/alllex/tbot/api/model/EditChatSubscriptionInviteLinkRe public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/EditChatSubscriptionInviteLinkRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/EditChatSubscriptionInviteLinkRequest$Companion { @@ -3641,7 +3743,7 @@ public final class me/alllex/tbot/api/model/EditForumTopicRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/EditForumTopicRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/EditForumTopicRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/EditForumTopicRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -3649,6 +3751,7 @@ public synthetic class me/alllex/tbot/api/model/EditForumTopicRequest$$serialize public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/EditForumTopicRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/EditForumTopicRequest$Companion { @@ -3669,7 +3772,7 @@ public final class me/alllex/tbot/api/model/EditGeneralForumTopicRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/EditGeneralForumTopicRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/EditGeneralForumTopicRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/EditGeneralForumTopicRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -3677,6 +3780,7 @@ public synthetic class me/alllex/tbot/api/model/EditGeneralForumTopicRequest$$se public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/EditGeneralForumTopicRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/EditGeneralForumTopicRequest$Companion { @@ -3712,7 +3816,7 @@ public final class me/alllex/tbot/api/model/EditMessageCaptionRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/EditMessageCaptionRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/EditMessageCaptionRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/EditMessageCaptionRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -3720,6 +3824,7 @@ public synthetic class me/alllex/tbot/api/model/EditMessageCaptionRequest$$seria public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/EditMessageCaptionRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/EditMessageCaptionRequest$Companion { @@ -3759,7 +3864,7 @@ public final class me/alllex/tbot/api/model/EditMessageLiveLocationRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/EditMessageLiveLocationRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/EditMessageLiveLocationRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/EditMessageLiveLocationRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -3767,6 +3872,7 @@ public synthetic class me/alllex/tbot/api/model/EditMessageLiveLocationRequest$$ public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/EditMessageLiveLocationRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/EditMessageLiveLocationRequest$Companion { @@ -3796,7 +3902,7 @@ public final class me/alllex/tbot/api/model/EditMessageMediaRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/EditMessageMediaRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/EditMessageMediaRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/EditMessageMediaRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -3804,6 +3910,7 @@ public synthetic class me/alllex/tbot/api/model/EditMessageMediaRequest$$seriali public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/EditMessageMediaRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/EditMessageMediaRequest$Companion { @@ -3831,7 +3938,7 @@ public final class me/alllex/tbot/api/model/EditMessageReplyMarkupRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/EditMessageReplyMarkupRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/EditMessageReplyMarkupRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/EditMessageReplyMarkupRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -3839,6 +3946,7 @@ public synthetic class me/alllex/tbot/api/model/EditMessageReplyMarkupRequest$$s public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/EditMessageReplyMarkupRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/EditMessageReplyMarkupRequest$Companion { @@ -3874,7 +3982,7 @@ public final class me/alllex/tbot/api/model/EditMessageTextRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/EditMessageTextRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/EditMessageTextRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/EditMessageTextRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -3882,6 +3990,7 @@ public synthetic class me/alllex/tbot/api/model/EditMessageTextRequest$$serializ public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/EditMessageTextRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/EditMessageTextRequest$Companion { @@ -3913,7 +4022,7 @@ public final class me/alllex/tbot/api/model/EditStoryRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/EditStoryRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/EditStoryRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/EditStoryRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -3921,6 +4030,7 @@ public synthetic class me/alllex/tbot/api/model/EditStoryRequest$$serializer : k public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/EditStoryRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/EditStoryRequest$Companion { @@ -3943,7 +4053,7 @@ public final class me/alllex/tbot/api/model/EditUserStarSubscriptionRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/EditUserStarSubscriptionRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/EditUserStarSubscriptionRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/EditUserStarSubscriptionRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -3951,6 +4061,7 @@ public synthetic class me/alllex/tbot/api/model/EditUserStarSubscriptionRequest$ public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/EditUserStarSubscriptionRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/EditUserStarSubscriptionRequest$Companion { @@ -3972,7 +4083,7 @@ public final class me/alllex/tbot/api/model/EditedBusinessMessageUpdate : me/all public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/EditedBusinessMessageUpdate$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/EditedBusinessMessageUpdate$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/EditedBusinessMessageUpdate$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -3980,6 +4091,7 @@ public synthetic class me/alllex/tbot/api/model/EditedBusinessMessageUpdate$$ser public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/EditedBusinessMessageUpdate;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/EditedBusinessMessageUpdate$Companion { @@ -4001,7 +4113,7 @@ public final class me/alllex/tbot/api/model/EditedChannelPostUpdate : me/alllex/ public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/EditedChannelPostUpdate$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/EditedChannelPostUpdate$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/EditedChannelPostUpdate$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -4009,6 +4121,7 @@ public synthetic class me/alllex/tbot/api/model/EditedChannelPostUpdate$$seriali public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/EditedChannelPostUpdate;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/EditedChannelPostUpdate$Companion { @@ -4030,7 +4143,7 @@ public final class me/alllex/tbot/api/model/EditedMessageUpdate : me/alllex/tbot public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/EditedMessageUpdate$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/EditedMessageUpdate$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/EditedMessageUpdate$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -4038,6 +4151,7 @@ public synthetic class me/alllex/tbot/api/model/EditedMessageUpdate$$serializer public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/EditedMessageUpdate;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/EditedMessageUpdate$Companion { @@ -4060,7 +4174,7 @@ public final class me/alllex/tbot/api/model/EncryptedCredentials { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/EncryptedCredentials$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/EncryptedCredentials$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/EncryptedCredentials$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -4068,6 +4182,7 @@ public synthetic class me/alllex/tbot/api/model/EncryptedCredentials$$serializer public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/EncryptedCredentials;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/EncryptedCredentials$Companion { @@ -4105,7 +4220,7 @@ public final class me/alllex/tbot/api/model/EncryptedPassportElement { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/EncryptedPassportElement$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/EncryptedPassportElement$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/EncryptedPassportElement$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -4113,6 +4228,7 @@ public synthetic class me/alllex/tbot/api/model/EncryptedPassportElement$$serial public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/EncryptedPassportElement;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/EncryptedPassportElement$Companion { @@ -4131,7 +4247,7 @@ public final class me/alllex/tbot/api/model/ExportChatInviteLinkRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/ExportChatInviteLinkRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/ExportChatInviteLinkRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/ExportChatInviteLinkRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -4139,6 +4255,7 @@ public synthetic class me/alllex/tbot/api/model/ExportChatInviteLinkRequest$$ser public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/ExportChatInviteLinkRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/ExportChatInviteLinkRequest$Companion { @@ -4204,7 +4321,7 @@ public final class me/alllex/tbot/api/model/ExternalReplyInfo { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/ExternalReplyInfo$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/ExternalReplyInfo$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/ExternalReplyInfo$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -4212,6 +4329,7 @@ public synthetic class me/alllex/tbot/api/model/ExternalReplyInfo$$serializer : public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/ExternalReplyInfo;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/ExternalReplyInfo$Companion { @@ -4237,7 +4355,7 @@ public final class me/alllex/tbot/api/model/File { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/File$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/File$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/File$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -4245,6 +4363,7 @@ public synthetic class me/alllex/tbot/api/model/File$$serializer : kotlinx/seria public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/File;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/File$Companion { @@ -4266,7 +4385,7 @@ public final class me/alllex/tbot/api/model/FileId { public final synthetic fun unbox-impl ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/FileId$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/FileId$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/FileId$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -4274,6 +4393,7 @@ public synthetic class me/alllex/tbot/api/model/FileId$$serializer : kotlinx/ser public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize-SpBhThw (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/String;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/FileId$Companion { @@ -4295,7 +4415,7 @@ public final class me/alllex/tbot/api/model/FileUniqueId { public final synthetic fun unbox-impl ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/FileUniqueId$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/FileUniqueId$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/FileUniqueId$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -4303,6 +4423,7 @@ public synthetic class me/alllex/tbot/api/model/FileUniqueId$$serializer : kotli public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize-R5QhZ6Q (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/String;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/FileUniqueId$Companion { @@ -4326,7 +4447,7 @@ public final class me/alllex/tbot/api/model/ForceReply : me/alllex/tbot/api/mode public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/ForceReply$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/ForceReply$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/ForceReply$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -4334,6 +4455,7 @@ public synthetic class me/alllex/tbot/api/model/ForceReply$$serializer : kotlinx public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/ForceReply;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/ForceReply$Companion { @@ -4359,7 +4481,7 @@ public final class me/alllex/tbot/api/model/ForumTopic { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/ForumTopic$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/ForumTopic$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/ForumTopic$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -4367,6 +4489,7 @@ public synthetic class me/alllex/tbot/api/model/ForumTopic$$serializer : kotlinx public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/ForumTopic;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/ForumTopic$Companion { @@ -4398,7 +4521,7 @@ public final class me/alllex/tbot/api/model/ForumTopicCreated { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/ForumTopicCreated$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/ForumTopicCreated$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/ForumTopicCreated$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -4406,6 +4529,7 @@ public synthetic class me/alllex/tbot/api/model/ForumTopicCreated$$serializer : public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/ForumTopicCreated;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/ForumTopicCreated$Companion { @@ -4427,7 +4551,7 @@ public final class me/alllex/tbot/api/model/ForumTopicEdited { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/ForumTopicEdited$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/ForumTopicEdited$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/ForumTopicEdited$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -4435,6 +4559,7 @@ public synthetic class me/alllex/tbot/api/model/ForumTopicEdited$$serializer : k public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/ForumTopicEdited;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/ForumTopicEdited$Companion { @@ -4474,7 +4599,7 @@ public final class me/alllex/tbot/api/model/ForwardMessageRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/ForwardMessageRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/ForwardMessageRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/ForwardMessageRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -4482,6 +4607,7 @@ public synthetic class me/alllex/tbot/api/model/ForwardMessageRequest$$serialize public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/ForwardMessageRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/ForwardMessageRequest$Companion { @@ -4511,7 +4637,7 @@ public final class me/alllex/tbot/api/model/ForwardMessagesRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/ForwardMessagesRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/ForwardMessagesRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/ForwardMessagesRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -4519,6 +4645,7 @@ public synthetic class me/alllex/tbot/api/model/ForwardMessagesRequest$$serializ public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/ForwardMessagesRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/ForwardMessagesRequest$Companion { @@ -4548,7 +4675,7 @@ public final class me/alllex/tbot/api/model/Game { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/Game$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/Game$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/Game$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -4556,6 +4683,7 @@ public synthetic class me/alllex/tbot/api/model/Game$$serializer : kotlinx/seria public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/Game;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/Game$Companion { @@ -4578,7 +4706,7 @@ public final class me/alllex/tbot/api/model/GameHighScore { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/GameHighScore$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/GameHighScore$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/GameHighScore$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -4586,6 +4714,7 @@ public synthetic class me/alllex/tbot/api/model/GameHighScore$$serializer : kotl public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/GameHighScore;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/GameHighScore$Companion { @@ -4637,7 +4766,7 @@ public final class me/alllex/tbot/api/model/GetBusinessAccountGiftsRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/GetBusinessAccountGiftsRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/GetBusinessAccountGiftsRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/GetBusinessAccountGiftsRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -4645,6 +4774,7 @@ public synthetic class me/alllex/tbot/api/model/GetBusinessAccountGiftsRequest$$ public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/GetBusinessAccountGiftsRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/GetBusinessAccountGiftsRequest$Companion { @@ -4663,7 +4793,7 @@ public final class me/alllex/tbot/api/model/GetBusinessAccountStarBalanceRequest public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/GetBusinessAccountStarBalanceRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/GetBusinessAccountStarBalanceRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/GetBusinessAccountStarBalanceRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -4671,6 +4801,7 @@ public synthetic class me/alllex/tbot/api/model/GetBusinessAccountStarBalanceReq public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/GetBusinessAccountStarBalanceRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/GetBusinessAccountStarBalanceRequest$Companion { @@ -4689,7 +4820,7 @@ public final class me/alllex/tbot/api/model/GetBusinessConnectionRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/GetBusinessConnectionRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/GetBusinessConnectionRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/GetBusinessConnectionRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -4697,6 +4828,7 @@ public synthetic class me/alllex/tbot/api/model/GetBusinessConnectionRequest$$se public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/GetBusinessConnectionRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/GetBusinessConnectionRequest$Companion { @@ -4715,7 +4847,7 @@ public final class me/alllex/tbot/api/model/GetChatAdministratorsRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/GetChatAdministratorsRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/GetChatAdministratorsRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/GetChatAdministratorsRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -4723,6 +4855,7 @@ public synthetic class me/alllex/tbot/api/model/GetChatAdministratorsRequest$$se public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/GetChatAdministratorsRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/GetChatAdministratorsRequest$Companion { @@ -4741,7 +4874,7 @@ public final class me/alllex/tbot/api/model/GetChatMemberCountRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/GetChatMemberCountRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/GetChatMemberCountRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/GetChatMemberCountRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -4749,6 +4882,7 @@ public synthetic class me/alllex/tbot/api/model/GetChatMemberCountRequest$$seria public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/GetChatMemberCountRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/GetChatMemberCountRequest$Companion { @@ -4769,7 +4903,7 @@ public final class me/alllex/tbot/api/model/GetChatMemberRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/GetChatMemberRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/GetChatMemberRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/GetChatMemberRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -4777,6 +4911,7 @@ public synthetic class me/alllex/tbot/api/model/GetChatMemberRequest$$serializer public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/GetChatMemberRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/GetChatMemberRequest$Companion { @@ -4796,7 +4931,7 @@ public final class me/alllex/tbot/api/model/GetChatMenuButtonRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/GetChatMenuButtonRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/GetChatMenuButtonRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/GetChatMenuButtonRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -4804,6 +4939,7 @@ public synthetic class me/alllex/tbot/api/model/GetChatMenuButtonRequest$$serial public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/GetChatMenuButtonRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/GetChatMenuButtonRequest$Companion { @@ -4822,7 +4958,7 @@ public final class me/alllex/tbot/api/model/GetChatRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/GetChatRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/GetChatRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/GetChatRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -4830,6 +4966,7 @@ public synthetic class me/alllex/tbot/api/model/GetChatRequest$$serializer : kot public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/GetChatRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/GetChatRequest$Companion { @@ -4848,7 +4985,7 @@ public final class me/alllex/tbot/api/model/GetCustomEmojiStickersRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/GetCustomEmojiStickersRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/GetCustomEmojiStickersRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/GetCustomEmojiStickersRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -4856,6 +4993,7 @@ public synthetic class me/alllex/tbot/api/model/GetCustomEmojiStickersRequest$$s public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/GetCustomEmojiStickersRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/GetCustomEmojiStickersRequest$Companion { @@ -4874,7 +5012,7 @@ public final class me/alllex/tbot/api/model/GetFileRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/GetFileRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/GetFileRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/GetFileRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -4882,6 +5020,7 @@ public synthetic class me/alllex/tbot/api/model/GetFileRequest$$serializer : kot public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/GetFileRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/GetFileRequest$Companion { @@ -4907,7 +5046,7 @@ public final class me/alllex/tbot/api/model/GetGameHighScoresRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/GetGameHighScoresRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/GetGameHighScoresRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/GetGameHighScoresRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -4915,6 +5054,7 @@ public synthetic class me/alllex/tbot/api/model/GetGameHighScoresRequest$$serial public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/GetGameHighScoresRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/GetGameHighScoresRequest$Companion { @@ -4937,7 +5077,7 @@ public final class me/alllex/tbot/api/model/GetMyCommandsRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/GetMyCommandsRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/GetMyCommandsRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/GetMyCommandsRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -4945,6 +5085,7 @@ public synthetic class me/alllex/tbot/api/model/GetMyCommandsRequest$$serializer public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/GetMyCommandsRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/GetMyCommandsRequest$Companion { @@ -4965,7 +5106,7 @@ public final class me/alllex/tbot/api/model/GetMyDefaultAdministratorRightsReque public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/GetMyDefaultAdministratorRightsRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/GetMyDefaultAdministratorRightsRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/GetMyDefaultAdministratorRightsRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -4973,6 +5114,7 @@ public synthetic class me/alllex/tbot/api/model/GetMyDefaultAdministratorRightsR public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/GetMyDefaultAdministratorRightsRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/GetMyDefaultAdministratorRightsRequest$Companion { @@ -4993,7 +5135,7 @@ public final class me/alllex/tbot/api/model/GetMyDescriptionRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/GetMyDescriptionRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/GetMyDescriptionRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/GetMyDescriptionRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -5001,6 +5143,7 @@ public synthetic class me/alllex/tbot/api/model/GetMyDescriptionRequest$$seriali public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/GetMyDescriptionRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/GetMyDescriptionRequest$Companion { @@ -5021,7 +5164,7 @@ public final class me/alllex/tbot/api/model/GetMyNameRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/GetMyNameRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/GetMyNameRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/GetMyNameRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -5029,6 +5172,7 @@ public synthetic class me/alllex/tbot/api/model/GetMyNameRequest$$serializer : k public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/GetMyNameRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/GetMyNameRequest$Companion { @@ -5049,7 +5193,7 @@ public final class me/alllex/tbot/api/model/GetMyShortDescriptionRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/GetMyShortDescriptionRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/GetMyShortDescriptionRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/GetMyShortDescriptionRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -5057,6 +5201,7 @@ public synthetic class me/alllex/tbot/api/model/GetMyShortDescriptionRequest$$se public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/GetMyShortDescriptionRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/GetMyShortDescriptionRequest$Companion { @@ -5079,7 +5224,7 @@ public final class me/alllex/tbot/api/model/GetStarTransactionsRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/GetStarTransactionsRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/GetStarTransactionsRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/GetStarTransactionsRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -5087,6 +5232,7 @@ public synthetic class me/alllex/tbot/api/model/GetStarTransactionsRequest$$seri public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/GetStarTransactionsRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/GetStarTransactionsRequest$Companion { @@ -5105,7 +5251,7 @@ public final class me/alllex/tbot/api/model/GetStickerSetRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/GetStickerSetRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/GetStickerSetRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/GetStickerSetRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -5113,6 +5259,7 @@ public synthetic class me/alllex/tbot/api/model/GetStickerSetRequest$$serializer public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/GetStickerSetRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/GetStickerSetRequest$Companion { @@ -5138,7 +5285,7 @@ public final class me/alllex/tbot/api/model/GetUpdatesRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/GetUpdatesRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/GetUpdatesRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/GetUpdatesRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -5146,6 +5293,7 @@ public synthetic class me/alllex/tbot/api/model/GetUpdatesRequest$$serializer : public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/GetUpdatesRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/GetUpdatesRequest$Companion { @@ -5166,7 +5314,7 @@ public final class me/alllex/tbot/api/model/GetUserChatBoostsRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/GetUserChatBoostsRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/GetUserChatBoostsRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/GetUserChatBoostsRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -5174,6 +5322,7 @@ public synthetic class me/alllex/tbot/api/model/GetUserChatBoostsRequest$$serial public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/GetUserChatBoostsRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/GetUserChatBoostsRequest$Companion { @@ -5197,7 +5346,7 @@ public final class me/alllex/tbot/api/model/GetUserProfilePhotosRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/GetUserProfilePhotosRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/GetUserProfilePhotosRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/GetUserProfilePhotosRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -5205,6 +5354,7 @@ public synthetic class me/alllex/tbot/api/model/GetUserProfilePhotosRequest$$ser public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/GetUserProfilePhotosRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/GetUserProfilePhotosRequest$Companion { @@ -5234,7 +5384,7 @@ public final class me/alllex/tbot/api/model/Gift { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/Gift$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/Gift$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/Gift$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -5242,6 +5392,7 @@ public synthetic class me/alllex/tbot/api/model/Gift$$serializer : kotlinx/seria public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/Gift;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/Gift$Companion { @@ -5275,7 +5426,7 @@ public final class me/alllex/tbot/api/model/GiftInfo { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/GiftInfo$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/GiftInfo$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/GiftInfo$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -5283,6 +5434,7 @@ public synthetic class me/alllex/tbot/api/model/GiftInfo$$serializer : kotlinx/s public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/GiftInfo;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/GiftInfo$Companion { @@ -5312,7 +5464,7 @@ public final class me/alllex/tbot/api/model/GiftPremiumSubscriptionRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/GiftPremiumSubscriptionRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/GiftPremiumSubscriptionRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/GiftPremiumSubscriptionRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -5320,6 +5472,7 @@ public synthetic class me/alllex/tbot/api/model/GiftPremiumSubscriptionRequest$$ public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/GiftPremiumSubscriptionRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/GiftPremiumSubscriptionRequest$Companion { @@ -5338,7 +5491,7 @@ public final class me/alllex/tbot/api/model/Gifts { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/Gifts$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/Gifts$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/Gifts$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -5346,6 +5499,7 @@ public synthetic class me/alllex/tbot/api/model/Gifts$$serializer : kotlinx/seri public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/Gifts;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/Gifts$Companion { @@ -5381,7 +5535,7 @@ public final class me/alllex/tbot/api/model/Giveaway { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/Giveaway$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/Giveaway$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/Giveaway$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -5389,6 +5543,7 @@ public synthetic class me/alllex/tbot/api/model/Giveaway$$serializer : kotlinx/s public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/Giveaway;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/Giveaway$Companion { @@ -5414,7 +5569,7 @@ public final class me/alllex/tbot/api/model/GiveawayCompleted { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/GiveawayCompleted$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/GiveawayCompleted$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/GiveawayCompleted$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -5422,6 +5577,7 @@ public synthetic class me/alllex/tbot/api/model/GiveawayCompleted$$serializer : public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/GiveawayCompleted;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/GiveawayCompleted$Companion { @@ -5442,7 +5598,7 @@ public final class me/alllex/tbot/api/model/GiveawayCreated { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/GiveawayCreated$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/GiveawayCreated$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/GiveawayCreated$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -5450,6 +5606,7 @@ public synthetic class me/alllex/tbot/api/model/GiveawayCreated$$serializer : ko public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/GiveawayCreated;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/GiveawayCreated$Companion { @@ -5491,7 +5648,7 @@ public final class me/alllex/tbot/api/model/GiveawayWinners { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/GiveawayWinners$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/GiveawayWinners$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/GiveawayWinners$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -5499,6 +5656,7 @@ public synthetic class me/alllex/tbot/api/model/GiveawayWinners$$serializer : ko public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/GiveawayWinners;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/GiveawayWinners$Companion { @@ -5532,7 +5690,7 @@ public final class me/alllex/tbot/api/model/HideGeneralForumTopicRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/HideGeneralForumTopicRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/HideGeneralForumTopicRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/HideGeneralForumTopicRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -5540,6 +5698,7 @@ public synthetic class me/alllex/tbot/api/model/HideGeneralForumTopicRequest$$se public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/HideGeneralForumTopicRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/HideGeneralForumTopicRequest$Companion { @@ -5579,7 +5738,7 @@ public final class me/alllex/tbot/api/model/InlineKeyboardButton { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/InlineKeyboardButton$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/InlineKeyboardButton$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/InlineKeyboardButton$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -5587,6 +5746,7 @@ public synthetic class me/alllex/tbot/api/model/InlineKeyboardButton$$serializer public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/InlineKeyboardButton;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/InlineKeyboardButton$Companion { @@ -5605,7 +5765,7 @@ public final class me/alllex/tbot/api/model/InlineKeyboardMarkup : me/alllex/tbo public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/InlineKeyboardMarkup$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/InlineKeyboardMarkup$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/InlineKeyboardMarkup$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -5613,6 +5773,7 @@ public synthetic class me/alllex/tbot/api/model/InlineKeyboardMarkup$$serializer public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/InlineKeyboardMarkup;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/InlineKeyboardMarkup$Companion { @@ -5670,7 +5831,7 @@ public final class me/alllex/tbot/api/model/InlineMessageId { public final synthetic fun unbox-impl ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/InlineMessageId$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/InlineMessageId$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/InlineMessageId$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -5678,6 +5839,7 @@ public synthetic class me/alllex/tbot/api/model/InlineMessageId$$serializer : ko public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize-UD1_Kbk (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/String;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/InlineMessageId$Companion { @@ -5707,7 +5869,7 @@ public final class me/alllex/tbot/api/model/InlineQuery { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/InlineQuery$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/InlineQuery$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/InlineQuery$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -5715,6 +5877,7 @@ public synthetic class me/alllex/tbot/api/model/InlineQuery$$serializer : kotlin public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/InlineQuery;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/InlineQuery$Companion { @@ -5736,7 +5899,7 @@ public final class me/alllex/tbot/api/model/InlineQueryId { public final synthetic fun unbox-impl ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/InlineQueryId$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/InlineQueryId$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/InlineQueryId$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -5744,6 +5907,7 @@ public synthetic class me/alllex/tbot/api/model/InlineQueryId$$serializer : kotl public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize-_oUTE80 (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/String;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/InlineQueryId$Companion { @@ -5787,7 +5951,7 @@ public final class me/alllex/tbot/api/model/InlineQueryResultArticle : me/alllex public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/InlineQueryResultArticle$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/InlineQueryResultArticle$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/InlineQueryResultArticle$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -5795,6 +5959,7 @@ public synthetic class me/alllex/tbot/api/model/InlineQueryResultArticle$$serial public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/InlineQueryResultArticle;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/InlineQueryResultArticle$Companion { @@ -5832,7 +5997,7 @@ public final class me/alllex/tbot/api/model/InlineQueryResultAudio : me/alllex/t public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/InlineQueryResultAudio$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/InlineQueryResultAudio$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/InlineQueryResultAudio$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -5840,6 +6005,7 @@ public synthetic class me/alllex/tbot/api/model/InlineQueryResultAudio$$serializ public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/InlineQueryResultAudio;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/InlineQueryResultAudio$Companion { @@ -5871,7 +6037,7 @@ public final class me/alllex/tbot/api/model/InlineQueryResultCachedAudio : me/al public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/InlineQueryResultCachedAudio$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/InlineQueryResultCachedAudio$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/InlineQueryResultCachedAudio$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -5879,6 +6045,7 @@ public synthetic class me/alllex/tbot/api/model/InlineQueryResultCachedAudio$$se public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/InlineQueryResultCachedAudio;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/InlineQueryResultCachedAudio$Companion { @@ -5914,7 +6081,7 @@ public final class me/alllex/tbot/api/model/InlineQueryResultCachedDocument : me public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/InlineQueryResultCachedDocument$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/InlineQueryResultCachedDocument$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/InlineQueryResultCachedDocument$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -5922,6 +6089,7 @@ public synthetic class me/alllex/tbot/api/model/InlineQueryResultCachedDocument$ public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/InlineQueryResultCachedDocument;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/InlineQueryResultCachedDocument$Companion { @@ -5957,7 +6125,7 @@ public final class me/alllex/tbot/api/model/InlineQueryResultCachedGif : me/alll public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/InlineQueryResultCachedGif$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/InlineQueryResultCachedGif$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/InlineQueryResultCachedGif$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -5965,6 +6133,7 @@ public synthetic class me/alllex/tbot/api/model/InlineQueryResultCachedGif$$seri public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/InlineQueryResultCachedGif;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/InlineQueryResultCachedGif$Companion { @@ -6000,7 +6169,7 @@ public final class me/alllex/tbot/api/model/InlineQueryResultCachedMpeg4Gif : me public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/InlineQueryResultCachedMpeg4Gif$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/InlineQueryResultCachedMpeg4Gif$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/InlineQueryResultCachedMpeg4Gif$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -6008,6 +6177,7 @@ public synthetic class me/alllex/tbot/api/model/InlineQueryResultCachedMpeg4Gif$ public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/InlineQueryResultCachedMpeg4Gif;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/InlineQueryResultCachedMpeg4Gif$Companion { @@ -6045,7 +6215,7 @@ public final class me/alllex/tbot/api/model/InlineQueryResultCachedPhoto : me/al public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/InlineQueryResultCachedPhoto$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/InlineQueryResultCachedPhoto$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/InlineQueryResultCachedPhoto$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -6053,6 +6223,7 @@ public synthetic class me/alllex/tbot/api/model/InlineQueryResultCachedPhoto$$se public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/InlineQueryResultCachedPhoto;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/InlineQueryResultCachedPhoto$Companion { @@ -6078,7 +6249,7 @@ public final class me/alllex/tbot/api/model/InlineQueryResultCachedSticker : me/ public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/InlineQueryResultCachedSticker$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/InlineQueryResultCachedSticker$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/InlineQueryResultCachedSticker$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -6086,6 +6257,7 @@ public synthetic class me/alllex/tbot/api/model/InlineQueryResultCachedSticker$$ public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/InlineQueryResultCachedSticker;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/InlineQueryResultCachedSticker$Companion { @@ -6123,7 +6295,7 @@ public final class me/alllex/tbot/api/model/InlineQueryResultCachedVideo : me/al public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/InlineQueryResultCachedVideo$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/InlineQueryResultCachedVideo$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/InlineQueryResultCachedVideo$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -6131,6 +6303,7 @@ public synthetic class me/alllex/tbot/api/model/InlineQueryResultCachedVideo$$se public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/InlineQueryResultCachedVideo;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/InlineQueryResultCachedVideo$Companion { @@ -6164,7 +6337,7 @@ public final class me/alllex/tbot/api/model/InlineQueryResultCachedVoice : me/al public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/InlineQueryResultCachedVoice$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/InlineQueryResultCachedVoice$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/InlineQueryResultCachedVoice$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -6172,6 +6345,7 @@ public synthetic class me/alllex/tbot/api/model/InlineQueryResultCachedVoice$$se public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/InlineQueryResultCachedVoice;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/InlineQueryResultCachedVoice$Companion { @@ -6209,7 +6383,7 @@ public final class me/alllex/tbot/api/model/InlineQueryResultContact : me/alllex public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/InlineQueryResultContact$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/InlineQueryResultContact$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/InlineQueryResultContact$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -6217,6 +6391,7 @@ public synthetic class me/alllex/tbot/api/model/InlineQueryResultContact$$serial public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/InlineQueryResultContact;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/InlineQueryResultContact$Companion { @@ -6260,7 +6435,7 @@ public final class me/alllex/tbot/api/model/InlineQueryResultDocument : me/allle public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/InlineQueryResultDocument$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/InlineQueryResultDocument$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/InlineQueryResultDocument$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -6268,6 +6443,7 @@ public synthetic class me/alllex/tbot/api/model/InlineQueryResultDocument$$seria public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/InlineQueryResultDocument;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/InlineQueryResultDocument$Companion { @@ -6291,7 +6467,7 @@ public final class me/alllex/tbot/api/model/InlineQueryResultGame : me/alllex/tb public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/InlineQueryResultGame$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/InlineQueryResultGame$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/InlineQueryResultGame$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -6299,6 +6475,7 @@ public synthetic class me/alllex/tbot/api/model/InlineQueryResultGame$$serialize public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/InlineQueryResultGame;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/InlineQueryResultGame$Companion { @@ -6344,7 +6521,7 @@ public final class me/alllex/tbot/api/model/InlineQueryResultGif : me/alllex/tbo public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/InlineQueryResultGif$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/InlineQueryResultGif$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/InlineQueryResultGif$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -6352,6 +6529,7 @@ public synthetic class me/alllex/tbot/api/model/InlineQueryResultGif$$serializer public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/InlineQueryResultGif;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/InlineQueryResultGif$Companion { @@ -6373,7 +6551,7 @@ public final class me/alllex/tbot/api/model/InlineQueryResultId { public final synthetic fun unbox-impl ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/InlineQueryResultId$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/InlineQueryResultId$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/InlineQueryResultId$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -6381,6 +6559,7 @@ public synthetic class me/alllex/tbot/api/model/InlineQueryResultId$$serializer public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize-kGsr-Og (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/String;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/InlineQueryResultId$Companion { @@ -6424,7 +6603,7 @@ public final class me/alllex/tbot/api/model/InlineQueryResultLocation : me/allle public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/InlineQueryResultLocation$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/InlineQueryResultLocation$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/InlineQueryResultLocation$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -6432,6 +6611,7 @@ public synthetic class me/alllex/tbot/api/model/InlineQueryResultLocation$$seria public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/InlineQueryResultLocation;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/InlineQueryResultLocation$Companion { @@ -6477,7 +6657,7 @@ public final class me/alllex/tbot/api/model/InlineQueryResultMpeg4Gif : me/allle public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/InlineQueryResultMpeg4Gif$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/InlineQueryResultMpeg4Gif$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/InlineQueryResultMpeg4Gif$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -6485,6 +6665,7 @@ public synthetic class me/alllex/tbot/api/model/InlineQueryResultMpeg4Gif$$seria public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/InlineQueryResultMpeg4Gif;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/InlineQueryResultMpeg4Gif$Companion { @@ -6528,7 +6709,7 @@ public final class me/alllex/tbot/api/model/InlineQueryResultPhoto : me/alllex/t public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/InlineQueryResultPhoto$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/InlineQueryResultPhoto$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/InlineQueryResultPhoto$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -6536,6 +6717,7 @@ public synthetic class me/alllex/tbot/api/model/InlineQueryResultPhoto$$serializ public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/InlineQueryResultPhoto;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/InlineQueryResultPhoto$Companion { @@ -6581,7 +6763,7 @@ public final class me/alllex/tbot/api/model/InlineQueryResultVenue : me/alllex/t public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/InlineQueryResultVenue$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/InlineQueryResultVenue$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/InlineQueryResultVenue$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -6589,6 +6771,7 @@ public synthetic class me/alllex/tbot/api/model/InlineQueryResultVenue$$serializ public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/InlineQueryResultVenue;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/InlineQueryResultVenue$Companion { @@ -6636,7 +6819,7 @@ public final class me/alllex/tbot/api/model/InlineQueryResultVideo : me/alllex/t public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/InlineQueryResultVideo$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/InlineQueryResultVideo$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/InlineQueryResultVideo$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -6644,6 +6827,7 @@ public synthetic class me/alllex/tbot/api/model/InlineQueryResultVideo$$serializ public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/InlineQueryResultVideo;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/InlineQueryResultVideo$Companion { @@ -6679,7 +6863,7 @@ public final class me/alllex/tbot/api/model/InlineQueryResultVoice : me/alllex/t public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/InlineQueryResultVoice$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/InlineQueryResultVoice$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/InlineQueryResultVoice$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -6687,6 +6871,7 @@ public synthetic class me/alllex/tbot/api/model/InlineQueryResultVoice$$serializ public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/InlineQueryResultVoice;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/InlineQueryResultVoice$Companion { @@ -6710,7 +6895,7 @@ public final class me/alllex/tbot/api/model/InlineQueryResultsButton { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/InlineQueryResultsButton$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/InlineQueryResultsButton$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/InlineQueryResultsButton$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -6718,6 +6903,7 @@ public synthetic class me/alllex/tbot/api/model/InlineQueryResultsButton$$serial public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/InlineQueryResultsButton;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/InlineQueryResultsButton$Companion { @@ -6739,7 +6925,7 @@ public final class me/alllex/tbot/api/model/InlineQueryUpdate : me/alllex/tbot/a public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/InlineQueryUpdate$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/InlineQueryUpdate$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/InlineQueryUpdate$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -6747,6 +6933,7 @@ public synthetic class me/alllex/tbot/api/model/InlineQueryUpdate$$serializer : public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/InlineQueryUpdate;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/InlineQueryUpdate$Companion { @@ -6772,7 +6959,7 @@ public final class me/alllex/tbot/api/model/InputContactMessageContent : me/alll public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/InputContactMessageContent$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/InputContactMessageContent$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/InputContactMessageContent$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -6780,6 +6967,7 @@ public synthetic class me/alllex/tbot/api/model/InputContactMessageContent$$seri public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/InputContactMessageContent;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/InputContactMessageContent$Companion { @@ -6837,7 +7025,7 @@ public final class me/alllex/tbot/api/model/InputInvoiceMessageContent : me/alll public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/InputInvoiceMessageContent$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/InputInvoiceMessageContent$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/InputInvoiceMessageContent$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -6845,6 +7033,7 @@ public synthetic class me/alllex/tbot/api/model/InputInvoiceMessageContent$$seri public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/InputInvoiceMessageContent;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/InputInvoiceMessageContent$Companion { @@ -6874,7 +7063,7 @@ public final class me/alllex/tbot/api/model/InputLocationMessageContent : me/all public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/InputLocationMessageContent$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/InputLocationMessageContent$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/InputLocationMessageContent$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -6882,6 +7071,7 @@ public synthetic class me/alllex/tbot/api/model/InputLocationMessageContent$$ser public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/InputLocationMessageContent;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/InputLocationMessageContent$Companion { @@ -6927,7 +7117,7 @@ public final class me/alllex/tbot/api/model/InputMediaAnimation : me/alllex/tbot public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/InputMediaAnimation$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/InputMediaAnimation$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/InputMediaAnimation$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -6935,6 +7125,7 @@ public synthetic class me/alllex/tbot/api/model/InputMediaAnimation$$serializer public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/InputMediaAnimation;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/InputMediaAnimation$Companion { @@ -6968,7 +7159,7 @@ public final class me/alllex/tbot/api/model/InputMediaAudio : me/alllex/tbot/api public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/InputMediaAudio$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/InputMediaAudio$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/InputMediaAudio$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -6976,6 +7167,7 @@ public synthetic class me/alllex/tbot/api/model/InputMediaAudio$$serializer : ko public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/InputMediaAudio;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/InputMediaAudio$Companion { @@ -7005,7 +7197,7 @@ public final class me/alllex/tbot/api/model/InputMediaDocument : me/alllex/tbot/ public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/InputMediaDocument$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/InputMediaDocument$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/InputMediaDocument$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -7013,6 +7205,7 @@ public synthetic class me/alllex/tbot/api/model/InputMediaDocument$$serializer : public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/InputMediaDocument;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/InputMediaDocument$Companion { @@ -7042,7 +7235,7 @@ public final class me/alllex/tbot/api/model/InputMediaPhoto : me/alllex/tbot/api public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/InputMediaPhoto$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/InputMediaPhoto$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/InputMediaPhoto$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -7050,6 +7243,7 @@ public synthetic class me/alllex/tbot/api/model/InputMediaPhoto$$serializer : ko public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/InputMediaPhoto;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/InputMediaPhoto$Companion { @@ -7093,7 +7287,7 @@ public final class me/alllex/tbot/api/model/InputMediaVideo : me/alllex/tbot/api public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/InputMediaVideo$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/InputMediaVideo$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/InputMediaVideo$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -7101,6 +7295,7 @@ public synthetic class me/alllex/tbot/api/model/InputMediaVideo$$serializer : ko public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/InputMediaVideo;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/InputMediaVideo$Companion { @@ -7139,7 +7334,7 @@ public final class me/alllex/tbot/api/model/InputPaidMediaPhoto : me/alllex/tbot public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/InputPaidMediaPhoto$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/InputPaidMediaPhoto$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/InputPaidMediaPhoto$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -7147,6 +7342,7 @@ public synthetic class me/alllex/tbot/api/model/InputPaidMediaPhoto$$serializer public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/InputPaidMediaPhoto;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/InputPaidMediaPhoto$Companion { @@ -7180,7 +7376,7 @@ public final class me/alllex/tbot/api/model/InputPaidMediaVideo : me/alllex/tbot public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/InputPaidMediaVideo$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/InputPaidMediaVideo$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/InputPaidMediaVideo$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -7188,6 +7384,7 @@ public synthetic class me/alllex/tbot/api/model/InputPaidMediaVideo$$serializer public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/InputPaidMediaVideo;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/InputPaidMediaVideo$Companion { @@ -7211,7 +7408,7 @@ public final class me/alllex/tbot/api/model/InputPollOption { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/InputPollOption$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/InputPollOption$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/InputPollOption$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -7219,6 +7416,7 @@ public synthetic class me/alllex/tbot/api/model/InputPollOption$$serializer : ko public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/InputPollOption;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/InputPollOption$Companion { @@ -7248,7 +7446,7 @@ public final class me/alllex/tbot/api/model/InputProfilePhotoAnimated : me/allle public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/InputProfilePhotoAnimated$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/InputProfilePhotoAnimated$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/InputProfilePhotoAnimated$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -7256,6 +7454,7 @@ public synthetic class me/alllex/tbot/api/model/InputProfilePhotoAnimated$$seria public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/InputProfilePhotoAnimated;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/InputProfilePhotoAnimated$Companion { @@ -7274,7 +7473,7 @@ public final class me/alllex/tbot/api/model/InputProfilePhotoStatic : me/alllex/ public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/InputProfilePhotoStatic$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/InputProfilePhotoStatic$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/InputProfilePhotoStatic$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -7282,6 +7481,7 @@ public synthetic class me/alllex/tbot/api/model/InputProfilePhotoStatic$$seriali public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/InputProfilePhotoStatic;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/InputProfilePhotoStatic$Companion { @@ -7309,7 +7509,7 @@ public final class me/alllex/tbot/api/model/InputSticker { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/InputSticker$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/InputSticker$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/InputSticker$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -7317,6 +7517,7 @@ public synthetic class me/alllex/tbot/api/model/InputSticker$$serializer : kotli public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/InputSticker;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/InputSticker$Companion { @@ -7343,7 +7544,7 @@ public final class me/alllex/tbot/api/model/InputStoryContentPhoto : me/alllex/t public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/InputStoryContentPhoto$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/InputStoryContentPhoto$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/InputStoryContentPhoto$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -7351,6 +7552,7 @@ public synthetic class me/alllex/tbot/api/model/InputStoryContentPhoto$$serializ public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/InputStoryContentPhoto;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/InputStoryContentPhoto$Companion { @@ -7376,7 +7578,7 @@ public final class me/alllex/tbot/api/model/InputStoryContentVideo : me/alllex/t public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/InputStoryContentVideo$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/InputStoryContentVideo$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/InputStoryContentVideo$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -7384,6 +7586,7 @@ public synthetic class me/alllex/tbot/api/model/InputStoryContentVideo$$serializ public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/InputStoryContentVideo;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/InputStoryContentVideo$Companion { @@ -7409,7 +7612,7 @@ public final class me/alllex/tbot/api/model/InputTextMessageContent : me/alllex/ public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/InputTextMessageContent$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/InputTextMessageContent$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/InputTextMessageContent$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -7417,6 +7620,7 @@ public synthetic class me/alllex/tbot/api/model/InputTextMessageContent$$seriali public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/InputTextMessageContent;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/InputTextMessageContent$Companion { @@ -7450,7 +7654,7 @@ public final class me/alllex/tbot/api/model/InputVenueMessageContent : me/alllex public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/InputVenueMessageContent$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/InputVenueMessageContent$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/InputVenueMessageContent$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -7458,6 +7662,7 @@ public synthetic class me/alllex/tbot/api/model/InputVenueMessageContent$$serial public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/InputVenueMessageContent;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/InputVenueMessageContent$Companion { @@ -7484,7 +7689,7 @@ public final class me/alllex/tbot/api/model/Invoice { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/Invoice$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/Invoice$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/Invoice$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -7492,6 +7697,7 @@ public synthetic class me/alllex/tbot/api/model/Invoice$$serializer : kotlinx/se public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/Invoice;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/Invoice$Companion { @@ -7523,7 +7729,7 @@ public final class me/alllex/tbot/api/model/KeyboardButton { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/KeyboardButton$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/KeyboardButton$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/KeyboardButton$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -7531,6 +7737,7 @@ public synthetic class me/alllex/tbot/api/model/KeyboardButton$$serializer : kot public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/KeyboardButton;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/KeyboardButton$Companion { @@ -7551,7 +7758,7 @@ public final class me/alllex/tbot/api/model/KeyboardButtonPollType { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/KeyboardButtonPollType$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/KeyboardButtonPollType$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/KeyboardButtonPollType$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -7559,6 +7766,7 @@ public synthetic class me/alllex/tbot/api/model/KeyboardButtonPollType$$serializ public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/KeyboardButtonPollType;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/KeyboardButtonPollType$Companion { @@ -7598,7 +7806,7 @@ public final class me/alllex/tbot/api/model/KeyboardButtonRequestChat { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/KeyboardButtonRequestChat$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/KeyboardButtonRequestChat$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/KeyboardButtonRequestChat$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -7606,6 +7814,7 @@ public synthetic class me/alllex/tbot/api/model/KeyboardButtonRequestChat$$seria public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/KeyboardButtonRequestChat;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/KeyboardButtonRequestChat$Companion { @@ -7637,7 +7846,7 @@ public final class me/alllex/tbot/api/model/KeyboardButtonRequestUsers { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/KeyboardButtonRequestUsers$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/KeyboardButtonRequestUsers$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/KeyboardButtonRequestUsers$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -7645,6 +7854,7 @@ public synthetic class me/alllex/tbot/api/model/KeyboardButtonRequestUsers$$seri public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/KeyboardButtonRequestUsers;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/KeyboardButtonRequestUsers$Companion { @@ -7665,7 +7875,7 @@ public final class me/alllex/tbot/api/model/LabeledPrice { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/LabeledPrice$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/LabeledPrice$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/LabeledPrice$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -7673,6 +7883,7 @@ public synthetic class me/alllex/tbot/api/model/LabeledPrice$$serializer : kotli public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/LabeledPrice;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/LabeledPrice$Companion { @@ -7691,7 +7902,7 @@ public final class me/alllex/tbot/api/model/LeaveChatRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/LeaveChatRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/LeaveChatRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/LeaveChatRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -7699,6 +7910,7 @@ public synthetic class me/alllex/tbot/api/model/LeaveChatRequest$$serializer : k public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/LeaveChatRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/LeaveChatRequest$Companion { @@ -7727,7 +7939,7 @@ public final class me/alllex/tbot/api/model/LinkPreviewOptions { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/LinkPreviewOptions$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/LinkPreviewOptions$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/LinkPreviewOptions$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -7735,6 +7947,7 @@ public synthetic class me/alllex/tbot/api/model/LinkPreviewOptions$$serializer : public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/LinkPreviewOptions;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/LinkPreviewOptions$Companion { @@ -7764,7 +7977,7 @@ public final class me/alllex/tbot/api/model/Location { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/Location$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/Location$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/Location$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -7772,6 +7985,7 @@ public synthetic class me/alllex/tbot/api/model/Location$$serializer : kotlinx/s public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/Location;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/Location$Companion { @@ -7797,7 +8011,7 @@ public final class me/alllex/tbot/api/model/LocationAddress { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/LocationAddress$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/LocationAddress$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/LocationAddress$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -7805,6 +8019,7 @@ public synthetic class me/alllex/tbot/api/model/LocationAddress$$serializer : ko public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/LocationAddress;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/LocationAddress$Companion { @@ -7830,7 +8045,7 @@ public final class me/alllex/tbot/api/model/LoginUrl { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/LoginUrl$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/LoginUrl$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/LoginUrl$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -7838,6 +8053,7 @@ public synthetic class me/alllex/tbot/api/model/LoginUrl$$serializer : kotlinx/s public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/LoginUrl;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/LoginUrl$Companion { @@ -7862,7 +8078,7 @@ public final class me/alllex/tbot/api/model/MaskPosition { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/MaskPosition$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/MaskPosition$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/MaskPosition$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -7870,6 +8086,7 @@ public synthetic class me/alllex/tbot/api/model/MaskPosition$$serializer : kotli public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/MaskPosition;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/MaskPosition$Companion { @@ -7914,7 +8131,7 @@ public final class me/alllex/tbot/api/model/MenuButtonWebApp : me/alllex/tbot/ap public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/MenuButtonWebApp$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/MenuButtonWebApp$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/MenuButtonWebApp$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -7922,6 +8139,7 @@ public synthetic class me/alllex/tbot/api/model/MenuButtonWebApp$$serializer : k public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/MenuButtonWebApp;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/MenuButtonWebApp$Companion { @@ -8117,7 +8335,7 @@ public final class me/alllex/tbot/api/model/Message { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/Message$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/Message$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/Message$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -8125,6 +8343,7 @@ public synthetic class me/alllex/tbot/api/model/Message$$serializer : kotlinx/se public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/Message;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/Message$Companion { @@ -8143,7 +8362,7 @@ public final class me/alllex/tbot/api/model/MessageAutoDeleteTimerChanged { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/MessageAutoDeleteTimerChanged$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/MessageAutoDeleteTimerChanged$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/MessageAutoDeleteTimerChanged$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -8151,6 +8370,7 @@ public synthetic class me/alllex/tbot/api/model/MessageAutoDeleteTimerChanged$$s public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/MessageAutoDeleteTimerChanged;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/MessageAutoDeleteTimerChanged$Companion { @@ -8172,7 +8392,7 @@ public final class me/alllex/tbot/api/model/MessageEffectId { public final synthetic fun unbox-impl ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/MessageEffectId$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/MessageEffectId$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/MessageEffectId$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -8180,6 +8400,7 @@ public synthetic class me/alllex/tbot/api/model/MessageEffectId$$serializer : ko public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize-tVF3hqs (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/String;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/MessageEffectId$Companion { @@ -8211,7 +8432,7 @@ public final class me/alllex/tbot/api/model/MessageEntity { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/MessageEntity$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/MessageEntity$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/MessageEntity$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -8219,6 +8440,7 @@ public synthetic class me/alllex/tbot/api/model/MessageEntity$$serializer : kotl public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/MessageEntity;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/MessageEntity$Companion { @@ -8240,7 +8462,7 @@ public final class me/alllex/tbot/api/model/MessageId { public final synthetic fun unbox-impl ()J } -public synthetic class me/alllex/tbot/api/model/MessageId$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/MessageId$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/MessageId$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -8248,6 +8470,7 @@ public synthetic class me/alllex/tbot/api/model/MessageId$$serializer : kotlinx/ public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize-o-cutnU (Lkotlinx/serialization/encoding/Encoder;J)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/MessageId$Companion { @@ -8281,7 +8504,7 @@ public final class me/alllex/tbot/api/model/MessageOriginChannel : me/alllex/tbo public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/MessageOriginChannel$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/MessageOriginChannel$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/MessageOriginChannel$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -8289,6 +8512,7 @@ public synthetic class me/alllex/tbot/api/model/MessageOriginChannel$$serializer public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/MessageOriginChannel;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/MessageOriginChannel$Companion { @@ -8312,7 +8536,7 @@ public final class me/alllex/tbot/api/model/MessageOriginChat : me/alllex/tbot/a public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/MessageOriginChat$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/MessageOriginChat$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/MessageOriginChat$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -8320,6 +8544,7 @@ public synthetic class me/alllex/tbot/api/model/MessageOriginChat$$serializer : public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/MessageOriginChat;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/MessageOriginChat$Companion { @@ -8340,7 +8565,7 @@ public final class me/alllex/tbot/api/model/MessageOriginHiddenUser : me/alllex/ public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/MessageOriginHiddenUser$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/MessageOriginHiddenUser$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/MessageOriginHiddenUser$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -8348,6 +8573,7 @@ public synthetic class me/alllex/tbot/api/model/MessageOriginHiddenUser$$seriali public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/MessageOriginHiddenUser;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/MessageOriginHiddenUser$Companion { @@ -8368,7 +8594,7 @@ public final class me/alllex/tbot/api/model/MessageOriginUser : me/alllex/tbot/a public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/MessageOriginUser$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/MessageOriginUser$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/MessageOriginUser$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -8376,6 +8602,7 @@ public synthetic class me/alllex/tbot/api/model/MessageOriginUser$$serializer : public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/MessageOriginUser;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/MessageOriginUser$Companion { @@ -8397,7 +8624,7 @@ public final class me/alllex/tbot/api/model/MessageReactionCountUpdate : me/alll public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/MessageReactionCountUpdate$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/MessageReactionCountUpdate$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/MessageReactionCountUpdate$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -8405,6 +8632,7 @@ public synthetic class me/alllex/tbot/api/model/MessageReactionCountUpdate$$seri public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/MessageReactionCountUpdate;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/MessageReactionCountUpdate$Companion { @@ -8429,7 +8657,7 @@ public final class me/alllex/tbot/api/model/MessageReactionCountUpdated { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/MessageReactionCountUpdated$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/MessageReactionCountUpdated$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/MessageReactionCountUpdated$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -8437,6 +8665,7 @@ public synthetic class me/alllex/tbot/api/model/MessageReactionCountUpdated$$ser public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/MessageReactionCountUpdated;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/MessageReactionCountUpdated$Companion { @@ -8458,7 +8687,7 @@ public final class me/alllex/tbot/api/model/MessageReactionUpdate : me/alllex/tb public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/MessageReactionUpdate$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/MessageReactionUpdate$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/MessageReactionUpdate$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -8466,6 +8695,7 @@ public synthetic class me/alllex/tbot/api/model/MessageReactionUpdate$$serialize public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/MessageReactionUpdate;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/MessageReactionUpdate$Companion { @@ -8497,7 +8727,7 @@ public final class me/alllex/tbot/api/model/MessageReactionUpdated { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/MessageReactionUpdated$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/MessageReactionUpdated$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/MessageReactionUpdated$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -8505,6 +8735,7 @@ public synthetic class me/alllex/tbot/api/model/MessageReactionUpdated$$serializ public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/MessageReactionUpdated;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/MessageReactionUpdated$Companion { @@ -8523,7 +8754,7 @@ public final class me/alllex/tbot/api/model/MessageRef { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/MessageRef$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/MessageRef$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/MessageRef$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -8531,6 +8762,7 @@ public synthetic class me/alllex/tbot/api/model/MessageRef$$serializer : kotlinx public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/MessageRef;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/MessageRef$Companion { @@ -8552,7 +8784,7 @@ public final class me/alllex/tbot/api/model/MessageThreadId { public final synthetic fun unbox-impl ()J } -public synthetic class me/alllex/tbot/api/model/MessageThreadId$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/MessageThreadId$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/MessageThreadId$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -8560,6 +8792,7 @@ public synthetic class me/alllex/tbot/api/model/MessageThreadId$$serializer : ko public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize-8IYPPZM (Lkotlinx/serialization/encoding/Encoder;J)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/MessageThreadId$Companion { @@ -8581,7 +8814,7 @@ public final class me/alllex/tbot/api/model/MessageUpdate : me/alllex/tbot/api/m public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/MessageUpdate$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/MessageUpdate$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/MessageUpdate$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -8589,6 +8822,7 @@ public synthetic class me/alllex/tbot/api/model/MessageUpdate$$serializer : kotl public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/MessageUpdate;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/MessageUpdate$Companion { @@ -8871,7 +9105,7 @@ public final class me/alllex/tbot/api/model/MyChatMemberUpdate : me/alllex/tbot/ public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/MyChatMemberUpdate$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/MyChatMemberUpdate$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/MyChatMemberUpdate$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -8879,6 +9113,7 @@ public synthetic class me/alllex/tbot/api/model/MyChatMemberUpdate$$serializer : public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/MyChatMemberUpdate;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/MyChatMemberUpdate$Companion { @@ -8905,7 +9140,7 @@ public final class me/alllex/tbot/api/model/OrderInfo { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/OrderInfo$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/OrderInfo$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/OrderInfo$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -8913,6 +9148,7 @@ public synthetic class me/alllex/tbot/api/model/OrderInfo$$serializer : kotlinx/ public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/OrderInfo;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/OrderInfo$Companion { @@ -8962,7 +9198,7 @@ public final class me/alllex/tbot/api/model/OwnedGiftRegular : me/alllex/tbot/ap public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/OwnedGiftRegular$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/OwnedGiftRegular$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/OwnedGiftRegular$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -8970,6 +9206,7 @@ public synthetic class me/alllex/tbot/api/model/OwnedGiftRegular$$serializer : k public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/OwnedGiftRegular;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/OwnedGiftRegular$Companion { @@ -9001,7 +9238,7 @@ public final class me/alllex/tbot/api/model/OwnedGiftUnique : me/alllex/tbot/api public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/OwnedGiftUnique$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/OwnedGiftUnique$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/OwnedGiftUnique$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -9009,6 +9246,7 @@ public synthetic class me/alllex/tbot/api/model/OwnedGiftUnique$$serializer : ko public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/OwnedGiftUnique;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/OwnedGiftUnique$Companion { @@ -9032,7 +9270,7 @@ public final class me/alllex/tbot/api/model/OwnedGifts { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/OwnedGifts$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/OwnedGifts$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/OwnedGifts$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -9040,6 +9278,7 @@ public synthetic class me/alllex/tbot/api/model/OwnedGifts$$serializer : kotlinx public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/OwnedGifts;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/OwnedGifts$Companion { @@ -9068,7 +9307,7 @@ public final class me/alllex/tbot/api/model/PaidMediaInfo { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/PaidMediaInfo$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/PaidMediaInfo$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/PaidMediaInfo$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -9076,6 +9315,7 @@ public synthetic class me/alllex/tbot/api/model/PaidMediaInfo$$serializer : kotl public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/PaidMediaInfo;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/PaidMediaInfo$Companion { @@ -9094,7 +9334,7 @@ public final class me/alllex/tbot/api/model/PaidMediaPhoto : me/alllex/tbot/api/ public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/PaidMediaPhoto$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/PaidMediaPhoto$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/PaidMediaPhoto$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -9102,6 +9342,7 @@ public synthetic class me/alllex/tbot/api/model/PaidMediaPhoto$$serializer : kot public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/PaidMediaPhoto;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/PaidMediaPhoto$Companion { @@ -9125,7 +9366,7 @@ public final class me/alllex/tbot/api/model/PaidMediaPreview : me/alllex/tbot/ap public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/PaidMediaPreview$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/PaidMediaPreview$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/PaidMediaPreview$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -9133,6 +9374,7 @@ public synthetic class me/alllex/tbot/api/model/PaidMediaPreview$$serializer : k public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/PaidMediaPreview;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/PaidMediaPreview$Companion { @@ -9153,7 +9395,7 @@ public final class me/alllex/tbot/api/model/PaidMediaPurchased { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/PaidMediaPurchased$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/PaidMediaPurchased$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/PaidMediaPurchased$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -9161,6 +9403,7 @@ public synthetic class me/alllex/tbot/api/model/PaidMediaPurchased$$serializer : public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/PaidMediaPurchased;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/PaidMediaPurchased$Companion { @@ -9179,7 +9422,7 @@ public final class me/alllex/tbot/api/model/PaidMediaVideo : me/alllex/tbot/api/ public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/PaidMediaVideo$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/PaidMediaVideo$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/PaidMediaVideo$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -9187,6 +9430,7 @@ public synthetic class me/alllex/tbot/api/model/PaidMediaVideo$$serializer : kot public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/PaidMediaVideo;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/PaidMediaVideo$Companion { @@ -9205,7 +9449,7 @@ public final class me/alllex/tbot/api/model/PaidMessagePriceChanged { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/PaidMessagePriceChanged$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/PaidMessagePriceChanged$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/PaidMessagePriceChanged$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -9213,6 +9457,7 @@ public synthetic class me/alllex/tbot/api/model/PaidMessagePriceChanged$$seriali public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/PaidMessagePriceChanged;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/PaidMessagePriceChanged$Companion { @@ -9249,7 +9494,7 @@ public final class me/alllex/tbot/api/model/PassportData { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/PassportData$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/PassportData$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/PassportData$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -9257,6 +9502,7 @@ public synthetic class me/alllex/tbot/api/model/PassportData$$serializer : kotli public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/PassportData;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/PassportData$Companion { @@ -9291,7 +9537,7 @@ public final class me/alllex/tbot/api/model/PassportElementErrorDataField : me/a public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/PassportElementErrorDataField$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/PassportElementErrorDataField$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/PassportElementErrorDataField$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -9299,6 +9545,7 @@ public synthetic class me/alllex/tbot/api/model/PassportElementErrorDataField$$s public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/PassportElementErrorDataField;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/PassportElementErrorDataField$Companion { @@ -9323,7 +9570,7 @@ public final class me/alllex/tbot/api/model/PassportElementErrorFile : me/alllex public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/PassportElementErrorFile$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/PassportElementErrorFile$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/PassportElementErrorFile$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -9331,6 +9578,7 @@ public synthetic class me/alllex/tbot/api/model/PassportElementErrorFile$$serial public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/PassportElementErrorFile;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/PassportElementErrorFile$Companion { @@ -9355,7 +9603,7 @@ public final class me/alllex/tbot/api/model/PassportElementErrorFiles : me/allle public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/PassportElementErrorFiles$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/PassportElementErrorFiles$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/PassportElementErrorFiles$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -9363,6 +9611,7 @@ public synthetic class me/alllex/tbot/api/model/PassportElementErrorFiles$$seria public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/PassportElementErrorFiles;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/PassportElementErrorFiles$Companion { @@ -9387,7 +9636,7 @@ public final class me/alllex/tbot/api/model/PassportElementErrorFrontSide : me/a public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/PassportElementErrorFrontSide$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/PassportElementErrorFrontSide$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/PassportElementErrorFrontSide$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -9395,6 +9644,7 @@ public synthetic class me/alllex/tbot/api/model/PassportElementErrorFrontSide$$s public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/PassportElementErrorFrontSide;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/PassportElementErrorFrontSide$Companion { @@ -9419,7 +9669,7 @@ public final class me/alllex/tbot/api/model/PassportElementErrorReverseSide : me public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/PassportElementErrorReverseSide$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/PassportElementErrorReverseSide$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/PassportElementErrorReverseSide$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -9427,6 +9677,7 @@ public synthetic class me/alllex/tbot/api/model/PassportElementErrorReverseSide$ public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/PassportElementErrorReverseSide;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/PassportElementErrorReverseSide$Companion { @@ -9451,7 +9702,7 @@ public final class me/alllex/tbot/api/model/PassportElementErrorSelfie : me/alll public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/PassportElementErrorSelfie$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/PassportElementErrorSelfie$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/PassportElementErrorSelfie$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -9459,6 +9710,7 @@ public synthetic class me/alllex/tbot/api/model/PassportElementErrorSelfie$$seri public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/PassportElementErrorSelfie;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/PassportElementErrorSelfie$Companion { @@ -9483,7 +9735,7 @@ public final class me/alllex/tbot/api/model/PassportElementErrorTranslationFile public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/PassportElementErrorTranslationFile$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/PassportElementErrorTranslationFile$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/PassportElementErrorTranslationFile$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -9491,6 +9743,7 @@ public synthetic class me/alllex/tbot/api/model/PassportElementErrorTranslationF public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/PassportElementErrorTranslationFile;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/PassportElementErrorTranslationFile$Companion { @@ -9515,7 +9768,7 @@ public final class me/alllex/tbot/api/model/PassportElementErrorTranslationFiles public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/PassportElementErrorTranslationFiles$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/PassportElementErrorTranslationFiles$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/PassportElementErrorTranslationFiles$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -9523,6 +9776,7 @@ public synthetic class me/alllex/tbot/api/model/PassportElementErrorTranslationF public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/PassportElementErrorTranslationFiles;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/PassportElementErrorTranslationFiles$Companion { @@ -9547,7 +9801,7 @@ public final class me/alllex/tbot/api/model/PassportElementErrorUnspecified : me public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/PassportElementErrorUnspecified$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/PassportElementErrorUnspecified$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/PassportElementErrorUnspecified$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -9555,6 +9809,7 @@ public synthetic class me/alllex/tbot/api/model/PassportElementErrorUnspecified$ public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/PassportElementErrorUnspecified;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/PassportElementErrorUnspecified$Companion { @@ -9579,7 +9834,7 @@ public final class me/alllex/tbot/api/model/PassportFile { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/PassportFile$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/PassportFile$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/PassportFile$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -9587,6 +9842,7 @@ public synthetic class me/alllex/tbot/api/model/PassportFile$$serializer : kotli public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/PassportFile;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/PassportFile$Companion { @@ -9614,7 +9870,7 @@ public final class me/alllex/tbot/api/model/PhotoSize { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/PhotoSize$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/PhotoSize$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/PhotoSize$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -9622,6 +9878,7 @@ public synthetic class me/alllex/tbot/api/model/PhotoSize$$serializer : kotlinx/ public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/PhotoSize;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/PhotoSize$Companion { @@ -9647,7 +9904,7 @@ public final class me/alllex/tbot/api/model/PinChatMessageRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/PinChatMessageRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/PinChatMessageRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/PinChatMessageRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -9655,6 +9912,7 @@ public synthetic class me/alllex/tbot/api/model/PinChatMessageRequest$$serialize public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/PinChatMessageRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/PinChatMessageRequest$Companion { @@ -9700,7 +9958,7 @@ public final class me/alllex/tbot/api/model/Poll { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/Poll$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/Poll$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/Poll$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -9708,6 +9966,7 @@ public synthetic class me/alllex/tbot/api/model/Poll$$serializer : kotlinx/seria public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/Poll;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/Poll$Companion { @@ -9733,7 +9992,7 @@ public final class me/alllex/tbot/api/model/PollAnswer { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/PollAnswer$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/PollAnswer$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/PollAnswer$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -9741,6 +10000,7 @@ public synthetic class me/alllex/tbot/api/model/PollAnswer$$serializer : kotlinx public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/PollAnswer;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/PollAnswer$Companion { @@ -9762,7 +10022,7 @@ public final class me/alllex/tbot/api/model/PollAnswerUpdate : me/alllex/tbot/ap public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/PollAnswerUpdate$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/PollAnswerUpdate$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/PollAnswerUpdate$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -9770,6 +10030,7 @@ public synthetic class me/alllex/tbot/api/model/PollAnswerUpdate$$serializer : k public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/PollAnswerUpdate;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/PollAnswerUpdate$Companion { @@ -9793,7 +10054,7 @@ public final class me/alllex/tbot/api/model/PollOption { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/PollOption$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/PollOption$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/PollOption$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -9801,6 +10062,7 @@ public synthetic class me/alllex/tbot/api/model/PollOption$$serializer : kotlinx public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/PollOption;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/PollOption$Companion { @@ -9822,7 +10084,7 @@ public final class me/alllex/tbot/api/model/PollUpdate : me/alllex/tbot/api/mode public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/PollUpdate$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/PollUpdate$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/PollUpdate$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -9830,6 +10092,7 @@ public synthetic class me/alllex/tbot/api/model/PollUpdate$$serializer : kotlinx public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/PollUpdate;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/PollUpdate$Companion { @@ -9865,7 +10128,7 @@ public final class me/alllex/tbot/api/model/PostStoryRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/PostStoryRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/PostStoryRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/PostStoryRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -9873,6 +10136,7 @@ public synthetic class me/alllex/tbot/api/model/PostStoryRequest$$serializer : k public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/PostStoryRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/PostStoryRequest$Companion { @@ -9904,7 +10168,7 @@ public final class me/alllex/tbot/api/model/PreCheckoutQuery { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/PreCheckoutQuery$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/PreCheckoutQuery$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/PreCheckoutQuery$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -9912,6 +10176,7 @@ public synthetic class me/alllex/tbot/api/model/PreCheckoutQuery$$serializer : k public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/PreCheckoutQuery;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/PreCheckoutQuery$Companion { @@ -9933,7 +10198,7 @@ public final class me/alllex/tbot/api/model/PreCheckoutQueryUpdate : me/alllex/t public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/PreCheckoutQueryUpdate$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/PreCheckoutQueryUpdate$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/PreCheckoutQueryUpdate$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -9941,6 +10206,7 @@ public synthetic class me/alllex/tbot/api/model/PreCheckoutQueryUpdate$$serializ public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/PreCheckoutQueryUpdate;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/PreCheckoutQueryUpdate$Companion { @@ -9961,7 +10227,7 @@ public final class me/alllex/tbot/api/model/PreparedInlineMessage { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/PreparedInlineMessage$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/PreparedInlineMessage$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/PreparedInlineMessage$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -9969,6 +10235,7 @@ public synthetic class me/alllex/tbot/api/model/PreparedInlineMessage$$serialize public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/PreparedInlineMessage;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/PreparedInlineMessage$Companion { @@ -10020,7 +10287,7 @@ public final class me/alllex/tbot/api/model/PromoteChatMemberRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/PromoteChatMemberRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/PromoteChatMemberRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/PromoteChatMemberRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -10028,6 +10295,7 @@ public synthetic class me/alllex/tbot/api/model/PromoteChatMemberRequest$$serial public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/PromoteChatMemberRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/PromoteChatMemberRequest$Companion { @@ -10050,7 +10318,7 @@ public final class me/alllex/tbot/api/model/ProximityAlertTriggered { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/ProximityAlertTriggered$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/ProximityAlertTriggered$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/ProximityAlertTriggered$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -10058,6 +10326,7 @@ public synthetic class me/alllex/tbot/api/model/ProximityAlertTriggered$$seriali public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/ProximityAlertTriggered;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/ProximityAlertTriggered$Companion { @@ -10079,7 +10348,7 @@ public final class me/alllex/tbot/api/model/PurchasedPaidMediaUpdate : me/alllex public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/PurchasedPaidMediaUpdate$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/PurchasedPaidMediaUpdate$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/PurchasedPaidMediaUpdate$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -10087,6 +10356,7 @@ public synthetic class me/alllex/tbot/api/model/PurchasedPaidMediaUpdate$$serial public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/PurchasedPaidMediaUpdate;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/PurchasedPaidMediaUpdate$Companion { @@ -10107,7 +10377,7 @@ public final class me/alllex/tbot/api/model/ReactionCount { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/ReactionCount$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/ReactionCount$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/ReactionCount$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -10115,6 +10385,7 @@ public synthetic class me/alllex/tbot/api/model/ReactionCount$$serializer : kotl public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/ReactionCount;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/ReactionCount$Companion { @@ -10141,7 +10412,7 @@ public final class me/alllex/tbot/api/model/ReactionTypeCustomEmoji : me/alllex/ public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/ReactionTypeCustomEmoji$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/ReactionTypeCustomEmoji$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/ReactionTypeCustomEmoji$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -10149,6 +10420,7 @@ public synthetic class me/alllex/tbot/api/model/ReactionTypeCustomEmoji$$seriali public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/ReactionTypeCustomEmoji;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/ReactionTypeCustomEmoji$Companion { @@ -10167,7 +10439,7 @@ public final class me/alllex/tbot/api/model/ReactionTypeEmoji : me/alllex/tbot/a public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/ReactionTypeEmoji$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/ReactionTypeEmoji$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/ReactionTypeEmoji$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -10175,6 +10447,7 @@ public synthetic class me/alllex/tbot/api/model/ReactionTypeEmoji$$serializer : public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/ReactionTypeEmoji;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/ReactionTypeEmoji$Companion { @@ -10205,7 +10478,7 @@ public final class me/alllex/tbot/api/model/ReadBusinessMessageRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/ReadBusinessMessageRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/ReadBusinessMessageRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/ReadBusinessMessageRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -10213,6 +10486,7 @@ public synthetic class me/alllex/tbot/api/model/ReadBusinessMessageRequest$$seri public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/ReadBusinessMessageRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/ReadBusinessMessageRequest$Companion { @@ -10233,7 +10507,7 @@ public final class me/alllex/tbot/api/model/RefundStarPaymentRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/RefundStarPaymentRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/RefundStarPaymentRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/RefundStarPaymentRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -10241,6 +10515,7 @@ public synthetic class me/alllex/tbot/api/model/RefundStarPaymentRequest$$serial public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/RefundStarPaymentRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/RefundStarPaymentRequest$Companion { @@ -10268,7 +10543,7 @@ public final class me/alllex/tbot/api/model/RefundedPayment { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/RefundedPayment$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/RefundedPayment$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/RefundedPayment$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -10276,6 +10551,7 @@ public synthetic class me/alllex/tbot/api/model/RefundedPayment$$serializer : ko public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/RefundedPayment;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/RefundedPayment$Companion { @@ -10297,7 +10573,7 @@ public final class me/alllex/tbot/api/model/RemoveBusinessAccountProfilePhotoReq public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/RemoveBusinessAccountProfilePhotoRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/RemoveBusinessAccountProfilePhotoRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/RemoveBusinessAccountProfilePhotoRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -10305,6 +10581,7 @@ public synthetic class me/alllex/tbot/api/model/RemoveBusinessAccountProfilePhot public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/RemoveBusinessAccountProfilePhotoRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/RemoveBusinessAccountProfilePhotoRequest$Companion { @@ -10323,7 +10600,7 @@ public final class me/alllex/tbot/api/model/RemoveChatVerificationRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/RemoveChatVerificationRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/RemoveChatVerificationRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/RemoveChatVerificationRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -10331,6 +10608,7 @@ public synthetic class me/alllex/tbot/api/model/RemoveChatVerificationRequest$$s public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/RemoveChatVerificationRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/RemoveChatVerificationRequest$Companion { @@ -10349,7 +10627,7 @@ public final class me/alllex/tbot/api/model/RemoveUserVerificationRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/RemoveUserVerificationRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/RemoveUserVerificationRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/RemoveUserVerificationRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -10357,6 +10635,7 @@ public synthetic class me/alllex/tbot/api/model/RemoveUserVerificationRequest$$s public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/RemoveUserVerificationRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/RemoveUserVerificationRequest$Companion { @@ -10378,7 +10657,7 @@ public final class me/alllex/tbot/api/model/RemovedChatBoostUpdate : me/alllex/t public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/RemovedChatBoostUpdate$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/RemovedChatBoostUpdate$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/RemovedChatBoostUpdate$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -10386,6 +10665,7 @@ public synthetic class me/alllex/tbot/api/model/RemovedChatBoostUpdate$$serializ public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/RemovedChatBoostUpdate;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/RemovedChatBoostUpdate$Companion { @@ -10406,7 +10686,7 @@ public final class me/alllex/tbot/api/model/ReopenForumTopicRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/ReopenForumTopicRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/ReopenForumTopicRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/ReopenForumTopicRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -10414,6 +10694,7 @@ public synthetic class me/alllex/tbot/api/model/ReopenForumTopicRequest$$seriali public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/ReopenForumTopicRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/ReopenForumTopicRequest$Companion { @@ -10432,7 +10713,7 @@ public final class me/alllex/tbot/api/model/ReopenGeneralForumTopicRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/ReopenGeneralForumTopicRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/ReopenGeneralForumTopicRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/ReopenGeneralForumTopicRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -10440,6 +10721,7 @@ public synthetic class me/alllex/tbot/api/model/ReopenGeneralForumTopicRequest$$ public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/ReopenGeneralForumTopicRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/ReopenGeneralForumTopicRequest$Companion { @@ -10464,7 +10746,7 @@ public final class me/alllex/tbot/api/model/ReplaceStickerInSetRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/ReplaceStickerInSetRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/ReplaceStickerInSetRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/ReplaceStickerInSetRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -10472,6 +10754,7 @@ public synthetic class me/alllex/tbot/api/model/ReplaceStickerInSetRequest$$seri public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/ReplaceStickerInSetRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/ReplaceStickerInSetRequest$Companion { @@ -10501,7 +10784,7 @@ public final class me/alllex/tbot/api/model/ReplyKeyboardMarkup : me/alllex/tbot public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/ReplyKeyboardMarkup$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/ReplyKeyboardMarkup$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/ReplyKeyboardMarkup$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -10509,6 +10792,7 @@ public synthetic class me/alllex/tbot/api/model/ReplyKeyboardMarkup$$serializer public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/ReplyKeyboardMarkup;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/ReplyKeyboardMarkup$Companion { @@ -10530,7 +10814,7 @@ public final class me/alllex/tbot/api/model/ReplyKeyboardRemove : me/alllex/tbot public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/ReplyKeyboardRemove$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/ReplyKeyboardRemove$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/ReplyKeyboardRemove$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -10538,6 +10822,7 @@ public synthetic class me/alllex/tbot/api/model/ReplyKeyboardRemove$$serializer public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/ReplyKeyboardRemove;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/ReplyKeyboardRemove$Companion { @@ -10581,7 +10866,7 @@ public final class me/alllex/tbot/api/model/ReplyParameters { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/ReplyParameters$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/ReplyParameters$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/ReplyParameters$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -10589,6 +10874,7 @@ public synthetic class me/alllex/tbot/api/model/ReplyParameters$$serializer : ko public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/ReplyParameters;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/ReplyParameters$Companion { @@ -10610,7 +10896,7 @@ public final class me/alllex/tbot/api/model/ResponseParameters { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/ResponseParameters$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/ResponseParameters$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/ResponseParameters$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -10618,6 +10904,7 @@ public synthetic class me/alllex/tbot/api/model/ResponseParameters$$serializer : public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/ResponseParameters;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/ResponseParameters$Companion { @@ -10645,7 +10932,7 @@ public final class me/alllex/tbot/api/model/RestrictChatMemberRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/RestrictChatMemberRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/RestrictChatMemberRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/RestrictChatMemberRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -10653,6 +10940,7 @@ public synthetic class me/alllex/tbot/api/model/RestrictChatMemberRequest$$seria public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/RestrictChatMemberRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/RestrictChatMemberRequest$Companion { @@ -10697,7 +10985,7 @@ public final class me/alllex/tbot/api/model/RevenueWithdrawalStateSucceeded : me public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/RevenueWithdrawalStateSucceeded$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/RevenueWithdrawalStateSucceeded$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/RevenueWithdrawalStateSucceeded$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -10705,6 +10993,7 @@ public synthetic class me/alllex/tbot/api/model/RevenueWithdrawalStateSucceeded$ public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/RevenueWithdrawalStateSucceeded;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/RevenueWithdrawalStateSucceeded$Companion { @@ -10725,7 +11014,7 @@ public final class me/alllex/tbot/api/model/RevokeChatInviteLinkRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/RevokeChatInviteLinkRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/RevokeChatInviteLinkRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/RevokeChatInviteLinkRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -10733,6 +11022,7 @@ public synthetic class me/alllex/tbot/api/model/RevokeChatInviteLinkRequest$$ser public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/RevokeChatInviteLinkRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/RevokeChatInviteLinkRequest$Companion { @@ -10762,7 +11052,7 @@ public final class me/alllex/tbot/api/model/SavePreparedInlineMessageRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/SavePreparedInlineMessageRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/SavePreparedInlineMessageRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/SavePreparedInlineMessageRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -10770,6 +11060,7 @@ public synthetic class me/alllex/tbot/api/model/SavePreparedInlineMessageRequest public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/SavePreparedInlineMessageRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/SavePreparedInlineMessageRequest$Companion { @@ -10791,7 +11082,7 @@ public final class me/alllex/tbot/api/model/Seconds { public final synthetic fun unbox-impl ()J } -public synthetic class me/alllex/tbot/api/model/Seconds$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/Seconds$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/Seconds$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -10799,6 +11090,7 @@ public synthetic class me/alllex/tbot/api/model/Seconds$$serializer : kotlinx/se public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize-ZkRr8fU (Lkotlinx/serialization/encoding/Encoder;J)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/Seconds$Companion { @@ -10854,7 +11146,7 @@ public final class me/alllex/tbot/api/model/SendAnimationRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/SendAnimationRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/SendAnimationRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/SendAnimationRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -10862,6 +11154,7 @@ public synthetic class me/alllex/tbot/api/model/SendAnimationRequest$$serializer public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/SendAnimationRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/SendAnimationRequest$Companion { @@ -10913,7 +11206,7 @@ public final class me/alllex/tbot/api/model/SendAudioRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/SendAudioRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/SendAudioRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/SendAudioRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -10921,6 +11214,7 @@ public synthetic class me/alllex/tbot/api/model/SendAudioRequest$$serializer : k public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/SendAudioRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/SendAudioRequest$Companion { @@ -10946,7 +11240,7 @@ public final class me/alllex/tbot/api/model/SendChatActionRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/SendChatActionRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/SendChatActionRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/SendChatActionRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -10954,6 +11248,7 @@ public synthetic class me/alllex/tbot/api/model/SendChatActionRequest$$serialize public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/SendChatActionRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/SendChatActionRequest$Companion { @@ -10997,7 +11292,7 @@ public final class me/alllex/tbot/api/model/SendContactRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/SendContactRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/SendContactRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/SendContactRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -11005,6 +11300,7 @@ public synthetic class me/alllex/tbot/api/model/SendContactRequest$$serializer : public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/SendContactRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/SendContactRequest$Companion { @@ -11042,7 +11338,7 @@ public final class me/alllex/tbot/api/model/SendDiceRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/SendDiceRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/SendDiceRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/SendDiceRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -11050,6 +11346,7 @@ public synthetic class me/alllex/tbot/api/model/SendDiceRequest$$serializer : ko public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/SendDiceRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/SendDiceRequest$Companion { @@ -11097,7 +11394,7 @@ public final class me/alllex/tbot/api/model/SendDocumentRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/SendDocumentRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/SendDocumentRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/SendDocumentRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -11105,6 +11402,7 @@ public synthetic class me/alllex/tbot/api/model/SendDocumentRequest$$serializer public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/SendDocumentRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/SendDocumentRequest$Companion { @@ -11142,7 +11440,7 @@ public final class me/alllex/tbot/api/model/SendGameRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/SendGameRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/SendGameRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/SendGameRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -11150,6 +11448,7 @@ public synthetic class me/alllex/tbot/api/model/SendGameRequest$$serializer : ko public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/SendGameRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/SendGameRequest$Companion { @@ -11181,7 +11480,7 @@ public final class me/alllex/tbot/api/model/SendGiftRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/SendGiftRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/SendGiftRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/SendGiftRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -11189,6 +11488,7 @@ public synthetic class me/alllex/tbot/api/model/SendGiftRequest$$serializer : ko public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/SendGiftRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/SendGiftRequest$Companion { @@ -11264,7 +11564,7 @@ public final class me/alllex/tbot/api/model/SendInvoiceRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/SendInvoiceRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/SendInvoiceRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/SendInvoiceRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -11272,6 +11572,7 @@ public synthetic class me/alllex/tbot/api/model/SendInvoiceRequest$$serializer : public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/SendInvoiceRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/SendInvoiceRequest$Companion { @@ -11319,7 +11620,7 @@ public final class me/alllex/tbot/api/model/SendLocationRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/SendLocationRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/SendLocationRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/SendLocationRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -11327,6 +11628,7 @@ public synthetic class me/alllex/tbot/api/model/SendLocationRequest$$serializer public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/SendLocationRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/SendLocationRequest$Companion { @@ -11362,7 +11664,7 @@ public final class me/alllex/tbot/api/model/SendMediaGroupRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/SendMediaGroupRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/SendMediaGroupRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/SendMediaGroupRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -11370,6 +11672,7 @@ public synthetic class me/alllex/tbot/api/model/SendMediaGroupRequest$$serialize public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/SendMediaGroupRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/SendMediaGroupRequest$Companion { @@ -11413,7 +11716,7 @@ public final class me/alllex/tbot/api/model/SendMessageRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/SendMessageRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/SendMessageRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/SendMessageRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -11421,6 +11724,7 @@ public synthetic class me/alllex/tbot/api/model/SendMessageRequest$$serializer : public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/SendMessageRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/SendMessageRequest$Companion { @@ -11466,7 +11770,7 @@ public final class me/alllex/tbot/api/model/SendPaidMediaRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/SendPaidMediaRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/SendPaidMediaRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/SendPaidMediaRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -11474,6 +11778,7 @@ public synthetic class me/alllex/tbot/api/model/SendPaidMediaRequest$$serializer public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/SendPaidMediaRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/SendPaidMediaRequest$Companion { @@ -11521,7 +11826,7 @@ public final class me/alllex/tbot/api/model/SendPhotoRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/SendPhotoRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/SendPhotoRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/SendPhotoRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -11529,6 +11834,7 @@ public synthetic class me/alllex/tbot/api/model/SendPhotoRequest$$serializer : k public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/SendPhotoRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/SendPhotoRequest$Companion { @@ -11592,7 +11898,7 @@ public final class me/alllex/tbot/api/model/SendPollRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/SendPollRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/SendPollRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/SendPollRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -11600,6 +11906,7 @@ public synthetic class me/alllex/tbot/api/model/SendPollRequest$$serializer : ko public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/SendPollRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/SendPollRequest$Companion { @@ -11639,7 +11946,7 @@ public final class me/alllex/tbot/api/model/SendStickerRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/SendStickerRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/SendStickerRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/SendStickerRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -11647,6 +11954,7 @@ public synthetic class me/alllex/tbot/api/model/SendStickerRequest$$serializer : public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/SendStickerRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/SendStickerRequest$Companion { @@ -11698,7 +12006,7 @@ public final class me/alllex/tbot/api/model/SendVenueRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/SendVenueRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/SendVenueRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/SendVenueRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -11706,6 +12014,7 @@ public synthetic class me/alllex/tbot/api/model/SendVenueRequest$$serializer : k public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/SendVenueRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/SendVenueRequest$Companion { @@ -11749,7 +12058,7 @@ public final class me/alllex/tbot/api/model/SendVideoNoteRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/SendVideoNoteRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/SendVideoNoteRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/SendVideoNoteRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -11757,6 +12066,7 @@ public synthetic class me/alllex/tbot/api/model/SendVideoNoteRequest$$serializer public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/SendVideoNoteRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/SendVideoNoteRequest$Companion { @@ -11818,7 +12128,7 @@ public final class me/alllex/tbot/api/model/SendVideoRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/SendVideoRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/SendVideoRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/SendVideoRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -11826,6 +12136,7 @@ public synthetic class me/alllex/tbot/api/model/SendVideoRequest$$serializer : k public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/SendVideoRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/SendVideoRequest$Companion { @@ -11871,7 +12182,7 @@ public final class me/alllex/tbot/api/model/SendVoiceRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/SendVoiceRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/SendVoiceRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/SendVoiceRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -11879,6 +12190,7 @@ public synthetic class me/alllex/tbot/api/model/SendVoiceRequest$$serializer : k public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/SendVoiceRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/SendVoiceRequest$Companion { @@ -11898,7 +12210,7 @@ public final class me/alllex/tbot/api/model/SentWebAppMessage { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/SentWebAppMessage$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/SentWebAppMessage$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/SentWebAppMessage$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -11906,6 +12218,7 @@ public synthetic class me/alllex/tbot/api/model/SentWebAppMessage$$serializer : public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/SentWebAppMessage;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/SentWebAppMessage$Companion { @@ -11927,7 +12240,7 @@ public final class me/alllex/tbot/api/model/SetBusinessAccountBioRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/SetBusinessAccountBioRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/SetBusinessAccountBioRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/SetBusinessAccountBioRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -11935,6 +12248,7 @@ public synthetic class me/alllex/tbot/api/model/SetBusinessAccountBioRequest$$se public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/SetBusinessAccountBioRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/SetBusinessAccountBioRequest$Companion { @@ -11957,7 +12271,7 @@ public final class me/alllex/tbot/api/model/SetBusinessAccountGiftSettingsReques public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/SetBusinessAccountGiftSettingsRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/SetBusinessAccountGiftSettingsRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/SetBusinessAccountGiftSettingsRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -11965,6 +12279,7 @@ public synthetic class me/alllex/tbot/api/model/SetBusinessAccountGiftSettingsRe public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/SetBusinessAccountGiftSettingsRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/SetBusinessAccountGiftSettingsRequest$Companion { @@ -11988,7 +12303,7 @@ public final class me/alllex/tbot/api/model/SetBusinessAccountNameRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/SetBusinessAccountNameRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/SetBusinessAccountNameRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/SetBusinessAccountNameRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -11996,6 +12311,7 @@ public synthetic class me/alllex/tbot/api/model/SetBusinessAccountNameRequest$$s public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/SetBusinessAccountNameRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/SetBusinessAccountNameRequest$Companion { @@ -12019,7 +12335,7 @@ public final class me/alllex/tbot/api/model/SetBusinessAccountProfilePhotoReques public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/SetBusinessAccountProfilePhotoRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/SetBusinessAccountProfilePhotoRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/SetBusinessAccountProfilePhotoRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -12027,6 +12343,7 @@ public synthetic class me/alllex/tbot/api/model/SetBusinessAccountProfilePhotoRe public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/SetBusinessAccountProfilePhotoRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/SetBusinessAccountProfilePhotoRequest$Companion { @@ -12048,7 +12365,7 @@ public final class me/alllex/tbot/api/model/SetBusinessAccountUsernameRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/SetBusinessAccountUsernameRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/SetBusinessAccountUsernameRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/SetBusinessAccountUsernameRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -12056,6 +12373,7 @@ public synthetic class me/alllex/tbot/api/model/SetBusinessAccountUsernameReques public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/SetBusinessAccountUsernameRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/SetBusinessAccountUsernameRequest$Companion { @@ -12078,7 +12396,7 @@ public final class me/alllex/tbot/api/model/SetChatAdministratorCustomTitleReque public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/SetChatAdministratorCustomTitleRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/SetChatAdministratorCustomTitleRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/SetChatAdministratorCustomTitleRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -12086,6 +12404,7 @@ public synthetic class me/alllex/tbot/api/model/SetChatAdministratorCustomTitleR public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/SetChatAdministratorCustomTitleRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/SetChatAdministratorCustomTitleRequest$Companion { @@ -12107,7 +12426,7 @@ public final class me/alllex/tbot/api/model/SetChatDescriptionRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/SetChatDescriptionRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/SetChatDescriptionRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/SetChatDescriptionRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -12115,6 +12434,7 @@ public synthetic class me/alllex/tbot/api/model/SetChatDescriptionRequest$$seria public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/SetChatDescriptionRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/SetChatDescriptionRequest$Companion { @@ -12136,7 +12456,7 @@ public final class me/alllex/tbot/api/model/SetChatMenuButtonRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/SetChatMenuButtonRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/SetChatMenuButtonRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/SetChatMenuButtonRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -12144,6 +12464,7 @@ public synthetic class me/alllex/tbot/api/model/SetChatMenuButtonRequest$$serial public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/SetChatMenuButtonRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/SetChatMenuButtonRequest$Companion { @@ -12167,7 +12488,7 @@ public final class me/alllex/tbot/api/model/SetChatPermissionsRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/SetChatPermissionsRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/SetChatPermissionsRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/SetChatPermissionsRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -12175,6 +12496,7 @@ public synthetic class me/alllex/tbot/api/model/SetChatPermissionsRequest$$seria public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/SetChatPermissionsRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/SetChatPermissionsRequest$Companion { @@ -12195,7 +12517,7 @@ public final class me/alllex/tbot/api/model/SetChatPhotoRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/SetChatPhotoRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/SetChatPhotoRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/SetChatPhotoRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -12203,6 +12525,7 @@ public synthetic class me/alllex/tbot/api/model/SetChatPhotoRequest$$serializer public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/SetChatPhotoRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/SetChatPhotoRequest$Companion { @@ -12223,7 +12546,7 @@ public final class me/alllex/tbot/api/model/SetChatStickerSetRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/SetChatStickerSetRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/SetChatStickerSetRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/SetChatStickerSetRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -12231,6 +12554,7 @@ public synthetic class me/alllex/tbot/api/model/SetChatStickerSetRequest$$serial public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/SetChatStickerSetRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/SetChatStickerSetRequest$Companion { @@ -12251,7 +12575,7 @@ public final class me/alllex/tbot/api/model/SetChatTitleRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/SetChatTitleRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/SetChatTitleRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/SetChatTitleRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -12259,6 +12583,7 @@ public synthetic class me/alllex/tbot/api/model/SetChatTitleRequest$$serializer public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/SetChatTitleRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/SetChatTitleRequest$Companion { @@ -12280,7 +12605,7 @@ public final class me/alllex/tbot/api/model/SetCustomEmojiStickerSetThumbnailReq public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/SetCustomEmojiStickerSetThumbnailRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/SetCustomEmojiStickerSetThumbnailRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/SetCustomEmojiStickerSetThumbnailRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -12288,6 +12613,7 @@ public synthetic class me/alllex/tbot/api/model/SetCustomEmojiStickerSetThumbnai public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/SetCustomEmojiStickerSetThumbnailRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/SetCustomEmojiStickerSetThumbnailRequest$Companion { @@ -12319,7 +12645,7 @@ public final class me/alllex/tbot/api/model/SetGameScoreRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/SetGameScoreRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/SetGameScoreRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/SetGameScoreRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -12327,6 +12653,7 @@ public synthetic class me/alllex/tbot/api/model/SetGameScoreRequest$$serializer public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/SetGameScoreRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/SetGameScoreRequest$Companion { @@ -12352,7 +12679,7 @@ public final class me/alllex/tbot/api/model/SetMessageReactionRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/SetMessageReactionRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/SetMessageReactionRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/SetMessageReactionRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -12360,6 +12687,7 @@ public synthetic class me/alllex/tbot/api/model/SetMessageReactionRequest$$seria public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/SetMessageReactionRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/SetMessageReactionRequest$Companion { @@ -12383,7 +12711,7 @@ public final class me/alllex/tbot/api/model/SetMyCommandsRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/SetMyCommandsRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/SetMyCommandsRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/SetMyCommandsRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -12391,6 +12719,7 @@ public synthetic class me/alllex/tbot/api/model/SetMyCommandsRequest$$serializer public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/SetMyCommandsRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/SetMyCommandsRequest$Companion { @@ -12413,7 +12742,7 @@ public final class me/alllex/tbot/api/model/SetMyDefaultAdministratorRightsReque public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/SetMyDefaultAdministratorRightsRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/SetMyDefaultAdministratorRightsRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/SetMyDefaultAdministratorRightsRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -12421,6 +12750,7 @@ public synthetic class me/alllex/tbot/api/model/SetMyDefaultAdministratorRightsR public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/SetMyDefaultAdministratorRightsRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/SetMyDefaultAdministratorRightsRequest$Companion { @@ -12443,7 +12773,7 @@ public final class me/alllex/tbot/api/model/SetMyDescriptionRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/SetMyDescriptionRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/SetMyDescriptionRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/SetMyDescriptionRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -12451,6 +12781,7 @@ public synthetic class me/alllex/tbot/api/model/SetMyDescriptionRequest$$seriali public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/SetMyDescriptionRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/SetMyDescriptionRequest$Companion { @@ -12473,7 +12804,7 @@ public final class me/alllex/tbot/api/model/SetMyNameRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/SetMyNameRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/SetMyNameRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/SetMyNameRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -12481,6 +12812,7 @@ public synthetic class me/alllex/tbot/api/model/SetMyNameRequest$$serializer : k public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/SetMyNameRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/SetMyNameRequest$Companion { @@ -12503,7 +12835,7 @@ public final class me/alllex/tbot/api/model/SetMyShortDescriptionRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/SetMyShortDescriptionRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/SetMyShortDescriptionRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/SetMyShortDescriptionRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -12511,6 +12843,7 @@ public synthetic class me/alllex/tbot/api/model/SetMyShortDescriptionRequest$$se public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/SetMyShortDescriptionRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/SetMyShortDescriptionRequest$Companion { @@ -12531,7 +12864,7 @@ public final class me/alllex/tbot/api/model/SetPassportDataErrorsRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/SetPassportDataErrorsRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/SetPassportDataErrorsRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/SetPassportDataErrorsRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -12539,6 +12872,7 @@ public synthetic class me/alllex/tbot/api/model/SetPassportDataErrorsRequest$$se public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/SetPassportDataErrorsRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/SetPassportDataErrorsRequest$Companion { @@ -12559,7 +12893,7 @@ public final class me/alllex/tbot/api/model/SetStickerEmojiListRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/SetStickerEmojiListRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/SetStickerEmojiListRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/SetStickerEmojiListRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -12567,6 +12901,7 @@ public synthetic class me/alllex/tbot/api/model/SetStickerEmojiListRequest$$seri public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/SetStickerEmojiListRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/SetStickerEmojiListRequest$Companion { @@ -12588,7 +12923,7 @@ public final class me/alllex/tbot/api/model/SetStickerKeywordsRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/SetStickerKeywordsRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/SetStickerKeywordsRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/SetStickerKeywordsRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -12596,6 +12931,7 @@ public synthetic class me/alllex/tbot/api/model/SetStickerKeywordsRequest$$seria public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/SetStickerKeywordsRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/SetStickerKeywordsRequest$Companion { @@ -12617,7 +12953,7 @@ public final class me/alllex/tbot/api/model/SetStickerMaskPositionRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/SetStickerMaskPositionRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/SetStickerMaskPositionRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/SetStickerMaskPositionRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -12625,6 +12961,7 @@ public synthetic class me/alllex/tbot/api/model/SetStickerMaskPositionRequest$$s public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/SetStickerMaskPositionRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/SetStickerMaskPositionRequest$Companion { @@ -12645,7 +12982,7 @@ public final class me/alllex/tbot/api/model/SetStickerPositionInSetRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/SetStickerPositionInSetRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/SetStickerPositionInSetRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/SetStickerPositionInSetRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -12653,6 +12990,7 @@ public synthetic class me/alllex/tbot/api/model/SetStickerPositionInSetRequest$$ public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/SetStickerPositionInSetRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/SetStickerPositionInSetRequest$Companion { @@ -12678,7 +13016,7 @@ public final class me/alllex/tbot/api/model/SetStickerSetThumbnailRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/SetStickerSetThumbnailRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/SetStickerSetThumbnailRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/SetStickerSetThumbnailRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -12686,6 +13024,7 @@ public synthetic class me/alllex/tbot/api/model/SetStickerSetThumbnailRequest$$s public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/SetStickerSetThumbnailRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/SetStickerSetThumbnailRequest$Companion { @@ -12706,7 +13045,7 @@ public final class me/alllex/tbot/api/model/SetStickerSetTitleRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/SetStickerSetTitleRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/SetStickerSetTitleRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/SetStickerSetTitleRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -12714,6 +13053,7 @@ public synthetic class me/alllex/tbot/api/model/SetStickerSetTitleRequest$$seria public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/SetStickerSetTitleRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/SetStickerSetTitleRequest$Companion { @@ -12737,7 +13077,7 @@ public final class me/alllex/tbot/api/model/SetUserEmojiStatusRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/SetUserEmojiStatusRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/SetUserEmojiStatusRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/SetUserEmojiStatusRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -12745,6 +13085,7 @@ public synthetic class me/alllex/tbot/api/model/SetUserEmojiStatusRequest$$seria public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/SetUserEmojiStatusRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/SetUserEmojiStatusRequest$Companion { @@ -12776,7 +13117,7 @@ public final class me/alllex/tbot/api/model/SetWebhookRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/SetWebhookRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/SetWebhookRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/SetWebhookRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -12784,6 +13125,7 @@ public synthetic class me/alllex/tbot/api/model/SetWebhookRequest$$serializer : public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/SetWebhookRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/SetWebhookRequest$Companion { @@ -12811,7 +13153,7 @@ public final class me/alllex/tbot/api/model/SharedUser { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/SharedUser$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/SharedUser$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/SharedUser$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -12819,6 +13161,7 @@ public synthetic class me/alllex/tbot/api/model/SharedUser$$serializer : kotlinx public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/SharedUser;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/SharedUser$Companion { @@ -12847,7 +13190,7 @@ public final class me/alllex/tbot/api/model/ShippingAddress { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/ShippingAddress$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/ShippingAddress$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/ShippingAddress$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -12855,6 +13198,7 @@ public synthetic class me/alllex/tbot/api/model/ShippingAddress$$serializer : ko public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/ShippingAddress;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/ShippingAddress$Companion { @@ -12877,7 +13221,7 @@ public final class me/alllex/tbot/api/model/ShippingOption { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/ShippingOption$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/ShippingOption$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/ShippingOption$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -12885,6 +13229,7 @@ public synthetic class me/alllex/tbot/api/model/ShippingOption$$serializer : kot public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/ShippingOption;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/ShippingOption$Companion { @@ -12909,7 +13254,7 @@ public final class me/alllex/tbot/api/model/ShippingQuery { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/ShippingQuery$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/ShippingQuery$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/ShippingQuery$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -12917,6 +13262,7 @@ public synthetic class me/alllex/tbot/api/model/ShippingQuery$$serializer : kotl public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/ShippingQuery;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/ShippingQuery$Companion { @@ -12938,7 +13284,7 @@ public final class me/alllex/tbot/api/model/ShippingQueryId { public final synthetic fun unbox-impl ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/ShippingQueryId$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/ShippingQueryId$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/ShippingQueryId$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -12946,6 +13292,7 @@ public synthetic class me/alllex/tbot/api/model/ShippingQueryId$$serializer : ko public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize-vb6qh7I (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/String;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/ShippingQueryId$Companion { @@ -12967,7 +13314,7 @@ public final class me/alllex/tbot/api/model/ShippingQueryUpdate : me/alllex/tbot public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/ShippingQueryUpdate$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/ShippingQueryUpdate$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/ShippingQueryUpdate$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -12975,6 +13322,7 @@ public synthetic class me/alllex/tbot/api/model/ShippingQueryUpdate$$serializer public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/ShippingQueryUpdate;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/ShippingQueryUpdate$Companion { @@ -12996,7 +13344,7 @@ public final class me/alllex/tbot/api/model/StarAmount { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/StarAmount$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/StarAmount$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/StarAmount$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -13004,6 +13352,7 @@ public synthetic class me/alllex/tbot/api/model/StarAmount$$serializer : kotlinx public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/StarAmount;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/StarAmount$Companion { @@ -13033,7 +13382,7 @@ public final class me/alllex/tbot/api/model/StarTransaction { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/StarTransaction$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/StarTransaction$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/StarTransaction$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -13041,6 +13390,7 @@ public synthetic class me/alllex/tbot/api/model/StarTransaction$$serializer : ko public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/StarTransaction;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/StarTransaction$Companion { @@ -13059,7 +13409,7 @@ public final class me/alllex/tbot/api/model/StarTransactions { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/StarTransactions$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/StarTransactions$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/StarTransactions$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -13067,6 +13417,7 @@ public synthetic class me/alllex/tbot/api/model/StarTransactions$$serializer : k public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/StarTransactions;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/StarTransactions$Companion { @@ -13114,7 +13465,7 @@ public final class me/alllex/tbot/api/model/Sticker { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/Sticker$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/Sticker$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/Sticker$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -13122,6 +13473,7 @@ public synthetic class me/alllex/tbot/api/model/Sticker$$serializer : kotlinx/se public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/Sticker;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/Sticker$Companion { @@ -13149,7 +13501,7 @@ public final class me/alllex/tbot/api/model/StickerSet { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/StickerSet$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/StickerSet$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/StickerSet$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -13157,6 +13509,7 @@ public synthetic class me/alllex/tbot/api/model/StickerSet$$serializer : kotlinx public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/StickerSet;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/StickerSet$Companion { @@ -13184,7 +13537,7 @@ public final class me/alllex/tbot/api/model/StopMessageLiveLocationRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/StopMessageLiveLocationRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/StopMessageLiveLocationRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/StopMessageLiveLocationRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -13192,6 +13545,7 @@ public synthetic class me/alllex/tbot/api/model/StopMessageLiveLocationRequest$$ public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/StopMessageLiveLocationRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/StopMessageLiveLocationRequest$Companion { @@ -13217,7 +13571,7 @@ public final class me/alllex/tbot/api/model/StopPollRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/StopPollRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/StopPollRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/StopPollRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -13225,6 +13579,7 @@ public synthetic class me/alllex/tbot/api/model/StopPollRequest$$serializer : ko public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/StopPollRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/StopPollRequest$Companion { @@ -13245,7 +13600,7 @@ public final class me/alllex/tbot/api/model/Story { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/Story$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/Story$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/Story$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -13253,6 +13608,7 @@ public synthetic class me/alllex/tbot/api/model/Story$$serializer : kotlinx/seri public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/Story;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/Story$Companion { @@ -13273,7 +13629,7 @@ public final class me/alllex/tbot/api/model/StoryArea { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/StoryArea$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/StoryArea$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/StoryArea$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -13281,6 +13637,7 @@ public synthetic class me/alllex/tbot/api/model/StoryArea$$serializer : kotlinx/ public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/StoryArea;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/StoryArea$Companion { @@ -13309,7 +13666,7 @@ public final class me/alllex/tbot/api/model/StoryAreaPosition { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/StoryAreaPosition$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/StoryAreaPosition$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/StoryAreaPosition$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -13317,6 +13674,7 @@ public synthetic class me/alllex/tbot/api/model/StoryAreaPosition$$serializer : public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/StoryAreaPosition;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/StoryAreaPosition$Companion { @@ -13343,7 +13701,7 @@ public final class me/alllex/tbot/api/model/StoryAreaTypeLink : me/alllex/tbot/a public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/StoryAreaTypeLink$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/StoryAreaTypeLink$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/StoryAreaTypeLink$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -13351,6 +13709,7 @@ public synthetic class me/alllex/tbot/api/model/StoryAreaTypeLink$$serializer : public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/StoryAreaTypeLink;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/StoryAreaTypeLink$Companion { @@ -13374,7 +13733,7 @@ public final class me/alllex/tbot/api/model/StoryAreaTypeLocation : me/alllex/tb public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/StoryAreaTypeLocation$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/StoryAreaTypeLocation$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/StoryAreaTypeLocation$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -13382,6 +13741,7 @@ public synthetic class me/alllex/tbot/api/model/StoryAreaTypeLocation$$serialize public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/StoryAreaTypeLocation;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/StoryAreaTypeLocation$Companion { @@ -13405,7 +13765,7 @@ public final class me/alllex/tbot/api/model/StoryAreaTypeSuggestedReaction : me/ public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/StoryAreaTypeSuggestedReaction$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/StoryAreaTypeSuggestedReaction$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/StoryAreaTypeSuggestedReaction$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -13413,6 +13773,7 @@ public synthetic class me/alllex/tbot/api/model/StoryAreaTypeSuggestedReaction$$ public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/StoryAreaTypeSuggestedReaction;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/StoryAreaTypeSuggestedReaction$Companion { @@ -13431,7 +13792,7 @@ public final class me/alllex/tbot/api/model/StoryAreaTypeUniqueGift : me/alllex/ public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/StoryAreaTypeUniqueGift$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/StoryAreaTypeUniqueGift$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/StoryAreaTypeUniqueGift$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -13439,6 +13800,7 @@ public synthetic class me/alllex/tbot/api/model/StoryAreaTypeUniqueGift$$seriali public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/StoryAreaTypeUniqueGift;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/StoryAreaTypeUniqueGift$Companion { @@ -13461,7 +13823,7 @@ public final class me/alllex/tbot/api/model/StoryAreaTypeWeather : me/alllex/tbo public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/StoryAreaTypeWeather$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/StoryAreaTypeWeather$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/StoryAreaTypeWeather$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -13469,6 +13831,7 @@ public synthetic class me/alllex/tbot/api/model/StoryAreaTypeWeather$$serializer public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/StoryAreaTypeWeather;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/StoryAreaTypeWeather$Companion { @@ -13506,7 +13869,7 @@ public final class me/alllex/tbot/api/model/SuccessfulPayment { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/SuccessfulPayment$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/SuccessfulPayment$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/SuccessfulPayment$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -13514,6 +13877,7 @@ public synthetic class me/alllex/tbot/api/model/SuccessfulPayment$$serializer : public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/SuccessfulPayment;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/SuccessfulPayment$Companion { @@ -13542,7 +13906,7 @@ public final class me/alllex/tbot/api/model/SwitchInlineQueryChosenChat { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/SwitchInlineQueryChosenChat$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/SwitchInlineQueryChosenChat$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/SwitchInlineQueryChosenChat$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -13550,6 +13914,7 @@ public synthetic class me/alllex/tbot/api/model/SwitchInlineQueryChosenChat$$ser public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/SwitchInlineQueryChosenChat;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/SwitchInlineQueryChosenChat$Companion { @@ -13571,7 +13936,7 @@ public final class me/alllex/tbot/api/model/TelegramPaymentChargeId { public final synthetic fun unbox-impl ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/TelegramPaymentChargeId$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/TelegramPaymentChargeId$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/TelegramPaymentChargeId$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -13579,6 +13944,7 @@ public synthetic class me/alllex/tbot/api/model/TelegramPaymentChargeId$$seriali public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize-dXDGW_Q (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/String;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/TelegramPaymentChargeId$Companion { @@ -13604,7 +13970,7 @@ public final class me/alllex/tbot/api/model/TextQuote { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/TextQuote$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/TextQuote$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/TextQuote$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -13612,6 +13978,7 @@ public synthetic class me/alllex/tbot/api/model/TextQuote$$serializer : kotlinx/ public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/TextQuote;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/TextQuote$Companion { @@ -13641,7 +14008,7 @@ public final class me/alllex/tbot/api/model/TransactionPartnerAffiliateProgram : public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/TransactionPartnerAffiliateProgram$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/TransactionPartnerAffiliateProgram$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/TransactionPartnerAffiliateProgram$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -13649,6 +14016,7 @@ public synthetic class me/alllex/tbot/api/model/TransactionPartnerAffiliateProgr public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/TransactionPartnerAffiliateProgram;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/TransactionPartnerAffiliateProgram$Companion { @@ -13670,7 +14038,7 @@ public final class me/alllex/tbot/api/model/TransactionPartnerChat : me/alllex/t public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/TransactionPartnerChat$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/TransactionPartnerChat$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/TransactionPartnerChat$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -13678,6 +14046,7 @@ public synthetic class me/alllex/tbot/api/model/TransactionPartnerChat$$serializ public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/TransactionPartnerChat;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/TransactionPartnerChat$Companion { @@ -13698,7 +14067,7 @@ public final class me/alllex/tbot/api/model/TransactionPartnerFragment : me/alll public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/TransactionPartnerFragment$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/TransactionPartnerFragment$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/TransactionPartnerFragment$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -13706,6 +14075,7 @@ public synthetic class me/alllex/tbot/api/model/TransactionPartnerFragment$$seri public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/TransactionPartnerFragment;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/TransactionPartnerFragment$Companion { @@ -13740,7 +14110,7 @@ public final class me/alllex/tbot/api/model/TransactionPartnerTelegramApi : me/a public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/TransactionPartnerTelegramApi$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/TransactionPartnerTelegramApi$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/TransactionPartnerTelegramApi$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -13748,6 +14118,7 @@ public synthetic class me/alllex/tbot/api/model/TransactionPartnerTelegramApi$$s public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/TransactionPartnerTelegramApi;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/TransactionPartnerTelegramApi$Companion { @@ -13783,7 +14154,7 @@ public final class me/alllex/tbot/api/model/TransactionPartnerUser : me/alllex/t public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/TransactionPartnerUser$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/TransactionPartnerUser$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/TransactionPartnerUser$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -13791,6 +14162,7 @@ public synthetic class me/alllex/tbot/api/model/TransactionPartnerUser$$serializ public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/TransactionPartnerUser;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/TransactionPartnerUser$Companion { @@ -13811,7 +14183,7 @@ public final class me/alllex/tbot/api/model/TransferBusinessAccountStarsRequest public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/TransferBusinessAccountStarsRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/TransferBusinessAccountStarsRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/TransferBusinessAccountStarsRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -13819,6 +14191,7 @@ public synthetic class me/alllex/tbot/api/model/TransferBusinessAccountStarsRequ public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/TransferBusinessAccountStarsRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/TransferBusinessAccountStarsRequest$Companion { @@ -13844,7 +14217,7 @@ public final class me/alllex/tbot/api/model/TransferGiftRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/TransferGiftRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/TransferGiftRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/TransferGiftRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -13852,6 +14225,7 @@ public synthetic class me/alllex/tbot/api/model/TransferGiftRequest$$serializer public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/TransferGiftRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/TransferGiftRequest$Companion { @@ -14554,7 +14928,7 @@ public final class me/alllex/tbot/api/model/UnbanChatMemberRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/UnbanChatMemberRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/UnbanChatMemberRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/UnbanChatMemberRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -14562,6 +14936,7 @@ public synthetic class me/alllex/tbot/api/model/UnbanChatMemberRequest$$serializ public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/UnbanChatMemberRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/UnbanChatMemberRequest$Companion { @@ -14582,7 +14957,7 @@ public final class me/alllex/tbot/api/model/UnbanChatSenderChatRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/UnbanChatSenderChatRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/UnbanChatSenderChatRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/UnbanChatSenderChatRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -14590,6 +14965,7 @@ public synthetic class me/alllex/tbot/api/model/UnbanChatSenderChatRequest$$seri public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/UnbanChatSenderChatRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/UnbanChatSenderChatRequest$Companion { @@ -14608,7 +14984,7 @@ public final class me/alllex/tbot/api/model/UnhideGeneralForumTopicRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/UnhideGeneralForumTopicRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/UnhideGeneralForumTopicRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/UnhideGeneralForumTopicRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -14616,6 +14992,7 @@ public synthetic class me/alllex/tbot/api/model/UnhideGeneralForumTopicRequest$$ public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/UnhideGeneralForumTopicRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/UnhideGeneralForumTopicRequest$Companion { @@ -14644,7 +15021,7 @@ public final class me/alllex/tbot/api/model/UniqueGift { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/UniqueGift$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/UniqueGift$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/UniqueGift$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -14652,6 +15029,7 @@ public synthetic class me/alllex/tbot/api/model/UniqueGift$$serializer : kotlinx public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/UniqueGift;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/UniqueGift$Companion { @@ -14674,7 +15052,7 @@ public final class me/alllex/tbot/api/model/UniqueGiftBackdrop { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/UniqueGiftBackdrop$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/UniqueGiftBackdrop$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/UniqueGiftBackdrop$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -14682,6 +15060,7 @@ public synthetic class me/alllex/tbot/api/model/UniqueGiftBackdrop$$serializer : public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/UniqueGiftBackdrop;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/UniqueGiftBackdrop$Companion { @@ -14706,7 +15085,7 @@ public final class me/alllex/tbot/api/model/UniqueGiftBackdropColors { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/UniqueGiftBackdropColors$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/UniqueGiftBackdropColors$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/UniqueGiftBackdropColors$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -14714,6 +15093,7 @@ public synthetic class me/alllex/tbot/api/model/UniqueGiftBackdropColors$$serial public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/UniqueGiftBackdropColors;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/UniqueGiftBackdropColors$Companion { @@ -14739,7 +15119,7 @@ public final class me/alllex/tbot/api/model/UniqueGiftInfo { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/UniqueGiftInfo$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/UniqueGiftInfo$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/UniqueGiftInfo$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -14747,6 +15127,7 @@ public synthetic class me/alllex/tbot/api/model/UniqueGiftInfo$$serializer : kot public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/UniqueGiftInfo;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/UniqueGiftInfo$Companion { @@ -14769,7 +15150,7 @@ public final class me/alllex/tbot/api/model/UniqueGiftModel { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/UniqueGiftModel$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/UniqueGiftModel$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/UniqueGiftModel$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -14777,6 +15158,7 @@ public synthetic class me/alllex/tbot/api/model/UniqueGiftModel$$serializer : ko public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/UniqueGiftModel;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/UniqueGiftModel$Companion { @@ -14799,7 +15181,7 @@ public final class me/alllex/tbot/api/model/UniqueGiftSymbol { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/UniqueGiftSymbol$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/UniqueGiftSymbol$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/UniqueGiftSymbol$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -14807,6 +15189,7 @@ public synthetic class me/alllex/tbot/api/model/UniqueGiftSymbol$$serializer : k public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/UniqueGiftSymbol;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/UniqueGiftSymbol$Companion { @@ -14828,7 +15211,7 @@ public final class me/alllex/tbot/api/model/UnixTimestamp { public final synthetic fun unbox-impl ()J } -public synthetic class me/alllex/tbot/api/model/UnixTimestamp$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/UnixTimestamp$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/UnixTimestamp$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -14836,6 +15219,7 @@ public synthetic class me/alllex/tbot/api/model/UnixTimestamp$$serializer : kotl public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize-47RJg1k (Lkotlinx/serialization/encoding/Encoder;J)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/UnixTimestamp$Companion { @@ -14854,7 +15238,7 @@ public final class me/alllex/tbot/api/model/UnpinAllChatMessagesRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/UnpinAllChatMessagesRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/UnpinAllChatMessagesRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/UnpinAllChatMessagesRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -14862,6 +15246,7 @@ public synthetic class me/alllex/tbot/api/model/UnpinAllChatMessagesRequest$$ser public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/UnpinAllChatMessagesRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/UnpinAllChatMessagesRequest$Companion { @@ -14882,7 +15267,7 @@ public final class me/alllex/tbot/api/model/UnpinAllForumTopicMessagesRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/UnpinAllForumTopicMessagesRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/UnpinAllForumTopicMessagesRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/UnpinAllForumTopicMessagesRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -14890,6 +15275,7 @@ public synthetic class me/alllex/tbot/api/model/UnpinAllForumTopicMessagesReques public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/UnpinAllForumTopicMessagesRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/UnpinAllForumTopicMessagesRequest$Companion { @@ -14908,7 +15294,7 @@ public final class me/alllex/tbot/api/model/UnpinAllGeneralForumTopicMessagesReq public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/UnpinAllGeneralForumTopicMessagesRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/UnpinAllGeneralForumTopicMessagesRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/UnpinAllGeneralForumTopicMessagesRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -14916,6 +15302,7 @@ public synthetic class me/alllex/tbot/api/model/UnpinAllGeneralForumTopicMessage public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/UnpinAllGeneralForumTopicMessagesRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/UnpinAllGeneralForumTopicMessagesRequest$Companion { @@ -14939,7 +15326,7 @@ public final class me/alllex/tbot/api/model/UnpinChatMessageRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/UnpinChatMessageRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/UnpinChatMessageRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/UnpinChatMessageRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -14947,6 +15334,7 @@ public synthetic class me/alllex/tbot/api/model/UnpinChatMessageRequest$$seriali public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/UnpinChatMessageRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/UnpinChatMessageRequest$Companion { @@ -15015,7 +15403,7 @@ public final class me/alllex/tbot/api/model/UpgradeGiftRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/UpgradeGiftRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/UpgradeGiftRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/UpgradeGiftRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -15023,6 +15411,7 @@ public synthetic class me/alllex/tbot/api/model/UpgradeGiftRequest$$serializer : public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/UpgradeGiftRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/UpgradeGiftRequest$Companion { @@ -15045,7 +15434,7 @@ public final class me/alllex/tbot/api/model/UploadStickerFileRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/UploadStickerFileRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/UploadStickerFileRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/UploadStickerFileRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -15053,6 +15442,7 @@ public synthetic class me/alllex/tbot/api/model/UploadStickerFileRequest$$serial public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/UploadStickerFileRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/UploadStickerFileRequest$Companion { @@ -15096,7 +15486,7 @@ public final class me/alllex/tbot/api/model/User { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/User$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/User$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/User$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -15104,6 +15494,7 @@ public synthetic class me/alllex/tbot/api/model/User$$serializer : kotlinx/seria public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/User;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/User$Companion { @@ -15122,7 +15513,7 @@ public final class me/alllex/tbot/api/model/UserChatBoosts { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/UserChatBoosts$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/UserChatBoosts$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/UserChatBoosts$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -15130,6 +15521,7 @@ public synthetic class me/alllex/tbot/api/model/UserChatBoosts$$serializer : kot public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/UserChatBoosts;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/UserChatBoosts$Companion { @@ -15151,7 +15543,7 @@ public final class me/alllex/tbot/api/model/UserId { public final synthetic fun unbox-impl ()J } -public synthetic class me/alllex/tbot/api/model/UserId$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/UserId$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/UserId$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -15159,6 +15551,7 @@ public synthetic class me/alllex/tbot/api/model/UserId$$serializer : kotlinx/ser public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize-8PPNXsE (Lkotlinx/serialization/encoding/Encoder;J)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/UserId$Companion { @@ -15179,7 +15572,7 @@ public final class me/alllex/tbot/api/model/UserProfilePhotos { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/UserProfilePhotos$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/UserProfilePhotos$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/UserProfilePhotos$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -15187,6 +15580,7 @@ public synthetic class me/alllex/tbot/api/model/UserProfilePhotos$$serializer : public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/UserProfilePhotos;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/UserProfilePhotos$Companion { @@ -15207,7 +15601,7 @@ public final class me/alllex/tbot/api/model/UsersShared { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/UsersShared$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/UsersShared$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/UsersShared$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -15215,6 +15609,7 @@ public synthetic class me/alllex/tbot/api/model/UsersShared$$serializer : kotlin public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/UsersShared;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/UsersShared$Companion { @@ -15246,7 +15641,7 @@ public final class me/alllex/tbot/api/model/Venue { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/Venue$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/Venue$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/Venue$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -15254,6 +15649,7 @@ public synthetic class me/alllex/tbot/api/model/Venue$$serializer : kotlinx/seri public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/Venue;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/Venue$Companion { @@ -15275,7 +15671,7 @@ public final class me/alllex/tbot/api/model/VerifyChatRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/VerifyChatRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/VerifyChatRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/VerifyChatRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -15283,6 +15679,7 @@ public synthetic class me/alllex/tbot/api/model/VerifyChatRequest$$serializer : public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/VerifyChatRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/VerifyChatRequest$Companion { @@ -15304,7 +15701,7 @@ public final class me/alllex/tbot/api/model/VerifyUserRequest { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/VerifyUserRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/VerifyUserRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/VerifyUserRequest$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -15312,6 +15709,7 @@ public synthetic class me/alllex/tbot/api/model/VerifyUserRequest$$serializer : public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/VerifyUserRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/VerifyUserRequest$Companion { @@ -15351,7 +15749,7 @@ public final class me/alllex/tbot/api/model/Video { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/Video$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/Video$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/Video$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -15359,6 +15757,7 @@ public synthetic class me/alllex/tbot/api/model/Video$$serializer : kotlinx/seri public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/Video;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/Video$Companion { @@ -15377,7 +15776,7 @@ public final class me/alllex/tbot/api/model/VideoChatEnded { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/VideoChatEnded$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/VideoChatEnded$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/VideoChatEnded$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -15385,6 +15784,7 @@ public synthetic class me/alllex/tbot/api/model/VideoChatEnded$$serializer : kot public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/VideoChatEnded;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/VideoChatEnded$Companion { @@ -15403,7 +15803,7 @@ public final class me/alllex/tbot/api/model/VideoChatParticipantsInvited { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/VideoChatParticipantsInvited$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/VideoChatParticipantsInvited$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/VideoChatParticipantsInvited$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -15411,6 +15811,7 @@ public synthetic class me/alllex/tbot/api/model/VideoChatParticipantsInvited$$se public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/VideoChatParticipantsInvited;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/VideoChatParticipantsInvited$Companion { @@ -15429,7 +15830,7 @@ public final class me/alllex/tbot/api/model/VideoChatScheduled { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/VideoChatScheduled$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/VideoChatScheduled$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/VideoChatScheduled$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -15437,6 +15838,7 @@ public synthetic class me/alllex/tbot/api/model/VideoChatScheduled$$serializer : public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/VideoChatScheduled;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/VideoChatScheduled$Companion { @@ -15474,7 +15876,7 @@ public final class me/alllex/tbot/api/model/VideoNote { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/VideoNote$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/VideoNote$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/VideoNote$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -15482,6 +15884,7 @@ public synthetic class me/alllex/tbot/api/model/VideoNote$$serializer : kotlinx/ public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/VideoNote;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/VideoNote$Companion { @@ -15509,7 +15912,7 @@ public final class me/alllex/tbot/api/model/Voice { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/Voice$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/Voice$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/Voice$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -15517,6 +15920,7 @@ public synthetic class me/alllex/tbot/api/model/Voice$$serializer : kotlinx/seri public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/Voice;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/Voice$Companion { @@ -15537,7 +15941,7 @@ public final class me/alllex/tbot/api/model/WebAppData { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/WebAppData$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/WebAppData$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/WebAppData$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -15545,6 +15949,7 @@ public synthetic class me/alllex/tbot/api/model/WebAppData$$serializer : kotlinx public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/WebAppData;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/WebAppData$Companion { @@ -15563,7 +15968,7 @@ public final class me/alllex/tbot/api/model/WebAppInfo { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/WebAppInfo$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/WebAppInfo$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/WebAppInfo$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -15571,6 +15976,7 @@ public synthetic class me/alllex/tbot/api/model/WebAppInfo$$serializer : kotlinx public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/WebAppInfo;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/WebAppInfo$Companion { @@ -15592,7 +15998,7 @@ public final class me/alllex/tbot/api/model/WebAppQueryId { public final synthetic fun unbox-impl ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/WebAppQueryId$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/WebAppQueryId$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/WebAppQueryId$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -15600,6 +16006,7 @@ public synthetic class me/alllex/tbot/api/model/WebAppQueryId$$serializer : kotl public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize-Zr2Scow (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/String;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/WebAppQueryId$Companion { @@ -15635,7 +16042,7 @@ public final class me/alllex/tbot/api/model/WebhookInfo { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/WebhookInfo$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/WebhookInfo$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/WebhookInfo$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -15643,6 +16050,7 @@ public synthetic class me/alllex/tbot/api/model/WebhookInfo$$serializer : kotlin public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/WebhookInfo;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/WebhookInfo$Companion { @@ -16033,7 +16441,7 @@ public final class me/alllex/tbot/api/model/WriteAccessAllowed { public fun toString ()Ljava/lang/String; } -public synthetic class me/alllex/tbot/api/model/WriteAccessAllowed$$serializer : kotlinx/serialization/internal/GeneratedSerializer { +public final synthetic class me/alllex/tbot/api/model/WriteAccessAllowed$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Lme/alllex/tbot/api/model/WriteAccessAllowed$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -16041,6 +16449,7 @@ public synthetic class me/alllex/tbot/api/model/WriteAccessAllowed$$serializer : public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lme/alllex/tbot/api/model/WriteAccessAllowed;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } public final class me/alllex/tbot/api/model/WriteAccessAllowed$Companion { diff --git a/build.gradle.kts b/build.gradle.kts index ca93e5f..1f31b7b 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -127,7 +127,7 @@ kotlin.sourceSets.main { } kotlin.compilerOptions { - freeCompilerArgs.add("-Xcontext-receivers") + freeCompilerArgs.add("-Xcontext-parameters") } val sourcesJar by tasks.registering(Jar::class) { diff --git a/buildSrc/src/main/kotlin/me/alllex/tbot/apigen/BotApiGenerator.kt b/buildSrc/src/main/kotlin/me/alllex/tbot/apigen/BotApiGenerator.kt index 22c7979..2450a26 100644 --- a/buildSrc/src/main/kotlin/me/alllex/tbot/apigen/BotApiGenerator.kt +++ b/buildSrc/src/main/kotlin/me/alllex/tbot/apigen/BotApiGenerator.kt @@ -63,12 +63,12 @@ class BotApiGenerator { for (entry in updateListenerEntries) { appendLine() - appendLine(" context(TelegramBotApiContext)") + appendLine(" context(botApi: TelegramBotApiContext)") appendLine(" suspend fun on${entry.typeWithoutUpdate}(${entry.field}: ${entry.fieldType}) {}") } appendLine() - appendLine(" context(TelegramBotApiContext)") + appendLine(" context(botApi: TelegramBotApiContext)") appendLine(" suspend fun onUpdate(update: Update) {") appendLine(" when (update) {") for (entry in updateListenerEntries) { @@ -91,7 +91,7 @@ class BotApiGenerator { appendLine(" return object : $listenerTypeName {") for (entry in updateListenerEntries) { appendLine() - appendLine(" context(TelegramBotApiContext)") + appendLine(" context(botApi: TelegramBotApiContext)") appendLine(" override suspend fun on${entry.typeWithoutUpdate}(${entry.field}: ${entry.fieldType}) =") appendLine(" on${entry.typeWithoutUpdate}?.handle(${entry.field}) ?: Unit") } @@ -329,11 +329,11 @@ class BotApiGenerator { val tryWithContextMethodSourceCode = buildString { appendLine() appendMethodDoc(description, parameters) - appendLine("context(TelegramBotApiContext)") + appendLine("context(botApi: TelegramBotApiContext)") append("suspend fun $tryMethodName(") appendParameters(apiMethodName, parameters) appendLine("): TelegramResponse<${returnType.value}> =") - appendLine(" botApiClient.$tryMethodName($requestValueArg)") + appendLine(" botApi.botApiClient.$tryMethodName($requestValueArg)") } // Convenience method @@ -351,13 +351,13 @@ class BotApiGenerator { val methodWithContextSourceCode = buildString { appendLine() appendMethodDoc(description, parameters) - appendLine("context(TelegramBotApiContext)") + appendLine("context(botApi: TelegramBotApiContext)") appendLine("@Throws(TelegramBotApiException::class)") appendLine("@JvmName(\"call${methodBaseName.toTitleCase()}\")") append("suspend fun $methodBaseName(") appendParameters(apiMethodName, parameters) appendLine("): ${returnType.value} =") - appendLine(" botApiClient.$tryMethodName($requestValueArg).getResultOrThrow()") + appendLine(" botApi.botApiClient.$tryMethodName($requestValueArg).getResultOrThrow()") } val fluentContextMethods = fluentMethods.filter { it.delegateName == methodBaseName }.map { fluent -> @@ -365,7 +365,7 @@ class BotApiGenerator { check(unexpectedArgs.isEmpty()) { "Unexpected replacement args for fluent method ${fluent.name}/$methodBaseName: $unexpectedArgs" } buildString { - appendLine("context(TelegramBotApiContext)") + appendLine("context(botApi: TelegramBotApiContext)") appendLine("@Throws(TelegramBotApiException::class)") append("suspend fun ${fluent.receiver}.${fluent.name}(") appendParameters(apiMethodName, parameters.filter { it.name !in fluent.args }) diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 94301d9..9e8750c 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -1,8 +1,8 @@ [versions] jdkTarget = "11" jvmToolchain = "21" -kotlinTarget = "2.0.0" -kotlinPlugin = "2.1.20" +kotlinTarget = "2.2.0" +kotlinPlugin = "2.2.0" kotlinx-coroutines = "1.7.3" kotlinx-serialization = "1.8.1" ktor = "2.3.7" diff --git a/src/main/generated-kotlin/me/alllex/tbot/api/client/TelegramBotUpdateListener.kt b/src/main/generated-kotlin/me/alllex/tbot/api/client/TelegramBotUpdateListener.kt index 914f919..f2a294c 100644 --- a/src/main/generated-kotlin/me/alllex/tbot/api/client/TelegramBotUpdateListener.kt +++ b/src/main/generated-kotlin/me/alllex/tbot/api/client/TelegramBotUpdateListener.kt @@ -7,73 +7,73 @@ import me.alllex.tbot.api.model.* interface TelegramBotUpdateListener { - context(TelegramBotApiContext) + context(botApi: TelegramBotApiContext) suspend fun onMessage(message: Message) {} - context(TelegramBotApiContext) + context(botApi: TelegramBotApiContext) suspend fun onEditedMessage(editedMessage: Message) {} - context(TelegramBotApiContext) + context(botApi: TelegramBotApiContext) suspend fun onChannelPost(channelPost: Message) {} - context(TelegramBotApiContext) + context(botApi: TelegramBotApiContext) suspend fun onEditedChannelPost(editedChannelPost: Message) {} - context(TelegramBotApiContext) + context(botApi: TelegramBotApiContext) suspend fun onInlineQuery(inlineQuery: InlineQuery) {} - context(TelegramBotApiContext) + context(botApi: TelegramBotApiContext) suspend fun onChosenInlineResult(chosenInlineResult: ChosenInlineResult) {} - context(TelegramBotApiContext) + context(botApi: TelegramBotApiContext) suspend fun onCallbackQuery(callbackQuery: CallbackQuery) {} - context(TelegramBotApiContext) + context(botApi: TelegramBotApiContext) suspend fun onShippingQuery(shippingQuery: ShippingQuery) {} - context(TelegramBotApiContext) + context(botApi: TelegramBotApiContext) suspend fun onPreCheckoutQuery(preCheckoutQuery: PreCheckoutQuery) {} - context(TelegramBotApiContext) + context(botApi: TelegramBotApiContext) suspend fun onPoll(poll: Poll) {} - context(TelegramBotApiContext) + context(botApi: TelegramBotApiContext) suspend fun onPollAnswer(pollAnswer: PollAnswer) {} - context(TelegramBotApiContext) + context(botApi: TelegramBotApiContext) suspend fun onMyChatMember(myChatMember: ChatMemberUpdated) {} - context(TelegramBotApiContext) + context(botApi: TelegramBotApiContext) suspend fun onChatMember(chatMember: ChatMemberUpdated) {} - context(TelegramBotApiContext) + context(botApi: TelegramBotApiContext) suspend fun onChatJoinRequest(chatJoinRequest: ChatJoinRequest) {} - context(TelegramBotApiContext) + context(botApi: TelegramBotApiContext) suspend fun onBusinessConnection(businessConnection: BusinessConnection) {} - context(TelegramBotApiContext) + context(botApi: TelegramBotApiContext) suspend fun onBusinessMessage(businessMessage: Message) {} - context(TelegramBotApiContext) + context(botApi: TelegramBotApiContext) suspend fun onDeletedBusinessMessages(deletedBusinessMessages: BusinessMessagesDeleted) {} - context(TelegramBotApiContext) + context(botApi: TelegramBotApiContext) suspend fun onEditedBusinessMessage(editedBusinessMessage: Message) {} - context(TelegramBotApiContext) + context(botApi: TelegramBotApiContext) suspend fun onMessageReactionCount(messageReactionCount: MessageReactionCountUpdated) {} - context(TelegramBotApiContext) + context(botApi: TelegramBotApiContext) suspend fun onMessageReaction(messageReaction: MessageReactionUpdated) {} - context(TelegramBotApiContext) + context(botApi: TelegramBotApiContext) suspend fun onChatBoost(chatBoost: ChatBoostUpdated) {} - context(TelegramBotApiContext) + context(botApi: TelegramBotApiContext) suspend fun onRemovedChatBoost(removedChatBoost: ChatBoostRemoved) {} - context(TelegramBotApiContext) + context(botApi: TelegramBotApiContext) suspend fun onUpdate(update: Update) { when (update) { is MessageUpdate -> onMessage(update.message) @@ -130,91 +130,91 @@ fun TelegramBotUpdateListener( ): TelegramBotUpdateListener { return object : TelegramBotUpdateListener { - context(TelegramBotApiContext) + context(botApi: TelegramBotApiContext) override suspend fun onMessage(message: Message) = onMessage?.handle(message) ?: Unit - context(TelegramBotApiContext) + context(botApi: TelegramBotApiContext) override suspend fun onEditedMessage(editedMessage: Message) = onEditedMessage?.handle(editedMessage) ?: Unit - context(TelegramBotApiContext) + context(botApi: TelegramBotApiContext) override suspend fun onChannelPost(channelPost: Message) = onChannelPost?.handle(channelPost) ?: Unit - context(TelegramBotApiContext) + context(botApi: TelegramBotApiContext) override suspend fun onEditedChannelPost(editedChannelPost: Message) = onEditedChannelPost?.handle(editedChannelPost) ?: Unit - context(TelegramBotApiContext) + context(botApi: TelegramBotApiContext) override suspend fun onInlineQuery(inlineQuery: InlineQuery) = onInlineQuery?.handle(inlineQuery) ?: Unit - context(TelegramBotApiContext) + context(botApi: TelegramBotApiContext) override suspend fun onChosenInlineResult(chosenInlineResult: ChosenInlineResult) = onChosenInlineResult?.handle(chosenInlineResult) ?: Unit - context(TelegramBotApiContext) + context(botApi: TelegramBotApiContext) override suspend fun onCallbackQuery(callbackQuery: CallbackQuery) = onCallbackQuery?.handle(callbackQuery) ?: Unit - context(TelegramBotApiContext) + context(botApi: TelegramBotApiContext) override suspend fun onShippingQuery(shippingQuery: ShippingQuery) = onShippingQuery?.handle(shippingQuery) ?: Unit - context(TelegramBotApiContext) + context(botApi: TelegramBotApiContext) override suspend fun onPreCheckoutQuery(preCheckoutQuery: PreCheckoutQuery) = onPreCheckoutQuery?.handle(preCheckoutQuery) ?: Unit - context(TelegramBotApiContext) + context(botApi: TelegramBotApiContext) override suspend fun onPoll(poll: Poll) = onPoll?.handle(poll) ?: Unit - context(TelegramBotApiContext) + context(botApi: TelegramBotApiContext) override suspend fun onPollAnswer(pollAnswer: PollAnswer) = onPollAnswer?.handle(pollAnswer) ?: Unit - context(TelegramBotApiContext) + context(botApi: TelegramBotApiContext) override suspend fun onMyChatMember(myChatMember: ChatMemberUpdated) = onMyChatMember?.handle(myChatMember) ?: Unit - context(TelegramBotApiContext) + context(botApi: TelegramBotApiContext) override suspend fun onChatMember(chatMember: ChatMemberUpdated) = onChatMember?.handle(chatMember) ?: Unit - context(TelegramBotApiContext) + context(botApi: TelegramBotApiContext) override suspend fun onChatJoinRequest(chatJoinRequest: ChatJoinRequest) = onChatJoinRequest?.handle(chatJoinRequest) ?: Unit - context(TelegramBotApiContext) + context(botApi: TelegramBotApiContext) override suspend fun onBusinessConnection(businessConnection: BusinessConnection) = onBusinessConnection?.handle(businessConnection) ?: Unit - context(TelegramBotApiContext) + context(botApi: TelegramBotApiContext) override suspend fun onBusinessMessage(businessMessage: Message) = onBusinessMessage?.handle(businessMessage) ?: Unit - context(TelegramBotApiContext) + context(botApi: TelegramBotApiContext) override suspend fun onDeletedBusinessMessages(deletedBusinessMessages: BusinessMessagesDeleted) = onDeletedBusinessMessages?.handle(deletedBusinessMessages) ?: Unit - context(TelegramBotApiContext) + context(botApi: TelegramBotApiContext) override suspend fun onEditedBusinessMessage(editedBusinessMessage: Message) = onEditedBusinessMessage?.handle(editedBusinessMessage) ?: Unit - context(TelegramBotApiContext) + context(botApi: TelegramBotApiContext) override suspend fun onMessageReactionCount(messageReactionCount: MessageReactionCountUpdated) = onMessageReactionCount?.handle(messageReactionCount) ?: Unit - context(TelegramBotApiContext) + context(botApi: TelegramBotApiContext) override suspend fun onMessageReaction(messageReaction: MessageReactionUpdated) = onMessageReaction?.handle(messageReaction) ?: Unit - context(TelegramBotApiContext) + context(botApi: TelegramBotApiContext) override suspend fun onChatBoost(chatBoost: ChatBoostUpdated) = onChatBoost?.handle(chatBoost) ?: Unit - context(TelegramBotApiContext) + context(botApi: TelegramBotApiContext) override suspend fun onRemovedChatBoost(removedChatBoost: ChatBoostRemoved) = onRemovedChatBoost?.handle(removedChatBoost) ?: Unit } diff --git a/src/main/generated-kotlin/me/alllex/tbot/api/model/TryWithContextMethods.kt b/src/main/generated-kotlin/me/alllex/tbot/api/model/TryWithContextMethods.kt index 775934b..b5c1dda 100644 --- a/src/main/generated-kotlin/me/alllex/tbot/api/model/TryWithContextMethods.kt +++ b/src/main/generated-kotlin/me/alllex/tbot/api/model/TryWithContextMethods.kt @@ -14,14 +14,14 @@ import me.alllex.tbot.api.client.* * @param timeout Timeout in seconds for long polling. Defaults to 0, i.e. usual short polling. Should be positive, short polling should be used for testing purposes only. * @param allowedUpdates A JSON-serialized list of the update types you want your bot to receive. For example, specify ["message", "edited_channel_post", "callback_query"] to only receive updates of these types. See Update for a complete list of available update types. Specify an empty list to receive all update types except chat_member, message_reaction, and message_reaction_count (default). If not specified, the previous setting will be used. Please note that this parameter doesn't affect updates created before the call to getUpdates, so unwanted updates may be received for a short period of time. */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun tryGetUpdates( offset: Long? = null, limit: Long? = null, timeout: Seconds? = null, allowedUpdates: List? = null, ): TelegramResponse> = - botApiClient.tryGetUpdates(GetUpdatesRequest(offset, limit, timeout, allowedUpdates)) + botApi.botApiClient.tryGetUpdates(GetUpdatesRequest(offset, limit, timeout, allowedUpdates)) /** * Use this method to specify a URL and receive incoming updates via an outgoing webhook. Whenever there is an update for the bot, we will send an HTTPS POST request to the specified URL, containing a JSON-serialized Update. In case of an unsuccessful request (a request with response HTTP status code different from 2XY), we will repeat the request and give up after a reasonable amount of attempts. Returns True on success. @@ -36,7 +36,7 @@ suspend fun tryGetUpdates( * @param dropPendingUpdates Pass True to drop all pending updates * @param secretToken A secret token to be sent in a header “X-Telegram-Bot-Api-Secret-Token” in every webhook request, 1-256 characters. Only characters A-Z, a-z, 0-9, _ and - are allowed. The header is useful to ensure that the request comes from a webhook set by you. */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun trySetWebhook( url: String, certificate: String? = null, @@ -46,46 +46,46 @@ suspend fun trySetWebhook( dropPendingUpdates: Boolean? = null, secretToken: String? = null, ): TelegramResponse = - botApiClient.trySetWebhook(SetWebhookRequest(url, certificate, ipAddress, maxConnections, allowedUpdates, dropPendingUpdates, secretToken)) + botApi.botApiClient.trySetWebhook(SetWebhookRequest(url, certificate, ipAddress, maxConnections, allowedUpdates, dropPendingUpdates, secretToken)) /** * Use this method to remove webhook integration if you decide to switch back to getUpdates. Returns True on success. * * @param dropPendingUpdates Pass True to drop all pending updates */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun tryDeleteWebhook( dropPendingUpdates: Boolean? = null, ): TelegramResponse = - botApiClient.tryDeleteWebhook(DeleteWebhookRequest(dropPendingUpdates)) + botApi.botApiClient.tryDeleteWebhook(DeleteWebhookRequest(dropPendingUpdates)) /** * Use this method to get current webhook status. Requires no parameters. On success, returns a WebhookInfo object. If the bot is using getUpdates, will return an object with the url field empty. */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun tryGetWebhookInfo(): TelegramResponse = - botApiClient.tryGetWebhookInfo() + botApi.botApiClient.tryGetWebhookInfo() /** * A simple method for testing your bot's authentication token. Requires no parameters. Returns basic information about the bot in form of a User object. */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun tryGetMe(): TelegramResponse = - botApiClient.tryGetMe() + botApi.botApiClient.tryGetMe() /** * Use this method to log out from the cloud Bot API server before launching the bot locally. You must log out the bot before running it locally, otherwise there is no guarantee that the bot will receive updates. After a successful call, you can immediately log in on a local server, but will not be able to log in back to the cloud Bot API server for 10 minutes. Returns True on success. Requires no parameters. */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun tryLogOut(): TelegramResponse = - botApiClient.tryLogOut() + botApi.botApiClient.tryLogOut() /** * Use this method to close the bot instance before moving it from one local server to another. You need to delete the webhook before calling this method to ensure that the bot isn't launched again after server restart. The method will return error 429 in the first 10 minutes after the bot is launched. Returns True on success. Requires no parameters. */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun tryClose(): TelegramResponse = - botApiClient.tryClose() + botApi.botApiClient.tryClose() /** * Use this method to send text messages. On success, the sent Message is returned. @@ -104,7 +104,7 @@ suspend fun tryClose(): TelegramResponse = * @param businessConnectionId Unique identifier of the business connection on behalf of which the message will be sent * @param allowPaidBroadcast Pass True to allow up to 1000 messages per second, ignoring broadcasting limits for a fee of 0.1 Telegram Stars per message. The relevant Stars will be withdrawn from the bot's balance */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun trySendMessage( chatId: ChatId, text: String, @@ -120,7 +120,7 @@ suspend fun trySendMessage( businessConnectionId: BusinessConnectionId? = null, allowPaidBroadcast: Boolean? = null, ): TelegramResponse = - botApiClient.trySendMessage(SendMessageRequest(chatId, text, messageThreadId, parseMode, entities, linkPreviewOptions, disableNotification, protectContent, messageEffectId, replyParameters, replyMarkup, businessConnectionId, allowPaidBroadcast)) + botApi.botApiClient.trySendMessage(SendMessageRequest(chatId, text, messageThreadId, parseMode, entities, linkPreviewOptions, disableNotification, protectContent, messageEffectId, replyParameters, replyMarkup, businessConnectionId, allowPaidBroadcast)) /** * Use this method to forward messages of any kind. Service messages and messages with protected content can't be forwarded. On success, the sent Message is returned. @@ -133,7 +133,7 @@ suspend fun trySendMessage( * @param protectContent Protects the contents of the forwarded message from forwarding and saving * @param videoStartTimestamp New start timestamp for the forwarded video in the message */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun tryForwardMessage( chatId: ChatId, fromChatId: ChatId, @@ -143,7 +143,7 @@ suspend fun tryForwardMessage( protectContent: Boolean? = null, videoStartTimestamp: Long? = null, ): TelegramResponse = - botApiClient.tryForwardMessage(ForwardMessageRequest(chatId, fromChatId, messageId, messageThreadId, disableNotification, protectContent, videoStartTimestamp)) + botApi.botApiClient.tryForwardMessage(ForwardMessageRequest(chatId, fromChatId, messageId, messageThreadId, disableNotification, protectContent, videoStartTimestamp)) /** * Use this method to forward multiple messages of any kind. If some of the specified messages can't be found or forwarded, they are skipped. Service messages and messages with protected content can't be forwarded. Album grouping is kept for forwarded messages. On success, an array of MessageId of the sent messages is returned. @@ -155,7 +155,7 @@ suspend fun tryForwardMessage( * @param disableNotification Sends the messages silently. Users will receive a notification with no sound. * @param protectContent Protects the contents of the forwarded messages from forwarding and saving */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun tryForwardMessages( chatId: ChatId, fromChatId: ChatId, @@ -164,7 +164,7 @@ suspend fun tryForwardMessages( disableNotification: Boolean? = null, protectContent: Boolean? = null, ): TelegramResponse> = - botApiClient.tryForwardMessages(ForwardMessagesRequest(chatId, fromChatId, messageIds, messageThreadId, disableNotification, protectContent)) + botApi.botApiClient.tryForwardMessages(ForwardMessagesRequest(chatId, fromChatId, messageIds, messageThreadId, disableNotification, protectContent)) /** * Use this method to copy messages of any kind. Service messages, paid media messages, giveaway messages, giveaway winners messages, and invoice messages can't be copied. A quiz poll can be copied only if the value of the field correct_option_id is known to the bot. The method is analogous to the method forwardMessage, but the copied message doesn't have a link to the original message. Returns the MessageId of the sent message on success. @@ -184,7 +184,7 @@ suspend fun tryForwardMessages( * @param videoStartTimestamp New start timestamp for the copied video in the message * @param allowPaidBroadcast Pass True to allow up to 1000 messages per second, ignoring broadcasting limits for a fee of 0.1 Telegram Stars per message. The relevant Stars will be withdrawn from the bot's balance */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun tryCopyMessage( chatId: ChatId, fromChatId: ChatId, @@ -201,7 +201,7 @@ suspend fun tryCopyMessage( videoStartTimestamp: Long? = null, allowPaidBroadcast: Boolean? = null, ): TelegramResponse = - botApiClient.tryCopyMessage(CopyMessageRequest(chatId, fromChatId, messageId, messageThreadId, caption, parseMode, captionEntities, showCaptionAboveMedia, disableNotification, protectContent, replyParameters, replyMarkup, videoStartTimestamp, allowPaidBroadcast)) + botApi.botApiClient.tryCopyMessage(CopyMessageRequest(chatId, fromChatId, messageId, messageThreadId, caption, parseMode, captionEntities, showCaptionAboveMedia, disableNotification, protectContent, replyParameters, replyMarkup, videoStartTimestamp, allowPaidBroadcast)) /** * Use this method to copy messages of any kind. If some of the specified messages can't be found or copied, they are skipped. Service messages, paid media messages, giveaway messages, giveaway winners messages, and invoice messages can't be copied. A quiz poll can be copied only if the value of the field correct_option_id is known to the bot. The method is analogous to the method forwardMessages, but the copied messages don't have a link to the original message. Album grouping is kept for copied messages. On success, an array of MessageId of the sent messages is returned. @@ -214,7 +214,7 @@ suspend fun tryCopyMessage( * @param protectContent Protects the contents of the sent messages from forwarding and saving * @param removeCaption Pass True to copy the messages without their captions */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun tryCopyMessages( chatId: ChatId, fromChatId: ChatId, @@ -224,7 +224,7 @@ suspend fun tryCopyMessages( protectContent: Boolean? = null, removeCaption: Boolean? = null, ): TelegramResponse> = - botApiClient.tryCopyMessages(CopyMessagesRequest(chatId, fromChatId, messageIds, messageThreadId, disableNotification, protectContent, removeCaption)) + botApi.botApiClient.tryCopyMessages(CopyMessagesRequest(chatId, fromChatId, messageIds, messageThreadId, disableNotification, protectContent, removeCaption)) /** * Use this method to send photos. On success, the sent Message is returned. @@ -245,7 +245,7 @@ suspend fun tryCopyMessages( * @param businessConnectionId Unique identifier of the business connection on behalf of which the message will be sent * @param allowPaidBroadcast Pass True to allow up to 1000 messages per second, ignoring broadcasting limits for a fee of 0.1 Telegram Stars per message. The relevant Stars will be withdrawn from the bot's balance */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun trySendPhoto( chatId: ChatId, photo: String, @@ -263,7 +263,7 @@ suspend fun trySendPhoto( businessConnectionId: BusinessConnectionId? = null, allowPaidBroadcast: Boolean? = null, ): TelegramResponse = - botApiClient.trySendPhoto(SendPhotoRequest(chatId, photo, messageThreadId, caption, parseMode, captionEntities, showCaptionAboveMedia, hasSpoiler, disableNotification, protectContent, messageEffectId, replyParameters, replyMarkup, businessConnectionId, allowPaidBroadcast)) + botApi.botApiClient.trySendPhoto(SendPhotoRequest(chatId, photo, messageThreadId, caption, parseMode, captionEntities, showCaptionAboveMedia, hasSpoiler, disableNotification, protectContent, messageEffectId, replyParameters, replyMarkup, businessConnectionId, allowPaidBroadcast)) /** * Use this method to send audio files, if you want Telegram clients to display them in the music player. Your audio must be in the .MP3 or .M4A format. On success, the sent Message is returned. Bots can currently send audio files of up to 50 MB in size, this limit may be changed in the future. @@ -288,7 +288,7 @@ suspend fun trySendPhoto( * @param businessConnectionId Unique identifier of the business connection on behalf of which the message will be sent * @param allowPaidBroadcast Pass True to allow up to 1000 messages per second, ignoring broadcasting limits for a fee of 0.1 Telegram Stars per message. The relevant Stars will be withdrawn from the bot's balance */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun trySendAudio( chatId: ChatId, audio: String, @@ -308,7 +308,7 @@ suspend fun trySendAudio( businessConnectionId: BusinessConnectionId? = null, allowPaidBroadcast: Boolean? = null, ): TelegramResponse = - botApiClient.trySendAudio(SendAudioRequest(chatId, audio, messageThreadId, caption, parseMode, captionEntities, duration, performer, title, thumbnail, disableNotification, protectContent, messageEffectId, replyParameters, replyMarkup, businessConnectionId, allowPaidBroadcast)) + botApi.botApiClient.trySendAudio(SendAudioRequest(chatId, audio, messageThreadId, caption, parseMode, captionEntities, duration, performer, title, thumbnail, disableNotification, protectContent, messageEffectId, replyParameters, replyMarkup, businessConnectionId, allowPaidBroadcast)) /** * Use this method to send general files. On success, the sent Message is returned. Bots can currently send files of any type of up to 50 MB in size, this limit may be changed in the future. @@ -329,7 +329,7 @@ suspend fun trySendAudio( * @param businessConnectionId Unique identifier of the business connection on behalf of which the message will be sent * @param allowPaidBroadcast Pass True to allow up to 1000 messages per second, ignoring broadcasting limits for a fee of 0.1 Telegram Stars per message. The relevant Stars will be withdrawn from the bot's balance */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun trySendDocument( chatId: ChatId, document: String, @@ -347,7 +347,7 @@ suspend fun trySendDocument( businessConnectionId: BusinessConnectionId? = null, allowPaidBroadcast: Boolean? = null, ): TelegramResponse = - botApiClient.trySendDocument(SendDocumentRequest(chatId, document, messageThreadId, thumbnail, caption, parseMode, captionEntities, disableContentTypeDetection, disableNotification, protectContent, messageEffectId, replyParameters, replyMarkup, businessConnectionId, allowPaidBroadcast)) + botApi.botApiClient.trySendDocument(SendDocumentRequest(chatId, document, messageThreadId, thumbnail, caption, parseMode, captionEntities, disableContentTypeDetection, disableNotification, protectContent, messageEffectId, replyParameters, replyMarkup, businessConnectionId, allowPaidBroadcast)) /** * Use this method to send video files, Telegram clients support MPEG4 videos (other formats may be sent as Document). On success, the sent Message is returned. Bots can currently send video files of up to 50 MB in size, this limit may be changed in the future. @@ -375,7 +375,7 @@ suspend fun trySendDocument( * @param startTimestamp Start timestamp for the video in the message * @param allowPaidBroadcast Pass True to allow up to 1000 messages per second, ignoring broadcasting limits for a fee of 0.1 Telegram Stars per message. The relevant Stars will be withdrawn from the bot's balance */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun trySendVideo( chatId: ChatId, video: String, @@ -400,7 +400,7 @@ suspend fun trySendVideo( startTimestamp: Long? = null, allowPaidBroadcast: Boolean? = null, ): TelegramResponse = - botApiClient.trySendVideo(SendVideoRequest(chatId, video, messageThreadId, duration, width, height, thumbnail, caption, parseMode, captionEntities, showCaptionAboveMedia, hasSpoiler, supportsStreaming, disableNotification, protectContent, messageEffectId, replyParameters, replyMarkup, businessConnectionId, cover, startTimestamp, allowPaidBroadcast)) + botApi.botApiClient.trySendVideo(SendVideoRequest(chatId, video, messageThreadId, duration, width, height, thumbnail, caption, parseMode, captionEntities, showCaptionAboveMedia, hasSpoiler, supportsStreaming, disableNotification, protectContent, messageEffectId, replyParameters, replyMarkup, businessConnectionId, cover, startTimestamp, allowPaidBroadcast)) /** * Use this method to send animation files (GIF or H.264/MPEG-4 AVC video without sound). On success, the sent Message is returned. Bots can currently send animation files of up to 50 MB in size, this limit may be changed in the future. @@ -425,7 +425,7 @@ suspend fun trySendVideo( * @param businessConnectionId Unique identifier of the business connection on behalf of which the message will be sent * @param allowPaidBroadcast Pass True to allow up to 1000 messages per second, ignoring broadcasting limits for a fee of 0.1 Telegram Stars per message. The relevant Stars will be withdrawn from the bot's balance */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun trySendAnimation( chatId: ChatId, animation: String, @@ -447,7 +447,7 @@ suspend fun trySendAnimation( businessConnectionId: BusinessConnectionId? = null, allowPaidBroadcast: Boolean? = null, ): TelegramResponse = - botApiClient.trySendAnimation(SendAnimationRequest(chatId, animation, messageThreadId, duration, width, height, thumbnail, caption, parseMode, captionEntities, showCaptionAboveMedia, hasSpoiler, disableNotification, protectContent, messageEffectId, replyParameters, replyMarkup, businessConnectionId, allowPaidBroadcast)) + botApi.botApiClient.trySendAnimation(SendAnimationRequest(chatId, animation, messageThreadId, duration, width, height, thumbnail, caption, parseMode, captionEntities, showCaptionAboveMedia, hasSpoiler, disableNotification, protectContent, messageEffectId, replyParameters, replyMarkup, businessConnectionId, allowPaidBroadcast)) /** * Use this method to send audio files, if you want Telegram clients to display the file as a playable voice message. For this to work, your audio must be in an .OGG file encoded with OPUS, or in .MP3 format, or in .M4A format (other formats may be sent as Audio or Document). On success, the sent Message is returned. Bots can currently send voice messages of up to 50 MB in size, this limit may be changed in the future. @@ -467,7 +467,7 @@ suspend fun trySendAnimation( * @param businessConnectionId Unique identifier of the business connection on behalf of which the message will be sent * @param allowPaidBroadcast Pass True to allow up to 1000 messages per second, ignoring broadcasting limits for a fee of 0.1 Telegram Stars per message. The relevant Stars will be withdrawn from the bot's balance */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun trySendVoice( chatId: ChatId, voice: String, @@ -484,7 +484,7 @@ suspend fun trySendVoice( businessConnectionId: BusinessConnectionId? = null, allowPaidBroadcast: Boolean? = null, ): TelegramResponse = - botApiClient.trySendVoice(SendVoiceRequest(chatId, voice, messageThreadId, caption, parseMode, captionEntities, duration, disableNotification, protectContent, messageEffectId, replyParameters, replyMarkup, businessConnectionId, allowPaidBroadcast)) + botApi.botApiClient.trySendVoice(SendVoiceRequest(chatId, voice, messageThreadId, caption, parseMode, captionEntities, duration, disableNotification, protectContent, messageEffectId, replyParameters, replyMarkup, businessConnectionId, allowPaidBroadcast)) /** * As of v.4.0, Telegram clients support rounded square MPEG4 videos of up to 1 minute long. Use this method to send video messages. On success, the sent Message is returned. @@ -503,7 +503,7 @@ suspend fun trySendVoice( * @param businessConnectionId Unique identifier of the business connection on behalf of which the message will be sent * @param allowPaidBroadcast Pass True to allow up to 1000 messages per second, ignoring broadcasting limits for a fee of 0.1 Telegram Stars per message. The relevant Stars will be withdrawn from the bot's balance */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun trySendVideoNote( chatId: ChatId, videoNote: String, @@ -519,7 +519,7 @@ suspend fun trySendVideoNote( businessConnectionId: BusinessConnectionId? = null, allowPaidBroadcast: Boolean? = null, ): TelegramResponse = - botApiClient.trySendVideoNote(SendVideoNoteRequest(chatId, videoNote, messageThreadId, duration, length, thumbnail, disableNotification, protectContent, messageEffectId, replyParameters, replyMarkup, businessConnectionId, allowPaidBroadcast)) + botApi.botApiClient.trySendVideoNote(SendVideoNoteRequest(chatId, videoNote, messageThreadId, duration, length, thumbnail, disableNotification, protectContent, messageEffectId, replyParameters, replyMarkup, businessConnectionId, allowPaidBroadcast)) /** * Use this method to send paid media. On success, the sent Message is returned. @@ -539,7 +539,7 @@ suspend fun trySendVideoNote( * @param payload Bot-defined paid media payload, 0-128 bytes. This will not be displayed to the user, use it for your internal processes. * @param allowPaidBroadcast Pass True to allow up to 1000 messages per second, ignoring broadcasting limits for a fee of 0.1 Telegram Stars per message. The relevant Stars will be withdrawn from the bot's balance */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun trySendPaidMedia( chatId: ChatId, starCount: Long, @@ -556,7 +556,7 @@ suspend fun trySendPaidMedia( payload: String? = null, allowPaidBroadcast: Boolean? = null, ): TelegramResponse = - botApiClient.trySendPaidMedia(SendPaidMediaRequest(chatId, starCount, media, caption, parseMode, captionEntities, showCaptionAboveMedia, disableNotification, protectContent, replyParameters, replyMarkup, businessConnectionId, payload, allowPaidBroadcast)) + botApi.botApiClient.trySendPaidMedia(SendPaidMediaRequest(chatId, starCount, media, caption, parseMode, captionEntities, showCaptionAboveMedia, disableNotification, protectContent, replyParameters, replyMarkup, businessConnectionId, payload, allowPaidBroadcast)) /** * Use this method to send a group of photos, videos, documents or audios as an album. Documents and audio files can be only grouped in an album with messages of the same type. On success, an array of Messages that were sent is returned. @@ -571,7 +571,7 @@ suspend fun trySendPaidMedia( * @param businessConnectionId Unique identifier of the business connection on behalf of which the message will be sent * @param allowPaidBroadcast Pass True to allow up to 1000 messages per second, ignoring broadcasting limits for a fee of 0.1 Telegram Stars per message. The relevant Stars will be withdrawn from the bot's balance */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun trySendMediaGroup( chatId: ChatId, media: List, @@ -583,7 +583,7 @@ suspend fun trySendMediaGroup( businessConnectionId: BusinessConnectionId? = null, allowPaidBroadcast: Boolean? = null, ): TelegramResponse> = - botApiClient.trySendMediaGroup(SendMediaGroupRequest(chatId, media, messageThreadId, disableNotification, protectContent, messageEffectId, replyParameters, businessConnectionId, allowPaidBroadcast)) + botApi.botApiClient.trySendMediaGroup(SendMediaGroupRequest(chatId, media, messageThreadId, disableNotification, protectContent, messageEffectId, replyParameters, businessConnectionId, allowPaidBroadcast)) /** * Use this method to send point on the map. On success, the sent Message is returned. @@ -604,7 +604,7 @@ suspend fun trySendMediaGroup( * @param businessConnectionId Unique identifier of the business connection on behalf of which the message will be sent * @param allowPaidBroadcast Pass True to allow up to 1000 messages per second, ignoring broadcasting limits for a fee of 0.1 Telegram Stars per message. The relevant Stars will be withdrawn from the bot's balance */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun trySendLocation( chatId: ChatId, latitude: Double, @@ -622,7 +622,7 @@ suspend fun trySendLocation( businessConnectionId: BusinessConnectionId? = null, allowPaidBroadcast: Boolean? = null, ): TelegramResponse = - botApiClient.trySendLocation(SendLocationRequest(chatId, latitude, longitude, messageThreadId, horizontalAccuracy, livePeriod, heading, proximityAlertRadius, disableNotification, protectContent, messageEffectId, replyParameters, replyMarkup, businessConnectionId, allowPaidBroadcast)) + botApi.botApiClient.trySendLocation(SendLocationRequest(chatId, latitude, longitude, messageThreadId, horizontalAccuracy, livePeriod, heading, proximityAlertRadius, disableNotification, protectContent, messageEffectId, replyParameters, replyMarkup, businessConnectionId, allowPaidBroadcast)) /** * Use this method to send information about a venue. On success, the sent Message is returned. @@ -645,7 +645,7 @@ suspend fun trySendLocation( * @param businessConnectionId Unique identifier of the business connection on behalf of which the message will be sent * @param allowPaidBroadcast Pass True to allow up to 1000 messages per second, ignoring broadcasting limits for a fee of 0.1 Telegram Stars per message. The relevant Stars will be withdrawn from the bot's balance */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun trySendVenue( chatId: ChatId, latitude: Double, @@ -665,7 +665,7 @@ suspend fun trySendVenue( businessConnectionId: BusinessConnectionId? = null, allowPaidBroadcast: Boolean? = null, ): TelegramResponse = - botApiClient.trySendVenue(SendVenueRequest(chatId, latitude, longitude, title, address, messageThreadId, foursquareId, foursquareType, googlePlaceId, googlePlaceType, disableNotification, protectContent, messageEffectId, replyParameters, replyMarkup, businessConnectionId, allowPaidBroadcast)) + botApi.botApiClient.trySendVenue(SendVenueRequest(chatId, latitude, longitude, title, address, messageThreadId, foursquareId, foursquareType, googlePlaceId, googlePlaceType, disableNotification, protectContent, messageEffectId, replyParameters, replyMarkup, businessConnectionId, allowPaidBroadcast)) /** * Use this method to send phone contacts. On success, the sent Message is returned. @@ -684,7 +684,7 @@ suspend fun trySendVenue( * @param businessConnectionId Unique identifier of the business connection on behalf of which the message will be sent * @param allowPaidBroadcast Pass True to allow up to 1000 messages per second, ignoring broadcasting limits for a fee of 0.1 Telegram Stars per message. The relevant Stars will be withdrawn from the bot's balance */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun trySendContact( chatId: ChatId, phoneNumber: String, @@ -700,7 +700,7 @@ suspend fun trySendContact( businessConnectionId: BusinessConnectionId? = null, allowPaidBroadcast: Boolean? = null, ): TelegramResponse = - botApiClient.trySendContact(SendContactRequest(chatId, phoneNumber, firstName, messageThreadId, lastName, vcard, disableNotification, protectContent, messageEffectId, replyParameters, replyMarkup, businessConnectionId, allowPaidBroadcast)) + botApi.botApiClient.trySendContact(SendContactRequest(chatId, phoneNumber, firstName, messageThreadId, lastName, vcard, disableNotification, protectContent, messageEffectId, replyParameters, replyMarkup, businessConnectionId, allowPaidBroadcast)) /** * Use this method to send a native poll. On success, the sent Message is returned. @@ -729,7 +729,7 @@ suspend fun trySendContact( * @param businessConnectionId Unique identifier of the business connection on behalf of which the message will be sent * @param allowPaidBroadcast Pass True to allow up to 1000 messages per second, ignoring broadcasting limits for a fee of 0.1 Telegram Stars per message. The relevant Stars will be withdrawn from the bot's balance */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun trySendPoll( chatId: ChatId, question: String, @@ -755,7 +755,7 @@ suspend fun trySendPoll( businessConnectionId: BusinessConnectionId? = null, allowPaidBroadcast: Boolean? = null, ): TelegramResponse = - botApiClient.trySendPoll(SendPollRequest(chatId, question, options, messageThreadId, questionParseMode, questionEntities, isAnonymous, type, allowsMultipleAnswers, correctOptionId, explanation, explanationParseMode, explanationEntities, openPeriod, closeDate, isClosed, disableNotification, protectContent, messageEffectId, replyParameters, replyMarkup, businessConnectionId, allowPaidBroadcast)) + botApi.botApiClient.trySendPoll(SendPollRequest(chatId, question, options, messageThreadId, questionParseMode, questionEntities, isAnonymous, type, allowsMultipleAnswers, correctOptionId, explanation, explanationParseMode, explanationEntities, openPeriod, closeDate, isClosed, disableNotification, protectContent, messageEffectId, replyParameters, replyMarkup, businessConnectionId, allowPaidBroadcast)) /** * Use this method to send an animated emoji that will display a random value. On success, the sent Message is returned. @@ -771,7 +771,7 @@ suspend fun trySendPoll( * @param businessConnectionId Unique identifier of the business connection on behalf of which the message will be sent * @param allowPaidBroadcast Pass True to allow up to 1000 messages per second, ignoring broadcasting limits for a fee of 0.1 Telegram Stars per message. The relevant Stars will be withdrawn from the bot's balance */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun trySendDice( chatId: ChatId, messageThreadId: MessageThreadId? = null, @@ -784,7 +784,7 @@ suspend fun trySendDice( businessConnectionId: BusinessConnectionId? = null, allowPaidBroadcast: Boolean? = null, ): TelegramResponse = - botApiClient.trySendDice(SendDiceRequest(chatId, messageThreadId, emoji, disableNotification, protectContent, messageEffectId, replyParameters, replyMarkup, businessConnectionId, allowPaidBroadcast)) + botApi.botApiClient.trySendDice(SendDiceRequest(chatId, messageThreadId, emoji, disableNotification, protectContent, messageEffectId, replyParameters, replyMarkup, businessConnectionId, allowPaidBroadcast)) /** * Use this method when you need to tell the user that something is happening on the bot's side. The status is set for 5 seconds or less (when a message arrives from your bot, Telegram clients clear its typing status). Returns True on success. @@ -798,14 +798,14 @@ suspend fun trySendDice( * @param messageThreadId Unique identifier for the target message thread; for supergroups only * @param businessConnectionId Unique identifier of the business connection on behalf of which the action will be sent */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun trySendChatAction( chatId: ChatId, action: String, messageThreadId: MessageThreadId? = null, businessConnectionId: BusinessConnectionId? = null, ): TelegramResponse = - botApiClient.trySendChatAction(SendChatActionRequest(chatId, action, messageThreadId, businessConnectionId)) + botApi.botApiClient.trySendChatAction(SendChatActionRequest(chatId, action, messageThreadId, businessConnectionId)) /** * Use this method to change the chosen reactions on a message. Service messages of some types can't be reacted to. Automatically forwarded messages from a channel to its discussion group have the same available reactions as messages in the channel. Bots can't use paid reactions. Returns True on success. @@ -815,14 +815,14 @@ suspend fun trySendChatAction( * @param reaction A JSON-serialized list of reaction types to set on the message. Currently, as non-premium users, bots can set up to one reaction per message. A custom emoji reaction can be used if it is either already present on the message or explicitly allowed by chat administrators. Paid reactions can't be used by bots. * @param isBig Pass True to set the reaction with a big animation */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun trySetMessageReaction( chatId: ChatId, messageId: MessageId, reaction: List? = null, isBig: Boolean? = null, ): TelegramResponse = - botApiClient.trySetMessageReaction(SetMessageReactionRequest(chatId, messageId, reaction, isBig)) + botApi.botApiClient.trySetMessageReaction(SetMessageReactionRequest(chatId, messageId, reaction, isBig)) /** * Use this method to get a list of profile pictures for a user. Returns a UserProfilePhotos object. @@ -831,13 +831,13 @@ suspend fun trySetMessageReaction( * @param offset Sequential number of the first photo to be returned. By default, all photos are returned. * @param limit Limits the number of photos to be retrieved. Values between 1-100 are accepted. Defaults to 100. */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun tryGetUserProfilePhotos( userId: UserId, offset: Long? = null, limit: Long? = null, ): TelegramResponse = - botApiClient.tryGetUserProfilePhotos(GetUserProfilePhotosRequest(userId, offset, limit)) + botApi.botApiClient.tryGetUserProfilePhotos(GetUserProfilePhotosRequest(userId, offset, limit)) /** * Changes the emoji status for a given user that previously allowed the bot to manage their emoji status via the Mini App method requestEmojiStatusAccess. Returns True on success. @@ -846,24 +846,24 @@ suspend fun tryGetUserProfilePhotos( * @param emojiStatusCustomEmojiId Custom emoji identifier of the emoji status to set. Pass an empty string to remove the status. * @param emojiStatusExpirationDate Expiration date of the emoji status, if any */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun trySetUserEmojiStatus( userId: UserId, emojiStatusCustomEmojiId: CustomEmojiId? = null, emojiStatusExpirationDate: UnixTimestamp? = null, ): TelegramResponse = - botApiClient.trySetUserEmojiStatus(SetUserEmojiStatusRequest(userId, emojiStatusCustomEmojiId, emojiStatusExpirationDate)) + botApi.botApiClient.trySetUserEmojiStatus(SetUserEmojiStatusRequest(userId, emojiStatusCustomEmojiId, emojiStatusExpirationDate)) /** * Use this method to get basic information about a file and prepare it for downloading. For the moment, bots can download files of up to 20MB in size. On success, a File object is returned. The file can then be downloaded via the link https://api.telegram.org/file/bot/, where is taken from the response. It is guaranteed that the link will be valid for at least 1 hour. When the link expires, a new one can be requested by calling getFile again. * * @param fileId File identifier to get information about */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun tryGetFile( fileId: FileId, ): TelegramResponse = - botApiClient.tryGetFile(GetFileRequest(fileId)) + botApi.botApiClient.tryGetFile(GetFileRequest(fileId)) /** * Use this method to ban a user in a group, a supergroup or a channel. In the case of supergroups and channels, the user will not be able to return to the chat on their own using invite links, etc., unless unbanned first. The bot must be an administrator in the chat for this to work and must have the appropriate administrator rights. Returns True on success. @@ -873,14 +873,14 @@ suspend fun tryGetFile( * @param untilDate Date when the user will be unbanned; Unix time. If user is banned for more than 366 days or less than 30 seconds from the current time they are considered to be banned forever. Applied for supergroups and channels only. * @param revokeMessages Pass True to delete all messages from the chat for the user that is being removed. If False, the user will be able to see messages in the group that were sent before the user was removed. Always True for supergroups and channels. */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun tryBanChatMember( chatId: ChatId, userId: UserId, untilDate: UnixTimestamp? = null, revokeMessages: Boolean? = null, ): TelegramResponse = - botApiClient.tryBanChatMember(BanChatMemberRequest(chatId, userId, untilDate, revokeMessages)) + botApi.botApiClient.tryBanChatMember(BanChatMemberRequest(chatId, userId, untilDate, revokeMessages)) /** * Use this method to unban a previously banned user in a supergroup or channel. The user will not return to the group or channel automatically, but will be able to join via link, etc. The bot must be an administrator for this to work. By default, this method guarantees that after the call the user is not a member of the chat, but will be able to join it. So if the user is a member of the chat they will also be removed from the chat. If you don't want this, use the parameter only_if_banned. Returns True on success. @@ -889,13 +889,13 @@ suspend fun tryBanChatMember( * @param userId Unique identifier of the target user * @param onlyIfBanned Do nothing if the user is not banned */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun tryUnbanChatMember( chatId: ChatId, userId: UserId, onlyIfBanned: Boolean? = null, ): TelegramResponse = - botApiClient.tryUnbanChatMember(UnbanChatMemberRequest(chatId, userId, onlyIfBanned)) + botApi.botApiClient.tryUnbanChatMember(UnbanChatMemberRequest(chatId, userId, onlyIfBanned)) /** * Use this method to restrict a user in a supergroup. The bot must be an administrator in the supergroup for this to work and must have the appropriate administrator rights. Pass True for all permissions to lift restrictions from a user. Returns True on success. @@ -906,7 +906,7 @@ suspend fun tryUnbanChatMember( * @param useIndependentChatPermissions Pass True if chat permissions are set independently. Otherwise, the can_send_other_messages and can_add_web_page_previews permissions will imply the can_send_messages, can_send_audios, can_send_documents, can_send_photos, can_send_videos, can_send_video_notes, and can_send_voice_notes permissions; the can_send_polls permission will imply the can_send_messages permission. * @param untilDate Date when restrictions will be lifted for the user; Unix time. If user is restricted for more than 366 days or less than 30 seconds from the current time, they are considered to be restricted forever */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun tryRestrictChatMember( chatId: ChatId, userId: UserId, @@ -914,7 +914,7 @@ suspend fun tryRestrictChatMember( useIndependentChatPermissions: Boolean? = null, untilDate: UnixTimestamp? = null, ): TelegramResponse = - botApiClient.tryRestrictChatMember(RestrictChatMemberRequest(chatId, userId, permissions, useIndependentChatPermissions, untilDate)) + botApi.botApiClient.tryRestrictChatMember(RestrictChatMemberRequest(chatId, userId, permissions, useIndependentChatPermissions, untilDate)) /** * Use this method to promote or demote a user in a supergroup or a channel. The bot must be an administrator in the chat for this to work and must have the appropriate administrator rights. Pass False for all boolean parameters to demote a user. Returns True on success. @@ -937,7 +937,7 @@ suspend fun tryRestrictChatMember( * @param canPinMessages Pass True if the administrator can pin messages; for supergroups only * @param canManageTopics Pass True if the user is allowed to create, rename, close, and reopen forum topics; for supergroups only */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun tryPromoteChatMember( chatId: ChatId, userId: UserId, @@ -957,7 +957,7 @@ suspend fun tryPromoteChatMember( canPinMessages: Boolean? = null, canManageTopics: Boolean? = null, ): TelegramResponse = - botApiClient.tryPromoteChatMember(PromoteChatMemberRequest(chatId, userId, isAnonymous, canManageChat, canDeleteMessages, canManageVideoChats, canRestrictMembers, canPromoteMembers, canChangeInfo, canInviteUsers, canPostStories, canEditStories, canDeleteStories, canPostMessages, canEditMessages, canPinMessages, canManageTopics)) + botApi.botApiClient.tryPromoteChatMember(PromoteChatMemberRequest(chatId, userId, isAnonymous, canManageChat, canDeleteMessages, canManageVideoChats, canRestrictMembers, canPromoteMembers, canChangeInfo, canInviteUsers, canPostStories, canEditStories, canDeleteStories, canPostMessages, canEditMessages, canPinMessages, canManageTopics)) /** * Use this method to set a custom title for an administrator in a supergroup promoted by the bot. Returns True on success. @@ -966,13 +966,13 @@ suspend fun tryPromoteChatMember( * @param userId Unique identifier of the target user * @param customTitle New custom title for the administrator; 0-16 characters, emoji are not allowed */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun trySetChatAdministratorCustomTitle( chatId: ChatId, userId: UserId, customTitle: String, ): TelegramResponse = - botApiClient.trySetChatAdministratorCustomTitle(SetChatAdministratorCustomTitleRequest(chatId, userId, customTitle)) + botApi.botApiClient.trySetChatAdministratorCustomTitle(SetChatAdministratorCustomTitleRequest(chatId, userId, customTitle)) /** * Use this method to ban a channel chat in a supergroup or a channel. Until the chat is unbanned, the owner of the banned chat won't be able to send messages on behalf of any of their channels. The bot must be an administrator in the supergroup or channel for this to work and must have the appropriate administrator rights. Returns True on success. @@ -980,12 +980,12 @@ suspend fun trySetChatAdministratorCustomTitle( * @param chatId Unique identifier for the target chat or username of the target channel (in the format @channelusername) * @param senderChatId Unique identifier of the target sender chat */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun tryBanChatSenderChat( chatId: ChatId, senderChatId: ChatId, ): TelegramResponse = - botApiClient.tryBanChatSenderChat(BanChatSenderChatRequest(chatId, senderChatId)) + botApi.botApiClient.tryBanChatSenderChat(BanChatSenderChatRequest(chatId, senderChatId)) /** * Use this method to unban a previously banned channel chat in a supergroup or channel. The bot must be an administrator for this to work and must have the appropriate administrator rights. Returns True on success. @@ -993,12 +993,12 @@ suspend fun tryBanChatSenderChat( * @param chatId Unique identifier for the target chat or username of the target channel (in the format @channelusername) * @param senderChatId Unique identifier of the target sender chat */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun tryUnbanChatSenderChat( chatId: ChatId, senderChatId: ChatId, ): TelegramResponse = - botApiClient.tryUnbanChatSenderChat(UnbanChatSenderChatRequest(chatId, senderChatId)) + botApi.botApiClient.tryUnbanChatSenderChat(UnbanChatSenderChatRequest(chatId, senderChatId)) /** * Use this method to set default chat permissions for all members. The bot must be an administrator in the group or a supergroup for this to work and must have the can_restrict_members administrator rights. Returns True on success. @@ -1007,24 +1007,24 @@ suspend fun tryUnbanChatSenderChat( * @param permissions A JSON-serialized object for new default chat permissions * @param useIndependentChatPermissions Pass True if chat permissions are set independently. Otherwise, the can_send_other_messages and can_add_web_page_previews permissions will imply the can_send_messages, can_send_audios, can_send_documents, can_send_photos, can_send_videos, can_send_video_notes, and can_send_voice_notes permissions; the can_send_polls permission will imply the can_send_messages permission. */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun trySetChatPermissions( chatId: ChatId, permissions: ChatPermissions, useIndependentChatPermissions: Boolean? = null, ): TelegramResponse = - botApiClient.trySetChatPermissions(SetChatPermissionsRequest(chatId, permissions, useIndependentChatPermissions)) + botApi.botApiClient.trySetChatPermissions(SetChatPermissionsRequest(chatId, permissions, useIndependentChatPermissions)) /** * Use this method to generate a new primary invite link for a chat; any previously generated primary link is revoked. The bot must be an administrator in the chat for this to work and must have the appropriate administrator rights. Returns the new invite link as String on success. * * @param chatId Unique identifier for the target chat or username of the target channel (in the format @channelusername) */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun tryExportChatInviteLink( chatId: ChatId, ): TelegramResponse = - botApiClient.tryExportChatInviteLink(ExportChatInviteLinkRequest(chatId)) + botApi.botApiClient.tryExportChatInviteLink(ExportChatInviteLinkRequest(chatId)) /** * Use this method to create an additional invite link for a chat. The bot must be an administrator in the chat for this to work and must have the appropriate administrator rights. The link can be revoked using the method revokeChatInviteLink. Returns the new invite link as ChatInviteLink object. @@ -1035,7 +1035,7 @@ suspend fun tryExportChatInviteLink( * @param memberLimit The maximum number of users that can be members of the chat simultaneously after joining the chat via this invite link; 1-99999 * @param createsJoinRequest True, if users joining the chat via the link need to be approved by chat administrators. If True, member_limit can't be specified */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun tryCreateChatInviteLink( chatId: ChatId, name: String? = null, @@ -1043,7 +1043,7 @@ suspend fun tryCreateChatInviteLink( memberLimit: Long? = null, createsJoinRequest: Boolean? = null, ): TelegramResponse = - botApiClient.tryCreateChatInviteLink(CreateChatInviteLinkRequest(chatId, name, expireDate, memberLimit, createsJoinRequest)) + botApi.botApiClient.tryCreateChatInviteLink(CreateChatInviteLinkRequest(chatId, name, expireDate, memberLimit, createsJoinRequest)) /** * Use this method to edit a non-primary invite link created by the bot. The bot must be an administrator in the chat for this to work and must have the appropriate administrator rights. Returns the edited invite link as a ChatInviteLink object. @@ -1055,7 +1055,7 @@ suspend fun tryCreateChatInviteLink( * @param memberLimit The maximum number of users that can be members of the chat simultaneously after joining the chat via this invite link; 1-99999 * @param createsJoinRequest True, if users joining the chat via the link need to be approved by chat administrators. If True, member_limit can't be specified */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun tryEditChatInviteLink( chatId: ChatId, inviteLink: String, @@ -1064,7 +1064,7 @@ suspend fun tryEditChatInviteLink( memberLimit: Long? = null, createsJoinRequest: Boolean? = null, ): TelegramResponse = - botApiClient.tryEditChatInviteLink(EditChatInviteLinkRequest(chatId, inviteLink, name, expireDate, memberLimit, createsJoinRequest)) + botApi.botApiClient.tryEditChatInviteLink(EditChatInviteLinkRequest(chatId, inviteLink, name, expireDate, memberLimit, createsJoinRequest)) /** * Use this method to create a subscription invite link for a channel chat. The bot must have the can_invite_users administrator rights. The link can be edited using the method editChatSubscriptionInviteLink or revoked using the method revokeChatInviteLink. Returns the new invite link as a ChatInviteLink object. @@ -1074,14 +1074,14 @@ suspend fun tryEditChatInviteLink( * @param subscriptionPrice The amount of Telegram Stars a user must pay initially and after each subsequent subscription period to be a member of the chat; 1-10000 * @param name Invite link name; 0-32 characters */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun tryCreateChatSubscriptionInviteLink( chatId: ChatId, subscriptionPeriod: Seconds, subscriptionPrice: Long, name: String? = null, ): TelegramResponse = - botApiClient.tryCreateChatSubscriptionInviteLink(CreateChatSubscriptionInviteLinkRequest(chatId, subscriptionPeriod, subscriptionPrice, name)) + botApi.botApiClient.tryCreateChatSubscriptionInviteLink(CreateChatSubscriptionInviteLinkRequest(chatId, subscriptionPeriod, subscriptionPrice, name)) /** * Use this method to edit a subscription invite link created by the bot. The bot must have the can_invite_users administrator rights. Returns the edited invite link as a ChatInviteLink object. @@ -1090,13 +1090,13 @@ suspend fun tryCreateChatSubscriptionInviteLink( * @param inviteLink The invite link to edit * @param name Invite link name; 0-32 characters */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun tryEditChatSubscriptionInviteLink( chatId: ChatId, inviteLink: String, name: String? = null, ): TelegramResponse = - botApiClient.tryEditChatSubscriptionInviteLink(EditChatSubscriptionInviteLinkRequest(chatId, inviteLink, name)) + botApi.botApiClient.tryEditChatSubscriptionInviteLink(EditChatSubscriptionInviteLinkRequest(chatId, inviteLink, name)) /** * Use this method to revoke an invite link created by the bot. If the primary link is revoked, a new link is automatically generated. The bot must be an administrator in the chat for this to work and must have the appropriate administrator rights. Returns the revoked invite link as ChatInviteLink object. @@ -1104,12 +1104,12 @@ suspend fun tryEditChatSubscriptionInviteLink( * @param chatId Unique identifier of the target chat or username of the target channel (in the format @channelusername) * @param inviteLink The invite link to revoke */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun tryRevokeChatInviteLink( chatId: ChatId, inviteLink: String, ): TelegramResponse = - botApiClient.tryRevokeChatInviteLink(RevokeChatInviteLinkRequest(chatId, inviteLink)) + botApi.botApiClient.tryRevokeChatInviteLink(RevokeChatInviteLinkRequest(chatId, inviteLink)) /** * Use this method to approve a chat join request. The bot must be an administrator in the chat for this to work and must have the can_invite_users administrator right. Returns True on success. @@ -1117,12 +1117,12 @@ suspend fun tryRevokeChatInviteLink( * @param chatId Unique identifier for the target chat or username of the target channel (in the format @channelusername) * @param userId Unique identifier of the target user */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun tryApproveChatJoinRequest( chatId: ChatId, userId: UserId, ): TelegramResponse = - botApiClient.tryApproveChatJoinRequest(ApproveChatJoinRequestRequest(chatId, userId)) + botApi.botApiClient.tryApproveChatJoinRequest(ApproveChatJoinRequestRequest(chatId, userId)) /** * Use this method to decline a chat join request. The bot must be an administrator in the chat for this to work and must have the can_invite_users administrator right. Returns True on success. @@ -1130,12 +1130,12 @@ suspend fun tryApproveChatJoinRequest( * @param chatId Unique identifier for the target chat or username of the target channel (in the format @channelusername) * @param userId Unique identifier of the target user */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun tryDeclineChatJoinRequest( chatId: ChatId, userId: UserId, ): TelegramResponse = - botApiClient.tryDeclineChatJoinRequest(DeclineChatJoinRequestRequest(chatId, userId)) + botApi.botApiClient.tryDeclineChatJoinRequest(DeclineChatJoinRequestRequest(chatId, userId)) /** * Use this method to set a new profile photo for the chat. Photos can't be changed for private chats. The bot must be an administrator in the chat for this to work and must have the appropriate administrator rights. Returns True on success. @@ -1143,23 +1143,23 @@ suspend fun tryDeclineChatJoinRequest( * @param chatId Unique identifier for the target chat or username of the target channel (in the format @channelusername) * @param photo New chat photo, uploaded using multipart/form-data */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun trySetChatPhoto( chatId: ChatId, photo: String, ): TelegramResponse = - botApiClient.trySetChatPhoto(SetChatPhotoRequest(chatId, photo)) + botApi.botApiClient.trySetChatPhoto(SetChatPhotoRequest(chatId, photo)) /** * Use this method to delete a chat photo. Photos can't be changed for private chats. The bot must be an administrator in the chat for this to work and must have the appropriate administrator rights. Returns True on success. * * @param chatId Unique identifier for the target chat or username of the target channel (in the format @channelusername) */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun tryDeleteChatPhoto( chatId: ChatId, ): TelegramResponse = - botApiClient.tryDeleteChatPhoto(DeleteChatPhotoRequest(chatId)) + botApi.botApiClient.tryDeleteChatPhoto(DeleteChatPhotoRequest(chatId)) /** * Use this method to change the title of a chat. Titles can't be changed for private chats. The bot must be an administrator in the chat for this to work and must have the appropriate administrator rights. Returns True on success. @@ -1167,12 +1167,12 @@ suspend fun tryDeleteChatPhoto( * @param chatId Unique identifier for the target chat or username of the target channel (in the format @channelusername) * @param title New chat title, 1-128 characters */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun trySetChatTitle( chatId: ChatId, title: String, ): TelegramResponse = - botApiClient.trySetChatTitle(SetChatTitleRequest(chatId, title)) + botApi.botApiClient.trySetChatTitle(SetChatTitleRequest(chatId, title)) /** * Use this method to change the description of a group, a supergroup or a channel. The bot must be an administrator in the chat for this to work and must have the appropriate administrator rights. Returns True on success. @@ -1180,12 +1180,12 @@ suspend fun trySetChatTitle( * @param chatId Unique identifier for the target chat or username of the target channel (in the format @channelusername) * @param description New chat description, 0-255 characters */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun trySetChatDescription( chatId: ChatId, description: String? = null, ): TelegramResponse = - botApiClient.trySetChatDescription(SetChatDescriptionRequest(chatId, description)) + botApi.botApiClient.trySetChatDescription(SetChatDescriptionRequest(chatId, description)) /** * Use this method to add a message to the list of pinned messages in a chat. If the chat is not a private chat, the bot must be an administrator in the chat for this to work and must have the 'can_pin_messages' administrator right in a supergroup or 'can_edit_messages' administrator right in a channel. Returns True on success. @@ -1195,14 +1195,14 @@ suspend fun trySetChatDescription( * @param disableNotification Pass True if it is not necessary to send a notification to all chat members about the new pinned message. Notifications are always disabled in channels and private chats. * @param businessConnectionId Unique identifier of the business connection on behalf of which the message will be pinned */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun tryPinChatMessage( chatId: ChatId, messageId: MessageId, disableNotification: Boolean? = null, businessConnectionId: BusinessConnectionId? = null, ): TelegramResponse = - botApiClient.tryPinChatMessage(PinChatMessageRequest(chatId, messageId, disableNotification, businessConnectionId)) + botApi.botApiClient.tryPinChatMessage(PinChatMessageRequest(chatId, messageId, disableNotification, businessConnectionId)) /** * Use this method to remove a message from the list of pinned messages in a chat. If the chat is not a private chat, the bot must be an administrator in the chat for this to work and must have the 'can_pin_messages' administrator right in a supergroup or 'can_edit_messages' administrator right in a channel. Returns True on success. @@ -1211,68 +1211,68 @@ suspend fun tryPinChatMessage( * @param messageId Identifier of the message to unpin. Required if business_connection_id is specified. If not specified, the most recent pinned message (by sending date) will be unpinned. * @param businessConnectionId Unique identifier of the business connection on behalf of which the message will be unpinned */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun tryUnpinChatMessage( chatId: ChatId, messageId: MessageId? = null, businessConnectionId: BusinessConnectionId? = null, ): TelegramResponse = - botApiClient.tryUnpinChatMessage(UnpinChatMessageRequest(chatId, messageId, businessConnectionId)) + botApi.botApiClient.tryUnpinChatMessage(UnpinChatMessageRequest(chatId, messageId, businessConnectionId)) /** * Use this method to clear the list of pinned messages in a chat. If the chat is not a private chat, the bot must be an administrator in the chat for this to work and must have the 'can_pin_messages' administrator right in a supergroup or 'can_edit_messages' administrator right in a channel. Returns True on success. * * @param chatId Unique identifier for the target chat or username of the target channel (in the format @channelusername) */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun tryUnpinAllChatMessages( chatId: ChatId, ): TelegramResponse = - botApiClient.tryUnpinAllChatMessages(UnpinAllChatMessagesRequest(chatId)) + botApi.botApiClient.tryUnpinAllChatMessages(UnpinAllChatMessagesRequest(chatId)) /** * Use this method for your bot to leave a group, supergroup or channel. Returns True on success. * * @param chatId Unique identifier for the target chat or username of the target supergroup or channel (in the format @channelusername) */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun tryLeaveChat( chatId: ChatId, ): TelegramResponse = - botApiClient.tryLeaveChat(LeaveChatRequest(chatId)) + botApi.botApiClient.tryLeaveChat(LeaveChatRequest(chatId)) /** * Use this method to get up-to-date information about the chat. Returns a ChatFullInfo object on success. * * @param chatId Unique identifier for the target chat or username of the target supergroup or channel (in the format @channelusername) */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun tryGetChat( chatId: ChatId, ): TelegramResponse = - botApiClient.tryGetChat(GetChatRequest(chatId)) + botApi.botApiClient.tryGetChat(GetChatRequest(chatId)) /** * Use this method to get a list of administrators in a chat, which aren't bots. Returns an Array of ChatMember objects. * * @param chatId Unique identifier for the target chat or username of the target supergroup or channel (in the format @channelusername) */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun tryGetChatAdministrators( chatId: ChatId, ): TelegramResponse> = - botApiClient.tryGetChatAdministrators(GetChatAdministratorsRequest(chatId)) + botApi.botApiClient.tryGetChatAdministrators(GetChatAdministratorsRequest(chatId)) /** * Use this method to get the number of members in a chat. Returns Int on success. * * @param chatId Unique identifier for the target chat or username of the target supergroup or channel (in the format @channelusername) */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun tryGetChatMemberCount( chatId: ChatId, ): TelegramResponse = - botApiClient.tryGetChatMemberCount(GetChatMemberCountRequest(chatId)) + botApi.botApiClient.tryGetChatMemberCount(GetChatMemberCountRequest(chatId)) /** * Use this method to get information about a member of a chat. The method is only guaranteed to work for other users if the bot is an administrator in the chat. Returns a ChatMember object on success. @@ -1280,12 +1280,12 @@ suspend fun tryGetChatMemberCount( * @param chatId Unique identifier for the target chat or username of the target supergroup or channel (in the format @channelusername) * @param userId Unique identifier of the target user */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun tryGetChatMember( chatId: ChatId, userId: UserId, ): TelegramResponse = - botApiClient.tryGetChatMember(GetChatMemberRequest(chatId, userId)) + botApi.botApiClient.tryGetChatMember(GetChatMemberRequest(chatId, userId)) /** * Use this method to set a new group sticker set for a supergroup. The bot must be an administrator in the chat for this to work and must have the appropriate administrator rights. Use the field can_set_sticker_set optionally returned in getChat requests to check if the bot can use this method. Returns True on success. @@ -1293,30 +1293,30 @@ suspend fun tryGetChatMember( * @param chatId Unique identifier for the target chat or username of the target supergroup (in the format @supergroupusername) * @param stickerSetName Name of the sticker set to be set as the group sticker set */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun trySetChatStickerSet( chatId: ChatId, stickerSetName: String, ): TelegramResponse = - botApiClient.trySetChatStickerSet(SetChatStickerSetRequest(chatId, stickerSetName)) + botApi.botApiClient.trySetChatStickerSet(SetChatStickerSetRequest(chatId, stickerSetName)) /** * Use this method to delete a group sticker set from a supergroup. The bot must be an administrator in the chat for this to work and must have the appropriate administrator rights. Use the field can_set_sticker_set optionally returned in getChat requests to check if the bot can use this method. Returns True on success. * * @param chatId Unique identifier for the target chat or username of the target supergroup (in the format @supergroupusername) */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun tryDeleteChatStickerSet( chatId: ChatId, ): TelegramResponse = - botApiClient.tryDeleteChatStickerSet(DeleteChatStickerSetRequest(chatId)) + botApi.botApiClient.tryDeleteChatStickerSet(DeleteChatStickerSetRequest(chatId)) /** * Use this method to get custom emoji stickers, which can be used as a forum topic icon by any user. Requires no parameters. Returns an Array of Sticker objects. */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun tryGetForumTopicIconStickers(): TelegramResponse> = - botApiClient.tryGetForumTopicIconStickers() + botApi.botApiClient.tryGetForumTopicIconStickers() /** * Use this method to create a topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator rights. Returns information about the created topic as a ForumTopic object. @@ -1326,14 +1326,14 @@ suspend fun tryGetForumTopicIconStickers(): TelegramResponse> = * @param iconColor Color of the topic icon in RGB format. Currently, must be one of 7322096 (0x6FB9F0), 16766590 (0xFFD67E), 13338331 (0xCB86DB), 9367192 (0x8EEE98), 16749490 (0xFF93B2), or 16478047 (0xFB6F5F) * @param iconCustomEmojiId Unique identifier of the custom emoji shown as the topic icon. Use getForumTopicIconStickers to get all allowed custom emoji identifiers. */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun tryCreateForumTopic( chatId: ChatId, name: String, iconColor: Long? = null, iconCustomEmojiId: CustomEmojiId? = null, ): TelegramResponse = - botApiClient.tryCreateForumTopic(CreateForumTopicRequest(chatId, name, iconColor, iconCustomEmojiId)) + botApi.botApiClient.tryCreateForumTopic(CreateForumTopicRequest(chatId, name, iconColor, iconCustomEmojiId)) /** * Use this method to edit name and icon of a topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator rights, unless it is the creator of the topic. Returns True on success. @@ -1343,14 +1343,14 @@ suspend fun tryCreateForumTopic( * @param name New topic name, 0-128 characters. If not specified or empty, the current name of the topic will be kept * @param iconCustomEmojiId New unique identifier of the custom emoji shown as the topic icon. Use getForumTopicIconStickers to get all allowed custom emoji identifiers. Pass an empty string to remove the icon. If not specified, the current icon will be kept */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun tryEditForumTopic( chatId: ChatId, messageThreadId: MessageThreadId, name: String? = null, iconCustomEmojiId: CustomEmojiId? = null, ): TelegramResponse = - botApiClient.tryEditForumTopic(EditForumTopicRequest(chatId, messageThreadId, name, iconCustomEmojiId)) + botApi.botApiClient.tryEditForumTopic(EditForumTopicRequest(chatId, messageThreadId, name, iconCustomEmojiId)) /** * Use this method to close an open topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator rights, unless it is the creator of the topic. Returns True on success. @@ -1358,12 +1358,12 @@ suspend fun tryEditForumTopic( * @param chatId Unique identifier for the target chat or username of the target supergroup (in the format @supergroupusername) * @param messageThreadId Unique identifier for the target message thread of the forum topic */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun tryCloseForumTopic( chatId: ChatId, messageThreadId: MessageThreadId, ): TelegramResponse = - botApiClient.tryCloseForumTopic(CloseForumTopicRequest(chatId, messageThreadId)) + botApi.botApiClient.tryCloseForumTopic(CloseForumTopicRequest(chatId, messageThreadId)) /** * Use this method to reopen a closed topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator rights, unless it is the creator of the topic. Returns True on success. @@ -1371,12 +1371,12 @@ suspend fun tryCloseForumTopic( * @param chatId Unique identifier for the target chat or username of the target supergroup (in the format @supergroupusername) * @param messageThreadId Unique identifier for the target message thread of the forum topic */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun tryReopenForumTopic( chatId: ChatId, messageThreadId: MessageThreadId, ): TelegramResponse = - botApiClient.tryReopenForumTopic(ReopenForumTopicRequest(chatId, messageThreadId)) + botApi.botApiClient.tryReopenForumTopic(ReopenForumTopicRequest(chatId, messageThreadId)) /** * Use this method to delete a forum topic along with all its messages in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_delete_messages administrator rights. Returns True on success. @@ -1384,12 +1384,12 @@ suspend fun tryReopenForumTopic( * @param chatId Unique identifier for the target chat or username of the target supergroup (in the format @supergroupusername) * @param messageThreadId Unique identifier for the target message thread of the forum topic */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun tryDeleteForumTopic( chatId: ChatId, messageThreadId: MessageThreadId, ): TelegramResponse = - botApiClient.tryDeleteForumTopic(DeleteForumTopicRequest(chatId, messageThreadId)) + botApi.botApiClient.tryDeleteForumTopic(DeleteForumTopicRequest(chatId, messageThreadId)) /** * Use this method to clear the list of pinned messages in a forum topic. The bot must be an administrator in the chat for this to work and must have the can_pin_messages administrator right in the supergroup. Returns True on success. @@ -1397,12 +1397,12 @@ suspend fun tryDeleteForumTopic( * @param chatId Unique identifier for the target chat or username of the target supergroup (in the format @supergroupusername) * @param messageThreadId Unique identifier for the target message thread of the forum topic */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun tryUnpinAllForumTopicMessages( chatId: ChatId, messageThreadId: MessageThreadId, ): TelegramResponse = - botApiClient.tryUnpinAllForumTopicMessages(UnpinAllForumTopicMessagesRequest(chatId, messageThreadId)) + botApi.botApiClient.tryUnpinAllForumTopicMessages(UnpinAllForumTopicMessagesRequest(chatId, messageThreadId)) /** * Use this method to edit the name of the 'General' topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator rights. Returns True on success. @@ -1410,67 +1410,67 @@ suspend fun tryUnpinAllForumTopicMessages( * @param chatId Unique identifier for the target chat or username of the target supergroup (in the format @supergroupusername) * @param name New topic name, 1-128 characters */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun tryEditGeneralForumTopic( chatId: ChatId, name: String, ): TelegramResponse = - botApiClient.tryEditGeneralForumTopic(EditGeneralForumTopicRequest(chatId, name)) + botApi.botApiClient.tryEditGeneralForumTopic(EditGeneralForumTopicRequest(chatId, name)) /** * Use this method to close an open 'General' topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator rights. Returns True on success. * * @param chatId Unique identifier for the target chat or username of the target supergroup (in the format @supergroupusername) */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun tryCloseGeneralForumTopic( chatId: ChatId, ): TelegramResponse = - botApiClient.tryCloseGeneralForumTopic(CloseGeneralForumTopicRequest(chatId)) + botApi.botApiClient.tryCloseGeneralForumTopic(CloseGeneralForumTopicRequest(chatId)) /** * Use this method to reopen a closed 'General' topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator rights. The topic will be automatically unhidden if it was hidden. Returns True on success. * * @param chatId Unique identifier for the target chat or username of the target supergroup (in the format @supergroupusername) */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun tryReopenGeneralForumTopic( chatId: ChatId, ): TelegramResponse = - botApiClient.tryReopenGeneralForumTopic(ReopenGeneralForumTopicRequest(chatId)) + botApi.botApiClient.tryReopenGeneralForumTopic(ReopenGeneralForumTopicRequest(chatId)) /** * Use this method to hide the 'General' topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator rights. The topic will be automatically closed if it was open. Returns True on success. * * @param chatId Unique identifier for the target chat or username of the target supergroup (in the format @supergroupusername) */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun tryHideGeneralForumTopic( chatId: ChatId, ): TelegramResponse = - botApiClient.tryHideGeneralForumTopic(HideGeneralForumTopicRequest(chatId)) + botApi.botApiClient.tryHideGeneralForumTopic(HideGeneralForumTopicRequest(chatId)) /** * Use this method to unhide the 'General' topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator rights. Returns True on success. * * @param chatId Unique identifier for the target chat or username of the target supergroup (in the format @supergroupusername) */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun tryUnhideGeneralForumTopic( chatId: ChatId, ): TelegramResponse = - botApiClient.tryUnhideGeneralForumTopic(UnhideGeneralForumTopicRequest(chatId)) + botApi.botApiClient.tryUnhideGeneralForumTopic(UnhideGeneralForumTopicRequest(chatId)) /** * Use this method to clear the list of pinned messages in a General forum topic. The bot must be an administrator in the chat for this to work and must have the can_pin_messages administrator right in the supergroup. Returns True on success. * * @param chatId Unique identifier for the target chat or username of the target supergroup (in the format @supergroupusername) */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun tryUnpinAllGeneralForumTopicMessages( chatId: ChatId, ): TelegramResponse = - botApiClient.tryUnpinAllGeneralForumTopicMessages(UnpinAllGeneralForumTopicMessagesRequest(chatId)) + botApi.botApiClient.tryUnpinAllGeneralForumTopicMessages(UnpinAllGeneralForumTopicMessagesRequest(chatId)) /** * Use this method to send answers to callback queries sent from inline keyboards. The answer will be displayed to the user as a notification at the top of the chat screen or as an alert. On success, True is returned. @@ -1483,7 +1483,7 @@ suspend fun tryUnpinAllGeneralForumTopicMessages( * @param url URL that will be opened by the user's client. If you have created a Game and accepted the conditions via @BotFather, specify the URL that opens your game - note that this will only work if the query comes from a callback_game button. Otherwise, you may use links like t.me/your_bot?start=XXXX that open your bot with a parameter. * @param cacheTime The maximum amount of time in seconds that the result of the callback query may be cached client-side. Telegram apps will support caching starting in version 3.14. Defaults to 0. */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun tryAnswerCallbackQuery( callbackQueryId: CallbackQueryId, text: String? = null, @@ -1491,7 +1491,7 @@ suspend fun tryAnswerCallbackQuery( url: String? = null, cacheTime: Seconds? = null, ): TelegramResponse = - botApiClient.tryAnswerCallbackQuery(AnswerCallbackQueryRequest(callbackQueryId, text, showAlert, url, cacheTime)) + botApi.botApiClient.tryAnswerCallbackQuery(AnswerCallbackQueryRequest(callbackQueryId, text, showAlert, url, cacheTime)) /** * Use this method to get the list of boosts added to a chat by a user. Requires administrator rights in the chat. Returns a UserChatBoosts object. @@ -1499,23 +1499,23 @@ suspend fun tryAnswerCallbackQuery( * @param chatId Unique identifier for the chat or username of the channel (in the format @channelusername) * @param userId Unique identifier of the target user */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun tryGetUserChatBoosts( chatId: ChatId, userId: UserId, ): TelegramResponse = - botApiClient.tryGetUserChatBoosts(GetUserChatBoostsRequest(chatId, userId)) + botApi.botApiClient.tryGetUserChatBoosts(GetUserChatBoostsRequest(chatId, userId)) /** * Use this method to get information about the connection of the bot with a business account. Returns a BusinessConnection object on success. * * @param businessConnectionId Unique identifier of the business connection */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun tryGetBusinessConnection( businessConnectionId: BusinessConnectionId, ): TelegramResponse = - botApiClient.tryGetBusinessConnection(GetBusinessConnectionRequest(businessConnectionId)) + botApi.botApiClient.tryGetBusinessConnection(GetBusinessConnectionRequest(businessConnectionId)) /** * Use this method to change the list of the bot's commands. See this manual for more details about bot commands. Returns True on success. @@ -1524,13 +1524,13 @@ suspend fun tryGetBusinessConnection( * @param scope A JSON-serialized object, describing scope of users for which the commands are relevant. Defaults to BotCommandScopeDefault. * @param languageCode A two-letter ISO 639-1 language code. If empty, commands will be applied to all users from the given scope, for whose language there are no dedicated commands */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun trySetMyCommands( commands: List, scope: BotCommandScope? = null, languageCode: String? = null, ): TelegramResponse = - botApiClient.trySetMyCommands(SetMyCommandsRequest(commands, scope, languageCode)) + botApi.botApiClient.trySetMyCommands(SetMyCommandsRequest(commands, scope, languageCode)) /** * Use this method to delete the list of the bot's commands for the given scope and user language. After deletion, higher level commands will be shown to affected users. Returns True on success. @@ -1538,12 +1538,12 @@ suspend fun trySetMyCommands( * @param scope A JSON-serialized object, describing scope of users for which the commands are relevant. Defaults to BotCommandScopeDefault. * @param languageCode A two-letter ISO 639-1 language code. If empty, commands will be applied to all users from the given scope, for whose language there are no dedicated commands */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun tryDeleteMyCommands( scope: BotCommandScope? = null, languageCode: String? = null, ): TelegramResponse = - botApiClient.tryDeleteMyCommands(DeleteMyCommandsRequest(scope, languageCode)) + botApi.botApiClient.tryDeleteMyCommands(DeleteMyCommandsRequest(scope, languageCode)) /** * Use this method to get the current list of the bot's commands for the given scope and user language. Returns an Array of BotCommand objects. If commands aren't set, an empty list is returned. @@ -1551,12 +1551,12 @@ suspend fun tryDeleteMyCommands( * @param scope A JSON-serialized object, describing scope of users. Defaults to BotCommandScopeDefault. * @param languageCode A two-letter ISO 639-1 language code or an empty string */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun tryGetMyCommands( scope: BotCommandScope? = null, languageCode: String? = null, ): TelegramResponse> = - botApiClient.tryGetMyCommands(GetMyCommandsRequest(scope, languageCode)) + botApi.botApiClient.tryGetMyCommands(GetMyCommandsRequest(scope, languageCode)) /** * Use this method to change the bot's name. Returns True on success. @@ -1564,23 +1564,23 @@ suspend fun tryGetMyCommands( * @param name New bot name; 0-64 characters. Pass an empty string to remove the dedicated name for the given language. * @param languageCode A two-letter ISO 639-1 language code. If empty, the name will be shown to all users for whose language there is no dedicated name. */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun trySetMyName( name: String? = null, languageCode: String? = null, ): TelegramResponse = - botApiClient.trySetMyName(SetMyNameRequest(name, languageCode)) + botApi.botApiClient.trySetMyName(SetMyNameRequest(name, languageCode)) /** * Use this method to get the current bot name for the given user language. Returns BotName on success. * * @param languageCode A two-letter ISO 639-1 language code or an empty string */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun tryGetMyName( languageCode: String? = null, ): TelegramResponse = - botApiClient.tryGetMyName(GetMyNameRequest(languageCode)) + botApi.botApiClient.tryGetMyName(GetMyNameRequest(languageCode)) /** * Use this method to change the bot's description, which is shown in the chat with the bot if the chat is empty. Returns True on success. @@ -1588,23 +1588,23 @@ suspend fun tryGetMyName( * @param description New bot description; 0-512 characters. Pass an empty string to remove the dedicated description for the given language. * @param languageCode A two-letter ISO 639-1 language code. If empty, the description will be applied to all users for whose language there is no dedicated description. */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun trySetMyDescription( description: String? = null, languageCode: String? = null, ): TelegramResponse = - botApiClient.trySetMyDescription(SetMyDescriptionRequest(description, languageCode)) + botApi.botApiClient.trySetMyDescription(SetMyDescriptionRequest(description, languageCode)) /** * Use this method to get the current bot description for the given user language. Returns BotDescription on success. * * @param languageCode A two-letter ISO 639-1 language code or an empty string */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun tryGetMyDescription( languageCode: String? = null, ): TelegramResponse = - botApiClient.tryGetMyDescription(GetMyDescriptionRequest(languageCode)) + botApi.botApiClient.tryGetMyDescription(GetMyDescriptionRequest(languageCode)) /** * Use this method to change the bot's short description, which is shown on the bot's profile page and is sent together with the link when users share the bot. Returns True on success. @@ -1612,23 +1612,23 @@ suspend fun tryGetMyDescription( * @param shortDescription New short description for the bot; 0-120 characters. Pass an empty string to remove the dedicated short description for the given language. * @param languageCode A two-letter ISO 639-1 language code. If empty, the short description will be applied to all users for whose language there is no dedicated short description. */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun trySetMyShortDescription( shortDescription: String? = null, languageCode: String? = null, ): TelegramResponse = - botApiClient.trySetMyShortDescription(SetMyShortDescriptionRequest(shortDescription, languageCode)) + botApi.botApiClient.trySetMyShortDescription(SetMyShortDescriptionRequest(shortDescription, languageCode)) /** * Use this method to get the current bot short description for the given user language. Returns BotShortDescription on success. * * @param languageCode A two-letter ISO 639-1 language code or an empty string */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun tryGetMyShortDescription( languageCode: String? = null, ): TelegramResponse = - botApiClient.tryGetMyShortDescription(GetMyShortDescriptionRequest(languageCode)) + botApi.botApiClient.tryGetMyShortDescription(GetMyShortDescriptionRequest(languageCode)) /** * Use this method to change the bot's menu button in a private chat, or the default menu button. Returns True on success. @@ -1636,23 +1636,23 @@ suspend fun tryGetMyShortDescription( * @param chatId Unique identifier for the target private chat. If not specified, default bot's menu button will be changed * @param menuButton A JSON-serialized object for the bot's new menu button. Defaults to MenuButtonDefault */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun trySetChatMenuButton( chatId: ChatId? = null, menuButton: MenuButton? = null, ): TelegramResponse = - botApiClient.trySetChatMenuButton(SetChatMenuButtonRequest(chatId, menuButton)) + botApi.botApiClient.trySetChatMenuButton(SetChatMenuButtonRequest(chatId, menuButton)) /** * Use this method to get the current value of the bot's menu button in a private chat, or the default menu button. Returns MenuButton on success. * * @param chatId Unique identifier for the target private chat. If not specified, default bot's menu button will be returned */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun tryGetChatMenuButton( chatId: ChatId? = null, ): TelegramResponse = - botApiClient.tryGetChatMenuButton(GetChatMenuButtonRequest(chatId)) + botApi.botApiClient.tryGetChatMenuButton(GetChatMenuButtonRequest(chatId)) /** * Use this method to change the default administrator rights requested by the bot when it's added as an administrator to groups or channels. These rights will be suggested to users, but they are free to modify the list before adding the bot. Returns True on success. @@ -1660,23 +1660,23 @@ suspend fun tryGetChatMenuButton( * @param rights A JSON-serialized object describing new default administrator rights. If not specified, the default administrator rights will be cleared. * @param forChannels Pass True to change the default administrator rights of the bot in channels. Otherwise, the default administrator rights of the bot for groups and supergroups will be changed. */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun trySetMyDefaultAdministratorRights( rights: ChatAdministratorRights? = null, forChannels: Boolean? = null, ): TelegramResponse = - botApiClient.trySetMyDefaultAdministratorRights(SetMyDefaultAdministratorRightsRequest(rights, forChannels)) + botApi.botApiClient.trySetMyDefaultAdministratorRights(SetMyDefaultAdministratorRightsRequest(rights, forChannels)) /** * Use this method to get the current default administrator rights of the bot. Returns ChatAdministratorRights on success. * * @param forChannels Pass True to get default administrator rights of the bot in channels. Otherwise, default administrator rights of the bot for groups and supergroups will be returned. */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun tryGetMyDefaultAdministratorRights( forChannels: Boolean? = null, ): TelegramResponse = - botApiClient.tryGetMyDefaultAdministratorRights(GetMyDefaultAdministratorRightsRequest(forChannels)) + botApi.botApiClient.tryGetMyDefaultAdministratorRights(GetMyDefaultAdministratorRightsRequest(forChannels)) /** * Use this method to edit text and game messages. On success the edited Message is returned. Note that business messages that were not sent by the bot and do not contain an inline keyboard can only be edited within 48 hours from the time they were sent. @@ -1690,7 +1690,7 @@ suspend fun tryGetMyDefaultAdministratorRights( * @param replyMarkup A JSON-serialized object for an inline keyboard. * @param businessConnectionId Unique identifier of the business connection on behalf of which the message to be edited was sent */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun tryEditMessageText( text: String, chatId: ChatId, @@ -1701,7 +1701,7 @@ suspend fun tryEditMessageText( replyMarkup: InlineKeyboardMarkup? = null, businessConnectionId: BusinessConnectionId? = null, ): TelegramResponse = - botApiClient.tryEditMessageText(EditMessageTextRequest(text = text, chatId = chatId, messageId = messageId, parseMode = parseMode, entities = entities, linkPreviewOptions = linkPreviewOptions, replyMarkup = replyMarkup, businessConnectionId = businessConnectionId)) + botApi.botApiClient.tryEditMessageText(EditMessageTextRequest(text = text, chatId = chatId, messageId = messageId, parseMode = parseMode, entities = entities, linkPreviewOptions = linkPreviewOptions, replyMarkup = replyMarkup, businessConnectionId = businessConnectionId)) /** * Use this method to edit text and game messages. On success True is returned. Note that business messages that were not sent by the bot and do not contain an inline keyboard can only be edited within 48 hours from the time they were sent. @@ -1714,7 +1714,7 @@ suspend fun tryEditMessageText( * @param replyMarkup A JSON-serialized object for an inline keyboard. * @param businessConnectionId Unique identifier of the business connection on behalf of which the message to be edited was sent */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun tryEditInlineMessageText( text: String, inlineMessageId: InlineMessageId, @@ -1724,7 +1724,7 @@ suspend fun tryEditInlineMessageText( replyMarkup: InlineKeyboardMarkup? = null, businessConnectionId: BusinessConnectionId? = null, ): TelegramResponse = - botApiClient.tryEditInlineMessageText(EditMessageTextRequest(text = text, inlineMessageId = inlineMessageId, parseMode = parseMode, entities = entities, linkPreviewOptions = linkPreviewOptions, replyMarkup = replyMarkup, businessConnectionId = businessConnectionId)) + botApi.botApiClient.tryEditInlineMessageText(EditMessageTextRequest(text = text, inlineMessageId = inlineMessageId, parseMode = parseMode, entities = entities, linkPreviewOptions = linkPreviewOptions, replyMarkup = replyMarkup, businessConnectionId = businessConnectionId)) /** * Use this method to edit captions of messages. On success the edited Message is returned. Note that business messages that were not sent by the bot and do not contain an inline keyboard can only be edited within 48 hours from the time they were sent. @@ -1738,7 +1738,7 @@ suspend fun tryEditInlineMessageText( * @param replyMarkup A JSON-serialized object for an inline keyboard. * @param businessConnectionId Unique identifier of the business connection on behalf of which the message to be edited was sent */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun tryEditMessageCaption( chatId: ChatId, messageId: MessageId, @@ -1749,7 +1749,7 @@ suspend fun tryEditMessageCaption( replyMarkup: InlineKeyboardMarkup? = null, businessConnectionId: BusinessConnectionId? = null, ): TelegramResponse = - botApiClient.tryEditMessageCaption(EditMessageCaptionRequest(chatId = chatId, messageId = messageId, caption = caption, parseMode = parseMode, captionEntities = captionEntities, showCaptionAboveMedia = showCaptionAboveMedia, replyMarkup = replyMarkup, businessConnectionId = businessConnectionId)) + botApi.botApiClient.tryEditMessageCaption(EditMessageCaptionRequest(chatId = chatId, messageId = messageId, caption = caption, parseMode = parseMode, captionEntities = captionEntities, showCaptionAboveMedia = showCaptionAboveMedia, replyMarkup = replyMarkup, businessConnectionId = businessConnectionId)) /** * Use this method to edit captions of messages. On success True is returned. Note that business messages that were not sent by the bot and do not contain an inline keyboard can only be edited within 48 hours from the time they were sent. @@ -1762,7 +1762,7 @@ suspend fun tryEditMessageCaption( * @param replyMarkup A JSON-serialized object for an inline keyboard. * @param businessConnectionId Unique identifier of the business connection on behalf of which the message to be edited was sent */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun tryEditInlineMessageCaption( inlineMessageId: InlineMessageId, caption: String? = null, @@ -1772,7 +1772,7 @@ suspend fun tryEditInlineMessageCaption( replyMarkup: InlineKeyboardMarkup? = null, businessConnectionId: BusinessConnectionId? = null, ): TelegramResponse = - botApiClient.tryEditInlineMessageCaption(EditMessageCaptionRequest(inlineMessageId = inlineMessageId, caption = caption, parseMode = parseMode, captionEntities = captionEntities, showCaptionAboveMedia = showCaptionAboveMedia, replyMarkup = replyMarkup, businessConnectionId = businessConnectionId)) + botApi.botApiClient.tryEditInlineMessageCaption(EditMessageCaptionRequest(inlineMessageId = inlineMessageId, caption = caption, parseMode = parseMode, captionEntities = captionEntities, showCaptionAboveMedia = showCaptionAboveMedia, replyMarkup = replyMarkup, businessConnectionId = businessConnectionId)) /** * Use this method to edit animation, audio, document, photo, or video messages, or to add media to text messages. If a message is part of a message album, then it can be edited only to an audio for audio albums, only to a document for document albums and to a photo or a video otherwise. When an inline message is edited, a new file can't be uploaded; use a previously uploaded file via its file_id or specify a URL. On success the edited Message is returned. Note that business messages that were not sent by the bot and do not contain an inline keyboard can only be edited within 48 hours from the time they were sent. @@ -1783,7 +1783,7 @@ suspend fun tryEditInlineMessageCaption( * @param replyMarkup A JSON-serialized object for a new inline keyboard. * @param businessConnectionId Unique identifier of the business connection on behalf of which the message to be edited was sent */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun tryEditMessageMedia( media: InputMedia, chatId: ChatId, @@ -1791,7 +1791,7 @@ suspend fun tryEditMessageMedia( replyMarkup: InlineKeyboardMarkup? = null, businessConnectionId: BusinessConnectionId? = null, ): TelegramResponse = - botApiClient.tryEditMessageMedia(EditMessageMediaRequest(media = media, chatId = chatId, messageId = messageId, replyMarkup = replyMarkup, businessConnectionId = businessConnectionId)) + botApi.botApiClient.tryEditMessageMedia(EditMessageMediaRequest(media = media, chatId = chatId, messageId = messageId, replyMarkup = replyMarkup, businessConnectionId = businessConnectionId)) /** * Use this method to edit animation, audio, document, photo, or video messages, or to add media to text messages. If a message is part of a message album, then it can be edited only to an audio for audio albums, only to a document for document albums and to a photo or a video otherwise. When an inline message is edited, a new file can't be uploaded; use a previously uploaded file via its file_id or specify a URL. On success True is returned. Note that business messages that were not sent by the bot and do not contain an inline keyboard can only be edited within 48 hours from the time they were sent. @@ -1801,14 +1801,14 @@ suspend fun tryEditMessageMedia( * @param replyMarkup A JSON-serialized object for a new inline keyboard. * @param businessConnectionId Unique identifier of the business connection on behalf of which the message to be edited was sent */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun tryEditInlineMessageMedia( media: InputMedia, inlineMessageId: InlineMessageId, replyMarkup: InlineKeyboardMarkup? = null, businessConnectionId: BusinessConnectionId? = null, ): TelegramResponse = - botApiClient.tryEditInlineMessageMedia(EditMessageMediaRequest(media = media, inlineMessageId = inlineMessageId, replyMarkup = replyMarkup, businessConnectionId = businessConnectionId)) + botApi.botApiClient.tryEditInlineMessageMedia(EditMessageMediaRequest(media = media, inlineMessageId = inlineMessageId, replyMarkup = replyMarkup, businessConnectionId = businessConnectionId)) /** * Use this method to edit live location messages. A location can be edited until its live_period expires or editing is explicitly disabled by a call to stopMessageLiveLocation. On success the edited Message is returned. @@ -1824,7 +1824,7 @@ suspend fun tryEditInlineMessageMedia( * @param replyMarkup A JSON-serialized object for a new inline keyboard. * @param businessConnectionId Unique identifier of the business connection on behalf of which the message to be edited was sent */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun tryEditMessageLiveLocation( latitude: Double, longitude: Double, @@ -1837,7 +1837,7 @@ suspend fun tryEditMessageLiveLocation( replyMarkup: InlineKeyboardMarkup? = null, businessConnectionId: BusinessConnectionId? = null, ): TelegramResponse = - botApiClient.tryEditMessageLiveLocation(EditMessageLiveLocationRequest(latitude = latitude, longitude = longitude, chatId = chatId, messageId = messageId, livePeriod = livePeriod, horizontalAccuracy = horizontalAccuracy, heading = heading, proximityAlertRadius = proximityAlertRadius, replyMarkup = replyMarkup, businessConnectionId = businessConnectionId)) + botApi.botApiClient.tryEditMessageLiveLocation(EditMessageLiveLocationRequest(latitude = latitude, longitude = longitude, chatId = chatId, messageId = messageId, livePeriod = livePeriod, horizontalAccuracy = horizontalAccuracy, heading = heading, proximityAlertRadius = proximityAlertRadius, replyMarkup = replyMarkup, businessConnectionId = businessConnectionId)) /** * Use this method to edit live location messages. A location can be edited until its live_period expires or editing is explicitly disabled by a call to stopMessageLiveLocation. On success True is returned. @@ -1852,7 +1852,7 @@ suspend fun tryEditMessageLiveLocation( * @param replyMarkup A JSON-serialized object for a new inline keyboard. * @param businessConnectionId Unique identifier of the business connection on behalf of which the message to be edited was sent */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun tryEditInlineMessageLiveLocation( latitude: Double, longitude: Double, @@ -1864,7 +1864,7 @@ suspend fun tryEditInlineMessageLiveLocation( replyMarkup: InlineKeyboardMarkup? = null, businessConnectionId: BusinessConnectionId? = null, ): TelegramResponse = - botApiClient.tryEditInlineMessageLiveLocation(EditMessageLiveLocationRequest(latitude = latitude, longitude = longitude, inlineMessageId = inlineMessageId, livePeriod = livePeriod, horizontalAccuracy = horizontalAccuracy, heading = heading, proximityAlertRadius = proximityAlertRadius, replyMarkup = replyMarkup, businessConnectionId = businessConnectionId)) + botApi.botApiClient.tryEditInlineMessageLiveLocation(EditMessageLiveLocationRequest(latitude = latitude, longitude = longitude, inlineMessageId = inlineMessageId, livePeriod = livePeriod, horizontalAccuracy = horizontalAccuracy, heading = heading, proximityAlertRadius = proximityAlertRadius, replyMarkup = replyMarkup, businessConnectionId = businessConnectionId)) /** * Use this method to stop updating a live location message before live_period expires. On success the edited Message is returned. @@ -1874,14 +1874,14 @@ suspend fun tryEditInlineMessageLiveLocation( * @param replyMarkup A JSON-serialized object for a new inline keyboard. * @param businessConnectionId Unique identifier of the business connection on behalf of which the message to be edited was sent */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun tryStopMessageLiveLocation( chatId: ChatId, messageId: MessageId, replyMarkup: InlineKeyboardMarkup? = null, businessConnectionId: BusinessConnectionId? = null, ): TelegramResponse = - botApiClient.tryStopMessageLiveLocation(StopMessageLiveLocationRequest(chatId = chatId, messageId = messageId, replyMarkup = replyMarkup, businessConnectionId = businessConnectionId)) + botApi.botApiClient.tryStopMessageLiveLocation(StopMessageLiveLocationRequest(chatId = chatId, messageId = messageId, replyMarkup = replyMarkup, businessConnectionId = businessConnectionId)) /** * Use this method to stop updating a live location message before live_period expires. On success True is returned. @@ -1890,13 +1890,13 @@ suspend fun tryStopMessageLiveLocation( * @param replyMarkup A JSON-serialized object for a new inline keyboard. * @param businessConnectionId Unique identifier of the business connection on behalf of which the message to be edited was sent */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun tryStopInlineMessageLiveLocation( inlineMessageId: InlineMessageId, replyMarkup: InlineKeyboardMarkup? = null, businessConnectionId: BusinessConnectionId? = null, ): TelegramResponse = - botApiClient.tryStopInlineMessageLiveLocation(StopMessageLiveLocationRequest(inlineMessageId = inlineMessageId, replyMarkup = replyMarkup, businessConnectionId = businessConnectionId)) + botApi.botApiClient.tryStopInlineMessageLiveLocation(StopMessageLiveLocationRequest(inlineMessageId = inlineMessageId, replyMarkup = replyMarkup, businessConnectionId = businessConnectionId)) /** * Use this method to edit only the reply markup of messages. On success the edited Message is returned. Note that business messages that were not sent by the bot and do not contain an inline keyboard can only be edited within 48 hours from the time they were sent. @@ -1906,14 +1906,14 @@ suspend fun tryStopInlineMessageLiveLocation( * @param replyMarkup A JSON-serialized object for an inline keyboard. * @param businessConnectionId Unique identifier of the business connection on behalf of which the message to be edited was sent */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun tryEditMessageReplyMarkup( chatId: ChatId, messageId: MessageId, replyMarkup: InlineKeyboardMarkup? = null, businessConnectionId: BusinessConnectionId? = null, ): TelegramResponse = - botApiClient.tryEditMessageReplyMarkup(EditMessageReplyMarkupRequest(chatId = chatId, messageId = messageId, replyMarkup = replyMarkup, businessConnectionId = businessConnectionId)) + botApi.botApiClient.tryEditMessageReplyMarkup(EditMessageReplyMarkupRequest(chatId = chatId, messageId = messageId, replyMarkup = replyMarkup, businessConnectionId = businessConnectionId)) /** * Use this method to edit only the reply markup of messages. On success True is returned. Note that business messages that were not sent by the bot and do not contain an inline keyboard can only be edited within 48 hours from the time they were sent. @@ -1922,13 +1922,13 @@ suspend fun tryEditMessageReplyMarkup( * @param replyMarkup A JSON-serialized object for an inline keyboard. * @param businessConnectionId Unique identifier of the business connection on behalf of which the message to be edited was sent */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun tryEditInlineMessageReplyMarkup( inlineMessageId: InlineMessageId, replyMarkup: InlineKeyboardMarkup? = null, businessConnectionId: BusinessConnectionId? = null, ): TelegramResponse = - botApiClient.tryEditInlineMessageReplyMarkup(EditMessageReplyMarkupRequest(inlineMessageId = inlineMessageId, replyMarkup = replyMarkup, businessConnectionId = businessConnectionId)) + botApi.botApiClient.tryEditInlineMessageReplyMarkup(EditMessageReplyMarkupRequest(inlineMessageId = inlineMessageId, replyMarkup = replyMarkup, businessConnectionId = businessConnectionId)) /** * Use this method to stop a poll which was sent by the bot. On success, the stopped Poll is returned. @@ -1938,14 +1938,14 @@ suspend fun tryEditInlineMessageReplyMarkup( * @param replyMarkup A JSON-serialized object for a new message inline keyboard. * @param businessConnectionId Unique identifier of the business connection on behalf of which the message to be edited was sent */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun tryStopPoll( chatId: ChatId, messageId: MessageId, replyMarkup: InlineKeyboardMarkup? = null, businessConnectionId: BusinessConnectionId? = null, ): TelegramResponse = - botApiClient.tryStopPoll(StopPollRequest(chatId, messageId, replyMarkup, businessConnectionId)) + botApi.botApiClient.tryStopPoll(StopPollRequest(chatId, messageId, replyMarkup, businessConnectionId)) /** * Use this method to delete a message, including service messages, with the following limitations: - A message can only be deleted if it was sent less than 48 hours ago. - Service messages about a supergroup, channel, or forum topic creation can't be deleted. - A dice message in a private chat can only be deleted if it was sent more than 24 hours ago. - Bots can delete outgoing messages in private chats, groups, and supergroups. - Bots can delete incoming messages in private chats. - Bots granted can_post_messages permissions can delete outgoing messages in channels. - If the bot is an administrator of a group, it can delete any message there. - If the bot has can_delete_messages permission in a supergroup or a channel, it can delete any message there. Returns True on success. @@ -1953,12 +1953,12 @@ suspend fun tryStopPoll( * @param chatId Unique identifier for the target chat or username of the target channel (in the format @channelusername) * @param messageId Identifier of the message to delete */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun tryDeleteMessage( chatId: ChatId, messageId: MessageId, ): TelegramResponse = - botApiClient.tryDeleteMessage(DeleteMessageRequest(chatId, messageId)) + botApi.botApiClient.tryDeleteMessage(DeleteMessageRequest(chatId, messageId)) /** * Use this method to delete multiple messages simultaneously. If some of the specified messages can't be found, they are skipped. Returns True on success. @@ -1966,19 +1966,19 @@ suspend fun tryDeleteMessage( * @param chatId Unique identifier for the target chat or username of the target channel (in the format @channelusername) * @param messageIds A JSON-serialized list of 1-100 identifiers of messages to delete. See deleteMessage for limitations on which messages can be deleted */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun tryDeleteMessages( chatId: ChatId, messageIds: List, ): TelegramResponse = - botApiClient.tryDeleteMessages(DeleteMessagesRequest(chatId, messageIds)) + botApi.botApiClient.tryDeleteMessages(DeleteMessagesRequest(chatId, messageIds)) /** * Returns the list of gifts that can be sent by the bot to users and channel chats. Requires no parameters. Returns a Gifts object. */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun tryGetAvailableGifts(): TelegramResponse = - botApiClient.tryGetAvailableGifts() + botApi.botApiClient.tryGetAvailableGifts() /** * Sends a gift to the given user or channel chat. The gift can't be converted to Telegram Stars by the receiver. Returns True on success. @@ -1991,7 +1991,7 @@ suspend fun tryGetAvailableGifts(): TelegramResponse = * @param textParseMode Mode for parsing entities in the text. See formatting options for more details. Entities other than “bold”, “italic”, “underline”, “strikethrough”, “spoiler”, and “custom_emoji” are ignored. * @param textEntities A JSON-serialized list of special entities that appear in the gift text. It can be specified instead of text_parse_mode. Entities other than “bold”, “italic”, “underline”, “strikethrough”, “spoiler”, and “custom_emoji” are ignored. */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun trySendGift( giftId: String, userId: UserId? = null, @@ -2001,7 +2001,7 @@ suspend fun trySendGift( textParseMode: String? = null, textEntities: List? = null, ): TelegramResponse = - botApiClient.trySendGift(SendGiftRequest(giftId, userId, chatId, payForUpgrade, text, textParseMode, textEntities)) + botApi.botApiClient.trySendGift(SendGiftRequest(giftId, userId, chatId, payForUpgrade, text, textParseMode, textEntities)) /** * Gifts a Telegram Premium subscription to the given user. Returns True on success. @@ -2013,7 +2013,7 @@ suspend fun trySendGift( * @param textParseMode Mode for parsing entities in the text. See formatting options for more details. Entities other than “bold”, “italic”, “underline”, “strikethrough”, “spoiler”, and “custom_emoji” are ignored. * @param textEntities A JSON-serialized list of special entities that appear in the gift text. It can be specified instead of text_parse_mode. Entities other than “bold”, “italic”, “underline”, “strikethrough”, “spoiler”, and “custom_emoji” are ignored. */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun tryGiftPremiumSubscription( userId: UserId, monthCount: Long, @@ -2022,7 +2022,7 @@ suspend fun tryGiftPremiumSubscription( textParseMode: String? = null, textEntities: List? = null, ): TelegramResponse = - botApiClient.tryGiftPremiumSubscription(GiftPremiumSubscriptionRequest(userId, monthCount, starCount, text, textParseMode, textEntities)) + botApi.botApiClient.tryGiftPremiumSubscription(GiftPremiumSubscriptionRequest(userId, monthCount, starCount, text, textParseMode, textEntities)) /** * Verifies a user on behalf of the organization which is represented by the bot. Returns True on success. @@ -2030,12 +2030,12 @@ suspend fun tryGiftPremiumSubscription( * @param userId Unique identifier of the target user * @param customDescription Custom description for the verification; 0-70 characters. Must be empty if the organization isn't allowed to provide a custom verification description. */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun tryVerifyUser( userId: UserId, customDescription: String? = null, ): TelegramResponse = - botApiClient.tryVerifyUser(VerifyUserRequest(userId, customDescription)) + botApi.botApiClient.tryVerifyUser(VerifyUserRequest(userId, customDescription)) /** * Verifies a chat on behalf of the organization which is represented by the bot. Returns True on success. @@ -2043,34 +2043,34 @@ suspend fun tryVerifyUser( * @param chatId Unique identifier for the target chat or username of the target channel (in the format @channelusername) * @param customDescription Custom description for the verification; 0-70 characters. Must be empty if the organization isn't allowed to provide a custom verification description. */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun tryVerifyChat( chatId: ChatId, customDescription: String? = null, ): TelegramResponse = - botApiClient.tryVerifyChat(VerifyChatRequest(chatId, customDescription)) + botApi.botApiClient.tryVerifyChat(VerifyChatRequest(chatId, customDescription)) /** * Removes verification from a user who is currently verified on behalf of the organization represented by the bot. Returns True on success. * * @param userId Unique identifier of the target user */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun tryRemoveUserVerification( userId: UserId, ): TelegramResponse = - botApiClient.tryRemoveUserVerification(RemoveUserVerificationRequest(userId)) + botApi.botApiClient.tryRemoveUserVerification(RemoveUserVerificationRequest(userId)) /** * Removes verification from a chat that is currently verified on behalf of the organization represented by the bot. Returns True on success. * * @param chatId Unique identifier for the target chat or username of the target channel (in the format @channelusername) */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun tryRemoveChatVerification( chatId: ChatId, ): TelegramResponse = - botApiClient.tryRemoveChatVerification(RemoveChatVerificationRequest(chatId)) + botApi.botApiClient.tryRemoveChatVerification(RemoveChatVerificationRequest(chatId)) /** * Marks incoming message as read on behalf of a business account. Requires the can_read_messages business bot right. Returns True on success. @@ -2079,13 +2079,13 @@ suspend fun tryRemoveChatVerification( * @param chatId Unique identifier of the chat in which the message was received. The chat must have been active in the last 24 hours. * @param messageId Unique identifier of the message to mark as read */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun tryReadBusinessMessage( businessConnectionId: BusinessConnectionId, chatId: ChatId, messageId: MessageId, ): TelegramResponse = - botApiClient.tryReadBusinessMessage(ReadBusinessMessageRequest(businessConnectionId, chatId, messageId)) + botApi.botApiClient.tryReadBusinessMessage(ReadBusinessMessageRequest(businessConnectionId, chatId, messageId)) /** * Delete messages on behalf of a business account. Requires the can_delete_sent_messages business bot right to delete messages sent by the bot itself, or the can_delete_all_messages business bot right to delete any message. Returns True on success. @@ -2093,12 +2093,12 @@ suspend fun tryReadBusinessMessage( * @param businessConnectionId Unique identifier of the business connection on behalf of which to delete the messages * @param messageIds A JSON-serialized list of 1-100 identifiers of messages to delete. All messages must be from the same chat. See deleteMessage for limitations on which messages can be deleted */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun tryDeleteBusinessMessages( businessConnectionId: BusinessConnectionId, messageIds: List, ): TelegramResponse = - botApiClient.tryDeleteBusinessMessages(DeleteBusinessMessagesRequest(businessConnectionId, messageIds)) + botApi.botApiClient.tryDeleteBusinessMessages(DeleteBusinessMessagesRequest(businessConnectionId, messageIds)) /** * Changes the first and last name of a managed business account. Requires the can_change_name business bot right. Returns True on success. @@ -2107,13 +2107,13 @@ suspend fun tryDeleteBusinessMessages( * @param firstName The new value of the first name for the business account; 1-64 characters * @param lastName The new value of the last name for the business account; 0-64 characters */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun trySetBusinessAccountName( businessConnectionId: BusinessConnectionId, firstName: String, lastName: String? = null, ): TelegramResponse = - botApiClient.trySetBusinessAccountName(SetBusinessAccountNameRequest(businessConnectionId, firstName, lastName)) + botApi.botApiClient.trySetBusinessAccountName(SetBusinessAccountNameRequest(businessConnectionId, firstName, lastName)) /** * Changes the username of a managed business account. Requires the can_change_username business bot right. Returns True on success. @@ -2121,12 +2121,12 @@ suspend fun trySetBusinessAccountName( * @param businessConnectionId Unique identifier of the business connection * @param username The new value of the username for the business account; 0-32 characters */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun trySetBusinessAccountUsername( businessConnectionId: BusinessConnectionId, username: String? = null, ): TelegramResponse = - botApiClient.trySetBusinessAccountUsername(SetBusinessAccountUsernameRequest(businessConnectionId, username)) + botApi.botApiClient.trySetBusinessAccountUsername(SetBusinessAccountUsernameRequest(businessConnectionId, username)) /** * Changes the bio of a managed business account. Requires the can_change_bio business bot right. Returns True on success. @@ -2134,12 +2134,12 @@ suspend fun trySetBusinessAccountUsername( * @param businessConnectionId Unique identifier of the business connection * @param bio The new value of the bio for the business account; 0-140 characters */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun trySetBusinessAccountBio( businessConnectionId: BusinessConnectionId, bio: String? = null, ): TelegramResponse = - botApiClient.trySetBusinessAccountBio(SetBusinessAccountBioRequest(businessConnectionId, bio)) + botApi.botApiClient.trySetBusinessAccountBio(SetBusinessAccountBioRequest(businessConnectionId, bio)) /** * Changes the profile photo of a managed business account. Requires the can_edit_profile_photo business bot right. Returns True on success. @@ -2148,13 +2148,13 @@ suspend fun trySetBusinessAccountBio( * @param photo The new profile photo to set * @param isPublic Pass True to set the public photo, which will be visible even if the main photo is hidden by the business account's privacy settings. An account can have only one public photo. */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun trySetBusinessAccountProfilePhoto( businessConnectionId: BusinessConnectionId, photo: InputProfilePhoto, isPublic: Boolean? = null, ): TelegramResponse = - botApiClient.trySetBusinessAccountProfilePhoto(SetBusinessAccountProfilePhotoRequest(businessConnectionId, photo, isPublic)) + botApi.botApiClient.trySetBusinessAccountProfilePhoto(SetBusinessAccountProfilePhotoRequest(businessConnectionId, photo, isPublic)) /** * Removes the current profile photo of a managed business account. Requires the can_edit_profile_photo business bot right. Returns True on success. @@ -2162,12 +2162,12 @@ suspend fun trySetBusinessAccountProfilePhoto( * @param businessConnectionId Unique identifier of the business connection * @param isPublic Pass True to remove the public photo, which is visible even if the main photo is hidden by the business account's privacy settings. After the main photo is removed, the previous profile photo (if present) becomes the main photo. */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun tryRemoveBusinessAccountProfilePhoto( businessConnectionId: BusinessConnectionId, isPublic: Boolean? = null, ): TelegramResponse = - botApiClient.tryRemoveBusinessAccountProfilePhoto(RemoveBusinessAccountProfilePhotoRequest(businessConnectionId, isPublic)) + botApi.botApiClient.tryRemoveBusinessAccountProfilePhoto(RemoveBusinessAccountProfilePhotoRequest(businessConnectionId, isPublic)) /** * Changes the privacy settings pertaining to incoming gifts in a managed business account. Requires the can_change_gift_settings business bot right. Returns True on success. @@ -2176,24 +2176,24 @@ suspend fun tryRemoveBusinessAccountProfilePhoto( * @param showGiftButton Pass True, if a button for sending a gift to the user or by the business account must always be shown in the input field * @param acceptedGiftTypes Types of gifts accepted by the business account */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun trySetBusinessAccountGiftSettings( businessConnectionId: BusinessConnectionId, showGiftButton: Boolean, acceptedGiftTypes: AcceptedGiftTypes, ): TelegramResponse = - botApiClient.trySetBusinessAccountGiftSettings(SetBusinessAccountGiftSettingsRequest(businessConnectionId, showGiftButton, acceptedGiftTypes)) + botApi.botApiClient.trySetBusinessAccountGiftSettings(SetBusinessAccountGiftSettingsRequest(businessConnectionId, showGiftButton, acceptedGiftTypes)) /** * Returns the amount of Telegram Stars owned by a managed business account. Requires the can_view_gifts_and_stars business bot right. Returns StarAmount on success. * * @param businessConnectionId Unique identifier of the business connection */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun tryGetBusinessAccountStarBalance( businessConnectionId: BusinessConnectionId, ): TelegramResponse = - botApiClient.tryGetBusinessAccountStarBalance(GetBusinessAccountStarBalanceRequest(businessConnectionId)) + botApi.botApiClient.tryGetBusinessAccountStarBalance(GetBusinessAccountStarBalanceRequest(businessConnectionId)) /** * Transfers Telegram Stars from the business account balance to the bot's balance. Requires the can_transfer_stars business bot right. Returns True on success. @@ -2201,12 +2201,12 @@ suspend fun tryGetBusinessAccountStarBalance( * @param businessConnectionId Unique identifier of the business connection * @param starCount Number of Telegram Stars to transfer; 1-10000 */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun tryTransferBusinessAccountStars( businessConnectionId: BusinessConnectionId, starCount: Long, ): TelegramResponse = - botApiClient.tryTransferBusinessAccountStars(TransferBusinessAccountStarsRequest(businessConnectionId, starCount)) + botApi.botApiClient.tryTransferBusinessAccountStars(TransferBusinessAccountStarsRequest(businessConnectionId, starCount)) /** * Returns the gifts received and owned by a managed business account. Requires the can_view_gifts_and_stars business bot right. Returns OwnedGifts on success. @@ -2221,7 +2221,7 @@ suspend fun tryTransferBusinessAccountStars( * @param offset Offset of the first entry to return as received from the previous request; use empty string to get the first chunk of results * @param limit The maximum number of gifts to be returned; 1-100. Defaults to 100 */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun tryGetBusinessAccountGifts( businessConnectionId: BusinessConnectionId, excludeUnsaved: Boolean? = null, @@ -2233,7 +2233,7 @@ suspend fun tryGetBusinessAccountGifts( offset: String? = null, limit: Long? = null, ): TelegramResponse = - botApiClient.tryGetBusinessAccountGifts(GetBusinessAccountGiftsRequest(businessConnectionId, excludeUnsaved, excludeSaved, excludeUnlimited, excludeLimited, excludeUnique, sortByPrice, offset, limit)) + botApi.botApiClient.tryGetBusinessAccountGifts(GetBusinessAccountGiftsRequest(businessConnectionId, excludeUnsaved, excludeSaved, excludeUnlimited, excludeLimited, excludeUnique, sortByPrice, offset, limit)) /** * Converts a given regular gift to Telegram Stars. Requires the can_convert_gifts_to_stars business bot right. Returns True on success. @@ -2241,12 +2241,12 @@ suspend fun tryGetBusinessAccountGifts( * @param businessConnectionId Unique identifier of the business connection * @param ownedGiftId Unique identifier of the regular gift that should be converted to Telegram Stars */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun tryConvertGiftToStars( businessConnectionId: BusinessConnectionId, ownedGiftId: String, ): TelegramResponse = - botApiClient.tryConvertGiftToStars(ConvertGiftToStarsRequest(businessConnectionId, ownedGiftId)) + botApi.botApiClient.tryConvertGiftToStars(ConvertGiftToStarsRequest(businessConnectionId, ownedGiftId)) /** * Upgrades a given regular gift to a unique gift. Requires the can_transfer_and_upgrade_gifts business bot right. Additionally requires the can_transfer_stars business bot right if the upgrade is paid. Returns True on success. @@ -2256,14 +2256,14 @@ suspend fun tryConvertGiftToStars( * @param keepOriginalDetails Pass True to keep the original gift text, sender and receiver in the upgraded gift * @param starCount The amount of Telegram Stars that will be paid for the upgrade from the business account balance. If gift.prepaid_upgrade_star_count > 0, then pass 0, otherwise, the can_transfer_stars business bot right is required and gift.upgrade_star_count must be passed. */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun tryUpgradeGift( businessConnectionId: BusinessConnectionId, ownedGiftId: String, keepOriginalDetails: Boolean? = null, starCount: Long? = null, ): TelegramResponse = - botApiClient.tryUpgradeGift(UpgradeGiftRequest(businessConnectionId, ownedGiftId, keepOriginalDetails, starCount)) + botApi.botApiClient.tryUpgradeGift(UpgradeGiftRequest(businessConnectionId, ownedGiftId, keepOriginalDetails, starCount)) /** * Transfers an owned unique gift to another user. Requires the can_transfer_and_upgrade_gifts business bot right. Requires can_transfer_stars business bot right if the transfer is paid. Returns True on success. @@ -2273,14 +2273,14 @@ suspend fun tryUpgradeGift( * @param newOwnerChatId Unique identifier of the chat which will own the gift. The chat must be active in the last 24 hours. * @param starCount The amount of Telegram Stars that will be paid for the transfer from the business account balance. If positive, then the can_transfer_stars business bot right is required. */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun tryTransferGift( businessConnectionId: BusinessConnectionId, ownedGiftId: String, newOwnerChatId: ChatId, starCount: Long? = null, ): TelegramResponse = - botApiClient.tryTransferGift(TransferGiftRequest(businessConnectionId, ownedGiftId, newOwnerChatId, starCount)) + botApi.botApiClient.tryTransferGift(TransferGiftRequest(businessConnectionId, ownedGiftId, newOwnerChatId, starCount)) /** * Posts a story on behalf of a managed business account. Requires the can_manage_stories business bot right. Returns Story on success. @@ -2295,7 +2295,7 @@ suspend fun tryTransferGift( * @param postToChatPage Pass True to keep the story accessible after it expires * @param protectContent Pass True if the content of the story must be protected from forwarding and screenshotting */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun tryPostStory( businessConnectionId: BusinessConnectionId, content: InputStoryContent, @@ -2307,7 +2307,7 @@ suspend fun tryPostStory( postToChatPage: Boolean? = null, protectContent: Boolean? = null, ): TelegramResponse = - botApiClient.tryPostStory(PostStoryRequest(businessConnectionId, content, activePeriod, caption, parseMode, captionEntities, areas, postToChatPage, protectContent)) + botApi.botApiClient.tryPostStory(PostStoryRequest(businessConnectionId, content, activePeriod, caption, parseMode, captionEntities, areas, postToChatPage, protectContent)) /** * Edits a story previously posted by the bot on behalf of a managed business account. Requires the can_manage_stories business bot right. Returns Story on success. @@ -2320,7 +2320,7 @@ suspend fun tryPostStory( * @param captionEntities A JSON-serialized list of special entities that appear in the caption, which can be specified instead of parse_mode * @param areas A JSON-serialized list of clickable areas to be shown on the story */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun tryEditStory( businessConnectionId: BusinessConnectionId, storyId: Long, @@ -2330,7 +2330,7 @@ suspend fun tryEditStory( captionEntities: List? = null, areas: List? = null, ): TelegramResponse = - botApiClient.tryEditStory(EditStoryRequest(businessConnectionId, storyId, content, caption, parseMode, captionEntities, areas)) + botApi.botApiClient.tryEditStory(EditStoryRequest(businessConnectionId, storyId, content, caption, parseMode, captionEntities, areas)) /** * Deletes a story previously posted by the bot on behalf of a managed business account. Requires the can_manage_stories business bot right. Returns True on success. @@ -2338,12 +2338,12 @@ suspend fun tryEditStory( * @param businessConnectionId Unique identifier of the business connection * @param storyId Unique identifier of the story to delete */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun tryDeleteStory( businessConnectionId: BusinessConnectionId, storyId: Long, ): TelegramResponse = - botApiClient.tryDeleteStory(DeleteStoryRequest(businessConnectionId, storyId)) + botApi.botApiClient.tryDeleteStory(DeleteStoryRequest(businessConnectionId, storyId)) /** * Use this method to send static .WEBP, animated .TGS, or video .WEBM stickers. On success, the sent Message is returned. @@ -2360,7 +2360,7 @@ suspend fun tryDeleteStory( * @param businessConnectionId Unique identifier of the business connection on behalf of which the message will be sent * @param allowPaidBroadcast Pass True to allow up to 1000 messages per second, ignoring broadcasting limits for a fee of 0.1 Telegram Stars per message. The relevant Stars will be withdrawn from the bot's balance */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun trySendSticker( chatId: ChatId, sticker: String, @@ -2374,29 +2374,29 @@ suspend fun trySendSticker( businessConnectionId: BusinessConnectionId? = null, allowPaidBroadcast: Boolean? = null, ): TelegramResponse = - botApiClient.trySendSticker(SendStickerRequest(chatId, sticker, messageThreadId, emoji, disableNotification, protectContent, messageEffectId, replyParameters, replyMarkup, businessConnectionId, allowPaidBroadcast)) + botApi.botApiClient.trySendSticker(SendStickerRequest(chatId, sticker, messageThreadId, emoji, disableNotification, protectContent, messageEffectId, replyParameters, replyMarkup, businessConnectionId, allowPaidBroadcast)) /** * Use this method to get a sticker set. On success, a StickerSet object is returned. * * @param name Name of the sticker set */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun tryGetStickerSet( name: String, ): TelegramResponse = - botApiClient.tryGetStickerSet(GetStickerSetRequest(name)) + botApi.botApiClient.tryGetStickerSet(GetStickerSetRequest(name)) /** * Use this method to get information about custom emoji stickers by their identifiers. Returns an Array of Sticker objects. * * @param customEmojiIds A JSON-serialized list of custom emoji identifiers. At most 200 custom emoji identifiers can be specified. */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun tryGetCustomEmojiStickers( customEmojiIds: List, ): TelegramResponse> = - botApiClient.tryGetCustomEmojiStickers(GetCustomEmojiStickersRequest(customEmojiIds)) + botApi.botApiClient.tryGetCustomEmojiStickers(GetCustomEmojiStickersRequest(customEmojiIds)) /** * Use this method to upload a file with a sticker for later use in the createNewStickerSet, addStickerToSet, or replaceStickerInSet methods (the file can be used multiple times). Returns the uploaded File on success. @@ -2405,13 +2405,13 @@ suspend fun tryGetCustomEmojiStickers( * @param sticker A file with the sticker in .WEBP, .PNG, .TGS, or .WEBM format. See https://core.telegram.org/stickers for technical requirements. More information on Sending Files » * @param stickerFormat Format of the sticker, must be one of “static”, “animated”, “video” */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun tryUploadStickerFile( userId: UserId, sticker: String, stickerFormat: String, ): TelegramResponse = - botApiClient.tryUploadStickerFile(UploadStickerFileRequest(userId, sticker, stickerFormat)) + botApi.botApiClient.tryUploadStickerFile(UploadStickerFileRequest(userId, sticker, stickerFormat)) /** * Use this method to create a new sticker set owned by a user. The bot will be able to edit the sticker set thus created. Returns True on success. @@ -2423,7 +2423,7 @@ suspend fun tryUploadStickerFile( * @param stickerType Type of stickers in the set, pass “regular”, “mask”, or “custom_emoji”. By default, a regular sticker set is created. * @param needsRepainting Pass True if stickers in the sticker set must be repainted to the color of text when used in messages, the accent color if used as emoji status, white on chat photos, or another appropriate color based on context; for custom emoji sticker sets only */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun tryCreateNewStickerSet( userId: UserId, name: String, @@ -2432,7 +2432,7 @@ suspend fun tryCreateNewStickerSet( stickerType: String? = null, needsRepainting: Boolean? = null, ): TelegramResponse = - botApiClient.tryCreateNewStickerSet(CreateNewStickerSetRequest(userId, name, title, stickers, stickerType, needsRepainting)) + botApi.botApiClient.tryCreateNewStickerSet(CreateNewStickerSetRequest(userId, name, title, stickers, stickerType, needsRepainting)) /** * Use this method to add a new sticker to a set created by the bot. Emoji sticker sets can have up to 200 stickers. Other sticker sets can have up to 120 stickers. Returns True on success. @@ -2441,13 +2441,13 @@ suspend fun tryCreateNewStickerSet( * @param name Sticker set name * @param sticker A JSON-serialized object with information about the added sticker. If exactly the same sticker had already been added to the set, then the set isn't changed. */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun tryAddStickerToSet( userId: UserId, name: String, sticker: InputSticker, ): TelegramResponse = - botApiClient.tryAddStickerToSet(AddStickerToSetRequest(userId, name, sticker)) + botApi.botApiClient.tryAddStickerToSet(AddStickerToSetRequest(userId, name, sticker)) /** * Use this method to move a sticker in a set created by the bot to a specific position. Returns True on success. @@ -2455,23 +2455,23 @@ suspend fun tryAddStickerToSet( * @param sticker File identifier of the sticker * @param position New sticker position in the set, zero-based */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun trySetStickerPositionInSet( sticker: String, position: Long, ): TelegramResponse = - botApiClient.trySetStickerPositionInSet(SetStickerPositionInSetRequest(sticker, position)) + botApi.botApiClient.trySetStickerPositionInSet(SetStickerPositionInSetRequest(sticker, position)) /** * Use this method to delete a sticker from a set created by the bot. Returns True on success. * * @param sticker File identifier of the sticker */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun tryDeleteStickerFromSet( sticker: String, ): TelegramResponse = - botApiClient.tryDeleteStickerFromSet(DeleteStickerFromSetRequest(sticker)) + botApi.botApiClient.tryDeleteStickerFromSet(DeleteStickerFromSetRequest(sticker)) /** * Use this method to replace an existing sticker in a sticker set with a new one. The method is equivalent to calling deleteStickerFromSet, then addStickerToSet, then setStickerPositionInSet. Returns True on success. @@ -2481,14 +2481,14 @@ suspend fun tryDeleteStickerFromSet( * @param oldSticker File identifier of the replaced sticker * @param sticker A JSON-serialized object with information about the added sticker. If exactly the same sticker had already been added to the set, then the set remains unchanged. */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun tryReplaceStickerInSet( userId: UserId, name: String, oldSticker: String, sticker: InputSticker, ): TelegramResponse = - botApiClient.tryReplaceStickerInSet(ReplaceStickerInSetRequest(userId, name, oldSticker, sticker)) + botApi.botApiClient.tryReplaceStickerInSet(ReplaceStickerInSetRequest(userId, name, oldSticker, sticker)) /** * Use this method to change the list of emoji assigned to a regular or custom emoji sticker. The sticker must belong to a sticker set created by the bot. Returns True on success. @@ -2496,12 +2496,12 @@ suspend fun tryReplaceStickerInSet( * @param sticker File identifier of the sticker * @param emojiList A JSON-serialized list of 1-20 emoji associated with the sticker */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun trySetStickerEmojiList( sticker: String, emojiList: List, ): TelegramResponse = - botApiClient.trySetStickerEmojiList(SetStickerEmojiListRequest(sticker, emojiList)) + botApi.botApiClient.trySetStickerEmojiList(SetStickerEmojiListRequest(sticker, emojiList)) /** * Use this method to change search keywords assigned to a regular or custom emoji sticker. The sticker must belong to a sticker set created by the bot. Returns True on success. @@ -2509,12 +2509,12 @@ suspend fun trySetStickerEmojiList( * @param sticker File identifier of the sticker * @param keywords A JSON-serialized list of 0-20 search keywords for the sticker with total length of up to 64 characters */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun trySetStickerKeywords( sticker: String, keywords: List? = null, ): TelegramResponse = - botApiClient.trySetStickerKeywords(SetStickerKeywordsRequest(sticker, keywords)) + botApi.botApiClient.trySetStickerKeywords(SetStickerKeywordsRequest(sticker, keywords)) /** * Use this method to change the mask position of a mask sticker. The sticker must belong to a sticker set that was created by the bot. Returns True on success. @@ -2522,12 +2522,12 @@ suspend fun trySetStickerKeywords( * @param sticker File identifier of the sticker * @param maskPosition A JSON-serialized object with the position where the mask should be placed on faces. Omit the parameter to remove the mask position. */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun trySetStickerMaskPosition( sticker: String, maskPosition: MaskPosition? = null, ): TelegramResponse = - botApiClient.trySetStickerMaskPosition(SetStickerMaskPositionRequest(sticker, maskPosition)) + botApi.botApiClient.trySetStickerMaskPosition(SetStickerMaskPositionRequest(sticker, maskPosition)) /** * Use this method to set the title of a created sticker set. Returns True on success. @@ -2535,12 +2535,12 @@ suspend fun trySetStickerMaskPosition( * @param name Sticker set name * @param title Sticker set title, 1-64 characters */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun trySetStickerSetTitle( name: String, title: String, ): TelegramResponse = - botApiClient.trySetStickerSetTitle(SetStickerSetTitleRequest(name, title)) + botApi.botApiClient.trySetStickerSetTitle(SetStickerSetTitleRequest(name, title)) /** * Use this method to set the thumbnail of a regular or mask sticker set. The format of the thumbnail file must match the format of the stickers in the set. Returns True on success. @@ -2550,14 +2550,14 @@ suspend fun trySetStickerSetTitle( * @param format Format of the thumbnail, must be one of “static” for a .WEBP or .PNG image, “animated” for a .TGS animation, or “video” for a .WEBM video * @param thumbnail A .WEBP or .PNG image with the thumbnail, must be up to 128 kilobytes in size and have a width and height of exactly 100px, or a .TGS animation with a thumbnail up to 32 kilobytes in size (see https://core.telegram.org/stickers#animation-requirements for animated sticker technical requirements), or a .WEBM video with the thumbnail up to 32 kilobytes in size; see https://core.telegram.org/stickers#video-requirements for video sticker technical requirements. Pass a file_id as a String to send a file that already exists on the Telegram servers, pass an HTTP URL as a String for Telegram to get a file from the Internet, or upload a new one using multipart/form-data. More information on Sending Files ». Animated and video sticker set thumbnails can't be uploaded via HTTP URL. If omitted, then the thumbnail is dropped and the first sticker is used as the thumbnail. */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun trySetStickerSetThumbnail( name: String, userId: UserId, format: String, thumbnail: String? = null, ): TelegramResponse = - botApiClient.trySetStickerSetThumbnail(SetStickerSetThumbnailRequest(name, userId, format, thumbnail)) + botApi.botApiClient.trySetStickerSetThumbnail(SetStickerSetThumbnailRequest(name, userId, format, thumbnail)) /** * Use this method to set the thumbnail of a custom emoji sticker set. Returns True on success. @@ -2565,23 +2565,23 @@ suspend fun trySetStickerSetThumbnail( * @param name Sticker set name * @param customEmojiId Custom emoji identifier of a sticker from the sticker set; pass an empty string to drop the thumbnail and use the first sticker as the thumbnail. */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun trySetCustomEmojiStickerSetThumbnail( name: String, customEmojiId: CustomEmojiId? = null, ): TelegramResponse = - botApiClient.trySetCustomEmojiStickerSetThumbnail(SetCustomEmojiStickerSetThumbnailRequest(name, customEmojiId)) + botApi.botApiClient.trySetCustomEmojiStickerSetThumbnail(SetCustomEmojiStickerSetThumbnailRequest(name, customEmojiId)) /** * Use this method to delete a sticker set that was created by the bot. Returns True on success. * * @param name Sticker set name */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun tryDeleteStickerSet( name: String, ): TelegramResponse = - botApiClient.tryDeleteStickerSet(DeleteStickerSetRequest(name)) + botApi.botApiClient.tryDeleteStickerSet(DeleteStickerSetRequest(name)) /** * Use this method to send answers to an inline query. On success, True is returned. No more than 50 results per query are allowed. @@ -2593,7 +2593,7 @@ suspend fun tryDeleteStickerSet( * @param nextOffset Pass the offset that a client should send in the next query with the same text to receive more results. Pass an empty string if there are no more results or if you don't support pagination. Offset length can't exceed 64 bytes. * @param button A JSON-serialized object describing a button to be shown above inline query results */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun tryAnswerInlineQuery( inlineQueryId: InlineQueryId, results: List, @@ -2602,7 +2602,7 @@ suspend fun tryAnswerInlineQuery( nextOffset: String? = null, button: InlineQueryResultsButton? = null, ): TelegramResponse = - botApiClient.tryAnswerInlineQuery(AnswerInlineQueryRequest(inlineQueryId, results, cacheTime, isPersonal, nextOffset, button)) + botApi.botApiClient.tryAnswerInlineQuery(AnswerInlineQueryRequest(inlineQueryId, results, cacheTime, isPersonal, nextOffset, button)) /** * Use this method to set the result of an interaction with a Web App and send a corresponding message on behalf of the user to the chat from which the query originated. On success, a SentWebAppMessage object is returned. @@ -2610,12 +2610,12 @@ suspend fun tryAnswerInlineQuery( * @param webAppQueryId Unique identifier for the query to be answered * @param result A JSON-serialized object describing the message to be sent */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun tryAnswerWebAppQuery( webAppQueryId: WebAppQueryId, result: InlineQueryResult, ): TelegramResponse = - botApiClient.tryAnswerWebAppQuery(AnswerWebAppQueryRequest(webAppQueryId, result)) + botApi.botApiClient.tryAnswerWebAppQuery(AnswerWebAppQueryRequest(webAppQueryId, result)) /** * Stores a message that can be sent by a user of a Mini App. Returns a PreparedInlineMessage object. @@ -2627,7 +2627,7 @@ suspend fun tryAnswerWebAppQuery( * @param allowGroupChats Pass True if the message can be sent to group and supergroup chats * @param allowChannelChats Pass True if the message can be sent to channel chats */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun trySavePreparedInlineMessage( userId: UserId, result: InlineQueryResult, @@ -2636,7 +2636,7 @@ suspend fun trySavePreparedInlineMessage( allowGroupChats: Boolean? = null, allowChannelChats: Boolean? = null, ): TelegramResponse = - botApiClient.trySavePreparedInlineMessage(SavePreparedInlineMessageRequest(userId, result, allowUserChats, allowBotChats, allowGroupChats, allowChannelChats)) + botApi.botApiClient.trySavePreparedInlineMessage(SavePreparedInlineMessageRequest(userId, result, allowUserChats, allowBotChats, allowGroupChats, allowChannelChats)) /** * Use this method to send invoices. On success, the sent Message is returned. @@ -2671,7 +2671,7 @@ suspend fun trySavePreparedInlineMessage( * @param replyMarkup A JSON-serialized object for an inline keyboard. If empty, one 'Pay total price' button will be shown. If not empty, the first button must be a Pay button. * @param allowPaidBroadcast Pass True to allow up to 1000 messages per second, ignoring broadcasting limits for a fee of 0.1 Telegram Stars per message. The relevant Stars will be withdrawn from the bot's balance */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun trySendInvoice( chatId: ChatId, title: String, @@ -2703,7 +2703,7 @@ suspend fun trySendInvoice( replyMarkup: InlineKeyboardMarkup? = null, allowPaidBroadcast: Boolean? = null, ): TelegramResponse = - botApiClient.trySendInvoice(SendInvoiceRequest(chatId, title, description, payload, currency, prices, messageThreadId, providerToken, maxTipAmount, suggestedTipAmounts, startParameter, providerData, photoUrl, photoSize, photoWidth, photoHeight, needName, needPhoneNumber, needEmail, needShippingAddress, sendPhoneNumberToProvider, sendEmailToProvider, isFlexible, disableNotification, protectContent, messageEffectId, replyParameters, replyMarkup, allowPaidBroadcast)) + botApi.botApiClient.trySendInvoice(SendInvoiceRequest(chatId, title, description, payload, currency, prices, messageThreadId, providerToken, maxTipAmount, suggestedTipAmounts, startParameter, providerData, photoUrl, photoSize, photoWidth, photoHeight, needName, needPhoneNumber, needEmail, needShippingAddress, sendPhoneNumberToProvider, sendEmailToProvider, isFlexible, disableNotification, protectContent, messageEffectId, replyParameters, replyMarkup, allowPaidBroadcast)) /** * Use this method to create a link for an invoice. Returns the created invoice link as String on success. @@ -2731,7 +2731,7 @@ suspend fun trySendInvoice( * @param businessConnectionId Unique identifier of the business connection on behalf of which the link will be created. For payments in Telegram Stars only. * @param subscriptionPeriod The number of seconds the subscription will be active for before the next payment. The currency must be set to “XTR” (Telegram Stars) if the parameter is used. Currently, it must always be 2592000 (30 days) if specified. Any number of subscriptions can be active for a given bot at the same time, including multiple concurrent subscriptions from the same user. Subscription price must no exceed 10000 Telegram Stars. */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun tryCreateInvoiceLink( title: String, description: String, @@ -2756,7 +2756,7 @@ suspend fun tryCreateInvoiceLink( businessConnectionId: BusinessConnectionId? = null, subscriptionPeriod: Seconds? = null, ): TelegramResponse = - botApiClient.tryCreateInvoiceLink(CreateInvoiceLinkRequest(title, description, payload, currency, prices, providerToken, maxTipAmount, suggestedTipAmounts, providerData, photoUrl, photoSize, photoWidth, photoHeight, needName, needPhoneNumber, needEmail, needShippingAddress, sendPhoneNumberToProvider, sendEmailToProvider, isFlexible, businessConnectionId, subscriptionPeriod)) + botApi.botApiClient.tryCreateInvoiceLink(CreateInvoiceLinkRequest(title, description, payload, currency, prices, providerToken, maxTipAmount, suggestedTipAmounts, providerData, photoUrl, photoSize, photoWidth, photoHeight, needName, needPhoneNumber, needEmail, needShippingAddress, sendPhoneNumberToProvider, sendEmailToProvider, isFlexible, businessConnectionId, subscriptionPeriod)) /** * If you sent an invoice requesting a shipping address and the parameter is_flexible was specified, the Bot API will send an Update with a shipping_query field to the bot. Use this method to reply to shipping queries. On success, True is returned. @@ -2766,14 +2766,14 @@ suspend fun tryCreateInvoiceLink( * @param shippingOptions Required if ok is True. A JSON-serialized array of available shipping options. * @param errorMessage Required if ok is False. Error message in human readable form that explains why it is impossible to complete the order (e.g. “Sorry, delivery to your desired address is unavailable”). Telegram will display this message to the user. */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun tryAnswerShippingQuery( shippingQueryId: ShippingQueryId, ok: Boolean, shippingOptions: List? = null, errorMessage: String? = null, ): TelegramResponse = - botApiClient.tryAnswerShippingQuery(AnswerShippingQueryRequest(shippingQueryId, ok, shippingOptions, errorMessage)) + botApi.botApiClient.tryAnswerShippingQuery(AnswerShippingQueryRequest(shippingQueryId, ok, shippingOptions, errorMessage)) /** * Once the user has confirmed their payment and shipping details, the Bot API sends the final confirmation in the form of an Update with the field pre_checkout_query. Use this method to respond to such pre-checkout queries. On success, True is returned. Note: The Bot API must receive an answer within 10 seconds after the pre-checkout query was sent. @@ -2782,13 +2782,13 @@ suspend fun tryAnswerShippingQuery( * @param ok Specify True if everything is alright (goods are available, etc.) and the bot is ready to proceed with the order. Use False if there are any problems. * @param errorMessage Required if ok is False. Error message in human readable form that explains the reason for failure to proceed with the checkout (e.g. "Sorry, somebody just bought the last of our amazing black T-shirts while you were busy filling out your payment details. Please choose a different color or garment!"). Telegram will display this message to the user. */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun tryAnswerPreCheckoutQuery( preCheckoutQueryId: String, ok: Boolean, errorMessage: String? = null, ): TelegramResponse = - botApiClient.tryAnswerPreCheckoutQuery(AnswerPreCheckoutQueryRequest(preCheckoutQueryId, ok, errorMessage)) + botApi.botApiClient.tryAnswerPreCheckoutQuery(AnswerPreCheckoutQueryRequest(preCheckoutQueryId, ok, errorMessage)) /** * Returns the bot's Telegram Star transactions in chronological order. On success, returns a StarTransactions object. @@ -2796,12 +2796,12 @@ suspend fun tryAnswerPreCheckoutQuery( * @param offset Number of transactions to skip in the response * @param limit The maximum number of transactions to be retrieved. Values between 1-100 are accepted. Defaults to 100. */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun tryGetStarTransactions( offset: Long? = null, limit: Long? = null, ): TelegramResponse = - botApiClient.tryGetStarTransactions(GetStarTransactionsRequest(offset, limit)) + botApi.botApiClient.tryGetStarTransactions(GetStarTransactionsRequest(offset, limit)) /** * Refunds a successful payment in Telegram Stars. Returns True on success. @@ -2809,12 +2809,12 @@ suspend fun tryGetStarTransactions( * @param userId Identifier of the user whose payment will be refunded * @param telegramPaymentChargeId Telegram payment identifier */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun tryRefundStarPayment( userId: UserId, telegramPaymentChargeId: TelegramPaymentChargeId, ): TelegramResponse = - botApiClient.tryRefundStarPayment(RefundStarPaymentRequest(userId, telegramPaymentChargeId)) + botApi.botApiClient.tryRefundStarPayment(RefundStarPaymentRequest(userId, telegramPaymentChargeId)) /** * Allows the bot to cancel or re-enable extension of a subscription paid in Telegram Stars. Returns True on success. @@ -2823,13 +2823,13 @@ suspend fun tryRefundStarPayment( * @param telegramPaymentChargeId Telegram payment identifier for the subscription * @param isCanceled Pass True to cancel extension of the user subscription; the subscription must be active up to the end of the current subscription period. Pass False to allow the user to re-enable a subscription that was previously canceled by the bot. */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun tryEditUserStarSubscription( userId: UserId, telegramPaymentChargeId: TelegramPaymentChargeId, isCanceled: Boolean, ): TelegramResponse = - botApiClient.tryEditUserStarSubscription(EditUserStarSubscriptionRequest(userId, telegramPaymentChargeId, isCanceled)) + botApi.botApiClient.tryEditUserStarSubscription(EditUserStarSubscriptionRequest(userId, telegramPaymentChargeId, isCanceled)) /** * Informs a user that some of the Telegram Passport elements they provided contains errors. The user will not be able to re-submit their Passport to you until the errors are fixed (the contents of the field for which you returned the error must change). Returns True on success. @@ -2839,12 +2839,12 @@ suspend fun tryEditUserStarSubscription( * @param userId User identifier * @param errors A JSON-serialized array describing the errors */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun trySetPassportDataErrors( userId: UserId, errors: List, ): TelegramResponse = - botApiClient.trySetPassportDataErrors(SetPassportDataErrorsRequest(userId, errors)) + botApi.botApiClient.trySetPassportDataErrors(SetPassportDataErrorsRequest(userId, errors)) /** * Use this method to send a game. On success, the sent Message is returned. @@ -2860,7 +2860,7 @@ suspend fun trySetPassportDataErrors( * @param businessConnectionId Unique identifier of the business connection on behalf of which the message will be sent * @param allowPaidBroadcast Pass True to allow up to 1000 messages per second, ignoring broadcasting limits for a fee of 0.1 Telegram Stars per message. The relevant Stars will be withdrawn from the bot's balance */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun trySendGame( chatId: ChatId, gameShortName: String, @@ -2873,7 +2873,7 @@ suspend fun trySendGame( businessConnectionId: BusinessConnectionId? = null, allowPaidBroadcast: Boolean? = null, ): TelegramResponse = - botApiClient.trySendGame(SendGameRequest(chatId, gameShortName, messageThreadId, disableNotification, protectContent, messageEffectId, replyParameters, replyMarkup, businessConnectionId, allowPaidBroadcast)) + botApi.botApiClient.trySendGame(SendGameRequest(chatId, gameShortName, messageThreadId, disableNotification, protectContent, messageEffectId, replyParameters, replyMarkup, businessConnectionId, allowPaidBroadcast)) /** * Use this method to set the score of the specified user in a game message. On success the edited Message is returned. Returns an error, if the new score is not greater than the user's current score in the chat and force is False. @@ -2885,7 +2885,7 @@ suspend fun trySendGame( * @param chatId Required if inline_message_id is not specified. Unique identifier for the target chat * @param messageId Required if inline_message_id is not specified. Identifier of the sent message */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun trySetGameScore( userId: UserId, score: Long, @@ -2894,7 +2894,7 @@ suspend fun trySetGameScore( chatId: ChatId, messageId: MessageId, ): TelegramResponse = - botApiClient.trySetGameScore(SetGameScoreRequest(userId = userId, score = score, force = force, disableEditMessage = disableEditMessage, chatId = chatId, messageId = messageId)) + botApi.botApiClient.trySetGameScore(SetGameScoreRequest(userId = userId, score = score, force = force, disableEditMessage = disableEditMessage, chatId = chatId, messageId = messageId)) /** * Use this method to set the score of the specified user in a game message. On success True is returned. Returns an error, if the new score is not greater than the user's current score in the chat and force is False. @@ -2905,7 +2905,7 @@ suspend fun trySetGameScore( * @param disableEditMessage Pass True if the game message should not be automatically edited to include the current scoreboard * @param inlineMessageId Required if chat_id and message_id are not specified. Identifier of the inline message */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun trySetInlineGameScore( userId: UserId, score: Long, @@ -2913,7 +2913,7 @@ suspend fun trySetInlineGameScore( disableEditMessage: Boolean? = null, inlineMessageId: InlineMessageId, ): TelegramResponse = - botApiClient.trySetInlineGameScore(SetGameScoreRequest(userId = userId, score = score, force = force, disableEditMessage = disableEditMessage, inlineMessageId = inlineMessageId)) + botApi.botApiClient.trySetInlineGameScore(SetGameScoreRequest(userId = userId, score = score, force = force, disableEditMessage = disableEditMessage, inlineMessageId = inlineMessageId)) /** * Use this method to get data for high score tables. Will return the score of the specified user and several of their neighbors in a game. Returns an Array of GameHighScore objects. @@ -2925,11 +2925,11 @@ suspend fun trySetInlineGameScore( * @param messageId Required if inline_message_id is not specified. Identifier of the sent message * @param inlineMessageId Required if chat_id and message_id are not specified. Identifier of the inline message */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) suspend fun tryGetGameHighScores( userId: UserId, chatId: ChatId? = null, messageId: MessageId? = null, inlineMessageId: InlineMessageId? = null, ): TelegramResponse> = - botApiClient.tryGetGameHighScores(GetGameHighScoresRequest(userId, chatId, messageId, inlineMessageId)) + botApi.botApiClient.tryGetGameHighScores(GetGameHighScoresRequest(userId, chatId, messageId, inlineMessageId)) diff --git a/src/main/generated-kotlin/me/alllex/tbot/api/model/WithContextMethods.kt b/src/main/generated-kotlin/me/alllex/tbot/api/model/WithContextMethods.kt index e164622..ec10c45 100644 --- a/src/main/generated-kotlin/me/alllex/tbot/api/model/WithContextMethods.kt +++ b/src/main/generated-kotlin/me/alllex/tbot/api/model/WithContextMethods.kt @@ -14,7 +14,7 @@ import me.alllex.tbot.api.client.* * @param timeout Timeout in seconds for long polling. Defaults to 0, i.e. usual short polling. Should be positive, short polling should be used for testing purposes only. * @param allowedUpdates A JSON-serialized list of the update types you want your bot to receive. For example, specify ["message", "edited_channel_post", "callback_query"] to only receive updates of these types. See Update for a complete list of available update types. Specify an empty list to receive all update types except chat_member, message_reaction, and message_reaction_count (default). If not specified, the previous setting will be used. Please note that this parameter doesn't affect updates created before the call to getUpdates, so unwanted updates may be received for a short period of time. */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callGetUpdates") suspend fun getUpdates( @@ -23,7 +23,7 @@ suspend fun getUpdates( timeout: Seconds? = null, allowedUpdates: List? = null, ): List = - botApiClient.tryGetUpdates(GetUpdatesRequest(offset, limit, timeout, allowedUpdates)).getResultOrThrow() + botApi.botApiClient.tryGetUpdates(GetUpdatesRequest(offset, limit, timeout, allowedUpdates)).getResultOrThrow() /** * Use this method to specify a URL and receive incoming updates via an outgoing webhook. Whenever there is an update for the bot, we will send an HTTPS POST request to the specified URL, containing a JSON-serialized Update. In case of an unsuccessful request (a request with response HTTP status code different from 2XY), we will repeat the request and give up after a reasonable amount of attempts. Returns True on success. @@ -38,7 +38,7 @@ suspend fun getUpdates( * @param dropPendingUpdates Pass True to drop all pending updates * @param secretToken A secret token to be sent in a header “X-Telegram-Bot-Api-Secret-Token” in every webhook request, 1-256 characters. Only characters A-Z, a-z, 0-9, _ and - are allowed. The header is useful to ensure that the request comes from a webhook set by you. */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callSetWebhook") suspend fun setWebhook( @@ -50,56 +50,56 @@ suspend fun setWebhook( dropPendingUpdates: Boolean? = null, secretToken: String? = null, ): Boolean = - botApiClient.trySetWebhook(SetWebhookRequest(url, certificate, ipAddress, maxConnections, allowedUpdates, dropPendingUpdates, secretToken)).getResultOrThrow() + botApi.botApiClient.trySetWebhook(SetWebhookRequest(url, certificate, ipAddress, maxConnections, allowedUpdates, dropPendingUpdates, secretToken)).getResultOrThrow() /** * Use this method to remove webhook integration if you decide to switch back to getUpdates. Returns True on success. * * @param dropPendingUpdates Pass True to drop all pending updates */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callDeleteWebhook") suspend fun deleteWebhook( dropPendingUpdates: Boolean? = null, ): Boolean = - botApiClient.tryDeleteWebhook(DeleteWebhookRequest(dropPendingUpdates)).getResultOrThrow() + botApi.botApiClient.tryDeleteWebhook(DeleteWebhookRequest(dropPendingUpdates)).getResultOrThrow() /** * Use this method to get current webhook status. Requires no parameters. On success, returns a WebhookInfo object. If the bot is using getUpdates, will return an object with the url field empty. */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callGetWebhookInfo") suspend fun getWebhookInfo(): WebhookInfo = - botApiClient.tryGetWebhookInfo().getResultOrThrow() + botApi.botApiClient.tryGetWebhookInfo().getResultOrThrow() /** * A simple method for testing your bot's authentication token. Requires no parameters. Returns basic information about the bot in form of a User object. */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callGetMe") suspend fun getMe(): User = - botApiClient.tryGetMe().getResultOrThrow() + botApi.botApiClient.tryGetMe().getResultOrThrow() /** * Use this method to log out from the cloud Bot API server before launching the bot locally. You must log out the bot before running it locally, otherwise there is no guarantee that the bot will receive updates. After a successful call, you can immediately log in on a local server, but will not be able to log in back to the cloud Bot API server for 10 minutes. Returns True on success. Requires no parameters. */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callLogOut") suspend fun logOut(): Boolean = - botApiClient.tryLogOut().getResultOrThrow() + botApi.botApiClient.tryLogOut().getResultOrThrow() /** * Use this method to close the bot instance before moving it from one local server to another. You need to delete the webhook before calling this method to ensure that the bot isn't launched again after server restart. The method will return error 429 in the first 10 minutes after the bot is launched. Returns True on success. Requires no parameters. */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callClose") suspend fun close(): Boolean = - botApiClient.tryClose().getResultOrThrow() + botApi.botApiClient.tryClose().getResultOrThrow() /** * Use this method to send text messages. On success, the sent Message is returned. @@ -118,7 +118,7 @@ suspend fun close(): Boolean = * @param businessConnectionId Unique identifier of the business connection on behalf of which the message will be sent * @param allowPaidBroadcast Pass True to allow up to 1000 messages per second, ignoring broadcasting limits for a fee of 0.1 Telegram Stars per message. The relevant Stars will be withdrawn from the bot's balance */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callSendMessage") suspend fun sendMessage( @@ -136,9 +136,9 @@ suspend fun sendMessage( businessConnectionId: BusinessConnectionId? = null, allowPaidBroadcast: Boolean? = null, ): Message = - botApiClient.trySendMessage(SendMessageRequest(chatId, text, messageThreadId, parseMode, entities, linkPreviewOptions, disableNotification, protectContent, messageEffectId, replyParameters, replyMarkup, businessConnectionId, allowPaidBroadcast)).getResultOrThrow() + botApi.botApiClient.trySendMessage(SendMessageRequest(chatId, text, messageThreadId, parseMode, entities, linkPreviewOptions, disableNotification, protectContent, messageEffectId, replyParameters, replyMarkup, businessConnectionId, allowPaidBroadcast)).getResultOrThrow() -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) suspend fun Chat.sendMessage( text: String, @@ -156,7 +156,7 @@ suspend fun Chat.sendMessage( ): Message = sendMessage(id, text, messageThreadId, parseMode, entities, linkPreviewOptions, disableNotification, protectContent, messageEffectId, replyParameters, replyMarkup, businessConnectionId, allowPaidBroadcast) -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) suspend fun Chat.sendMarkdown( text: String, @@ -173,7 +173,7 @@ suspend fun Chat.sendMarkdown( ): Message = sendMessage(id, text, messageThreadId, ParseMode.MARKDOWN, entities, linkPreviewOptions, disableNotification, protectContent, messageEffectId, replyParameters, replyMarkup, businessConnectionId, allowPaidBroadcast) -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) suspend fun Chat.sendMarkdownV2( text: String, @@ -190,7 +190,7 @@ suspend fun Chat.sendMarkdownV2( ): Message = sendMessage(id, text, messageThreadId, ParseMode.MARKDOWN_V2, entities, linkPreviewOptions, disableNotification, protectContent, messageEffectId, replyParameters, replyMarkup, businessConnectionId, allowPaidBroadcast) -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) suspend fun Chat.sendHtml( text: String, @@ -207,7 +207,7 @@ suspend fun Chat.sendHtml( ): Message = sendMessage(id, text, messageThreadId, ParseMode.HTML, entities, linkPreviewOptions, disableNotification, protectContent, messageEffectId, replyParameters, replyMarkup, businessConnectionId, allowPaidBroadcast) -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) suspend fun ChatId.sendMessage( text: String, @@ -225,7 +225,7 @@ suspend fun ChatId.sendMessage( ): Message = sendMessage(this, text, messageThreadId, parseMode, entities, linkPreviewOptions, disableNotification, protectContent, messageEffectId, replyParameters, replyMarkup, businessConnectionId, allowPaidBroadcast) -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) suspend fun ChatId.sendMarkdown( text: String, @@ -242,7 +242,7 @@ suspend fun ChatId.sendMarkdown( ): Message = sendMessage(this, text, messageThreadId, ParseMode.MARKDOWN, entities, linkPreviewOptions, disableNotification, protectContent, messageEffectId, replyParameters, replyMarkup, businessConnectionId, allowPaidBroadcast) -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) suspend fun ChatId.sendMarkdownV2( text: String, @@ -259,7 +259,7 @@ suspend fun ChatId.sendMarkdownV2( ): Message = sendMessage(this, text, messageThreadId, ParseMode.MARKDOWN_V2, entities, linkPreviewOptions, disableNotification, protectContent, messageEffectId, replyParameters, replyMarkup, businessConnectionId, allowPaidBroadcast) -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) suspend fun ChatId.sendHtml( text: String, @@ -276,7 +276,7 @@ suspend fun ChatId.sendHtml( ): Message = sendMessage(this, text, messageThreadId, ParseMode.HTML, entities, linkPreviewOptions, disableNotification, protectContent, messageEffectId, replyParameters, replyMarkup, businessConnectionId, allowPaidBroadcast) -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) suspend fun Message.reply( text: String, @@ -293,7 +293,7 @@ suspend fun Message.reply( ): Message = sendMessage(chat.id, text, messageThreadId, parseMode, entities, linkPreviewOptions, disableNotification, protectContent, messageEffectId, ReplyParameters(messageId), replyMarkup, businessConnectionId, allowPaidBroadcast) -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) suspend fun Message.replyMarkdown( text: String, @@ -309,7 +309,7 @@ suspend fun Message.replyMarkdown( ): Message = sendMessage(chat.id, text, messageThreadId, ParseMode.MARKDOWN, entities, linkPreviewOptions, disableNotification, protectContent, messageEffectId, ReplyParameters(messageId), replyMarkup, businessConnectionId, allowPaidBroadcast) -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) suspend fun Message.replyMarkdownV2( text: String, @@ -325,7 +325,7 @@ suspend fun Message.replyMarkdownV2( ): Message = sendMessage(chat.id, text, messageThreadId, ParseMode.MARKDOWN_V2, entities, linkPreviewOptions, disableNotification, protectContent, messageEffectId, ReplyParameters(messageId), replyMarkup, businessConnectionId, allowPaidBroadcast) -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) suspend fun Message.replyHtml( text: String, @@ -352,7 +352,7 @@ suspend fun Message.replyHtml( * @param protectContent Protects the contents of the forwarded message from forwarding and saving * @param videoStartTimestamp New start timestamp for the forwarded video in the message */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callForwardMessage") suspend fun forwardMessage( @@ -364,9 +364,9 @@ suspend fun forwardMessage( protectContent: Boolean? = null, videoStartTimestamp: Long? = null, ): Message = - botApiClient.tryForwardMessage(ForwardMessageRequest(chatId, fromChatId, messageId, messageThreadId, disableNotification, protectContent, videoStartTimestamp)).getResultOrThrow() + botApi.botApiClient.tryForwardMessage(ForwardMessageRequest(chatId, fromChatId, messageId, messageThreadId, disableNotification, protectContent, videoStartTimestamp)).getResultOrThrow() -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) suspend fun Message.forward( chatId: ChatId, @@ -387,7 +387,7 @@ suspend fun Message.forward( * @param disableNotification Sends the messages silently. Users will receive a notification with no sound. * @param protectContent Protects the contents of the forwarded messages from forwarding and saving */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callForwardMessages") suspend fun forwardMessages( @@ -398,7 +398,7 @@ suspend fun forwardMessages( disableNotification: Boolean? = null, protectContent: Boolean? = null, ): List = - botApiClient.tryForwardMessages(ForwardMessagesRequest(chatId, fromChatId, messageIds, messageThreadId, disableNotification, protectContent)).getResultOrThrow() + botApi.botApiClient.tryForwardMessages(ForwardMessagesRequest(chatId, fromChatId, messageIds, messageThreadId, disableNotification, protectContent)).getResultOrThrow() /** * Use this method to copy messages of any kind. Service messages, paid media messages, giveaway messages, giveaway winners messages, and invoice messages can't be copied. A quiz poll can be copied only if the value of the field correct_option_id is known to the bot. The method is analogous to the method forwardMessage, but the copied message doesn't have a link to the original message. Returns the MessageId of the sent message on success. @@ -418,7 +418,7 @@ suspend fun forwardMessages( * @param videoStartTimestamp New start timestamp for the copied video in the message * @param allowPaidBroadcast Pass True to allow up to 1000 messages per second, ignoring broadcasting limits for a fee of 0.1 Telegram Stars per message. The relevant Stars will be withdrawn from the bot's balance */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callCopyMessage") suspend fun copyMessage( @@ -437,9 +437,9 @@ suspend fun copyMessage( videoStartTimestamp: Long? = null, allowPaidBroadcast: Boolean? = null, ): MessageRef = - botApiClient.tryCopyMessage(CopyMessageRequest(chatId, fromChatId, messageId, messageThreadId, caption, parseMode, captionEntities, showCaptionAboveMedia, disableNotification, protectContent, replyParameters, replyMarkup, videoStartTimestamp, allowPaidBroadcast)).getResultOrThrow() + botApi.botApiClient.tryCopyMessage(CopyMessageRequest(chatId, fromChatId, messageId, messageThreadId, caption, parseMode, captionEntities, showCaptionAboveMedia, disableNotification, protectContent, replyParameters, replyMarkup, videoStartTimestamp, allowPaidBroadcast)).getResultOrThrow() -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) suspend fun Message.copyMessage( chatId: ChatId, @@ -468,7 +468,7 @@ suspend fun Message.copyMessage( * @param protectContent Protects the contents of the sent messages from forwarding and saving * @param removeCaption Pass True to copy the messages without their captions */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callCopyMessages") suspend fun copyMessages( @@ -480,7 +480,7 @@ suspend fun copyMessages( protectContent: Boolean? = null, removeCaption: Boolean? = null, ): List = - botApiClient.tryCopyMessages(CopyMessagesRequest(chatId, fromChatId, messageIds, messageThreadId, disableNotification, protectContent, removeCaption)).getResultOrThrow() + botApi.botApiClient.tryCopyMessages(CopyMessagesRequest(chatId, fromChatId, messageIds, messageThreadId, disableNotification, protectContent, removeCaption)).getResultOrThrow() /** * Use this method to send photos. On success, the sent Message is returned. @@ -501,7 +501,7 @@ suspend fun copyMessages( * @param businessConnectionId Unique identifier of the business connection on behalf of which the message will be sent * @param allowPaidBroadcast Pass True to allow up to 1000 messages per second, ignoring broadcasting limits for a fee of 0.1 Telegram Stars per message. The relevant Stars will be withdrawn from the bot's balance */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callSendPhoto") suspend fun sendPhoto( @@ -521,9 +521,9 @@ suspend fun sendPhoto( businessConnectionId: BusinessConnectionId? = null, allowPaidBroadcast: Boolean? = null, ): Message = - botApiClient.trySendPhoto(SendPhotoRequest(chatId, photo, messageThreadId, caption, parseMode, captionEntities, showCaptionAboveMedia, hasSpoiler, disableNotification, protectContent, messageEffectId, replyParameters, replyMarkup, businessConnectionId, allowPaidBroadcast)).getResultOrThrow() + botApi.botApiClient.trySendPhoto(SendPhotoRequest(chatId, photo, messageThreadId, caption, parseMode, captionEntities, showCaptionAboveMedia, hasSpoiler, disableNotification, protectContent, messageEffectId, replyParameters, replyMarkup, businessConnectionId, allowPaidBroadcast)).getResultOrThrow() -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) suspend fun Chat.sendPhoto( photo: String, @@ -543,7 +543,7 @@ suspend fun Chat.sendPhoto( ): Message = sendPhoto(id, photo, messageThreadId, caption, parseMode, captionEntities, showCaptionAboveMedia, hasSpoiler, disableNotification, protectContent, messageEffectId, replyParameters, replyMarkup, businessConnectionId, allowPaidBroadcast) -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) suspend fun ChatId.sendPhoto( photo: String, @@ -586,7 +586,7 @@ suspend fun ChatId.sendPhoto( * @param businessConnectionId Unique identifier of the business connection on behalf of which the message will be sent * @param allowPaidBroadcast Pass True to allow up to 1000 messages per second, ignoring broadcasting limits for a fee of 0.1 Telegram Stars per message. The relevant Stars will be withdrawn from the bot's balance */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callSendAudio") suspend fun sendAudio( @@ -608,9 +608,9 @@ suspend fun sendAudio( businessConnectionId: BusinessConnectionId? = null, allowPaidBroadcast: Boolean? = null, ): Message = - botApiClient.trySendAudio(SendAudioRequest(chatId, audio, messageThreadId, caption, parseMode, captionEntities, duration, performer, title, thumbnail, disableNotification, protectContent, messageEffectId, replyParameters, replyMarkup, businessConnectionId, allowPaidBroadcast)).getResultOrThrow() + botApi.botApiClient.trySendAudio(SendAudioRequest(chatId, audio, messageThreadId, caption, parseMode, captionEntities, duration, performer, title, thumbnail, disableNotification, protectContent, messageEffectId, replyParameters, replyMarkup, businessConnectionId, allowPaidBroadcast)).getResultOrThrow() -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) suspend fun Chat.sendAudio( audio: String, @@ -632,7 +632,7 @@ suspend fun Chat.sendAudio( ): Message = sendAudio(id, audio, messageThreadId, caption, parseMode, captionEntities, duration, performer, title, thumbnail, disableNotification, protectContent, messageEffectId, replyParameters, replyMarkup, businessConnectionId, allowPaidBroadcast) -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) suspend fun ChatId.sendAudio( audio: String, @@ -673,7 +673,7 @@ suspend fun ChatId.sendAudio( * @param businessConnectionId Unique identifier of the business connection on behalf of which the message will be sent * @param allowPaidBroadcast Pass True to allow up to 1000 messages per second, ignoring broadcasting limits for a fee of 0.1 Telegram Stars per message. The relevant Stars will be withdrawn from the bot's balance */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callSendDocument") suspend fun sendDocument( @@ -693,9 +693,9 @@ suspend fun sendDocument( businessConnectionId: BusinessConnectionId? = null, allowPaidBroadcast: Boolean? = null, ): Message = - botApiClient.trySendDocument(SendDocumentRequest(chatId, document, messageThreadId, thumbnail, caption, parseMode, captionEntities, disableContentTypeDetection, disableNotification, protectContent, messageEffectId, replyParameters, replyMarkup, businessConnectionId, allowPaidBroadcast)).getResultOrThrow() + botApi.botApiClient.trySendDocument(SendDocumentRequest(chatId, document, messageThreadId, thumbnail, caption, parseMode, captionEntities, disableContentTypeDetection, disableNotification, protectContent, messageEffectId, replyParameters, replyMarkup, businessConnectionId, allowPaidBroadcast)).getResultOrThrow() -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) suspend fun Chat.sendDocument( document: String, @@ -715,7 +715,7 @@ suspend fun Chat.sendDocument( ): Message = sendDocument(id, document, messageThreadId, thumbnail, caption, parseMode, captionEntities, disableContentTypeDetection, disableNotification, protectContent, messageEffectId, replyParameters, replyMarkup, businessConnectionId, allowPaidBroadcast) -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) suspend fun ChatId.sendDocument( document: String, @@ -761,7 +761,7 @@ suspend fun ChatId.sendDocument( * @param startTimestamp Start timestamp for the video in the message * @param allowPaidBroadcast Pass True to allow up to 1000 messages per second, ignoring broadcasting limits for a fee of 0.1 Telegram Stars per message. The relevant Stars will be withdrawn from the bot's balance */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callSendVideo") suspend fun sendVideo( @@ -788,9 +788,9 @@ suspend fun sendVideo( startTimestamp: Long? = null, allowPaidBroadcast: Boolean? = null, ): Message = - botApiClient.trySendVideo(SendVideoRequest(chatId, video, messageThreadId, duration, width, height, thumbnail, caption, parseMode, captionEntities, showCaptionAboveMedia, hasSpoiler, supportsStreaming, disableNotification, protectContent, messageEffectId, replyParameters, replyMarkup, businessConnectionId, cover, startTimestamp, allowPaidBroadcast)).getResultOrThrow() + botApi.botApiClient.trySendVideo(SendVideoRequest(chatId, video, messageThreadId, duration, width, height, thumbnail, caption, parseMode, captionEntities, showCaptionAboveMedia, hasSpoiler, supportsStreaming, disableNotification, protectContent, messageEffectId, replyParameters, replyMarkup, businessConnectionId, cover, startTimestamp, allowPaidBroadcast)).getResultOrThrow() -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) suspend fun Chat.sendVideo( video: String, @@ -817,7 +817,7 @@ suspend fun Chat.sendVideo( ): Message = sendVideo(id, video, messageThreadId, duration, width, height, thumbnail, caption, parseMode, captionEntities, showCaptionAboveMedia, hasSpoiler, supportsStreaming, disableNotification, protectContent, messageEffectId, replyParameters, replyMarkup, businessConnectionId, cover, startTimestamp, allowPaidBroadcast) -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) suspend fun ChatId.sendVideo( video: String, @@ -867,7 +867,7 @@ suspend fun ChatId.sendVideo( * @param businessConnectionId Unique identifier of the business connection on behalf of which the message will be sent * @param allowPaidBroadcast Pass True to allow up to 1000 messages per second, ignoring broadcasting limits for a fee of 0.1 Telegram Stars per message. The relevant Stars will be withdrawn from the bot's balance */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callSendAnimation") suspend fun sendAnimation( @@ -891,9 +891,9 @@ suspend fun sendAnimation( businessConnectionId: BusinessConnectionId? = null, allowPaidBroadcast: Boolean? = null, ): Message = - botApiClient.trySendAnimation(SendAnimationRequest(chatId, animation, messageThreadId, duration, width, height, thumbnail, caption, parseMode, captionEntities, showCaptionAboveMedia, hasSpoiler, disableNotification, protectContent, messageEffectId, replyParameters, replyMarkup, businessConnectionId, allowPaidBroadcast)).getResultOrThrow() + botApi.botApiClient.trySendAnimation(SendAnimationRequest(chatId, animation, messageThreadId, duration, width, height, thumbnail, caption, parseMode, captionEntities, showCaptionAboveMedia, hasSpoiler, disableNotification, protectContent, messageEffectId, replyParameters, replyMarkup, businessConnectionId, allowPaidBroadcast)).getResultOrThrow() -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) suspend fun Chat.sendAnimation( animation: String, @@ -917,7 +917,7 @@ suspend fun Chat.sendAnimation( ): Message = sendAnimation(id, animation, messageThreadId, duration, width, height, thumbnail, caption, parseMode, captionEntities, showCaptionAboveMedia, hasSpoiler, disableNotification, protectContent, messageEffectId, replyParameters, replyMarkup, businessConnectionId, allowPaidBroadcast) -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) suspend fun ChatId.sendAnimation( animation: String, @@ -959,7 +959,7 @@ suspend fun ChatId.sendAnimation( * @param businessConnectionId Unique identifier of the business connection on behalf of which the message will be sent * @param allowPaidBroadcast Pass True to allow up to 1000 messages per second, ignoring broadcasting limits for a fee of 0.1 Telegram Stars per message. The relevant Stars will be withdrawn from the bot's balance */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callSendVoice") suspend fun sendVoice( @@ -978,9 +978,9 @@ suspend fun sendVoice( businessConnectionId: BusinessConnectionId? = null, allowPaidBroadcast: Boolean? = null, ): Message = - botApiClient.trySendVoice(SendVoiceRequest(chatId, voice, messageThreadId, caption, parseMode, captionEntities, duration, disableNotification, protectContent, messageEffectId, replyParameters, replyMarkup, businessConnectionId, allowPaidBroadcast)).getResultOrThrow() + botApi.botApiClient.trySendVoice(SendVoiceRequest(chatId, voice, messageThreadId, caption, parseMode, captionEntities, duration, disableNotification, protectContent, messageEffectId, replyParameters, replyMarkup, businessConnectionId, allowPaidBroadcast)).getResultOrThrow() -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) suspend fun Chat.sendVoice( voice: String, @@ -999,7 +999,7 @@ suspend fun Chat.sendVoice( ): Message = sendVoice(id, voice, messageThreadId, caption, parseMode, captionEntities, duration, disableNotification, protectContent, messageEffectId, replyParameters, replyMarkup, businessConnectionId, allowPaidBroadcast) -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) suspend fun ChatId.sendVoice( voice: String, @@ -1035,7 +1035,7 @@ suspend fun ChatId.sendVoice( * @param businessConnectionId Unique identifier of the business connection on behalf of which the message will be sent * @param allowPaidBroadcast Pass True to allow up to 1000 messages per second, ignoring broadcasting limits for a fee of 0.1 Telegram Stars per message. The relevant Stars will be withdrawn from the bot's balance */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callSendVideoNote") suspend fun sendVideoNote( @@ -1053,9 +1053,9 @@ suspend fun sendVideoNote( businessConnectionId: BusinessConnectionId? = null, allowPaidBroadcast: Boolean? = null, ): Message = - botApiClient.trySendVideoNote(SendVideoNoteRequest(chatId, videoNote, messageThreadId, duration, length, thumbnail, disableNotification, protectContent, messageEffectId, replyParameters, replyMarkup, businessConnectionId, allowPaidBroadcast)).getResultOrThrow() + botApi.botApiClient.trySendVideoNote(SendVideoNoteRequest(chatId, videoNote, messageThreadId, duration, length, thumbnail, disableNotification, protectContent, messageEffectId, replyParameters, replyMarkup, businessConnectionId, allowPaidBroadcast)).getResultOrThrow() -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) suspend fun Chat.sendVideoNote( videoNote: String, @@ -1073,7 +1073,7 @@ suspend fun Chat.sendVideoNote( ): Message = sendVideoNote(id, videoNote, messageThreadId, duration, length, thumbnail, disableNotification, protectContent, messageEffectId, replyParameters, replyMarkup, businessConnectionId, allowPaidBroadcast) -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) suspend fun ChatId.sendVideoNote( videoNote: String, @@ -1109,7 +1109,7 @@ suspend fun ChatId.sendVideoNote( * @param payload Bot-defined paid media payload, 0-128 bytes. This will not be displayed to the user, use it for your internal processes. * @param allowPaidBroadcast Pass True to allow up to 1000 messages per second, ignoring broadcasting limits for a fee of 0.1 Telegram Stars per message. The relevant Stars will be withdrawn from the bot's balance */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callSendPaidMedia") suspend fun sendPaidMedia( @@ -1128,7 +1128,7 @@ suspend fun sendPaidMedia( payload: String? = null, allowPaidBroadcast: Boolean? = null, ): Message = - botApiClient.trySendPaidMedia(SendPaidMediaRequest(chatId, starCount, media, caption, parseMode, captionEntities, showCaptionAboveMedia, disableNotification, protectContent, replyParameters, replyMarkup, businessConnectionId, payload, allowPaidBroadcast)).getResultOrThrow() + botApi.botApiClient.trySendPaidMedia(SendPaidMediaRequest(chatId, starCount, media, caption, parseMode, captionEntities, showCaptionAboveMedia, disableNotification, protectContent, replyParameters, replyMarkup, businessConnectionId, payload, allowPaidBroadcast)).getResultOrThrow() /** * Use this method to send a group of photos, videos, documents or audios as an album. Documents and audio files can be only grouped in an album with messages of the same type. On success, an array of Messages that were sent is returned. @@ -1143,7 +1143,7 @@ suspend fun sendPaidMedia( * @param businessConnectionId Unique identifier of the business connection on behalf of which the message will be sent * @param allowPaidBroadcast Pass True to allow up to 1000 messages per second, ignoring broadcasting limits for a fee of 0.1 Telegram Stars per message. The relevant Stars will be withdrawn from the bot's balance */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callSendMediaGroup") suspend fun sendMediaGroup( @@ -1157,9 +1157,9 @@ suspend fun sendMediaGroup( businessConnectionId: BusinessConnectionId? = null, allowPaidBroadcast: Boolean? = null, ): List = - botApiClient.trySendMediaGroup(SendMediaGroupRequest(chatId, media, messageThreadId, disableNotification, protectContent, messageEffectId, replyParameters, businessConnectionId, allowPaidBroadcast)).getResultOrThrow() + botApi.botApiClient.trySendMediaGroup(SendMediaGroupRequest(chatId, media, messageThreadId, disableNotification, protectContent, messageEffectId, replyParameters, businessConnectionId, allowPaidBroadcast)).getResultOrThrow() -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) suspend fun Chat.sendMediaGroup( media: List, @@ -1173,7 +1173,7 @@ suspend fun Chat.sendMediaGroup( ): List = sendMediaGroup(id, media, messageThreadId, disableNotification, protectContent, messageEffectId, replyParameters, businessConnectionId, allowPaidBroadcast) -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) suspend fun ChatId.sendMediaGroup( media: List, @@ -1206,7 +1206,7 @@ suspend fun ChatId.sendMediaGroup( * @param businessConnectionId Unique identifier of the business connection on behalf of which the message will be sent * @param allowPaidBroadcast Pass True to allow up to 1000 messages per second, ignoring broadcasting limits for a fee of 0.1 Telegram Stars per message. The relevant Stars will be withdrawn from the bot's balance */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callSendLocation") suspend fun sendLocation( @@ -1226,9 +1226,9 @@ suspend fun sendLocation( businessConnectionId: BusinessConnectionId? = null, allowPaidBroadcast: Boolean? = null, ): Message = - botApiClient.trySendLocation(SendLocationRequest(chatId, latitude, longitude, messageThreadId, horizontalAccuracy, livePeriod, heading, proximityAlertRadius, disableNotification, protectContent, messageEffectId, replyParameters, replyMarkup, businessConnectionId, allowPaidBroadcast)).getResultOrThrow() + botApi.botApiClient.trySendLocation(SendLocationRequest(chatId, latitude, longitude, messageThreadId, horizontalAccuracy, livePeriod, heading, proximityAlertRadius, disableNotification, protectContent, messageEffectId, replyParameters, replyMarkup, businessConnectionId, allowPaidBroadcast)).getResultOrThrow() -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) suspend fun Chat.sendLocation( latitude: Double, @@ -1248,7 +1248,7 @@ suspend fun Chat.sendLocation( ): Message = sendLocation(id, latitude, longitude, messageThreadId, horizontalAccuracy, livePeriod, heading, proximityAlertRadius, disableNotification, protectContent, messageEffectId, replyParameters, replyMarkup, businessConnectionId, allowPaidBroadcast) -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) suspend fun ChatId.sendLocation( latitude: Double, @@ -1289,7 +1289,7 @@ suspend fun ChatId.sendLocation( * @param businessConnectionId Unique identifier of the business connection on behalf of which the message will be sent * @param allowPaidBroadcast Pass True to allow up to 1000 messages per second, ignoring broadcasting limits for a fee of 0.1 Telegram Stars per message. The relevant Stars will be withdrawn from the bot's balance */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callSendVenue") suspend fun sendVenue( @@ -1311,9 +1311,9 @@ suspend fun sendVenue( businessConnectionId: BusinessConnectionId? = null, allowPaidBroadcast: Boolean? = null, ): Message = - botApiClient.trySendVenue(SendVenueRequest(chatId, latitude, longitude, title, address, messageThreadId, foursquareId, foursquareType, googlePlaceId, googlePlaceType, disableNotification, protectContent, messageEffectId, replyParameters, replyMarkup, businessConnectionId, allowPaidBroadcast)).getResultOrThrow() + botApi.botApiClient.trySendVenue(SendVenueRequest(chatId, latitude, longitude, title, address, messageThreadId, foursquareId, foursquareType, googlePlaceId, googlePlaceType, disableNotification, protectContent, messageEffectId, replyParameters, replyMarkup, businessConnectionId, allowPaidBroadcast)).getResultOrThrow() -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) suspend fun Chat.sendVenue( latitude: Double, @@ -1335,7 +1335,7 @@ suspend fun Chat.sendVenue( ): Message = sendVenue(id, latitude, longitude, title, address, messageThreadId, foursquareId, foursquareType, googlePlaceId, googlePlaceType, disableNotification, protectContent, messageEffectId, replyParameters, replyMarkup, businessConnectionId, allowPaidBroadcast) -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) suspend fun ChatId.sendVenue( latitude: Double, @@ -1374,7 +1374,7 @@ suspend fun ChatId.sendVenue( * @param businessConnectionId Unique identifier of the business connection on behalf of which the message will be sent * @param allowPaidBroadcast Pass True to allow up to 1000 messages per second, ignoring broadcasting limits for a fee of 0.1 Telegram Stars per message. The relevant Stars will be withdrawn from the bot's balance */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callSendContact") suspend fun sendContact( @@ -1392,9 +1392,9 @@ suspend fun sendContact( businessConnectionId: BusinessConnectionId? = null, allowPaidBroadcast: Boolean? = null, ): Message = - botApiClient.trySendContact(SendContactRequest(chatId, phoneNumber, firstName, messageThreadId, lastName, vcard, disableNotification, protectContent, messageEffectId, replyParameters, replyMarkup, businessConnectionId, allowPaidBroadcast)).getResultOrThrow() + botApi.botApiClient.trySendContact(SendContactRequest(chatId, phoneNumber, firstName, messageThreadId, lastName, vcard, disableNotification, protectContent, messageEffectId, replyParameters, replyMarkup, businessConnectionId, allowPaidBroadcast)).getResultOrThrow() -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) suspend fun Chat.sendContact( phoneNumber: String, @@ -1412,7 +1412,7 @@ suspend fun Chat.sendContact( ): Message = sendContact(id, phoneNumber, firstName, messageThreadId, lastName, vcard, disableNotification, protectContent, messageEffectId, replyParameters, replyMarkup, businessConnectionId, allowPaidBroadcast) -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) suspend fun ChatId.sendContact( phoneNumber: String, @@ -1457,7 +1457,7 @@ suspend fun ChatId.sendContact( * @param businessConnectionId Unique identifier of the business connection on behalf of which the message will be sent * @param allowPaidBroadcast Pass True to allow up to 1000 messages per second, ignoring broadcasting limits for a fee of 0.1 Telegram Stars per message. The relevant Stars will be withdrawn from the bot's balance */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callSendPoll") suspend fun sendPoll( @@ -1485,9 +1485,9 @@ suspend fun sendPoll( businessConnectionId: BusinessConnectionId? = null, allowPaidBroadcast: Boolean? = null, ): Message = - botApiClient.trySendPoll(SendPollRequest(chatId, question, options, messageThreadId, questionParseMode, questionEntities, isAnonymous, type, allowsMultipleAnswers, correctOptionId, explanation, explanationParseMode, explanationEntities, openPeriod, closeDate, isClosed, disableNotification, protectContent, messageEffectId, replyParameters, replyMarkup, businessConnectionId, allowPaidBroadcast)).getResultOrThrow() + botApi.botApiClient.trySendPoll(SendPollRequest(chatId, question, options, messageThreadId, questionParseMode, questionEntities, isAnonymous, type, allowsMultipleAnswers, correctOptionId, explanation, explanationParseMode, explanationEntities, openPeriod, closeDate, isClosed, disableNotification, protectContent, messageEffectId, replyParameters, replyMarkup, businessConnectionId, allowPaidBroadcast)).getResultOrThrow() -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) suspend fun Chat.sendPoll( question: String, @@ -1515,7 +1515,7 @@ suspend fun Chat.sendPoll( ): Message = sendPoll(id, question, options, messageThreadId, questionParseMode, questionEntities, isAnonymous, type, allowsMultipleAnswers, correctOptionId, explanation, explanationParseMode, explanationEntities, openPeriod, closeDate, isClosed, disableNotification, protectContent, messageEffectId, replyParameters, replyMarkup, businessConnectionId, allowPaidBroadcast) -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) suspend fun ChatId.sendPoll( question: String, @@ -1557,7 +1557,7 @@ suspend fun ChatId.sendPoll( * @param businessConnectionId Unique identifier of the business connection on behalf of which the message will be sent * @param allowPaidBroadcast Pass True to allow up to 1000 messages per second, ignoring broadcasting limits for a fee of 0.1 Telegram Stars per message. The relevant Stars will be withdrawn from the bot's balance */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callSendDice") suspend fun sendDice( @@ -1572,9 +1572,9 @@ suspend fun sendDice( businessConnectionId: BusinessConnectionId? = null, allowPaidBroadcast: Boolean? = null, ): Message = - botApiClient.trySendDice(SendDiceRequest(chatId, messageThreadId, emoji, disableNotification, protectContent, messageEffectId, replyParameters, replyMarkup, businessConnectionId, allowPaidBroadcast)).getResultOrThrow() + botApi.botApiClient.trySendDice(SendDiceRequest(chatId, messageThreadId, emoji, disableNotification, protectContent, messageEffectId, replyParameters, replyMarkup, businessConnectionId, allowPaidBroadcast)).getResultOrThrow() -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) suspend fun Chat.sendDice( messageThreadId: MessageThreadId? = null, @@ -1589,7 +1589,7 @@ suspend fun Chat.sendDice( ): Message = sendDice(id, messageThreadId, emoji, disableNotification, protectContent, messageEffectId, replyParameters, replyMarkup, businessConnectionId, allowPaidBroadcast) -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) suspend fun ChatId.sendDice( messageThreadId: MessageThreadId? = null, @@ -1616,7 +1616,7 @@ suspend fun ChatId.sendDice( * @param messageThreadId Unique identifier for the target message thread; for supergroups only * @param businessConnectionId Unique identifier of the business connection on behalf of which the action will be sent */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callSendChatAction") suspend fun sendChatAction( @@ -1625,9 +1625,9 @@ suspend fun sendChatAction( messageThreadId: MessageThreadId? = null, businessConnectionId: BusinessConnectionId? = null, ): Boolean = - botApiClient.trySendChatAction(SendChatActionRequest(chatId, action, messageThreadId, businessConnectionId)).getResultOrThrow() + botApi.botApiClient.trySendChatAction(SendChatActionRequest(chatId, action, messageThreadId, businessConnectionId)).getResultOrThrow() -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) suspend fun Chat.sendChatAction( action: String, @@ -1636,7 +1636,7 @@ suspend fun Chat.sendChatAction( ): Boolean = sendChatAction(id, action, messageThreadId, businessConnectionId) -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) suspend fun ChatId.sendChatAction( action: String, @@ -1653,7 +1653,7 @@ suspend fun ChatId.sendChatAction( * @param reaction A JSON-serialized list of reaction types to set on the message. Currently, as non-premium users, bots can set up to one reaction per message. A custom emoji reaction can be used if it is either already present on the message or explicitly allowed by chat administrators. Paid reactions can't be used by bots. * @param isBig Pass True to set the reaction with a big animation */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callSetMessageReaction") suspend fun setMessageReaction( @@ -1662,7 +1662,7 @@ suspend fun setMessageReaction( reaction: List? = null, isBig: Boolean? = null, ): Boolean = - botApiClient.trySetMessageReaction(SetMessageReactionRequest(chatId, messageId, reaction, isBig)).getResultOrThrow() + botApi.botApiClient.trySetMessageReaction(SetMessageReactionRequest(chatId, messageId, reaction, isBig)).getResultOrThrow() /** * Use this method to get a list of profile pictures for a user. Returns a UserProfilePhotos object. @@ -1671,7 +1671,7 @@ suspend fun setMessageReaction( * @param offset Sequential number of the first photo to be returned. By default, all photos are returned. * @param limit Limits the number of photos to be retrieved. Values between 1-100 are accepted. Defaults to 100. */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callGetUserProfilePhotos") suspend fun getUserProfilePhotos( @@ -1679,7 +1679,7 @@ suspend fun getUserProfilePhotos( offset: Long? = null, limit: Long? = null, ): UserProfilePhotos = - botApiClient.tryGetUserProfilePhotos(GetUserProfilePhotosRequest(userId, offset, limit)).getResultOrThrow() + botApi.botApiClient.tryGetUserProfilePhotos(GetUserProfilePhotosRequest(userId, offset, limit)).getResultOrThrow() /** * Changes the emoji status for a given user that previously allowed the bot to manage their emoji status via the Mini App method requestEmojiStatusAccess. Returns True on success. @@ -1688,7 +1688,7 @@ suspend fun getUserProfilePhotos( * @param emojiStatusCustomEmojiId Custom emoji identifier of the emoji status to set. Pass an empty string to remove the status. * @param emojiStatusExpirationDate Expiration date of the emoji status, if any */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callSetUserEmojiStatus") suspend fun setUserEmojiStatus( @@ -1696,20 +1696,20 @@ suspend fun setUserEmojiStatus( emojiStatusCustomEmojiId: CustomEmojiId? = null, emojiStatusExpirationDate: UnixTimestamp? = null, ): Boolean = - botApiClient.trySetUserEmojiStatus(SetUserEmojiStatusRequest(userId, emojiStatusCustomEmojiId, emojiStatusExpirationDate)).getResultOrThrow() + botApi.botApiClient.trySetUserEmojiStatus(SetUserEmojiStatusRequest(userId, emojiStatusCustomEmojiId, emojiStatusExpirationDate)).getResultOrThrow() /** * Use this method to get basic information about a file and prepare it for downloading. For the moment, bots can download files of up to 20MB in size. On success, a File object is returned. The file can then be downloaded via the link https://api.telegram.org/file/bot/, where is taken from the response. It is guaranteed that the link will be valid for at least 1 hour. When the link expires, a new one can be requested by calling getFile again. * * @param fileId File identifier to get information about */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callGetFile") suspend fun getFile( fileId: FileId, ): File = - botApiClient.tryGetFile(GetFileRequest(fileId)).getResultOrThrow() + botApi.botApiClient.tryGetFile(GetFileRequest(fileId)).getResultOrThrow() /** * Use this method to ban a user in a group, a supergroup or a channel. In the case of supergroups and channels, the user will not be able to return to the chat on their own using invite links, etc., unless unbanned first. The bot must be an administrator in the chat for this to work and must have the appropriate administrator rights. Returns True on success. @@ -1719,7 +1719,7 @@ suspend fun getFile( * @param untilDate Date when the user will be unbanned; Unix time. If user is banned for more than 366 days or less than 30 seconds from the current time they are considered to be banned forever. Applied for supergroups and channels only. * @param revokeMessages Pass True to delete all messages from the chat for the user that is being removed. If False, the user will be able to see messages in the group that were sent before the user was removed. Always True for supergroups and channels. */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callBanChatMember") suspend fun banChatMember( @@ -1728,7 +1728,7 @@ suspend fun banChatMember( untilDate: UnixTimestamp? = null, revokeMessages: Boolean? = null, ): Boolean = - botApiClient.tryBanChatMember(BanChatMemberRequest(chatId, userId, untilDate, revokeMessages)).getResultOrThrow() + botApi.botApiClient.tryBanChatMember(BanChatMemberRequest(chatId, userId, untilDate, revokeMessages)).getResultOrThrow() /** * Use this method to unban a previously banned user in a supergroup or channel. The user will not return to the group or channel automatically, but will be able to join via link, etc. The bot must be an administrator for this to work. By default, this method guarantees that after the call the user is not a member of the chat, but will be able to join it. So if the user is a member of the chat they will also be removed from the chat. If you don't want this, use the parameter only_if_banned. Returns True on success. @@ -1737,7 +1737,7 @@ suspend fun banChatMember( * @param userId Unique identifier of the target user * @param onlyIfBanned Do nothing if the user is not banned */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callUnbanChatMember") suspend fun unbanChatMember( @@ -1745,7 +1745,7 @@ suspend fun unbanChatMember( userId: UserId, onlyIfBanned: Boolean? = null, ): Boolean = - botApiClient.tryUnbanChatMember(UnbanChatMemberRequest(chatId, userId, onlyIfBanned)).getResultOrThrow() + botApi.botApiClient.tryUnbanChatMember(UnbanChatMemberRequest(chatId, userId, onlyIfBanned)).getResultOrThrow() /** * Use this method to restrict a user in a supergroup. The bot must be an administrator in the supergroup for this to work and must have the appropriate administrator rights. Pass True for all permissions to lift restrictions from a user. Returns True on success. @@ -1756,7 +1756,7 @@ suspend fun unbanChatMember( * @param useIndependentChatPermissions Pass True if chat permissions are set independently. Otherwise, the can_send_other_messages and can_add_web_page_previews permissions will imply the can_send_messages, can_send_audios, can_send_documents, can_send_photos, can_send_videos, can_send_video_notes, and can_send_voice_notes permissions; the can_send_polls permission will imply the can_send_messages permission. * @param untilDate Date when restrictions will be lifted for the user; Unix time. If user is restricted for more than 366 days or less than 30 seconds from the current time, they are considered to be restricted forever */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callRestrictChatMember") suspend fun restrictChatMember( @@ -1766,7 +1766,7 @@ suspend fun restrictChatMember( useIndependentChatPermissions: Boolean? = null, untilDate: UnixTimestamp? = null, ): Boolean = - botApiClient.tryRestrictChatMember(RestrictChatMemberRequest(chatId, userId, permissions, useIndependentChatPermissions, untilDate)).getResultOrThrow() + botApi.botApiClient.tryRestrictChatMember(RestrictChatMemberRequest(chatId, userId, permissions, useIndependentChatPermissions, untilDate)).getResultOrThrow() /** * Use this method to promote or demote a user in a supergroup or a channel. The bot must be an administrator in the chat for this to work and must have the appropriate administrator rights. Pass False for all boolean parameters to demote a user. Returns True on success. @@ -1789,7 +1789,7 @@ suspend fun restrictChatMember( * @param canPinMessages Pass True if the administrator can pin messages; for supergroups only * @param canManageTopics Pass True if the user is allowed to create, rename, close, and reopen forum topics; for supergroups only */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callPromoteChatMember") suspend fun promoteChatMember( @@ -1811,7 +1811,7 @@ suspend fun promoteChatMember( canPinMessages: Boolean? = null, canManageTopics: Boolean? = null, ): Boolean = - botApiClient.tryPromoteChatMember(PromoteChatMemberRequest(chatId, userId, isAnonymous, canManageChat, canDeleteMessages, canManageVideoChats, canRestrictMembers, canPromoteMembers, canChangeInfo, canInviteUsers, canPostStories, canEditStories, canDeleteStories, canPostMessages, canEditMessages, canPinMessages, canManageTopics)).getResultOrThrow() + botApi.botApiClient.tryPromoteChatMember(PromoteChatMemberRequest(chatId, userId, isAnonymous, canManageChat, canDeleteMessages, canManageVideoChats, canRestrictMembers, canPromoteMembers, canChangeInfo, canInviteUsers, canPostStories, canEditStories, canDeleteStories, canPostMessages, canEditMessages, canPinMessages, canManageTopics)).getResultOrThrow() /** * Use this method to set a custom title for an administrator in a supergroup promoted by the bot. Returns True on success. @@ -1820,7 +1820,7 @@ suspend fun promoteChatMember( * @param userId Unique identifier of the target user * @param customTitle New custom title for the administrator; 0-16 characters, emoji are not allowed */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callSetChatAdministratorCustomTitle") suspend fun setChatAdministratorCustomTitle( @@ -1828,7 +1828,7 @@ suspend fun setChatAdministratorCustomTitle( userId: UserId, customTitle: String, ): Boolean = - botApiClient.trySetChatAdministratorCustomTitle(SetChatAdministratorCustomTitleRequest(chatId, userId, customTitle)).getResultOrThrow() + botApi.botApiClient.trySetChatAdministratorCustomTitle(SetChatAdministratorCustomTitleRequest(chatId, userId, customTitle)).getResultOrThrow() /** * Use this method to ban a channel chat in a supergroup or a channel. Until the chat is unbanned, the owner of the banned chat won't be able to send messages on behalf of any of their channels. The bot must be an administrator in the supergroup or channel for this to work and must have the appropriate administrator rights. Returns True on success. @@ -1836,14 +1836,14 @@ suspend fun setChatAdministratorCustomTitle( * @param chatId Unique identifier for the target chat or username of the target channel (in the format @channelusername) * @param senderChatId Unique identifier of the target sender chat */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callBanChatSenderChat") suspend fun banChatSenderChat( chatId: ChatId, senderChatId: ChatId, ): Boolean = - botApiClient.tryBanChatSenderChat(BanChatSenderChatRequest(chatId, senderChatId)).getResultOrThrow() + botApi.botApiClient.tryBanChatSenderChat(BanChatSenderChatRequest(chatId, senderChatId)).getResultOrThrow() /** * Use this method to unban a previously banned channel chat in a supergroup or channel. The bot must be an administrator for this to work and must have the appropriate administrator rights. Returns True on success. @@ -1851,14 +1851,14 @@ suspend fun banChatSenderChat( * @param chatId Unique identifier for the target chat or username of the target channel (in the format @channelusername) * @param senderChatId Unique identifier of the target sender chat */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callUnbanChatSenderChat") suspend fun unbanChatSenderChat( chatId: ChatId, senderChatId: ChatId, ): Boolean = - botApiClient.tryUnbanChatSenderChat(UnbanChatSenderChatRequest(chatId, senderChatId)).getResultOrThrow() + botApi.botApiClient.tryUnbanChatSenderChat(UnbanChatSenderChatRequest(chatId, senderChatId)).getResultOrThrow() /** * Use this method to set default chat permissions for all members. The bot must be an administrator in the group or a supergroup for this to work and must have the can_restrict_members administrator rights. Returns True on success. @@ -1867,7 +1867,7 @@ suspend fun unbanChatSenderChat( * @param permissions A JSON-serialized object for new default chat permissions * @param useIndependentChatPermissions Pass True if chat permissions are set independently. Otherwise, the can_send_other_messages and can_add_web_page_previews permissions will imply the can_send_messages, can_send_audios, can_send_documents, can_send_photos, can_send_videos, can_send_video_notes, and can_send_voice_notes permissions; the can_send_polls permission will imply the can_send_messages permission. */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callSetChatPermissions") suspend fun setChatPermissions( @@ -1875,20 +1875,20 @@ suspend fun setChatPermissions( permissions: ChatPermissions, useIndependentChatPermissions: Boolean? = null, ): Boolean = - botApiClient.trySetChatPermissions(SetChatPermissionsRequest(chatId, permissions, useIndependentChatPermissions)).getResultOrThrow() + botApi.botApiClient.trySetChatPermissions(SetChatPermissionsRequest(chatId, permissions, useIndependentChatPermissions)).getResultOrThrow() /** * Use this method to generate a new primary invite link for a chat; any previously generated primary link is revoked. The bot must be an administrator in the chat for this to work and must have the appropriate administrator rights. Returns the new invite link as String on success. * * @param chatId Unique identifier for the target chat or username of the target channel (in the format @channelusername) */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callExportChatInviteLink") suspend fun exportChatInviteLink( chatId: ChatId, ): String = - botApiClient.tryExportChatInviteLink(ExportChatInviteLinkRequest(chatId)).getResultOrThrow() + botApi.botApiClient.tryExportChatInviteLink(ExportChatInviteLinkRequest(chatId)).getResultOrThrow() /** * Use this method to create an additional invite link for a chat. The bot must be an administrator in the chat for this to work and must have the appropriate administrator rights. The link can be revoked using the method revokeChatInviteLink. Returns the new invite link as ChatInviteLink object. @@ -1899,7 +1899,7 @@ suspend fun exportChatInviteLink( * @param memberLimit The maximum number of users that can be members of the chat simultaneously after joining the chat via this invite link; 1-99999 * @param createsJoinRequest True, if users joining the chat via the link need to be approved by chat administrators. If True, member_limit can't be specified */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callCreateChatInviteLink") suspend fun createChatInviteLink( @@ -1909,7 +1909,7 @@ suspend fun createChatInviteLink( memberLimit: Long? = null, createsJoinRequest: Boolean? = null, ): ChatInviteLink = - botApiClient.tryCreateChatInviteLink(CreateChatInviteLinkRequest(chatId, name, expireDate, memberLimit, createsJoinRequest)).getResultOrThrow() + botApi.botApiClient.tryCreateChatInviteLink(CreateChatInviteLinkRequest(chatId, name, expireDate, memberLimit, createsJoinRequest)).getResultOrThrow() /** * Use this method to edit a non-primary invite link created by the bot. The bot must be an administrator in the chat for this to work and must have the appropriate administrator rights. Returns the edited invite link as a ChatInviteLink object. @@ -1921,7 +1921,7 @@ suspend fun createChatInviteLink( * @param memberLimit The maximum number of users that can be members of the chat simultaneously after joining the chat via this invite link; 1-99999 * @param createsJoinRequest True, if users joining the chat via the link need to be approved by chat administrators. If True, member_limit can't be specified */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callEditChatInviteLink") suspend fun editChatInviteLink( @@ -1932,7 +1932,7 @@ suspend fun editChatInviteLink( memberLimit: Long? = null, createsJoinRequest: Boolean? = null, ): ChatInviteLink = - botApiClient.tryEditChatInviteLink(EditChatInviteLinkRequest(chatId, inviteLink, name, expireDate, memberLimit, createsJoinRequest)).getResultOrThrow() + botApi.botApiClient.tryEditChatInviteLink(EditChatInviteLinkRequest(chatId, inviteLink, name, expireDate, memberLimit, createsJoinRequest)).getResultOrThrow() /** * Use this method to create a subscription invite link for a channel chat. The bot must have the can_invite_users administrator rights. The link can be edited using the method editChatSubscriptionInviteLink or revoked using the method revokeChatInviteLink. Returns the new invite link as a ChatInviteLink object. @@ -1942,7 +1942,7 @@ suspend fun editChatInviteLink( * @param subscriptionPrice The amount of Telegram Stars a user must pay initially and after each subsequent subscription period to be a member of the chat; 1-10000 * @param name Invite link name; 0-32 characters */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callCreateChatSubscriptionInviteLink") suspend fun createChatSubscriptionInviteLink( @@ -1951,7 +1951,7 @@ suspend fun createChatSubscriptionInviteLink( subscriptionPrice: Long, name: String? = null, ): ChatInviteLink = - botApiClient.tryCreateChatSubscriptionInviteLink(CreateChatSubscriptionInviteLinkRequest(chatId, subscriptionPeriod, subscriptionPrice, name)).getResultOrThrow() + botApi.botApiClient.tryCreateChatSubscriptionInviteLink(CreateChatSubscriptionInviteLinkRequest(chatId, subscriptionPeriod, subscriptionPrice, name)).getResultOrThrow() /** * Use this method to edit a subscription invite link created by the bot. The bot must have the can_invite_users administrator rights. Returns the edited invite link as a ChatInviteLink object. @@ -1960,7 +1960,7 @@ suspend fun createChatSubscriptionInviteLink( * @param inviteLink The invite link to edit * @param name Invite link name; 0-32 characters */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callEditChatSubscriptionInviteLink") suspend fun editChatSubscriptionInviteLink( @@ -1968,7 +1968,7 @@ suspend fun editChatSubscriptionInviteLink( inviteLink: String, name: String? = null, ): ChatInviteLink = - botApiClient.tryEditChatSubscriptionInviteLink(EditChatSubscriptionInviteLinkRequest(chatId, inviteLink, name)).getResultOrThrow() + botApi.botApiClient.tryEditChatSubscriptionInviteLink(EditChatSubscriptionInviteLinkRequest(chatId, inviteLink, name)).getResultOrThrow() /** * Use this method to revoke an invite link created by the bot. If the primary link is revoked, a new link is automatically generated. The bot must be an administrator in the chat for this to work and must have the appropriate administrator rights. Returns the revoked invite link as ChatInviteLink object. @@ -1976,14 +1976,14 @@ suspend fun editChatSubscriptionInviteLink( * @param chatId Unique identifier of the target chat or username of the target channel (in the format @channelusername) * @param inviteLink The invite link to revoke */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callRevokeChatInviteLink") suspend fun revokeChatInviteLink( chatId: ChatId, inviteLink: String, ): ChatInviteLink = - botApiClient.tryRevokeChatInviteLink(RevokeChatInviteLinkRequest(chatId, inviteLink)).getResultOrThrow() + botApi.botApiClient.tryRevokeChatInviteLink(RevokeChatInviteLinkRequest(chatId, inviteLink)).getResultOrThrow() /** * Use this method to approve a chat join request. The bot must be an administrator in the chat for this to work and must have the can_invite_users administrator right. Returns True on success. @@ -1991,14 +1991,14 @@ suspend fun revokeChatInviteLink( * @param chatId Unique identifier for the target chat or username of the target channel (in the format @channelusername) * @param userId Unique identifier of the target user */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callApproveChatJoinRequest") suspend fun approveChatJoinRequest( chatId: ChatId, userId: UserId, ): Boolean = - botApiClient.tryApproveChatJoinRequest(ApproveChatJoinRequestRequest(chatId, userId)).getResultOrThrow() + botApi.botApiClient.tryApproveChatJoinRequest(ApproveChatJoinRequestRequest(chatId, userId)).getResultOrThrow() /** * Use this method to decline a chat join request. The bot must be an administrator in the chat for this to work and must have the can_invite_users administrator right. Returns True on success. @@ -2006,14 +2006,14 @@ suspend fun approveChatJoinRequest( * @param chatId Unique identifier for the target chat or username of the target channel (in the format @channelusername) * @param userId Unique identifier of the target user */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callDeclineChatJoinRequest") suspend fun declineChatJoinRequest( chatId: ChatId, userId: UserId, ): Boolean = - botApiClient.tryDeclineChatJoinRequest(DeclineChatJoinRequestRequest(chatId, userId)).getResultOrThrow() + botApi.botApiClient.tryDeclineChatJoinRequest(DeclineChatJoinRequestRequest(chatId, userId)).getResultOrThrow() /** * Use this method to set a new profile photo for the chat. Photos can't be changed for private chats. The bot must be an administrator in the chat for this to work and must have the appropriate administrator rights. Returns True on success. @@ -2021,27 +2021,27 @@ suspend fun declineChatJoinRequest( * @param chatId Unique identifier for the target chat or username of the target channel (in the format @channelusername) * @param photo New chat photo, uploaded using multipart/form-data */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callSetChatPhoto") suspend fun setChatPhoto( chatId: ChatId, photo: String, ): Boolean = - botApiClient.trySetChatPhoto(SetChatPhotoRequest(chatId, photo)).getResultOrThrow() + botApi.botApiClient.trySetChatPhoto(SetChatPhotoRequest(chatId, photo)).getResultOrThrow() /** * Use this method to delete a chat photo. Photos can't be changed for private chats. The bot must be an administrator in the chat for this to work and must have the appropriate administrator rights. Returns True on success. * * @param chatId Unique identifier for the target chat or username of the target channel (in the format @channelusername) */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callDeleteChatPhoto") suspend fun deleteChatPhoto( chatId: ChatId, ): Boolean = - botApiClient.tryDeleteChatPhoto(DeleteChatPhotoRequest(chatId)).getResultOrThrow() + botApi.botApiClient.tryDeleteChatPhoto(DeleteChatPhotoRequest(chatId)).getResultOrThrow() /** * Use this method to change the title of a chat. Titles can't be changed for private chats. The bot must be an administrator in the chat for this to work and must have the appropriate administrator rights. Returns True on success. @@ -2049,14 +2049,14 @@ suspend fun deleteChatPhoto( * @param chatId Unique identifier for the target chat or username of the target channel (in the format @channelusername) * @param title New chat title, 1-128 characters */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callSetChatTitle") suspend fun setChatTitle( chatId: ChatId, title: String, ): Boolean = - botApiClient.trySetChatTitle(SetChatTitleRequest(chatId, title)).getResultOrThrow() + botApi.botApiClient.trySetChatTitle(SetChatTitleRequest(chatId, title)).getResultOrThrow() /** * Use this method to change the description of a group, a supergroup or a channel. The bot must be an administrator in the chat for this to work and must have the appropriate administrator rights. Returns True on success. @@ -2064,14 +2064,14 @@ suspend fun setChatTitle( * @param chatId Unique identifier for the target chat or username of the target channel (in the format @channelusername) * @param description New chat description, 0-255 characters */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callSetChatDescription") suspend fun setChatDescription( chatId: ChatId, description: String? = null, ): Boolean = - botApiClient.trySetChatDescription(SetChatDescriptionRequest(chatId, description)).getResultOrThrow() + botApi.botApiClient.trySetChatDescription(SetChatDescriptionRequest(chatId, description)).getResultOrThrow() /** * Use this method to add a message to the list of pinned messages in a chat. If the chat is not a private chat, the bot must be an administrator in the chat for this to work and must have the 'can_pin_messages' administrator right in a supergroup or 'can_edit_messages' administrator right in a channel. Returns True on success. @@ -2081,7 +2081,7 @@ suspend fun setChatDescription( * @param disableNotification Pass True if it is not necessary to send a notification to all chat members about the new pinned message. Notifications are always disabled in channels and private chats. * @param businessConnectionId Unique identifier of the business connection on behalf of which the message will be pinned */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callPinChatMessage") suspend fun pinChatMessage( @@ -2090,7 +2090,7 @@ suspend fun pinChatMessage( disableNotification: Boolean? = null, businessConnectionId: BusinessConnectionId? = null, ): Boolean = - botApiClient.tryPinChatMessage(PinChatMessageRequest(chatId, messageId, disableNotification, businessConnectionId)).getResultOrThrow() + botApi.botApiClient.tryPinChatMessage(PinChatMessageRequest(chatId, messageId, disableNotification, businessConnectionId)).getResultOrThrow() /** * Use this method to remove a message from the list of pinned messages in a chat. If the chat is not a private chat, the bot must be an administrator in the chat for this to work and must have the 'can_pin_messages' administrator right in a supergroup or 'can_edit_messages' administrator right in a channel. Returns True on success. @@ -2099,7 +2099,7 @@ suspend fun pinChatMessage( * @param messageId Identifier of the message to unpin. Required if business_connection_id is specified. If not specified, the most recent pinned message (by sending date) will be unpinned. * @param businessConnectionId Unique identifier of the business connection on behalf of which the message will be unpinned */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callUnpinChatMessage") suspend fun unpinChatMessage( @@ -2107,79 +2107,79 @@ suspend fun unpinChatMessage( messageId: MessageId? = null, businessConnectionId: BusinessConnectionId? = null, ): Boolean = - botApiClient.tryUnpinChatMessage(UnpinChatMessageRequest(chatId, messageId, businessConnectionId)).getResultOrThrow() + botApi.botApiClient.tryUnpinChatMessage(UnpinChatMessageRequest(chatId, messageId, businessConnectionId)).getResultOrThrow() /** * Use this method to clear the list of pinned messages in a chat. If the chat is not a private chat, the bot must be an administrator in the chat for this to work and must have the 'can_pin_messages' administrator right in a supergroup or 'can_edit_messages' administrator right in a channel. Returns True on success. * * @param chatId Unique identifier for the target chat or username of the target channel (in the format @channelusername) */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callUnpinAllChatMessages") suspend fun unpinAllChatMessages( chatId: ChatId, ): Boolean = - botApiClient.tryUnpinAllChatMessages(UnpinAllChatMessagesRequest(chatId)).getResultOrThrow() + botApi.botApiClient.tryUnpinAllChatMessages(UnpinAllChatMessagesRequest(chatId)).getResultOrThrow() /** * Use this method for your bot to leave a group, supergroup or channel. Returns True on success. * * @param chatId Unique identifier for the target chat or username of the target supergroup or channel (in the format @channelusername) */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callLeaveChat") suspend fun leaveChat( chatId: ChatId, ): Boolean = - botApiClient.tryLeaveChat(LeaveChatRequest(chatId)).getResultOrThrow() + botApi.botApiClient.tryLeaveChat(LeaveChatRequest(chatId)).getResultOrThrow() /** * Use this method to get up-to-date information about the chat. Returns a ChatFullInfo object on success. * * @param chatId Unique identifier for the target chat or username of the target supergroup or channel (in the format @channelusername) */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callGetChat") suspend fun getChat( chatId: ChatId, ): ChatFullInfo = - botApiClient.tryGetChat(GetChatRequest(chatId)).getResultOrThrow() + botApi.botApiClient.tryGetChat(GetChatRequest(chatId)).getResultOrThrow() /** * Use this method to get a list of administrators in a chat, which aren't bots. Returns an Array of ChatMember objects. * * @param chatId Unique identifier for the target chat or username of the target supergroup or channel (in the format @channelusername) */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callGetChatAdministrators") suspend fun getChatAdministrators( chatId: ChatId, ): List = - botApiClient.tryGetChatAdministrators(GetChatAdministratorsRequest(chatId)).getResultOrThrow() + botApi.botApiClient.tryGetChatAdministrators(GetChatAdministratorsRequest(chatId)).getResultOrThrow() /** * Use this method to get the number of members in a chat. Returns Int on success. * * @param chatId Unique identifier for the target chat or username of the target supergroup or channel (in the format @channelusername) */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callGetChatMemberCount") suspend fun getChatMemberCount( chatId: ChatId, ): Int = - botApiClient.tryGetChatMemberCount(GetChatMemberCountRequest(chatId)).getResultOrThrow() + botApi.botApiClient.tryGetChatMemberCount(GetChatMemberCountRequest(chatId)).getResultOrThrow() -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) suspend fun Chat.getMemberCount(): Int = getChatMemberCount(id) -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) suspend fun ChatId.getMemberCount(): Int = getChatMemberCount(this) @@ -2190,23 +2190,23 @@ suspend fun ChatId.getMemberCount(): Int = * @param chatId Unique identifier for the target chat or username of the target supergroup or channel (in the format @channelusername) * @param userId Unique identifier of the target user */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callGetChatMember") suspend fun getChatMember( chatId: ChatId, userId: UserId, ): ChatMember = - botApiClient.tryGetChatMember(GetChatMemberRequest(chatId, userId)).getResultOrThrow() + botApi.botApiClient.tryGetChatMember(GetChatMemberRequest(chatId, userId)).getResultOrThrow() -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) suspend fun Chat.getMember( userId: UserId, ): ChatMember = getChatMember(id, userId) -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) suspend fun ChatId.getMember( userId: UserId, @@ -2219,36 +2219,36 @@ suspend fun ChatId.getMember( * @param chatId Unique identifier for the target chat or username of the target supergroup (in the format @supergroupusername) * @param stickerSetName Name of the sticker set to be set as the group sticker set */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callSetChatStickerSet") suspend fun setChatStickerSet( chatId: ChatId, stickerSetName: String, ): Boolean = - botApiClient.trySetChatStickerSet(SetChatStickerSetRequest(chatId, stickerSetName)).getResultOrThrow() + botApi.botApiClient.trySetChatStickerSet(SetChatStickerSetRequest(chatId, stickerSetName)).getResultOrThrow() /** * Use this method to delete a group sticker set from a supergroup. The bot must be an administrator in the chat for this to work and must have the appropriate administrator rights. Use the field can_set_sticker_set optionally returned in getChat requests to check if the bot can use this method. Returns True on success. * * @param chatId Unique identifier for the target chat or username of the target supergroup (in the format @supergroupusername) */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callDeleteChatStickerSet") suspend fun deleteChatStickerSet( chatId: ChatId, ): Boolean = - botApiClient.tryDeleteChatStickerSet(DeleteChatStickerSetRequest(chatId)).getResultOrThrow() + botApi.botApiClient.tryDeleteChatStickerSet(DeleteChatStickerSetRequest(chatId)).getResultOrThrow() /** * Use this method to get custom emoji stickers, which can be used as a forum topic icon by any user. Requires no parameters. Returns an Array of Sticker objects. */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callGetForumTopicIconStickers") suspend fun getForumTopicIconStickers(): List = - botApiClient.tryGetForumTopicIconStickers().getResultOrThrow() + botApi.botApiClient.tryGetForumTopicIconStickers().getResultOrThrow() /** * Use this method to create a topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator rights. Returns information about the created topic as a ForumTopic object. @@ -2258,7 +2258,7 @@ suspend fun getForumTopicIconStickers(): List = * @param iconColor Color of the topic icon in RGB format. Currently, must be one of 7322096 (0x6FB9F0), 16766590 (0xFFD67E), 13338331 (0xCB86DB), 9367192 (0x8EEE98), 16749490 (0xFF93B2), or 16478047 (0xFB6F5F) * @param iconCustomEmojiId Unique identifier of the custom emoji shown as the topic icon. Use getForumTopicIconStickers to get all allowed custom emoji identifiers. */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callCreateForumTopic") suspend fun createForumTopic( @@ -2267,7 +2267,7 @@ suspend fun createForumTopic( iconColor: Long? = null, iconCustomEmojiId: CustomEmojiId? = null, ): ForumTopic = - botApiClient.tryCreateForumTopic(CreateForumTopicRequest(chatId, name, iconColor, iconCustomEmojiId)).getResultOrThrow() + botApi.botApiClient.tryCreateForumTopic(CreateForumTopicRequest(chatId, name, iconColor, iconCustomEmojiId)).getResultOrThrow() /** * Use this method to edit name and icon of a topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator rights, unless it is the creator of the topic. Returns True on success. @@ -2277,7 +2277,7 @@ suspend fun createForumTopic( * @param name New topic name, 0-128 characters. If not specified or empty, the current name of the topic will be kept * @param iconCustomEmojiId New unique identifier of the custom emoji shown as the topic icon. Use getForumTopicIconStickers to get all allowed custom emoji identifiers. Pass an empty string to remove the icon. If not specified, the current icon will be kept */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callEditForumTopic") suspend fun editForumTopic( @@ -2286,7 +2286,7 @@ suspend fun editForumTopic( name: String? = null, iconCustomEmojiId: CustomEmojiId? = null, ): Boolean = - botApiClient.tryEditForumTopic(EditForumTopicRequest(chatId, messageThreadId, name, iconCustomEmojiId)).getResultOrThrow() + botApi.botApiClient.tryEditForumTopic(EditForumTopicRequest(chatId, messageThreadId, name, iconCustomEmojiId)).getResultOrThrow() /** * Use this method to close an open topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator rights, unless it is the creator of the topic. Returns True on success. @@ -2294,14 +2294,14 @@ suspend fun editForumTopic( * @param chatId Unique identifier for the target chat or username of the target supergroup (in the format @supergroupusername) * @param messageThreadId Unique identifier for the target message thread of the forum topic */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callCloseForumTopic") suspend fun closeForumTopic( chatId: ChatId, messageThreadId: MessageThreadId, ): Boolean = - botApiClient.tryCloseForumTopic(CloseForumTopicRequest(chatId, messageThreadId)).getResultOrThrow() + botApi.botApiClient.tryCloseForumTopic(CloseForumTopicRequest(chatId, messageThreadId)).getResultOrThrow() /** * Use this method to reopen a closed topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator rights, unless it is the creator of the topic. Returns True on success. @@ -2309,14 +2309,14 @@ suspend fun closeForumTopic( * @param chatId Unique identifier for the target chat or username of the target supergroup (in the format @supergroupusername) * @param messageThreadId Unique identifier for the target message thread of the forum topic */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callReopenForumTopic") suspend fun reopenForumTopic( chatId: ChatId, messageThreadId: MessageThreadId, ): Boolean = - botApiClient.tryReopenForumTopic(ReopenForumTopicRequest(chatId, messageThreadId)).getResultOrThrow() + botApi.botApiClient.tryReopenForumTopic(ReopenForumTopicRequest(chatId, messageThreadId)).getResultOrThrow() /** * Use this method to delete a forum topic along with all its messages in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_delete_messages administrator rights. Returns True on success. @@ -2324,14 +2324,14 @@ suspend fun reopenForumTopic( * @param chatId Unique identifier for the target chat or username of the target supergroup (in the format @supergroupusername) * @param messageThreadId Unique identifier for the target message thread of the forum topic */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callDeleteForumTopic") suspend fun deleteForumTopic( chatId: ChatId, messageThreadId: MessageThreadId, ): Boolean = - botApiClient.tryDeleteForumTopic(DeleteForumTopicRequest(chatId, messageThreadId)).getResultOrThrow() + botApi.botApiClient.tryDeleteForumTopic(DeleteForumTopicRequest(chatId, messageThreadId)).getResultOrThrow() /** * Use this method to clear the list of pinned messages in a forum topic. The bot must be an administrator in the chat for this to work and must have the can_pin_messages administrator right in the supergroup. Returns True on success. @@ -2339,14 +2339,14 @@ suspend fun deleteForumTopic( * @param chatId Unique identifier for the target chat or username of the target supergroup (in the format @supergroupusername) * @param messageThreadId Unique identifier for the target message thread of the forum topic */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callUnpinAllForumTopicMessages") suspend fun unpinAllForumTopicMessages( chatId: ChatId, messageThreadId: MessageThreadId, ): Boolean = - botApiClient.tryUnpinAllForumTopicMessages(UnpinAllForumTopicMessagesRequest(chatId, messageThreadId)).getResultOrThrow() + botApi.botApiClient.tryUnpinAllForumTopicMessages(UnpinAllForumTopicMessagesRequest(chatId, messageThreadId)).getResultOrThrow() /** * Use this method to edit the name of the 'General' topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator rights. Returns True on success. @@ -2354,79 +2354,79 @@ suspend fun unpinAllForumTopicMessages( * @param chatId Unique identifier for the target chat or username of the target supergroup (in the format @supergroupusername) * @param name New topic name, 1-128 characters */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callEditGeneralForumTopic") suspend fun editGeneralForumTopic( chatId: ChatId, name: String, ): Boolean = - botApiClient.tryEditGeneralForumTopic(EditGeneralForumTopicRequest(chatId, name)).getResultOrThrow() + botApi.botApiClient.tryEditGeneralForumTopic(EditGeneralForumTopicRequest(chatId, name)).getResultOrThrow() /** * Use this method to close an open 'General' topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator rights. Returns True on success. * * @param chatId Unique identifier for the target chat or username of the target supergroup (in the format @supergroupusername) */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callCloseGeneralForumTopic") suspend fun closeGeneralForumTopic( chatId: ChatId, ): Boolean = - botApiClient.tryCloseGeneralForumTopic(CloseGeneralForumTopicRequest(chatId)).getResultOrThrow() + botApi.botApiClient.tryCloseGeneralForumTopic(CloseGeneralForumTopicRequest(chatId)).getResultOrThrow() /** * Use this method to reopen a closed 'General' topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator rights. The topic will be automatically unhidden if it was hidden. Returns True on success. * * @param chatId Unique identifier for the target chat or username of the target supergroup (in the format @supergroupusername) */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callReopenGeneralForumTopic") suspend fun reopenGeneralForumTopic( chatId: ChatId, ): Boolean = - botApiClient.tryReopenGeneralForumTopic(ReopenGeneralForumTopicRequest(chatId)).getResultOrThrow() + botApi.botApiClient.tryReopenGeneralForumTopic(ReopenGeneralForumTopicRequest(chatId)).getResultOrThrow() /** * Use this method to hide the 'General' topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator rights. The topic will be automatically closed if it was open. Returns True on success. * * @param chatId Unique identifier for the target chat or username of the target supergroup (in the format @supergroupusername) */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callHideGeneralForumTopic") suspend fun hideGeneralForumTopic( chatId: ChatId, ): Boolean = - botApiClient.tryHideGeneralForumTopic(HideGeneralForumTopicRequest(chatId)).getResultOrThrow() + botApi.botApiClient.tryHideGeneralForumTopic(HideGeneralForumTopicRequest(chatId)).getResultOrThrow() /** * Use this method to unhide the 'General' topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator rights. Returns True on success. * * @param chatId Unique identifier for the target chat or username of the target supergroup (in the format @supergroupusername) */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callUnhideGeneralForumTopic") suspend fun unhideGeneralForumTopic( chatId: ChatId, ): Boolean = - botApiClient.tryUnhideGeneralForumTopic(UnhideGeneralForumTopicRequest(chatId)).getResultOrThrow() + botApi.botApiClient.tryUnhideGeneralForumTopic(UnhideGeneralForumTopicRequest(chatId)).getResultOrThrow() /** * Use this method to clear the list of pinned messages in a General forum topic. The bot must be an administrator in the chat for this to work and must have the can_pin_messages administrator right in the supergroup. Returns True on success. * * @param chatId Unique identifier for the target chat or username of the target supergroup (in the format @supergroupusername) */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callUnpinAllGeneralForumTopicMessages") suspend fun unpinAllGeneralForumTopicMessages( chatId: ChatId, ): Boolean = - botApiClient.tryUnpinAllGeneralForumTopicMessages(UnpinAllGeneralForumTopicMessagesRequest(chatId)).getResultOrThrow() + botApi.botApiClient.tryUnpinAllGeneralForumTopicMessages(UnpinAllGeneralForumTopicMessagesRequest(chatId)).getResultOrThrow() /** * Use this method to send answers to callback queries sent from inline keyboards. The answer will be displayed to the user as a notification at the top of the chat screen or as an alert. On success, True is returned. @@ -2439,7 +2439,7 @@ suspend fun unpinAllGeneralForumTopicMessages( * @param url URL that will be opened by the user's client. If you have created a Game and accepted the conditions via @BotFather, specify the URL that opens your game - note that this will only work if the query comes from a callback_game button. Otherwise, you may use links like t.me/your_bot?start=XXXX that open your bot with a parameter. * @param cacheTime The maximum amount of time in seconds that the result of the callback query may be cached client-side. Telegram apps will support caching starting in version 3.14. Defaults to 0. */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callAnswerCallbackQuery") suspend fun answerCallbackQuery( @@ -2449,9 +2449,9 @@ suspend fun answerCallbackQuery( url: String? = null, cacheTime: Seconds? = null, ): Boolean = - botApiClient.tryAnswerCallbackQuery(AnswerCallbackQueryRequest(callbackQueryId, text, showAlert, url, cacheTime)).getResultOrThrow() + botApi.botApiClient.tryAnswerCallbackQuery(AnswerCallbackQueryRequest(callbackQueryId, text, showAlert, url, cacheTime)).getResultOrThrow() -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) suspend fun CallbackQuery.answer( text: String? = null, @@ -2461,7 +2461,7 @@ suspend fun CallbackQuery.answer( ): Boolean = answerCallbackQuery(id, text, showAlert, url, cacheTime) -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) suspend fun CallbackQueryId.answer( text: String? = null, @@ -2477,27 +2477,27 @@ suspend fun CallbackQueryId.answer( * @param chatId Unique identifier for the chat or username of the channel (in the format @channelusername) * @param userId Unique identifier of the target user */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callGetUserChatBoosts") suspend fun getUserChatBoosts( chatId: ChatId, userId: UserId, ): UserChatBoosts = - botApiClient.tryGetUserChatBoosts(GetUserChatBoostsRequest(chatId, userId)).getResultOrThrow() + botApi.botApiClient.tryGetUserChatBoosts(GetUserChatBoostsRequest(chatId, userId)).getResultOrThrow() /** * Use this method to get information about the connection of the bot with a business account. Returns a BusinessConnection object on success. * * @param businessConnectionId Unique identifier of the business connection */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callGetBusinessConnection") suspend fun getBusinessConnection( businessConnectionId: BusinessConnectionId, ): BusinessConnection = - botApiClient.tryGetBusinessConnection(GetBusinessConnectionRequest(businessConnectionId)).getResultOrThrow() + botApi.botApiClient.tryGetBusinessConnection(GetBusinessConnectionRequest(businessConnectionId)).getResultOrThrow() /** * Use this method to change the list of the bot's commands. See this manual for more details about bot commands. Returns True on success. @@ -2506,7 +2506,7 @@ suspend fun getBusinessConnection( * @param scope A JSON-serialized object, describing scope of users for which the commands are relevant. Defaults to BotCommandScopeDefault. * @param languageCode A two-letter ISO 639-1 language code. If empty, commands will be applied to all users from the given scope, for whose language there are no dedicated commands */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callSetMyCommands") suspend fun setMyCommands( @@ -2514,7 +2514,7 @@ suspend fun setMyCommands( scope: BotCommandScope? = null, languageCode: String? = null, ): Boolean = - botApiClient.trySetMyCommands(SetMyCommandsRequest(commands, scope, languageCode)).getResultOrThrow() + botApi.botApiClient.trySetMyCommands(SetMyCommandsRequest(commands, scope, languageCode)).getResultOrThrow() /** * Use this method to delete the list of the bot's commands for the given scope and user language. After deletion, higher level commands will be shown to affected users. Returns True on success. @@ -2522,14 +2522,14 @@ suspend fun setMyCommands( * @param scope A JSON-serialized object, describing scope of users for which the commands are relevant. Defaults to BotCommandScopeDefault. * @param languageCode A two-letter ISO 639-1 language code. If empty, commands will be applied to all users from the given scope, for whose language there are no dedicated commands */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callDeleteMyCommands") suspend fun deleteMyCommands( scope: BotCommandScope? = null, languageCode: String? = null, ): Boolean = - botApiClient.tryDeleteMyCommands(DeleteMyCommandsRequest(scope, languageCode)).getResultOrThrow() + botApi.botApiClient.tryDeleteMyCommands(DeleteMyCommandsRequest(scope, languageCode)).getResultOrThrow() /** * Use this method to get the current list of the bot's commands for the given scope and user language. Returns an Array of BotCommand objects. If commands aren't set, an empty list is returned. @@ -2537,14 +2537,14 @@ suspend fun deleteMyCommands( * @param scope A JSON-serialized object, describing scope of users. Defaults to BotCommandScopeDefault. * @param languageCode A two-letter ISO 639-1 language code or an empty string */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callGetMyCommands") suspend fun getMyCommands( scope: BotCommandScope? = null, languageCode: String? = null, ): List = - botApiClient.tryGetMyCommands(GetMyCommandsRequest(scope, languageCode)).getResultOrThrow() + botApi.botApiClient.tryGetMyCommands(GetMyCommandsRequest(scope, languageCode)).getResultOrThrow() /** * Use this method to change the bot's name. Returns True on success. @@ -2552,27 +2552,27 @@ suspend fun getMyCommands( * @param name New bot name; 0-64 characters. Pass an empty string to remove the dedicated name for the given language. * @param languageCode A two-letter ISO 639-1 language code. If empty, the name will be shown to all users for whose language there is no dedicated name. */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callSetMyName") suspend fun setMyName( name: String? = null, languageCode: String? = null, ): Boolean = - botApiClient.trySetMyName(SetMyNameRequest(name, languageCode)).getResultOrThrow() + botApi.botApiClient.trySetMyName(SetMyNameRequest(name, languageCode)).getResultOrThrow() /** * Use this method to get the current bot name for the given user language. Returns BotName on success. * * @param languageCode A two-letter ISO 639-1 language code or an empty string */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callGetMyName") suspend fun getMyName( languageCode: String? = null, ): BotName = - botApiClient.tryGetMyName(GetMyNameRequest(languageCode)).getResultOrThrow() + botApi.botApiClient.tryGetMyName(GetMyNameRequest(languageCode)).getResultOrThrow() /** * Use this method to change the bot's description, which is shown in the chat with the bot if the chat is empty. Returns True on success. @@ -2580,27 +2580,27 @@ suspend fun getMyName( * @param description New bot description; 0-512 characters. Pass an empty string to remove the dedicated description for the given language. * @param languageCode A two-letter ISO 639-1 language code. If empty, the description will be applied to all users for whose language there is no dedicated description. */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callSetMyDescription") suspend fun setMyDescription( description: String? = null, languageCode: String? = null, ): Boolean = - botApiClient.trySetMyDescription(SetMyDescriptionRequest(description, languageCode)).getResultOrThrow() + botApi.botApiClient.trySetMyDescription(SetMyDescriptionRequest(description, languageCode)).getResultOrThrow() /** * Use this method to get the current bot description for the given user language. Returns BotDescription on success. * * @param languageCode A two-letter ISO 639-1 language code or an empty string */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callGetMyDescription") suspend fun getMyDescription( languageCode: String? = null, ): BotDescription = - botApiClient.tryGetMyDescription(GetMyDescriptionRequest(languageCode)).getResultOrThrow() + botApi.botApiClient.tryGetMyDescription(GetMyDescriptionRequest(languageCode)).getResultOrThrow() /** * Use this method to change the bot's short description, which is shown on the bot's profile page and is sent together with the link when users share the bot. Returns True on success. @@ -2608,27 +2608,27 @@ suspend fun getMyDescription( * @param shortDescription New short description for the bot; 0-120 characters. Pass an empty string to remove the dedicated short description for the given language. * @param languageCode A two-letter ISO 639-1 language code. If empty, the short description will be applied to all users for whose language there is no dedicated short description. */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callSetMyShortDescription") suspend fun setMyShortDescription( shortDescription: String? = null, languageCode: String? = null, ): Boolean = - botApiClient.trySetMyShortDescription(SetMyShortDescriptionRequest(shortDescription, languageCode)).getResultOrThrow() + botApi.botApiClient.trySetMyShortDescription(SetMyShortDescriptionRequest(shortDescription, languageCode)).getResultOrThrow() /** * Use this method to get the current bot short description for the given user language. Returns BotShortDescription on success. * * @param languageCode A two-letter ISO 639-1 language code or an empty string */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callGetMyShortDescription") suspend fun getMyShortDescription( languageCode: String? = null, ): BotShortDescription = - botApiClient.tryGetMyShortDescription(GetMyShortDescriptionRequest(languageCode)).getResultOrThrow() + botApi.botApiClient.tryGetMyShortDescription(GetMyShortDescriptionRequest(languageCode)).getResultOrThrow() /** * Use this method to change the bot's menu button in a private chat, or the default menu button. Returns True on success. @@ -2636,27 +2636,27 @@ suspend fun getMyShortDescription( * @param chatId Unique identifier for the target private chat. If not specified, default bot's menu button will be changed * @param menuButton A JSON-serialized object for the bot's new menu button. Defaults to MenuButtonDefault */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callSetChatMenuButton") suspend fun setChatMenuButton( chatId: ChatId? = null, menuButton: MenuButton? = null, ): Boolean = - botApiClient.trySetChatMenuButton(SetChatMenuButtonRequest(chatId, menuButton)).getResultOrThrow() + botApi.botApiClient.trySetChatMenuButton(SetChatMenuButtonRequest(chatId, menuButton)).getResultOrThrow() /** * Use this method to get the current value of the bot's menu button in a private chat, or the default menu button. Returns MenuButton on success. * * @param chatId Unique identifier for the target private chat. If not specified, default bot's menu button will be returned */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callGetChatMenuButton") suspend fun getChatMenuButton( chatId: ChatId? = null, ): MenuButton = - botApiClient.tryGetChatMenuButton(GetChatMenuButtonRequest(chatId)).getResultOrThrow() + botApi.botApiClient.tryGetChatMenuButton(GetChatMenuButtonRequest(chatId)).getResultOrThrow() /** * Use this method to change the default administrator rights requested by the bot when it's added as an administrator to groups or channels. These rights will be suggested to users, but they are free to modify the list before adding the bot. Returns True on success. @@ -2664,27 +2664,27 @@ suspend fun getChatMenuButton( * @param rights A JSON-serialized object describing new default administrator rights. If not specified, the default administrator rights will be cleared. * @param forChannels Pass True to change the default administrator rights of the bot in channels. Otherwise, the default administrator rights of the bot for groups and supergroups will be changed. */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callSetMyDefaultAdministratorRights") suspend fun setMyDefaultAdministratorRights( rights: ChatAdministratorRights? = null, forChannels: Boolean? = null, ): Boolean = - botApiClient.trySetMyDefaultAdministratorRights(SetMyDefaultAdministratorRightsRequest(rights, forChannels)).getResultOrThrow() + botApi.botApiClient.trySetMyDefaultAdministratorRights(SetMyDefaultAdministratorRightsRequest(rights, forChannels)).getResultOrThrow() /** * Use this method to get the current default administrator rights of the bot. Returns ChatAdministratorRights on success. * * @param forChannels Pass True to get default administrator rights of the bot in channels. Otherwise, default administrator rights of the bot for groups and supergroups will be returned. */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callGetMyDefaultAdministratorRights") suspend fun getMyDefaultAdministratorRights( forChannels: Boolean? = null, ): ChatAdministratorRights = - botApiClient.tryGetMyDefaultAdministratorRights(GetMyDefaultAdministratorRightsRequest(forChannels)).getResultOrThrow() + botApi.botApiClient.tryGetMyDefaultAdministratorRights(GetMyDefaultAdministratorRightsRequest(forChannels)).getResultOrThrow() /** * Use this method to edit text and game messages. On success the edited Message is returned. Note that business messages that were not sent by the bot and do not contain an inline keyboard can only be edited within 48 hours from the time they were sent. @@ -2698,7 +2698,7 @@ suspend fun getMyDefaultAdministratorRights( * @param replyMarkup A JSON-serialized object for an inline keyboard. * @param businessConnectionId Unique identifier of the business connection on behalf of which the message to be edited was sent */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callEditMessageText") suspend fun editMessageText( @@ -2711,9 +2711,9 @@ suspend fun editMessageText( replyMarkup: InlineKeyboardMarkup? = null, businessConnectionId: BusinessConnectionId? = null, ): Message = - botApiClient.tryEditMessageText(EditMessageTextRequest(text = text, chatId = chatId, messageId = messageId, parseMode = parseMode, entities = entities, linkPreviewOptions = linkPreviewOptions, replyMarkup = replyMarkup, businessConnectionId = businessConnectionId)).getResultOrThrow() + botApi.botApiClient.tryEditMessageText(EditMessageTextRequest(text = text, chatId = chatId, messageId = messageId, parseMode = parseMode, entities = entities, linkPreviewOptions = linkPreviewOptions, replyMarkup = replyMarkup, businessConnectionId = businessConnectionId)).getResultOrThrow() -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) suspend fun Message.editText( text: String, @@ -2725,7 +2725,7 @@ suspend fun Message.editText( ): Message = editMessageText(text, chat.id, messageId, parseMode, entities, linkPreviewOptions, replyMarkup, businessConnectionId) -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) suspend fun Message.editTextMarkdown( text: String, @@ -2736,7 +2736,7 @@ suspend fun Message.editTextMarkdown( ): Message = editMessageText(text, chat.id, messageId, ParseMode.MARKDOWN, entities, linkPreviewOptions, replyMarkup, businessConnectionId) -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) suspend fun Message.editTextMarkdownV2( text: String, @@ -2747,7 +2747,7 @@ suspend fun Message.editTextMarkdownV2( ): Message = editMessageText(text, chat.id, messageId, ParseMode.MARKDOWN_V2, entities, linkPreviewOptions, replyMarkup, businessConnectionId) -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) suspend fun Message.editTextHtml( text: String, @@ -2769,7 +2769,7 @@ suspend fun Message.editTextHtml( * @param replyMarkup A JSON-serialized object for an inline keyboard. * @param businessConnectionId Unique identifier of the business connection on behalf of which the message to be edited was sent */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callEditInlineMessageText") suspend fun editInlineMessageText( @@ -2781,7 +2781,7 @@ suspend fun editInlineMessageText( replyMarkup: InlineKeyboardMarkup? = null, businessConnectionId: BusinessConnectionId? = null, ): Boolean = - botApiClient.tryEditInlineMessageText(EditMessageTextRequest(text = text, inlineMessageId = inlineMessageId, parseMode = parseMode, entities = entities, linkPreviewOptions = linkPreviewOptions, replyMarkup = replyMarkup, businessConnectionId = businessConnectionId)).getResultOrThrow() + botApi.botApiClient.tryEditInlineMessageText(EditMessageTextRequest(text = text, inlineMessageId = inlineMessageId, parseMode = parseMode, entities = entities, linkPreviewOptions = linkPreviewOptions, replyMarkup = replyMarkup, businessConnectionId = businessConnectionId)).getResultOrThrow() /** * Use this method to edit captions of messages. On success the edited Message is returned. Note that business messages that were not sent by the bot and do not contain an inline keyboard can only be edited within 48 hours from the time they were sent. @@ -2795,7 +2795,7 @@ suspend fun editInlineMessageText( * @param replyMarkup A JSON-serialized object for an inline keyboard. * @param businessConnectionId Unique identifier of the business connection on behalf of which the message to be edited was sent */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callEditMessageCaption") suspend fun editMessageCaption( @@ -2808,7 +2808,7 @@ suspend fun editMessageCaption( replyMarkup: InlineKeyboardMarkup? = null, businessConnectionId: BusinessConnectionId? = null, ): Message = - botApiClient.tryEditMessageCaption(EditMessageCaptionRequest(chatId = chatId, messageId = messageId, caption = caption, parseMode = parseMode, captionEntities = captionEntities, showCaptionAboveMedia = showCaptionAboveMedia, replyMarkup = replyMarkup, businessConnectionId = businessConnectionId)).getResultOrThrow() + botApi.botApiClient.tryEditMessageCaption(EditMessageCaptionRequest(chatId = chatId, messageId = messageId, caption = caption, parseMode = parseMode, captionEntities = captionEntities, showCaptionAboveMedia = showCaptionAboveMedia, replyMarkup = replyMarkup, businessConnectionId = businessConnectionId)).getResultOrThrow() /** * Use this method to edit captions of messages. On success True is returned. Note that business messages that were not sent by the bot and do not contain an inline keyboard can only be edited within 48 hours from the time they were sent. @@ -2821,7 +2821,7 @@ suspend fun editMessageCaption( * @param replyMarkup A JSON-serialized object for an inline keyboard. * @param businessConnectionId Unique identifier of the business connection on behalf of which the message to be edited was sent */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callEditInlineMessageCaption") suspend fun editInlineMessageCaption( @@ -2833,7 +2833,7 @@ suspend fun editInlineMessageCaption( replyMarkup: InlineKeyboardMarkup? = null, businessConnectionId: BusinessConnectionId? = null, ): Boolean = - botApiClient.tryEditInlineMessageCaption(EditMessageCaptionRequest(inlineMessageId = inlineMessageId, caption = caption, parseMode = parseMode, captionEntities = captionEntities, showCaptionAboveMedia = showCaptionAboveMedia, replyMarkup = replyMarkup, businessConnectionId = businessConnectionId)).getResultOrThrow() + botApi.botApiClient.tryEditInlineMessageCaption(EditMessageCaptionRequest(inlineMessageId = inlineMessageId, caption = caption, parseMode = parseMode, captionEntities = captionEntities, showCaptionAboveMedia = showCaptionAboveMedia, replyMarkup = replyMarkup, businessConnectionId = businessConnectionId)).getResultOrThrow() /** * Use this method to edit animation, audio, document, photo, or video messages, or to add media to text messages. If a message is part of a message album, then it can be edited only to an audio for audio albums, only to a document for document albums and to a photo or a video otherwise. When an inline message is edited, a new file can't be uploaded; use a previously uploaded file via its file_id or specify a URL. On success the edited Message is returned. Note that business messages that were not sent by the bot and do not contain an inline keyboard can only be edited within 48 hours from the time they were sent. @@ -2844,7 +2844,7 @@ suspend fun editInlineMessageCaption( * @param replyMarkup A JSON-serialized object for a new inline keyboard. * @param businessConnectionId Unique identifier of the business connection on behalf of which the message to be edited was sent */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callEditMessageMedia") suspend fun editMessageMedia( @@ -2854,7 +2854,7 @@ suspend fun editMessageMedia( replyMarkup: InlineKeyboardMarkup? = null, businessConnectionId: BusinessConnectionId? = null, ): Message = - botApiClient.tryEditMessageMedia(EditMessageMediaRequest(media = media, chatId = chatId, messageId = messageId, replyMarkup = replyMarkup, businessConnectionId = businessConnectionId)).getResultOrThrow() + botApi.botApiClient.tryEditMessageMedia(EditMessageMediaRequest(media = media, chatId = chatId, messageId = messageId, replyMarkup = replyMarkup, businessConnectionId = businessConnectionId)).getResultOrThrow() /** * Use this method to edit animation, audio, document, photo, or video messages, or to add media to text messages. If a message is part of a message album, then it can be edited only to an audio for audio albums, only to a document for document albums and to a photo or a video otherwise. When an inline message is edited, a new file can't be uploaded; use a previously uploaded file via its file_id or specify a URL. On success True is returned. Note that business messages that were not sent by the bot and do not contain an inline keyboard can only be edited within 48 hours from the time they were sent. @@ -2864,7 +2864,7 @@ suspend fun editMessageMedia( * @param replyMarkup A JSON-serialized object for a new inline keyboard. * @param businessConnectionId Unique identifier of the business connection on behalf of which the message to be edited was sent */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callEditInlineMessageMedia") suspend fun editInlineMessageMedia( @@ -2873,7 +2873,7 @@ suspend fun editInlineMessageMedia( replyMarkup: InlineKeyboardMarkup? = null, businessConnectionId: BusinessConnectionId? = null, ): Boolean = - botApiClient.tryEditInlineMessageMedia(EditMessageMediaRequest(media = media, inlineMessageId = inlineMessageId, replyMarkup = replyMarkup, businessConnectionId = businessConnectionId)).getResultOrThrow() + botApi.botApiClient.tryEditInlineMessageMedia(EditMessageMediaRequest(media = media, inlineMessageId = inlineMessageId, replyMarkup = replyMarkup, businessConnectionId = businessConnectionId)).getResultOrThrow() /** * Use this method to edit live location messages. A location can be edited until its live_period expires or editing is explicitly disabled by a call to stopMessageLiveLocation. On success the edited Message is returned. @@ -2889,7 +2889,7 @@ suspend fun editInlineMessageMedia( * @param replyMarkup A JSON-serialized object for a new inline keyboard. * @param businessConnectionId Unique identifier of the business connection on behalf of which the message to be edited was sent */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callEditMessageLiveLocation") suspend fun editMessageLiveLocation( @@ -2904,7 +2904,7 @@ suspend fun editMessageLiveLocation( replyMarkup: InlineKeyboardMarkup? = null, businessConnectionId: BusinessConnectionId? = null, ): Message = - botApiClient.tryEditMessageLiveLocation(EditMessageLiveLocationRequest(latitude = latitude, longitude = longitude, chatId = chatId, messageId = messageId, livePeriod = livePeriod, horizontalAccuracy = horizontalAccuracy, heading = heading, proximityAlertRadius = proximityAlertRadius, replyMarkup = replyMarkup, businessConnectionId = businessConnectionId)).getResultOrThrow() + botApi.botApiClient.tryEditMessageLiveLocation(EditMessageLiveLocationRequest(latitude = latitude, longitude = longitude, chatId = chatId, messageId = messageId, livePeriod = livePeriod, horizontalAccuracy = horizontalAccuracy, heading = heading, proximityAlertRadius = proximityAlertRadius, replyMarkup = replyMarkup, businessConnectionId = businessConnectionId)).getResultOrThrow() /** * Use this method to edit live location messages. A location can be edited until its live_period expires or editing is explicitly disabled by a call to stopMessageLiveLocation. On success True is returned. @@ -2919,7 +2919,7 @@ suspend fun editMessageLiveLocation( * @param replyMarkup A JSON-serialized object for a new inline keyboard. * @param businessConnectionId Unique identifier of the business connection on behalf of which the message to be edited was sent */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callEditInlineMessageLiveLocation") suspend fun editInlineMessageLiveLocation( @@ -2933,7 +2933,7 @@ suspend fun editInlineMessageLiveLocation( replyMarkup: InlineKeyboardMarkup? = null, businessConnectionId: BusinessConnectionId? = null, ): Boolean = - botApiClient.tryEditInlineMessageLiveLocation(EditMessageLiveLocationRequest(latitude = latitude, longitude = longitude, inlineMessageId = inlineMessageId, livePeriod = livePeriod, horizontalAccuracy = horizontalAccuracy, heading = heading, proximityAlertRadius = proximityAlertRadius, replyMarkup = replyMarkup, businessConnectionId = businessConnectionId)).getResultOrThrow() + botApi.botApiClient.tryEditInlineMessageLiveLocation(EditMessageLiveLocationRequest(latitude = latitude, longitude = longitude, inlineMessageId = inlineMessageId, livePeriod = livePeriod, horizontalAccuracy = horizontalAccuracy, heading = heading, proximityAlertRadius = proximityAlertRadius, replyMarkup = replyMarkup, businessConnectionId = businessConnectionId)).getResultOrThrow() /** * Use this method to stop updating a live location message before live_period expires. On success the edited Message is returned. @@ -2943,7 +2943,7 @@ suspend fun editInlineMessageLiveLocation( * @param replyMarkup A JSON-serialized object for a new inline keyboard. * @param businessConnectionId Unique identifier of the business connection on behalf of which the message to be edited was sent */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callStopMessageLiveLocation") suspend fun stopMessageLiveLocation( @@ -2952,7 +2952,7 @@ suspend fun stopMessageLiveLocation( replyMarkup: InlineKeyboardMarkup? = null, businessConnectionId: BusinessConnectionId? = null, ): Message = - botApiClient.tryStopMessageLiveLocation(StopMessageLiveLocationRequest(chatId = chatId, messageId = messageId, replyMarkup = replyMarkup, businessConnectionId = businessConnectionId)).getResultOrThrow() + botApi.botApiClient.tryStopMessageLiveLocation(StopMessageLiveLocationRequest(chatId = chatId, messageId = messageId, replyMarkup = replyMarkup, businessConnectionId = businessConnectionId)).getResultOrThrow() /** * Use this method to stop updating a live location message before live_period expires. On success True is returned. @@ -2961,7 +2961,7 @@ suspend fun stopMessageLiveLocation( * @param replyMarkup A JSON-serialized object for a new inline keyboard. * @param businessConnectionId Unique identifier of the business connection on behalf of which the message to be edited was sent */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callStopInlineMessageLiveLocation") suspend fun stopInlineMessageLiveLocation( @@ -2969,7 +2969,7 @@ suspend fun stopInlineMessageLiveLocation( replyMarkup: InlineKeyboardMarkup? = null, businessConnectionId: BusinessConnectionId? = null, ): Boolean = - botApiClient.tryStopInlineMessageLiveLocation(StopMessageLiveLocationRequest(inlineMessageId = inlineMessageId, replyMarkup = replyMarkup, businessConnectionId = businessConnectionId)).getResultOrThrow() + botApi.botApiClient.tryStopInlineMessageLiveLocation(StopMessageLiveLocationRequest(inlineMessageId = inlineMessageId, replyMarkup = replyMarkup, businessConnectionId = businessConnectionId)).getResultOrThrow() /** * Use this method to edit only the reply markup of messages. On success the edited Message is returned. Note that business messages that were not sent by the bot and do not contain an inline keyboard can only be edited within 48 hours from the time they were sent. @@ -2979,7 +2979,7 @@ suspend fun stopInlineMessageLiveLocation( * @param replyMarkup A JSON-serialized object for an inline keyboard. * @param businessConnectionId Unique identifier of the business connection on behalf of which the message to be edited was sent */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callEditMessageReplyMarkup") suspend fun editMessageReplyMarkup( @@ -2988,7 +2988,7 @@ suspend fun editMessageReplyMarkup( replyMarkup: InlineKeyboardMarkup? = null, businessConnectionId: BusinessConnectionId? = null, ): Message = - botApiClient.tryEditMessageReplyMarkup(EditMessageReplyMarkupRequest(chatId = chatId, messageId = messageId, replyMarkup = replyMarkup, businessConnectionId = businessConnectionId)).getResultOrThrow() + botApi.botApiClient.tryEditMessageReplyMarkup(EditMessageReplyMarkupRequest(chatId = chatId, messageId = messageId, replyMarkup = replyMarkup, businessConnectionId = businessConnectionId)).getResultOrThrow() /** * Use this method to edit only the reply markup of messages. On success True is returned. Note that business messages that were not sent by the bot and do not contain an inline keyboard can only be edited within 48 hours from the time they were sent. @@ -2997,7 +2997,7 @@ suspend fun editMessageReplyMarkup( * @param replyMarkup A JSON-serialized object for an inline keyboard. * @param businessConnectionId Unique identifier of the business connection on behalf of which the message to be edited was sent */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callEditInlineMessageReplyMarkup") suspend fun editInlineMessageReplyMarkup( @@ -3005,7 +3005,7 @@ suspend fun editInlineMessageReplyMarkup( replyMarkup: InlineKeyboardMarkup? = null, businessConnectionId: BusinessConnectionId? = null, ): Boolean = - botApiClient.tryEditInlineMessageReplyMarkup(EditMessageReplyMarkupRequest(inlineMessageId = inlineMessageId, replyMarkup = replyMarkup, businessConnectionId = businessConnectionId)).getResultOrThrow() + botApi.botApiClient.tryEditInlineMessageReplyMarkup(EditMessageReplyMarkupRequest(inlineMessageId = inlineMessageId, replyMarkup = replyMarkup, businessConnectionId = businessConnectionId)).getResultOrThrow() /** * Use this method to stop a poll which was sent by the bot. On success, the stopped Poll is returned. @@ -3015,7 +3015,7 @@ suspend fun editInlineMessageReplyMarkup( * @param replyMarkup A JSON-serialized object for a new message inline keyboard. * @param businessConnectionId Unique identifier of the business connection on behalf of which the message to be edited was sent */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callStopPoll") suspend fun stopPoll( @@ -3024,7 +3024,7 @@ suspend fun stopPoll( replyMarkup: InlineKeyboardMarkup? = null, businessConnectionId: BusinessConnectionId? = null, ): Poll = - botApiClient.tryStopPoll(StopPollRequest(chatId, messageId, replyMarkup, businessConnectionId)).getResultOrThrow() + botApi.botApiClient.tryStopPoll(StopPollRequest(chatId, messageId, replyMarkup, businessConnectionId)).getResultOrThrow() /** * Use this method to delete a message, including service messages, with the following limitations: - A message can only be deleted if it was sent less than 48 hours ago. - Service messages about a supergroup, channel, or forum topic creation can't be deleted. - A dice message in a private chat can only be deleted if it was sent more than 24 hours ago. - Bots can delete outgoing messages in private chats, groups, and supergroups. - Bots can delete incoming messages in private chats. - Bots granted can_post_messages permissions can delete outgoing messages in channels. - If the bot is an administrator of a group, it can delete any message there. - If the bot has can_delete_messages permission in a supergroup or a channel, it can delete any message there. Returns True on success. @@ -3032,16 +3032,16 @@ suspend fun stopPoll( * @param chatId Unique identifier for the target chat or username of the target channel (in the format @channelusername) * @param messageId Identifier of the message to delete */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callDeleteMessage") suspend fun deleteMessage( chatId: ChatId, messageId: MessageId, ): Boolean = - botApiClient.tryDeleteMessage(DeleteMessageRequest(chatId, messageId)).getResultOrThrow() + botApi.botApiClient.tryDeleteMessage(DeleteMessageRequest(chatId, messageId)).getResultOrThrow() -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) suspend fun Message.delete(): Boolean = deleteMessage(chat.id, messageId) @@ -3052,23 +3052,23 @@ suspend fun Message.delete(): Boolean = * @param chatId Unique identifier for the target chat or username of the target channel (in the format @channelusername) * @param messageIds A JSON-serialized list of 1-100 identifiers of messages to delete. See deleteMessage for limitations on which messages can be deleted */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callDeleteMessages") suspend fun deleteMessages( chatId: ChatId, messageIds: List, ): Boolean = - botApiClient.tryDeleteMessages(DeleteMessagesRequest(chatId, messageIds)).getResultOrThrow() + botApi.botApiClient.tryDeleteMessages(DeleteMessagesRequest(chatId, messageIds)).getResultOrThrow() /** * Returns the list of gifts that can be sent by the bot to users and channel chats. Requires no parameters. Returns a Gifts object. */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callGetAvailableGifts") suspend fun getAvailableGifts(): Gifts = - botApiClient.tryGetAvailableGifts().getResultOrThrow() + botApi.botApiClient.tryGetAvailableGifts().getResultOrThrow() /** * Sends a gift to the given user or channel chat. The gift can't be converted to Telegram Stars by the receiver. Returns True on success. @@ -3081,7 +3081,7 @@ suspend fun getAvailableGifts(): Gifts = * @param textParseMode Mode for parsing entities in the text. See formatting options for more details. Entities other than “bold”, “italic”, “underline”, “strikethrough”, “spoiler”, and “custom_emoji” are ignored. * @param textEntities A JSON-serialized list of special entities that appear in the gift text. It can be specified instead of text_parse_mode. Entities other than “bold”, “italic”, “underline”, “strikethrough”, “spoiler”, and “custom_emoji” are ignored. */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callSendGift") suspend fun sendGift( @@ -3093,7 +3093,7 @@ suspend fun sendGift( textParseMode: String? = null, textEntities: List? = null, ): Boolean = - botApiClient.trySendGift(SendGiftRequest(giftId, userId, chatId, payForUpgrade, text, textParseMode, textEntities)).getResultOrThrow() + botApi.botApiClient.trySendGift(SendGiftRequest(giftId, userId, chatId, payForUpgrade, text, textParseMode, textEntities)).getResultOrThrow() /** * Gifts a Telegram Premium subscription to the given user. Returns True on success. @@ -3105,7 +3105,7 @@ suspend fun sendGift( * @param textParseMode Mode for parsing entities in the text. See formatting options for more details. Entities other than “bold”, “italic”, “underline”, “strikethrough”, “spoiler”, and “custom_emoji” are ignored. * @param textEntities A JSON-serialized list of special entities that appear in the gift text. It can be specified instead of text_parse_mode. Entities other than “bold”, “italic”, “underline”, “strikethrough”, “spoiler”, and “custom_emoji” are ignored. */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callGiftPremiumSubscription") suspend fun giftPremiumSubscription( @@ -3116,7 +3116,7 @@ suspend fun giftPremiumSubscription( textParseMode: String? = null, textEntities: List? = null, ): Boolean = - botApiClient.tryGiftPremiumSubscription(GiftPremiumSubscriptionRequest(userId, monthCount, starCount, text, textParseMode, textEntities)).getResultOrThrow() + botApi.botApiClient.tryGiftPremiumSubscription(GiftPremiumSubscriptionRequest(userId, monthCount, starCount, text, textParseMode, textEntities)).getResultOrThrow() /** * Verifies a user on behalf of the organization which is represented by the bot. Returns True on success. @@ -3124,14 +3124,14 @@ suspend fun giftPremiumSubscription( * @param userId Unique identifier of the target user * @param customDescription Custom description for the verification; 0-70 characters. Must be empty if the organization isn't allowed to provide a custom verification description. */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callVerifyUser") suspend fun verifyUser( userId: UserId, customDescription: String? = null, ): Boolean = - botApiClient.tryVerifyUser(VerifyUserRequest(userId, customDescription)).getResultOrThrow() + botApi.botApiClient.tryVerifyUser(VerifyUserRequest(userId, customDescription)).getResultOrThrow() /** * Verifies a chat on behalf of the organization which is represented by the bot. Returns True on success. @@ -3139,40 +3139,40 @@ suspend fun verifyUser( * @param chatId Unique identifier for the target chat or username of the target channel (in the format @channelusername) * @param customDescription Custom description for the verification; 0-70 characters. Must be empty if the organization isn't allowed to provide a custom verification description. */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callVerifyChat") suspend fun verifyChat( chatId: ChatId, customDescription: String? = null, ): Boolean = - botApiClient.tryVerifyChat(VerifyChatRequest(chatId, customDescription)).getResultOrThrow() + botApi.botApiClient.tryVerifyChat(VerifyChatRequest(chatId, customDescription)).getResultOrThrow() /** * Removes verification from a user who is currently verified on behalf of the organization represented by the bot. Returns True on success. * * @param userId Unique identifier of the target user */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callRemoveUserVerification") suspend fun removeUserVerification( userId: UserId, ): Boolean = - botApiClient.tryRemoveUserVerification(RemoveUserVerificationRequest(userId)).getResultOrThrow() + botApi.botApiClient.tryRemoveUserVerification(RemoveUserVerificationRequest(userId)).getResultOrThrow() /** * Removes verification from a chat that is currently verified on behalf of the organization represented by the bot. Returns True on success. * * @param chatId Unique identifier for the target chat or username of the target channel (in the format @channelusername) */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callRemoveChatVerification") suspend fun removeChatVerification( chatId: ChatId, ): Boolean = - botApiClient.tryRemoveChatVerification(RemoveChatVerificationRequest(chatId)).getResultOrThrow() + botApi.botApiClient.tryRemoveChatVerification(RemoveChatVerificationRequest(chatId)).getResultOrThrow() /** * Marks incoming message as read on behalf of a business account. Requires the can_read_messages business bot right. Returns True on success. @@ -3181,7 +3181,7 @@ suspend fun removeChatVerification( * @param chatId Unique identifier of the chat in which the message was received. The chat must have been active in the last 24 hours. * @param messageId Unique identifier of the message to mark as read */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callReadBusinessMessage") suspend fun readBusinessMessage( @@ -3189,7 +3189,7 @@ suspend fun readBusinessMessage( chatId: ChatId, messageId: MessageId, ): Boolean = - botApiClient.tryReadBusinessMessage(ReadBusinessMessageRequest(businessConnectionId, chatId, messageId)).getResultOrThrow() + botApi.botApiClient.tryReadBusinessMessage(ReadBusinessMessageRequest(businessConnectionId, chatId, messageId)).getResultOrThrow() /** * Delete messages on behalf of a business account. Requires the can_delete_sent_messages business bot right to delete messages sent by the bot itself, or the can_delete_all_messages business bot right to delete any message. Returns True on success. @@ -3197,14 +3197,14 @@ suspend fun readBusinessMessage( * @param businessConnectionId Unique identifier of the business connection on behalf of which to delete the messages * @param messageIds A JSON-serialized list of 1-100 identifiers of messages to delete. All messages must be from the same chat. See deleteMessage for limitations on which messages can be deleted */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callDeleteBusinessMessages") suspend fun deleteBusinessMessages( businessConnectionId: BusinessConnectionId, messageIds: List, ): Boolean = - botApiClient.tryDeleteBusinessMessages(DeleteBusinessMessagesRequest(businessConnectionId, messageIds)).getResultOrThrow() + botApi.botApiClient.tryDeleteBusinessMessages(DeleteBusinessMessagesRequest(businessConnectionId, messageIds)).getResultOrThrow() /** * Changes the first and last name of a managed business account. Requires the can_change_name business bot right. Returns True on success. @@ -3213,7 +3213,7 @@ suspend fun deleteBusinessMessages( * @param firstName The new value of the first name for the business account; 1-64 characters * @param lastName The new value of the last name for the business account; 0-64 characters */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callSetBusinessAccountName") suspend fun setBusinessAccountName( @@ -3221,7 +3221,7 @@ suspend fun setBusinessAccountName( firstName: String, lastName: String? = null, ): Boolean = - botApiClient.trySetBusinessAccountName(SetBusinessAccountNameRequest(businessConnectionId, firstName, lastName)).getResultOrThrow() + botApi.botApiClient.trySetBusinessAccountName(SetBusinessAccountNameRequest(businessConnectionId, firstName, lastName)).getResultOrThrow() /** * Changes the username of a managed business account. Requires the can_change_username business bot right. Returns True on success. @@ -3229,14 +3229,14 @@ suspend fun setBusinessAccountName( * @param businessConnectionId Unique identifier of the business connection * @param username The new value of the username for the business account; 0-32 characters */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callSetBusinessAccountUsername") suspend fun setBusinessAccountUsername( businessConnectionId: BusinessConnectionId, username: String? = null, ): Boolean = - botApiClient.trySetBusinessAccountUsername(SetBusinessAccountUsernameRequest(businessConnectionId, username)).getResultOrThrow() + botApi.botApiClient.trySetBusinessAccountUsername(SetBusinessAccountUsernameRequest(businessConnectionId, username)).getResultOrThrow() /** * Changes the bio of a managed business account. Requires the can_change_bio business bot right. Returns True on success. @@ -3244,14 +3244,14 @@ suspend fun setBusinessAccountUsername( * @param businessConnectionId Unique identifier of the business connection * @param bio The new value of the bio for the business account; 0-140 characters */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callSetBusinessAccountBio") suspend fun setBusinessAccountBio( businessConnectionId: BusinessConnectionId, bio: String? = null, ): Boolean = - botApiClient.trySetBusinessAccountBio(SetBusinessAccountBioRequest(businessConnectionId, bio)).getResultOrThrow() + botApi.botApiClient.trySetBusinessAccountBio(SetBusinessAccountBioRequest(businessConnectionId, bio)).getResultOrThrow() /** * Changes the profile photo of a managed business account. Requires the can_edit_profile_photo business bot right. Returns True on success. @@ -3260,7 +3260,7 @@ suspend fun setBusinessAccountBio( * @param photo The new profile photo to set * @param isPublic Pass True to set the public photo, which will be visible even if the main photo is hidden by the business account's privacy settings. An account can have only one public photo. */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callSetBusinessAccountProfilePhoto") suspend fun setBusinessAccountProfilePhoto( @@ -3268,7 +3268,7 @@ suspend fun setBusinessAccountProfilePhoto( photo: InputProfilePhoto, isPublic: Boolean? = null, ): Boolean = - botApiClient.trySetBusinessAccountProfilePhoto(SetBusinessAccountProfilePhotoRequest(businessConnectionId, photo, isPublic)).getResultOrThrow() + botApi.botApiClient.trySetBusinessAccountProfilePhoto(SetBusinessAccountProfilePhotoRequest(businessConnectionId, photo, isPublic)).getResultOrThrow() /** * Removes the current profile photo of a managed business account. Requires the can_edit_profile_photo business bot right. Returns True on success. @@ -3276,14 +3276,14 @@ suspend fun setBusinessAccountProfilePhoto( * @param businessConnectionId Unique identifier of the business connection * @param isPublic Pass True to remove the public photo, which is visible even if the main photo is hidden by the business account's privacy settings. After the main photo is removed, the previous profile photo (if present) becomes the main photo. */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callRemoveBusinessAccountProfilePhoto") suspend fun removeBusinessAccountProfilePhoto( businessConnectionId: BusinessConnectionId, isPublic: Boolean? = null, ): Boolean = - botApiClient.tryRemoveBusinessAccountProfilePhoto(RemoveBusinessAccountProfilePhotoRequest(businessConnectionId, isPublic)).getResultOrThrow() + botApi.botApiClient.tryRemoveBusinessAccountProfilePhoto(RemoveBusinessAccountProfilePhotoRequest(businessConnectionId, isPublic)).getResultOrThrow() /** * Changes the privacy settings pertaining to incoming gifts in a managed business account. Requires the can_change_gift_settings business bot right. Returns True on success. @@ -3292,7 +3292,7 @@ suspend fun removeBusinessAccountProfilePhoto( * @param showGiftButton Pass True, if a button for sending a gift to the user or by the business account must always be shown in the input field * @param acceptedGiftTypes Types of gifts accepted by the business account */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callSetBusinessAccountGiftSettings") suspend fun setBusinessAccountGiftSettings( @@ -3300,20 +3300,20 @@ suspend fun setBusinessAccountGiftSettings( showGiftButton: Boolean, acceptedGiftTypes: AcceptedGiftTypes, ): Boolean = - botApiClient.trySetBusinessAccountGiftSettings(SetBusinessAccountGiftSettingsRequest(businessConnectionId, showGiftButton, acceptedGiftTypes)).getResultOrThrow() + botApi.botApiClient.trySetBusinessAccountGiftSettings(SetBusinessAccountGiftSettingsRequest(businessConnectionId, showGiftButton, acceptedGiftTypes)).getResultOrThrow() /** * Returns the amount of Telegram Stars owned by a managed business account. Requires the can_view_gifts_and_stars business bot right. Returns StarAmount on success. * * @param businessConnectionId Unique identifier of the business connection */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callGetBusinessAccountStarBalance") suspend fun getBusinessAccountStarBalance( businessConnectionId: BusinessConnectionId, ): StarAmount = - botApiClient.tryGetBusinessAccountStarBalance(GetBusinessAccountStarBalanceRequest(businessConnectionId)).getResultOrThrow() + botApi.botApiClient.tryGetBusinessAccountStarBalance(GetBusinessAccountStarBalanceRequest(businessConnectionId)).getResultOrThrow() /** * Transfers Telegram Stars from the business account balance to the bot's balance. Requires the can_transfer_stars business bot right. Returns True on success. @@ -3321,14 +3321,14 @@ suspend fun getBusinessAccountStarBalance( * @param businessConnectionId Unique identifier of the business connection * @param starCount Number of Telegram Stars to transfer; 1-10000 */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callTransferBusinessAccountStars") suspend fun transferBusinessAccountStars( businessConnectionId: BusinessConnectionId, starCount: Long, ): Boolean = - botApiClient.tryTransferBusinessAccountStars(TransferBusinessAccountStarsRequest(businessConnectionId, starCount)).getResultOrThrow() + botApi.botApiClient.tryTransferBusinessAccountStars(TransferBusinessAccountStarsRequest(businessConnectionId, starCount)).getResultOrThrow() /** * Returns the gifts received and owned by a managed business account. Requires the can_view_gifts_and_stars business bot right. Returns OwnedGifts on success. @@ -3343,7 +3343,7 @@ suspend fun transferBusinessAccountStars( * @param offset Offset of the first entry to return as received from the previous request; use empty string to get the first chunk of results * @param limit The maximum number of gifts to be returned; 1-100. Defaults to 100 */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callGetBusinessAccountGifts") suspend fun getBusinessAccountGifts( @@ -3357,7 +3357,7 @@ suspend fun getBusinessAccountGifts( offset: String? = null, limit: Long? = null, ): OwnedGifts = - botApiClient.tryGetBusinessAccountGifts(GetBusinessAccountGiftsRequest(businessConnectionId, excludeUnsaved, excludeSaved, excludeUnlimited, excludeLimited, excludeUnique, sortByPrice, offset, limit)).getResultOrThrow() + botApi.botApiClient.tryGetBusinessAccountGifts(GetBusinessAccountGiftsRequest(businessConnectionId, excludeUnsaved, excludeSaved, excludeUnlimited, excludeLimited, excludeUnique, sortByPrice, offset, limit)).getResultOrThrow() /** * Converts a given regular gift to Telegram Stars. Requires the can_convert_gifts_to_stars business bot right. Returns True on success. @@ -3365,14 +3365,14 @@ suspend fun getBusinessAccountGifts( * @param businessConnectionId Unique identifier of the business connection * @param ownedGiftId Unique identifier of the regular gift that should be converted to Telegram Stars */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callConvertGiftToStars") suspend fun convertGiftToStars( businessConnectionId: BusinessConnectionId, ownedGiftId: String, ): Boolean = - botApiClient.tryConvertGiftToStars(ConvertGiftToStarsRequest(businessConnectionId, ownedGiftId)).getResultOrThrow() + botApi.botApiClient.tryConvertGiftToStars(ConvertGiftToStarsRequest(businessConnectionId, ownedGiftId)).getResultOrThrow() /** * Upgrades a given regular gift to a unique gift. Requires the can_transfer_and_upgrade_gifts business bot right. Additionally requires the can_transfer_stars business bot right if the upgrade is paid. Returns True on success. @@ -3382,7 +3382,7 @@ suspend fun convertGiftToStars( * @param keepOriginalDetails Pass True to keep the original gift text, sender and receiver in the upgraded gift * @param starCount The amount of Telegram Stars that will be paid for the upgrade from the business account balance. If gift.prepaid_upgrade_star_count > 0, then pass 0, otherwise, the can_transfer_stars business bot right is required and gift.upgrade_star_count must be passed. */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callUpgradeGift") suspend fun upgradeGift( @@ -3391,7 +3391,7 @@ suspend fun upgradeGift( keepOriginalDetails: Boolean? = null, starCount: Long? = null, ): Boolean = - botApiClient.tryUpgradeGift(UpgradeGiftRequest(businessConnectionId, ownedGiftId, keepOriginalDetails, starCount)).getResultOrThrow() + botApi.botApiClient.tryUpgradeGift(UpgradeGiftRequest(businessConnectionId, ownedGiftId, keepOriginalDetails, starCount)).getResultOrThrow() /** * Transfers an owned unique gift to another user. Requires the can_transfer_and_upgrade_gifts business bot right. Requires can_transfer_stars business bot right if the transfer is paid. Returns True on success. @@ -3401,7 +3401,7 @@ suspend fun upgradeGift( * @param newOwnerChatId Unique identifier of the chat which will own the gift. The chat must be active in the last 24 hours. * @param starCount The amount of Telegram Stars that will be paid for the transfer from the business account balance. If positive, then the can_transfer_stars business bot right is required. */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callTransferGift") suspend fun transferGift( @@ -3410,7 +3410,7 @@ suspend fun transferGift( newOwnerChatId: ChatId, starCount: Long? = null, ): Boolean = - botApiClient.tryTransferGift(TransferGiftRequest(businessConnectionId, ownedGiftId, newOwnerChatId, starCount)).getResultOrThrow() + botApi.botApiClient.tryTransferGift(TransferGiftRequest(businessConnectionId, ownedGiftId, newOwnerChatId, starCount)).getResultOrThrow() /** * Posts a story on behalf of a managed business account. Requires the can_manage_stories business bot right. Returns Story on success. @@ -3425,7 +3425,7 @@ suspend fun transferGift( * @param postToChatPage Pass True to keep the story accessible after it expires * @param protectContent Pass True if the content of the story must be protected from forwarding and screenshotting */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callPostStory") suspend fun postStory( @@ -3439,7 +3439,7 @@ suspend fun postStory( postToChatPage: Boolean? = null, protectContent: Boolean? = null, ): Story = - botApiClient.tryPostStory(PostStoryRequest(businessConnectionId, content, activePeriod, caption, parseMode, captionEntities, areas, postToChatPage, protectContent)).getResultOrThrow() + botApi.botApiClient.tryPostStory(PostStoryRequest(businessConnectionId, content, activePeriod, caption, parseMode, captionEntities, areas, postToChatPage, protectContent)).getResultOrThrow() /** * Edits a story previously posted by the bot on behalf of a managed business account. Requires the can_manage_stories business bot right. Returns Story on success. @@ -3452,7 +3452,7 @@ suspend fun postStory( * @param captionEntities A JSON-serialized list of special entities that appear in the caption, which can be specified instead of parse_mode * @param areas A JSON-serialized list of clickable areas to be shown on the story */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callEditStory") suspend fun editStory( @@ -3464,7 +3464,7 @@ suspend fun editStory( captionEntities: List? = null, areas: List? = null, ): Story = - botApiClient.tryEditStory(EditStoryRequest(businessConnectionId, storyId, content, caption, parseMode, captionEntities, areas)).getResultOrThrow() + botApi.botApiClient.tryEditStory(EditStoryRequest(businessConnectionId, storyId, content, caption, parseMode, captionEntities, areas)).getResultOrThrow() /** * Deletes a story previously posted by the bot on behalf of a managed business account. Requires the can_manage_stories business bot right. Returns True on success. @@ -3472,14 +3472,14 @@ suspend fun editStory( * @param businessConnectionId Unique identifier of the business connection * @param storyId Unique identifier of the story to delete */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callDeleteStory") suspend fun deleteStory( businessConnectionId: BusinessConnectionId, storyId: Long, ): Boolean = - botApiClient.tryDeleteStory(DeleteStoryRequest(businessConnectionId, storyId)).getResultOrThrow() + botApi.botApiClient.tryDeleteStory(DeleteStoryRequest(businessConnectionId, storyId)).getResultOrThrow() /** * Use this method to send static .WEBP, animated .TGS, or video .WEBM stickers. On success, the sent Message is returned. @@ -3496,7 +3496,7 @@ suspend fun deleteStory( * @param businessConnectionId Unique identifier of the business connection on behalf of which the message will be sent * @param allowPaidBroadcast Pass True to allow up to 1000 messages per second, ignoring broadcasting limits for a fee of 0.1 Telegram Stars per message. The relevant Stars will be withdrawn from the bot's balance */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callSendSticker") suspend fun sendSticker( @@ -3512,33 +3512,33 @@ suspend fun sendSticker( businessConnectionId: BusinessConnectionId? = null, allowPaidBroadcast: Boolean? = null, ): Message = - botApiClient.trySendSticker(SendStickerRequest(chatId, sticker, messageThreadId, emoji, disableNotification, protectContent, messageEffectId, replyParameters, replyMarkup, businessConnectionId, allowPaidBroadcast)).getResultOrThrow() + botApi.botApiClient.trySendSticker(SendStickerRequest(chatId, sticker, messageThreadId, emoji, disableNotification, protectContent, messageEffectId, replyParameters, replyMarkup, businessConnectionId, allowPaidBroadcast)).getResultOrThrow() /** * Use this method to get a sticker set. On success, a StickerSet object is returned. * * @param name Name of the sticker set */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callGetStickerSet") suspend fun getStickerSet( name: String, ): StickerSet = - botApiClient.tryGetStickerSet(GetStickerSetRequest(name)).getResultOrThrow() + botApi.botApiClient.tryGetStickerSet(GetStickerSetRequest(name)).getResultOrThrow() /** * Use this method to get information about custom emoji stickers by their identifiers. Returns an Array of Sticker objects. * * @param customEmojiIds A JSON-serialized list of custom emoji identifiers. At most 200 custom emoji identifiers can be specified. */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callGetCustomEmojiStickers") suspend fun getCustomEmojiStickers( customEmojiIds: List, ): List = - botApiClient.tryGetCustomEmojiStickers(GetCustomEmojiStickersRequest(customEmojiIds)).getResultOrThrow() + botApi.botApiClient.tryGetCustomEmojiStickers(GetCustomEmojiStickersRequest(customEmojiIds)).getResultOrThrow() /** * Use this method to upload a file with a sticker for later use in the createNewStickerSet, addStickerToSet, or replaceStickerInSet methods (the file can be used multiple times). Returns the uploaded File on success. @@ -3547,7 +3547,7 @@ suspend fun getCustomEmojiStickers( * @param sticker A file with the sticker in .WEBP, .PNG, .TGS, or .WEBM format. See https://core.telegram.org/stickers for technical requirements. More information on Sending Files » * @param stickerFormat Format of the sticker, must be one of “static”, “animated”, “video” */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callUploadStickerFile") suspend fun uploadStickerFile( @@ -3555,7 +3555,7 @@ suspend fun uploadStickerFile( sticker: String, stickerFormat: String, ): File = - botApiClient.tryUploadStickerFile(UploadStickerFileRequest(userId, sticker, stickerFormat)).getResultOrThrow() + botApi.botApiClient.tryUploadStickerFile(UploadStickerFileRequest(userId, sticker, stickerFormat)).getResultOrThrow() /** * Use this method to create a new sticker set owned by a user. The bot will be able to edit the sticker set thus created. Returns True on success. @@ -3567,7 +3567,7 @@ suspend fun uploadStickerFile( * @param stickerType Type of stickers in the set, pass “regular”, “mask”, or “custom_emoji”. By default, a regular sticker set is created. * @param needsRepainting Pass True if stickers in the sticker set must be repainted to the color of text when used in messages, the accent color if used as emoji status, white on chat photos, or another appropriate color based on context; for custom emoji sticker sets only */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callCreateNewStickerSet") suspend fun createNewStickerSet( @@ -3578,7 +3578,7 @@ suspend fun createNewStickerSet( stickerType: String? = null, needsRepainting: Boolean? = null, ): Boolean = - botApiClient.tryCreateNewStickerSet(CreateNewStickerSetRequest(userId, name, title, stickers, stickerType, needsRepainting)).getResultOrThrow() + botApi.botApiClient.tryCreateNewStickerSet(CreateNewStickerSetRequest(userId, name, title, stickers, stickerType, needsRepainting)).getResultOrThrow() /** * Use this method to add a new sticker to a set created by the bot. Emoji sticker sets can have up to 200 stickers. Other sticker sets can have up to 120 stickers. Returns True on success. @@ -3587,7 +3587,7 @@ suspend fun createNewStickerSet( * @param name Sticker set name * @param sticker A JSON-serialized object with information about the added sticker. If exactly the same sticker had already been added to the set, then the set isn't changed. */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callAddStickerToSet") suspend fun addStickerToSet( @@ -3595,7 +3595,7 @@ suspend fun addStickerToSet( name: String, sticker: InputSticker, ): Boolean = - botApiClient.tryAddStickerToSet(AddStickerToSetRequest(userId, name, sticker)).getResultOrThrow() + botApi.botApiClient.tryAddStickerToSet(AddStickerToSetRequest(userId, name, sticker)).getResultOrThrow() /** * Use this method to move a sticker in a set created by the bot to a specific position. Returns True on success. @@ -3603,27 +3603,27 @@ suspend fun addStickerToSet( * @param sticker File identifier of the sticker * @param position New sticker position in the set, zero-based */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callSetStickerPositionInSet") suspend fun setStickerPositionInSet( sticker: String, position: Long, ): Boolean = - botApiClient.trySetStickerPositionInSet(SetStickerPositionInSetRequest(sticker, position)).getResultOrThrow() + botApi.botApiClient.trySetStickerPositionInSet(SetStickerPositionInSetRequest(sticker, position)).getResultOrThrow() /** * Use this method to delete a sticker from a set created by the bot. Returns True on success. * * @param sticker File identifier of the sticker */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callDeleteStickerFromSet") suspend fun deleteStickerFromSet( sticker: String, ): Boolean = - botApiClient.tryDeleteStickerFromSet(DeleteStickerFromSetRequest(sticker)).getResultOrThrow() + botApi.botApiClient.tryDeleteStickerFromSet(DeleteStickerFromSetRequest(sticker)).getResultOrThrow() /** * Use this method to replace an existing sticker in a sticker set with a new one. The method is equivalent to calling deleteStickerFromSet, then addStickerToSet, then setStickerPositionInSet. Returns True on success. @@ -3633,7 +3633,7 @@ suspend fun deleteStickerFromSet( * @param oldSticker File identifier of the replaced sticker * @param sticker A JSON-serialized object with information about the added sticker. If exactly the same sticker had already been added to the set, then the set remains unchanged. */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callReplaceStickerInSet") suspend fun replaceStickerInSet( @@ -3642,7 +3642,7 @@ suspend fun replaceStickerInSet( oldSticker: String, sticker: InputSticker, ): Boolean = - botApiClient.tryReplaceStickerInSet(ReplaceStickerInSetRequest(userId, name, oldSticker, sticker)).getResultOrThrow() + botApi.botApiClient.tryReplaceStickerInSet(ReplaceStickerInSetRequest(userId, name, oldSticker, sticker)).getResultOrThrow() /** * Use this method to change the list of emoji assigned to a regular or custom emoji sticker. The sticker must belong to a sticker set created by the bot. Returns True on success. @@ -3650,14 +3650,14 @@ suspend fun replaceStickerInSet( * @param sticker File identifier of the sticker * @param emojiList A JSON-serialized list of 1-20 emoji associated with the sticker */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callSetStickerEmojiList") suspend fun setStickerEmojiList( sticker: String, emojiList: List, ): Boolean = - botApiClient.trySetStickerEmojiList(SetStickerEmojiListRequest(sticker, emojiList)).getResultOrThrow() + botApi.botApiClient.trySetStickerEmojiList(SetStickerEmojiListRequest(sticker, emojiList)).getResultOrThrow() /** * Use this method to change search keywords assigned to a regular or custom emoji sticker. The sticker must belong to a sticker set created by the bot. Returns True on success. @@ -3665,14 +3665,14 @@ suspend fun setStickerEmojiList( * @param sticker File identifier of the sticker * @param keywords A JSON-serialized list of 0-20 search keywords for the sticker with total length of up to 64 characters */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callSetStickerKeywords") suspend fun setStickerKeywords( sticker: String, keywords: List? = null, ): Boolean = - botApiClient.trySetStickerKeywords(SetStickerKeywordsRequest(sticker, keywords)).getResultOrThrow() + botApi.botApiClient.trySetStickerKeywords(SetStickerKeywordsRequest(sticker, keywords)).getResultOrThrow() /** * Use this method to change the mask position of a mask sticker. The sticker must belong to a sticker set that was created by the bot. Returns True on success. @@ -3680,14 +3680,14 @@ suspend fun setStickerKeywords( * @param sticker File identifier of the sticker * @param maskPosition A JSON-serialized object with the position where the mask should be placed on faces. Omit the parameter to remove the mask position. */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callSetStickerMaskPosition") suspend fun setStickerMaskPosition( sticker: String, maskPosition: MaskPosition? = null, ): Boolean = - botApiClient.trySetStickerMaskPosition(SetStickerMaskPositionRequest(sticker, maskPosition)).getResultOrThrow() + botApi.botApiClient.trySetStickerMaskPosition(SetStickerMaskPositionRequest(sticker, maskPosition)).getResultOrThrow() /** * Use this method to set the title of a created sticker set. Returns True on success. @@ -3695,14 +3695,14 @@ suspend fun setStickerMaskPosition( * @param name Sticker set name * @param title Sticker set title, 1-64 characters */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callSetStickerSetTitle") suspend fun setStickerSetTitle( name: String, title: String, ): Boolean = - botApiClient.trySetStickerSetTitle(SetStickerSetTitleRequest(name, title)).getResultOrThrow() + botApi.botApiClient.trySetStickerSetTitle(SetStickerSetTitleRequest(name, title)).getResultOrThrow() /** * Use this method to set the thumbnail of a regular or mask sticker set. The format of the thumbnail file must match the format of the stickers in the set. Returns True on success. @@ -3712,7 +3712,7 @@ suspend fun setStickerSetTitle( * @param format Format of the thumbnail, must be one of “static” for a .WEBP or .PNG image, “animated” for a .TGS animation, or “video” for a .WEBM video * @param thumbnail A .WEBP or .PNG image with the thumbnail, must be up to 128 kilobytes in size and have a width and height of exactly 100px, or a .TGS animation with a thumbnail up to 32 kilobytes in size (see https://core.telegram.org/stickers#animation-requirements for animated sticker technical requirements), or a .WEBM video with the thumbnail up to 32 kilobytes in size; see https://core.telegram.org/stickers#video-requirements for video sticker technical requirements. Pass a file_id as a String to send a file that already exists on the Telegram servers, pass an HTTP URL as a String for Telegram to get a file from the Internet, or upload a new one using multipart/form-data. More information on Sending Files ». Animated and video sticker set thumbnails can't be uploaded via HTTP URL. If omitted, then the thumbnail is dropped and the first sticker is used as the thumbnail. */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callSetStickerSetThumbnail") suspend fun setStickerSetThumbnail( @@ -3721,7 +3721,7 @@ suspend fun setStickerSetThumbnail( format: String, thumbnail: String? = null, ): Boolean = - botApiClient.trySetStickerSetThumbnail(SetStickerSetThumbnailRequest(name, userId, format, thumbnail)).getResultOrThrow() + botApi.botApiClient.trySetStickerSetThumbnail(SetStickerSetThumbnailRequest(name, userId, format, thumbnail)).getResultOrThrow() /** * Use this method to set the thumbnail of a custom emoji sticker set. Returns True on success. @@ -3729,27 +3729,27 @@ suspend fun setStickerSetThumbnail( * @param name Sticker set name * @param customEmojiId Custom emoji identifier of a sticker from the sticker set; pass an empty string to drop the thumbnail and use the first sticker as the thumbnail. */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callSetCustomEmojiStickerSetThumbnail") suspend fun setCustomEmojiStickerSetThumbnail( name: String, customEmojiId: CustomEmojiId? = null, ): Boolean = - botApiClient.trySetCustomEmojiStickerSetThumbnail(SetCustomEmojiStickerSetThumbnailRequest(name, customEmojiId)).getResultOrThrow() + botApi.botApiClient.trySetCustomEmojiStickerSetThumbnail(SetCustomEmojiStickerSetThumbnailRequest(name, customEmojiId)).getResultOrThrow() /** * Use this method to delete a sticker set that was created by the bot. Returns True on success. * * @param name Sticker set name */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callDeleteStickerSet") suspend fun deleteStickerSet( name: String, ): Boolean = - botApiClient.tryDeleteStickerSet(DeleteStickerSetRequest(name)).getResultOrThrow() + botApi.botApiClient.tryDeleteStickerSet(DeleteStickerSetRequest(name)).getResultOrThrow() /** * Use this method to send answers to an inline query. On success, True is returned. No more than 50 results per query are allowed. @@ -3761,7 +3761,7 @@ suspend fun deleteStickerSet( * @param nextOffset Pass the offset that a client should send in the next query with the same text to receive more results. Pass an empty string if there are no more results or if you don't support pagination. Offset length can't exceed 64 bytes. * @param button A JSON-serialized object describing a button to be shown above inline query results */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callAnswerInlineQuery") suspend fun answerInlineQuery( @@ -3772,9 +3772,9 @@ suspend fun answerInlineQuery( nextOffset: String? = null, button: InlineQueryResultsButton? = null, ): Boolean = - botApiClient.tryAnswerInlineQuery(AnswerInlineQueryRequest(inlineQueryId, results, cacheTime, isPersonal, nextOffset, button)).getResultOrThrow() + botApi.botApiClient.tryAnswerInlineQuery(AnswerInlineQueryRequest(inlineQueryId, results, cacheTime, isPersonal, nextOffset, button)).getResultOrThrow() -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) suspend fun InlineQuery.answer( results: List, @@ -3785,7 +3785,7 @@ suspend fun InlineQuery.answer( ): Boolean = answerInlineQuery(id, results, cacheTime, isPersonal, nextOffset, button) -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) suspend fun InlineQueryId.answer( results: List, @@ -3802,14 +3802,14 @@ suspend fun InlineQueryId.answer( * @param webAppQueryId Unique identifier for the query to be answered * @param result A JSON-serialized object describing the message to be sent */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callAnswerWebAppQuery") suspend fun answerWebAppQuery( webAppQueryId: WebAppQueryId, result: InlineQueryResult, ): SentWebAppMessage = - botApiClient.tryAnswerWebAppQuery(AnswerWebAppQueryRequest(webAppQueryId, result)).getResultOrThrow() + botApi.botApiClient.tryAnswerWebAppQuery(AnswerWebAppQueryRequest(webAppQueryId, result)).getResultOrThrow() /** * Stores a message that can be sent by a user of a Mini App. Returns a PreparedInlineMessage object. @@ -3821,7 +3821,7 @@ suspend fun answerWebAppQuery( * @param allowGroupChats Pass True if the message can be sent to group and supergroup chats * @param allowChannelChats Pass True if the message can be sent to channel chats */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callSavePreparedInlineMessage") suspend fun savePreparedInlineMessage( @@ -3832,7 +3832,7 @@ suspend fun savePreparedInlineMessage( allowGroupChats: Boolean? = null, allowChannelChats: Boolean? = null, ): PreparedInlineMessage = - botApiClient.trySavePreparedInlineMessage(SavePreparedInlineMessageRequest(userId, result, allowUserChats, allowBotChats, allowGroupChats, allowChannelChats)).getResultOrThrow() + botApi.botApiClient.trySavePreparedInlineMessage(SavePreparedInlineMessageRequest(userId, result, allowUserChats, allowBotChats, allowGroupChats, allowChannelChats)).getResultOrThrow() /** * Use this method to send invoices. On success, the sent Message is returned. @@ -3867,7 +3867,7 @@ suspend fun savePreparedInlineMessage( * @param replyMarkup A JSON-serialized object for an inline keyboard. If empty, one 'Pay total price' button will be shown. If not empty, the first button must be a Pay button. * @param allowPaidBroadcast Pass True to allow up to 1000 messages per second, ignoring broadcasting limits for a fee of 0.1 Telegram Stars per message. The relevant Stars will be withdrawn from the bot's balance */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callSendInvoice") suspend fun sendInvoice( @@ -3901,7 +3901,7 @@ suspend fun sendInvoice( replyMarkup: InlineKeyboardMarkup? = null, allowPaidBroadcast: Boolean? = null, ): Message = - botApiClient.trySendInvoice(SendInvoiceRequest(chatId, title, description, payload, currency, prices, messageThreadId, providerToken, maxTipAmount, suggestedTipAmounts, startParameter, providerData, photoUrl, photoSize, photoWidth, photoHeight, needName, needPhoneNumber, needEmail, needShippingAddress, sendPhoneNumberToProvider, sendEmailToProvider, isFlexible, disableNotification, protectContent, messageEffectId, replyParameters, replyMarkup, allowPaidBroadcast)).getResultOrThrow() + botApi.botApiClient.trySendInvoice(SendInvoiceRequest(chatId, title, description, payload, currency, prices, messageThreadId, providerToken, maxTipAmount, suggestedTipAmounts, startParameter, providerData, photoUrl, photoSize, photoWidth, photoHeight, needName, needPhoneNumber, needEmail, needShippingAddress, sendPhoneNumberToProvider, sendEmailToProvider, isFlexible, disableNotification, protectContent, messageEffectId, replyParameters, replyMarkup, allowPaidBroadcast)).getResultOrThrow() /** * Use this method to create a link for an invoice. Returns the created invoice link as String on success. @@ -3929,7 +3929,7 @@ suspend fun sendInvoice( * @param businessConnectionId Unique identifier of the business connection on behalf of which the link will be created. For payments in Telegram Stars only. * @param subscriptionPeriod The number of seconds the subscription will be active for before the next payment. The currency must be set to “XTR” (Telegram Stars) if the parameter is used. Currently, it must always be 2592000 (30 days) if specified. Any number of subscriptions can be active for a given bot at the same time, including multiple concurrent subscriptions from the same user. Subscription price must no exceed 10000 Telegram Stars. */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callCreateInvoiceLink") suspend fun createInvoiceLink( @@ -3956,7 +3956,7 @@ suspend fun createInvoiceLink( businessConnectionId: BusinessConnectionId? = null, subscriptionPeriod: Seconds? = null, ): String = - botApiClient.tryCreateInvoiceLink(CreateInvoiceLinkRequest(title, description, payload, currency, prices, providerToken, maxTipAmount, suggestedTipAmounts, providerData, photoUrl, photoSize, photoWidth, photoHeight, needName, needPhoneNumber, needEmail, needShippingAddress, sendPhoneNumberToProvider, sendEmailToProvider, isFlexible, businessConnectionId, subscriptionPeriod)).getResultOrThrow() + botApi.botApiClient.tryCreateInvoiceLink(CreateInvoiceLinkRequest(title, description, payload, currency, prices, providerToken, maxTipAmount, suggestedTipAmounts, providerData, photoUrl, photoSize, photoWidth, photoHeight, needName, needPhoneNumber, needEmail, needShippingAddress, sendPhoneNumberToProvider, sendEmailToProvider, isFlexible, businessConnectionId, subscriptionPeriod)).getResultOrThrow() /** * If you sent an invoice requesting a shipping address and the parameter is_flexible was specified, the Bot API will send an Update with a shipping_query field to the bot. Use this method to reply to shipping queries. On success, True is returned. @@ -3966,7 +3966,7 @@ suspend fun createInvoiceLink( * @param shippingOptions Required if ok is True. A JSON-serialized array of available shipping options. * @param errorMessage Required if ok is False. Error message in human readable form that explains why it is impossible to complete the order (e.g. “Sorry, delivery to your desired address is unavailable”). Telegram will display this message to the user. */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callAnswerShippingQuery") suspend fun answerShippingQuery( @@ -3975,7 +3975,7 @@ suspend fun answerShippingQuery( shippingOptions: List? = null, errorMessage: String? = null, ): Boolean = - botApiClient.tryAnswerShippingQuery(AnswerShippingQueryRequest(shippingQueryId, ok, shippingOptions, errorMessage)).getResultOrThrow() + botApi.botApiClient.tryAnswerShippingQuery(AnswerShippingQueryRequest(shippingQueryId, ok, shippingOptions, errorMessage)).getResultOrThrow() /** * Once the user has confirmed their payment and shipping details, the Bot API sends the final confirmation in the form of an Update with the field pre_checkout_query. Use this method to respond to such pre-checkout queries. On success, True is returned. Note: The Bot API must receive an answer within 10 seconds after the pre-checkout query was sent. @@ -3984,7 +3984,7 @@ suspend fun answerShippingQuery( * @param ok Specify True if everything is alright (goods are available, etc.) and the bot is ready to proceed with the order. Use False if there are any problems. * @param errorMessage Required if ok is False. Error message in human readable form that explains the reason for failure to proceed with the checkout (e.g. "Sorry, somebody just bought the last of our amazing black T-shirts while you were busy filling out your payment details. Please choose a different color or garment!"). Telegram will display this message to the user. */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callAnswerPreCheckoutQuery") suspend fun answerPreCheckoutQuery( @@ -3992,7 +3992,7 @@ suspend fun answerPreCheckoutQuery( ok: Boolean, errorMessage: String? = null, ): Boolean = - botApiClient.tryAnswerPreCheckoutQuery(AnswerPreCheckoutQueryRequest(preCheckoutQueryId, ok, errorMessage)).getResultOrThrow() + botApi.botApiClient.tryAnswerPreCheckoutQuery(AnswerPreCheckoutQueryRequest(preCheckoutQueryId, ok, errorMessage)).getResultOrThrow() /** * Returns the bot's Telegram Star transactions in chronological order. On success, returns a StarTransactions object. @@ -4000,14 +4000,14 @@ suspend fun answerPreCheckoutQuery( * @param offset Number of transactions to skip in the response * @param limit The maximum number of transactions to be retrieved. Values between 1-100 are accepted. Defaults to 100. */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callGetStarTransactions") suspend fun getStarTransactions( offset: Long? = null, limit: Long? = null, ): StarTransactions = - botApiClient.tryGetStarTransactions(GetStarTransactionsRequest(offset, limit)).getResultOrThrow() + botApi.botApiClient.tryGetStarTransactions(GetStarTransactionsRequest(offset, limit)).getResultOrThrow() /** * Refunds a successful payment in Telegram Stars. Returns True on success. @@ -4015,14 +4015,14 @@ suspend fun getStarTransactions( * @param userId Identifier of the user whose payment will be refunded * @param telegramPaymentChargeId Telegram payment identifier */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callRefundStarPayment") suspend fun refundStarPayment( userId: UserId, telegramPaymentChargeId: TelegramPaymentChargeId, ): Boolean = - botApiClient.tryRefundStarPayment(RefundStarPaymentRequest(userId, telegramPaymentChargeId)).getResultOrThrow() + botApi.botApiClient.tryRefundStarPayment(RefundStarPaymentRequest(userId, telegramPaymentChargeId)).getResultOrThrow() /** * Allows the bot to cancel or re-enable extension of a subscription paid in Telegram Stars. Returns True on success. @@ -4031,7 +4031,7 @@ suspend fun refundStarPayment( * @param telegramPaymentChargeId Telegram payment identifier for the subscription * @param isCanceled Pass True to cancel extension of the user subscription; the subscription must be active up to the end of the current subscription period. Pass False to allow the user to re-enable a subscription that was previously canceled by the bot. */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callEditUserStarSubscription") suspend fun editUserStarSubscription( @@ -4039,7 +4039,7 @@ suspend fun editUserStarSubscription( telegramPaymentChargeId: TelegramPaymentChargeId, isCanceled: Boolean, ): Boolean = - botApiClient.tryEditUserStarSubscription(EditUserStarSubscriptionRequest(userId, telegramPaymentChargeId, isCanceled)).getResultOrThrow() + botApi.botApiClient.tryEditUserStarSubscription(EditUserStarSubscriptionRequest(userId, telegramPaymentChargeId, isCanceled)).getResultOrThrow() /** * Informs a user that some of the Telegram Passport elements they provided contains errors. The user will not be able to re-submit their Passport to you until the errors are fixed (the contents of the field for which you returned the error must change). Returns True on success. @@ -4049,14 +4049,14 @@ suspend fun editUserStarSubscription( * @param userId User identifier * @param errors A JSON-serialized array describing the errors */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callSetPassportDataErrors") suspend fun setPassportDataErrors( userId: UserId, errors: List, ): Boolean = - botApiClient.trySetPassportDataErrors(SetPassportDataErrorsRequest(userId, errors)).getResultOrThrow() + botApi.botApiClient.trySetPassportDataErrors(SetPassportDataErrorsRequest(userId, errors)).getResultOrThrow() /** * Use this method to send a game. On success, the sent Message is returned. @@ -4072,7 +4072,7 @@ suspend fun setPassportDataErrors( * @param businessConnectionId Unique identifier of the business connection on behalf of which the message will be sent * @param allowPaidBroadcast Pass True to allow up to 1000 messages per second, ignoring broadcasting limits for a fee of 0.1 Telegram Stars per message. The relevant Stars will be withdrawn from the bot's balance */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callSendGame") suspend fun sendGame( @@ -4087,7 +4087,7 @@ suspend fun sendGame( businessConnectionId: BusinessConnectionId? = null, allowPaidBroadcast: Boolean? = null, ): Message = - botApiClient.trySendGame(SendGameRequest(chatId, gameShortName, messageThreadId, disableNotification, protectContent, messageEffectId, replyParameters, replyMarkup, businessConnectionId, allowPaidBroadcast)).getResultOrThrow() + botApi.botApiClient.trySendGame(SendGameRequest(chatId, gameShortName, messageThreadId, disableNotification, protectContent, messageEffectId, replyParameters, replyMarkup, businessConnectionId, allowPaidBroadcast)).getResultOrThrow() /** * Use this method to set the score of the specified user in a game message. On success the edited Message is returned. Returns an error, if the new score is not greater than the user's current score in the chat and force is False. @@ -4099,7 +4099,7 @@ suspend fun sendGame( * @param chatId Required if inline_message_id is not specified. Unique identifier for the target chat * @param messageId Required if inline_message_id is not specified. Identifier of the sent message */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callSetGameScore") suspend fun setGameScore( @@ -4110,7 +4110,7 @@ suspend fun setGameScore( chatId: ChatId, messageId: MessageId, ): Message = - botApiClient.trySetGameScore(SetGameScoreRequest(userId = userId, score = score, force = force, disableEditMessage = disableEditMessage, chatId = chatId, messageId = messageId)).getResultOrThrow() + botApi.botApiClient.trySetGameScore(SetGameScoreRequest(userId = userId, score = score, force = force, disableEditMessage = disableEditMessage, chatId = chatId, messageId = messageId)).getResultOrThrow() /** * Use this method to set the score of the specified user in a game message. On success True is returned. Returns an error, if the new score is not greater than the user's current score in the chat and force is False. @@ -4121,7 +4121,7 @@ suspend fun setGameScore( * @param disableEditMessage Pass True if the game message should not be automatically edited to include the current scoreboard * @param inlineMessageId Required if chat_id and message_id are not specified. Identifier of the inline message */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callSetInlineGameScore") suspend fun setInlineGameScore( @@ -4131,7 +4131,7 @@ suspend fun setInlineGameScore( disableEditMessage: Boolean? = null, inlineMessageId: InlineMessageId, ): Boolean = - botApiClient.trySetInlineGameScore(SetGameScoreRequest(userId = userId, score = score, force = force, disableEditMessage = disableEditMessage, inlineMessageId = inlineMessageId)).getResultOrThrow() + botApi.botApiClient.trySetInlineGameScore(SetGameScoreRequest(userId = userId, score = score, force = force, disableEditMessage = disableEditMessage, inlineMessageId = inlineMessageId)).getResultOrThrow() /** * Use this method to get data for high score tables. Will return the score of the specified user and several of their neighbors in a game. Returns an Array of GameHighScore objects. @@ -4143,7 +4143,7 @@ suspend fun setInlineGameScore( * @param messageId Required if inline_message_id is not specified. Identifier of the sent message * @param inlineMessageId Required if chat_id and message_id are not specified. Identifier of the inline message */ -context(TelegramBotApiContext) +context(botApi: TelegramBotApiContext) @Throws(TelegramBotApiException::class) @JvmName("callGetGameHighScores") suspend fun getGameHighScores( @@ -4152,4 +4152,4 @@ suspend fun getGameHighScores( messageId: MessageId? = null, inlineMessageId: InlineMessageId? = null, ): List = - botApiClient.tryGetGameHighScores(GetGameHighScoresRequest(userId, chatId, messageId, inlineMessageId)).getResultOrThrow() + botApi.botApiClient.tryGetGameHighScores(GetGameHighScoresRequest(userId, chatId, messageId, inlineMessageId)).getResultOrThrow() diff --git a/src/main/kotlin/me/alllex/tbot/api/client/TelegramBotUpdateHandler.kt b/src/main/kotlin/me/alllex/tbot/api/client/TelegramBotUpdateHandler.kt index 5a18924..d24e404 100644 --- a/src/main/kotlin/me/alllex/tbot/api/client/TelegramBotUpdateHandler.kt +++ b/src/main/kotlin/me/alllex/tbot/api/client/TelegramBotUpdateHandler.kt @@ -3,6 +3,6 @@ package me.alllex.tbot.api.client fun interface TelegramBotUpdateHandler { - context(TelegramBotApiContext) + context(botApi: TelegramBotApiContext) suspend fun handle(update: T) }