From ffba4e9cef9d91d50aad1f89f22290357bc56e7b Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Sat, 16 Mar 2024 21:21:34 +0600 Subject: [PATCH] renamed several types --- CHANGELOG.md | 4 +- tgbotapi.api/api/tgbotapi.api.api | 4 +- .../api/InternalUtils/UpdatesUtils.kt | 4 +- .../api/answers/AnswerCallbackQuery.kt | 4 +- .../api/tgbotapi.behaviour_builder.api | 2 +- tgbotapi.core/api/tgbotapi.core.api | 182 +++++++++--------- .../requests/answers/AnswerCallbackQuery.kt | 2 +- .../inmo/tgbotapi/types/CallbackQueryId.kt | 13 ++ .../tgbotapi/types/CallbackQueryIdentifier.kt | 10 - ...essageIdentifier.kt => InlineMessageId.kt} | 0 .../dev/inmo/tgbotapi/types/MediaGroupId.kt | 13 ++ .../tgbotapi/types/MediaGroupIdentifier.kt | 10 - .../message/ChannelContentMessageImpl.kt | 4 +- .../tgbotapi/types/message/GroupMessages.kt | 28 +-- .../message/PrivateContentMessageImpl.kt | 4 +- .../inmo/tgbotapi/types/message/RawMessage.kt | 2 +- .../abstracts/PossiblyMediaGroupMessage.kt | 4 +- .../types/message/content/AbstractsMedia.kt | 6 +- .../message/content/MediaGroupContent.kt | 2 +- .../types/queries/callback/CallbackQuery.kt | 7 +- .../InaccessibleMessageDataCallbackQuery.kt | 7 +- ...ssibleMessageGameShortNameCallbackQuery.kt | 7 +- .../InlineMessageIdDataCallbackQuery.kt | 2 +- ...lineMessageIdGameShortNameCallbackQuery.kt | 2 +- .../callback/MessageDataCallbackQuery.kt | 5 +- .../MessageGameShortNameCallbackQuery.kt | 5 +- .../queries/callback/RawCallbackQuery.kt | 2 +- .../utils/extensions/raw/Message.kt | 2 +- .../extensions/utils/updates/UpdatesUtils.kt | 4 +- 29 files changed, 168 insertions(+), 173 deletions(-) create mode 100644 tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/CallbackQueryId.kt delete mode 100644 tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/CallbackQueryIdentifier.kt rename tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/{InlineMessageIdentifier.kt => InlineMessageId.kt} (100%) create mode 100644 tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/MediaGroupId.kt delete mode 100644 tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/MediaGroupIdentifier.kt diff --git a/CHANGELOG.md b/CHANGELOG.md index b83bccf2f3..bd186077d1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,8 +8,8 @@ * `MessageId` now is `value class`. `MessageIdentifier` become deprecated * `MessageThreadId` now is `value class` * `InlineQueryIdentifier` now is `value class` - * `MediaGroupIdentifier` now is `value class` - * `CallbackQueryIdentifier` now is `value class` + * `MediaGroupIdentifier` has been renamed to `MediaGroupId` and now is `value class` + * `CallbackQueryIdentifier` has been renamed to `CallbackQueryId` and now is `value class` * `WebAppQueryId` now is `value class` * `PreCheckoutQueryId` now is `value class` * `FileUniqueId` has been renamed to `TgFileUniqueId` and now is `value class` diff --git a/tgbotapi.api/api/tgbotapi.api.api b/tgbotapi.api/api/tgbotapi.api.api index 266cd347f3..a4cd3db7ae 100644 --- a/tgbotapi.api/api/tgbotapi.api.api +++ b/tgbotapi.api/api/tgbotapi.api.api @@ -206,8 +206,8 @@ public final class dev/inmo/tgbotapi/extensions/api/answers/AnswerCallbackQueryK public static synthetic fun answer$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/queries/callback/CallbackQuery;Ljava/lang/String;Ljava/lang/Boolean;Ljava/lang/String;Ljava/lang/Integer;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; public static final fun answerCallbackQuery (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/queries/callback/CallbackQuery;Ljava/lang/String;Ljava/lang/Boolean;Ljava/lang/String;Ljava/lang/Integer;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static synthetic fun answerCallbackQuery$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/queries/callback/CallbackQuery;Ljava/lang/String;Ljava/lang/Boolean;Ljava/lang/String;Ljava/lang/Integer;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static final fun answerCallbackQuery-2Vp8Toc (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Boolean;Ljava/lang/String;Ljava/lang/Integer;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static synthetic fun answerCallbackQuery-2Vp8Toc$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Boolean;Ljava/lang/String;Ljava/lang/Integer;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static final fun answerCallbackQuery-bf1AZNA (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Boolean;Ljava/lang/String;Ljava/lang/Integer;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun answerCallbackQuery-bf1AZNA$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Boolean;Ljava/lang/String;Ljava/lang/Integer;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; } public final class dev/inmo/tgbotapi/extensions/api/answers/AnswerInlineQueryKt { diff --git a/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/InternalUtils/UpdatesUtils.kt b/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/InternalUtils/UpdatesUtils.kt index 387872f07a..dfc627dd14 100644 --- a/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/InternalUtils/UpdatesUtils.kt +++ b/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/InternalUtils/UpdatesUtils.kt @@ -1,6 +1,6 @@ package dev.inmo.tgbotapi.extensions.api.InternalUtils -import dev.inmo.tgbotapi.types.MediaGroupIdentifier +import dev.inmo.tgbotapi.types.MediaGroupId import dev.inmo.tgbotapi.types.message.abstracts.PossiblySentViaBotCommonMessage import dev.inmo.tgbotapi.types.message.content.MediaGroupPartContent import dev.inmo.tgbotapi.types.update.* @@ -12,7 +12,7 @@ import dev.inmo.tgbotapi.utils.extensions.asMediaGroupMessage */ internal fun List.convertWithMediaGroupUpdates(): List { val resultUpdates = mutableListOf() - val mediaGroups = mutableMapOf>>>() + val mediaGroups = mutableMapOf>>>() for (update in this) { val message = (update.data as? PossiblySentViaBotCommonMessage<*>) ?.let { diff --git a/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/answers/AnswerCallbackQuery.kt b/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/answers/AnswerCallbackQuery.kt index 7de2ae0b62..3eedd99183 100644 --- a/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/answers/AnswerCallbackQuery.kt +++ b/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/answers/AnswerCallbackQuery.kt @@ -3,10 +3,10 @@ package dev.inmo.tgbotapi.extensions.api.answers import dev.inmo.tgbotapi.bot.TelegramBot import dev.inmo.tgbotapi.requests.answers.AnswerCallbackQuery import dev.inmo.tgbotapi.types.queries.callback.CallbackQuery -import dev.inmo.tgbotapi.types.CallbackQueryIdentifier +import dev.inmo.tgbotapi.types.CallbackQueryId suspend fun TelegramBot.answerCallbackQuery( - callbackQueryId: CallbackQueryIdentifier, + callbackQueryId: CallbackQueryId, text: String? = null, showAlert: Boolean? = null, url: String? = null, diff --git a/tgbotapi.behaviour_builder/api/tgbotapi.behaviour_builder.api b/tgbotapi.behaviour_builder/api/tgbotapi.behaviour_builder.api index 09ae932b2f..f60406bed6 100644 --- a/tgbotapi.behaviour_builder/api/tgbotapi.behaviour_builder.api +++ b/tgbotapi.behaviour_builder/api/tgbotapi.behaviour_builder.api @@ -1304,7 +1304,7 @@ public final class dev/inmo/tgbotapi/extensions/behaviour_builder/utils/marker_f public final class dev/inmo/tgbotapi/extensions/behaviour_builder/utils/marker_factories/ByIdCallbackQueryMarkerFactory : dev/inmo/tgbotapi/extensions/behaviour_builder/utils/marker_factories/MarkerFactory { public static final field INSTANCE Ldev/inmo/tgbotapi/extensions/behaviour_builder/utils/marker_factories/ByIdCallbackQueryMarkerFactory; public synthetic fun invoke (Ljava/lang/Object;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public fun invoke-8RLmks4 (Ldev/inmo/tgbotapi/types/queries/callback/CallbackQuery;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public fun invoke-gcdXFtE (Ldev/inmo/tgbotapi/types/queries/callback/CallbackQuery;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; } public final class dev/inmo/tgbotapi/extensions/behaviour_builder/utils/marker_factories/ByIdChatBoostRemovedMarkerFactory : dev/inmo/tgbotapi/extensions/behaviour_builder/utils/marker_factories/MarkerFactory { diff --git a/tgbotapi.core/api/tgbotapi.core.api b/tgbotapi.core/api/tgbotapi.core.api index 345cb4c88a..e3e869ab7d 100644 --- a/tgbotapi.core/api/tgbotapi.core.api +++ b/tgbotapi.core/api/tgbotapi.core.api @@ -938,16 +938,16 @@ public final class dev/inmo/tgbotapi/requests/answers/AnswerCallbackQuery : dev/ public static final field Companion Ldev/inmo/tgbotapi/requests/answers/AnswerCallbackQuery$Companion; public synthetic fun (Ljava/lang/String;Ljava/lang/String;Ljava/lang/Boolean;Ljava/lang/String;Ljava/lang/Integer;ILkotlin/jvm/internal/DefaultConstructorMarker;)V public synthetic fun (Ljava/lang/String;Ljava/lang/String;Ljava/lang/Boolean;Ljava/lang/String;Ljava/lang/Integer;Lkotlin/jvm/internal/DefaultConstructorMarker;)V - public final fun component1-W_Rpwvk ()Ljava/lang/String; + public final fun component1-WfrJ78I ()Ljava/lang/String; public final fun component2 ()Ljava/lang/String; public final fun component3 ()Ljava/lang/Boolean; public final fun component4 ()Ljava/lang/String; public final fun component5 ()Ljava/lang/Integer; - public final fun copy-DSWifT0 (Ljava/lang/String;Ljava/lang/String;Ljava/lang/Boolean;Ljava/lang/String;Ljava/lang/Integer;)Ldev/inmo/tgbotapi/requests/answers/AnswerCallbackQuery; - public static synthetic fun copy-DSWifT0$default (Ldev/inmo/tgbotapi/requests/answers/AnswerCallbackQuery;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Boolean;Ljava/lang/String;Ljava/lang/Integer;ILjava/lang/Object;)Ldev/inmo/tgbotapi/requests/answers/AnswerCallbackQuery; + public final fun copy-yuX4cWQ (Ljava/lang/String;Ljava/lang/String;Ljava/lang/Boolean;Ljava/lang/String;Ljava/lang/Integer;)Ldev/inmo/tgbotapi/requests/answers/AnswerCallbackQuery; + public static synthetic fun copy-yuX4cWQ$default (Ldev/inmo/tgbotapi/requests/answers/AnswerCallbackQuery;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Boolean;Ljava/lang/String;Ljava/lang/Integer;ILjava/lang/Object;)Ldev/inmo/tgbotapi/requests/answers/AnswerCallbackQuery; public fun equals (Ljava/lang/Object;)Z public final fun getCachedTimeSeconds ()Ljava/lang/Integer; - public final fun getCallbackQueryId-W_Rpwvk ()Ljava/lang/String; + public final fun getCallbackQueryId-WfrJ78I ()Ljava/lang/String; public fun getRequestSerializer ()Lkotlinx/serialization/SerializationStrategy; public fun getResultDeserializer ()Lkotlinx/serialization/DeserializationStrategy; public final fun getShowAlert ()Ljava/lang/Boolean; @@ -7128,9 +7128,9 @@ public final class dev/inmo/tgbotapi/types/BotShortDescription$Companion { public final fun serializer ()Lkotlinx/serialization/KSerializer; } -public final class dev/inmo/tgbotapi/types/CallbackQueryIdentifier { - public static final field Companion Ldev/inmo/tgbotapi/types/CallbackQueryIdentifier$Companion; - public static final synthetic fun box-impl (Ljava/lang/String;)Ldev/inmo/tgbotapi/types/CallbackQueryIdentifier; +public final class dev/inmo/tgbotapi/types/CallbackQueryId { + public static final field Companion Ldev/inmo/tgbotapi/types/CallbackQueryId$Companion; + public static final synthetic fun box-impl (Ljava/lang/String;)Ldev/inmo/tgbotapi/types/CallbackQueryId; public static fun constructor-impl (Ljava/lang/String;)Ljava/lang/String; public fun equals (Ljava/lang/Object;)Z public static fun equals-impl (Ljava/lang/String;Ljava/lang/Object;)Z @@ -7143,18 +7143,18 @@ public final class dev/inmo/tgbotapi/types/CallbackQueryIdentifier { public final synthetic fun unbox-impl ()Ljava/lang/String; } -public final class dev/inmo/tgbotapi/types/CallbackQueryIdentifier$$serializer : kotlinx/serialization/internal/GeneratedSerializer { - public static final field INSTANCE Ldev/inmo/tgbotapi/types/CallbackQueryIdentifier$$serializer; +public final class dev/inmo/tgbotapi/types/CallbackQueryId$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Ldev/inmo/tgbotapi/types/CallbackQueryId$$serializer; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; - public fun deserialize-bLVZuG0 (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/String; + public fun deserialize-hBO2T7k (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/String; public fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V - public fun serialize-hp_ZFtE (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/String;)V + public fun serialize-qx7fctY (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/String;)V public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } -public final class dev/inmo/tgbotapi/types/CallbackQueryIdentifier$Companion { +public final class dev/inmo/tgbotapi/types/CallbackQueryId$Companion { public final fun serializer ()Lkotlinx/serialization/KSerializer; } @@ -9843,9 +9843,9 @@ public final class dev/inmo/tgbotapi/types/LoginURL$Companion { public final fun serializer ()Lkotlinx/serialization/KSerializer; } -public final class dev/inmo/tgbotapi/types/MediaGroupIdentifier { - public static final field Companion Ldev/inmo/tgbotapi/types/MediaGroupIdentifier$Companion; - public static final synthetic fun box-impl (Ljava/lang/String;)Ldev/inmo/tgbotapi/types/MediaGroupIdentifier; +public final class dev/inmo/tgbotapi/types/MediaGroupId { + public static final field Companion Ldev/inmo/tgbotapi/types/MediaGroupId$Companion; + public static final synthetic fun box-impl (Ljava/lang/String;)Ldev/inmo/tgbotapi/types/MediaGroupId; public static fun constructor-impl (Ljava/lang/String;)Ljava/lang/String; public fun equals (Ljava/lang/Object;)Z public static fun equals-impl (Ljava/lang/String;Ljava/lang/Object;)Z @@ -9858,18 +9858,18 @@ public final class dev/inmo/tgbotapi/types/MediaGroupIdentifier { public final synthetic fun unbox-impl ()Ljava/lang/String; } -public final class dev/inmo/tgbotapi/types/MediaGroupIdentifier$$serializer : kotlinx/serialization/internal/GeneratedSerializer { - public static final field INSTANCE Ldev/inmo/tgbotapi/types/MediaGroupIdentifier$$serializer; +public final class dev/inmo/tgbotapi/types/MediaGroupId$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Ldev/inmo/tgbotapi/types/MediaGroupId$$serializer; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; - public fun deserialize-aJNhvPs (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/String; + public fun deserialize-2TVM87E (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/String; public fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V - public fun serialize-L3vfk7A (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/String;)V + public fun serialize-AblidI4 (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/String;)V public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } -public final class dev/inmo/tgbotapi/types/MediaGroupIdentifier$Companion { +public final class dev/inmo/tgbotapi/types/MediaGroupId$Companion { public final fun serializer ()Lkotlinx/serialization/KSerializer; } @@ -16522,7 +16522,7 @@ public final class dev/inmo/tgbotapi/types/message/AnonymousForumContentMessageI public final fun component10 ()Ldev/inmo/tgbotapi/types/message/content/MessageContent; public final fun component11 ()Ldev/inmo/tgbotapi/types/chat/CommonBot; public final fun component12 ()Ljava/lang/String; - public final fun component13-6ceS_JY ()Ljava/lang/String; + public final fun component13-CsYhHCU ()Ljava/lang/String; public final fun component2-APLFQys ()J public final fun component3-hDmiKeI ()J public final fun component4-Wg0KzQs ()D @@ -16531,8 +16531,8 @@ public final class dev/inmo/tgbotapi/types/message/AnonymousForumContentMessageI public final fun component7 ()Z public final fun component8 ()Ldev/inmo/tgbotapi/types/ReplyInfo; public final fun component9 ()Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup; - public final fun copy-hpNURtQ (Ldev/inmo/tgbotapi/types/chat/PreviewForumChat;JJDLdev/inmo/tgbotapi/types/message/MessageOrigin;Lkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/ReplyInfo;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/message/content/MessageContent;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ljava/lang/String;Ljava/lang/String;)Ldev/inmo/tgbotapi/types/message/AnonymousForumContentMessageImpl; - public static synthetic fun copy-hpNURtQ$default (Ldev/inmo/tgbotapi/types/message/AnonymousForumContentMessageImpl;Ldev/inmo/tgbotapi/types/chat/PreviewForumChat;JJDLdev/inmo/tgbotapi/types/message/MessageOrigin;Lkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/ReplyInfo;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/message/content/MessageContent;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ljava/lang/String;Ljava/lang/String;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/message/AnonymousForumContentMessageImpl; + public final fun copy-xJSvflQ (Ldev/inmo/tgbotapi/types/chat/PreviewForumChat;JJDLdev/inmo/tgbotapi/types/message/MessageOrigin;Lkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/ReplyInfo;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/message/content/MessageContent;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ljava/lang/String;Ljava/lang/String;)Ldev/inmo/tgbotapi/types/message/AnonymousForumContentMessageImpl; + public static synthetic fun copy-xJSvflQ$default (Ldev/inmo/tgbotapi/types/message/AnonymousForumContentMessageImpl;Ldev/inmo/tgbotapi/types/chat/PreviewForumChat;JJDLdev/inmo/tgbotapi/types/message/MessageOrigin;Lkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/ReplyInfo;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/message/content/MessageContent;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ljava/lang/String;Ljava/lang/String;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/message/AnonymousForumContentMessageImpl; public fun equals (Ljava/lang/Object;)Z public fun getAuthorSignature ()Ljava/lang/String; public synthetic fun getChat ()Ldev/inmo/tgbotapi/types/chat/PreviewChat; @@ -16546,7 +16546,7 @@ public final class dev/inmo/tgbotapi/types/message/AnonymousForumContentMessageI public fun getForwardOrigin ()Ldev/inmo/tgbotapi/types/message/MessageOrigin; public fun getForwardable ()Z public fun getHasProtectedContent ()Z - public fun getMediaGroupId-6ceS_JY ()Ljava/lang/String; + public fun getMediaGroupId-CsYhHCU ()Ljava/lang/String; public fun getMessageId-APLFQys ()J public fun getMetaInfo-fV8YnZ8 ()Lkotlin/Triple; public fun getReplyInfo ()Ldev/inmo/tgbotapi/types/ReplyInfo; @@ -16567,7 +16567,7 @@ public final class dev/inmo/tgbotapi/types/message/AnonymousGroupContentMessageI public final fun component1 ()Ldev/inmo/tgbotapi/types/chat/PreviewGroupChat; public final fun component10 ()Ldev/inmo/tgbotapi/types/chat/CommonBot; public final fun component11 ()Ljava/lang/String; - public final fun component12-6ceS_JY ()Ljava/lang/String; + public final fun component12-CsYhHCU ()Ljava/lang/String; public final fun component2-APLFQys ()J public final fun component3-Wg0KzQs ()D public final fun component4 ()Ldev/inmo/tgbotapi/types/message/MessageOrigin; @@ -16576,8 +16576,8 @@ public final class dev/inmo/tgbotapi/types/message/AnonymousGroupContentMessageI public final fun component7 ()Ldev/inmo/tgbotapi/types/ReplyInfo; public final fun component8 ()Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup; public final fun component9 ()Ldev/inmo/tgbotapi/types/message/content/MessageContent; - public final fun copy-YFjfKao (Ldev/inmo/tgbotapi/types/chat/PreviewGroupChat;JDLdev/inmo/tgbotapi/types/message/MessageOrigin;Lkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/ReplyInfo;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/message/content/MessageContent;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ljava/lang/String;Ljava/lang/String;)Ldev/inmo/tgbotapi/types/message/AnonymousGroupContentMessageImpl; - public static synthetic fun copy-YFjfKao$default (Ldev/inmo/tgbotapi/types/message/AnonymousGroupContentMessageImpl;Ldev/inmo/tgbotapi/types/chat/PreviewGroupChat;JDLdev/inmo/tgbotapi/types/message/MessageOrigin;Lkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/ReplyInfo;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/message/content/MessageContent;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ljava/lang/String;Ljava/lang/String;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/message/AnonymousGroupContentMessageImpl; + public final fun copy-SFnDJMY (Ldev/inmo/tgbotapi/types/chat/PreviewGroupChat;JDLdev/inmo/tgbotapi/types/message/MessageOrigin;Lkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/ReplyInfo;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/message/content/MessageContent;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ljava/lang/String;Ljava/lang/String;)Ldev/inmo/tgbotapi/types/message/AnonymousGroupContentMessageImpl; + public static synthetic fun copy-SFnDJMY$default (Ldev/inmo/tgbotapi/types/message/AnonymousGroupContentMessageImpl;Ldev/inmo/tgbotapi/types/chat/PreviewGroupChat;JDLdev/inmo/tgbotapi/types/message/MessageOrigin;Lkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/ReplyInfo;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/message/content/MessageContent;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ljava/lang/String;Ljava/lang/String;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/message/AnonymousGroupContentMessageImpl; public fun equals (Ljava/lang/Object;)Z public fun getAuthorSignature ()Ljava/lang/String; public synthetic fun getChat ()Ldev/inmo/tgbotapi/types/chat/PreviewChat; @@ -16590,7 +16590,7 @@ public final class dev/inmo/tgbotapi/types/message/AnonymousGroupContentMessageI public fun getForwardOrigin ()Ldev/inmo/tgbotapi/types/message/MessageOrigin; public fun getForwardable ()Z public fun getHasProtectedContent ()Z - public fun getMediaGroupId-6ceS_JY ()Ljava/lang/String; + public fun getMediaGroupId-CsYhHCU ()Ljava/lang/String; public fun getMessageId-APLFQys ()J public fun getMetaInfo-fV8YnZ8 ()Lkotlin/Triple; public fun getReplyInfo ()Ldev/inmo/tgbotapi/types/ReplyInfo; @@ -16609,7 +16609,7 @@ public final class dev/inmo/tgbotapi/types/message/ChannelContentMessageImpl : d public final fun component1-APLFQys ()J public final fun component10 ()Ldev/inmo/tgbotapi/types/chat/CommonBot; public final fun component11 ()Ljava/lang/String; - public final fun component12-6ceS_JY ()Ljava/lang/String; + public final fun component12-CsYhHCU ()Ljava/lang/String; public final fun component2 ()Ldev/inmo/tgbotapi/types/chat/PreviewChannelChat; public final fun component3 ()Ldev/inmo/tgbotapi/types/message/content/MessageContent; public final fun component4-Wg0KzQs ()D @@ -16618,8 +16618,8 @@ public final class dev/inmo/tgbotapi/types/message/ChannelContentMessageImpl : d public final fun component7 ()Ldev/inmo/tgbotapi/types/message/MessageOrigin; public final fun component8 ()Ldev/inmo/tgbotapi/types/ReplyInfo; public final fun component9 ()Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup; - public final fun copy-JaiU5GA (JLdev/inmo/tgbotapi/types/chat/PreviewChannelChat;Ldev/inmo/tgbotapi/types/message/content/MessageContent;DLkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/message/MessageOrigin;Ldev/inmo/tgbotapi/types/ReplyInfo;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ljava/lang/String;Ljava/lang/String;)Ldev/inmo/tgbotapi/types/message/ChannelContentMessageImpl; - public static synthetic fun copy-JaiU5GA$default (Ldev/inmo/tgbotapi/types/message/ChannelContentMessageImpl;JLdev/inmo/tgbotapi/types/chat/PreviewChannelChat;Ldev/inmo/tgbotapi/types/message/content/MessageContent;DLkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/message/MessageOrigin;Ldev/inmo/tgbotapi/types/ReplyInfo;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ljava/lang/String;Ljava/lang/String;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/message/ChannelContentMessageImpl; + public final fun copy-AHAidlk (JLdev/inmo/tgbotapi/types/chat/PreviewChannelChat;Ldev/inmo/tgbotapi/types/message/content/MessageContent;DLkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/message/MessageOrigin;Ldev/inmo/tgbotapi/types/ReplyInfo;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ljava/lang/String;Ljava/lang/String;)Ldev/inmo/tgbotapi/types/message/ChannelContentMessageImpl; + public static synthetic fun copy-AHAidlk$default (Ldev/inmo/tgbotapi/types/message/ChannelContentMessageImpl;JLdev/inmo/tgbotapi/types/chat/PreviewChannelChat;Ldev/inmo/tgbotapi/types/message/content/MessageContent;DLkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/message/MessageOrigin;Ldev/inmo/tgbotapi/types/ReplyInfo;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ljava/lang/String;Ljava/lang/String;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/message/ChannelContentMessageImpl; public fun equals (Ljava/lang/Object;)Z public fun getAuthorSignature ()Ljava/lang/String; public fun getChat ()Ldev/inmo/tgbotapi/types/chat/PreviewChannelChat; @@ -16631,7 +16631,7 @@ public final class dev/inmo/tgbotapi/types/message/ChannelContentMessageImpl : d public fun getForwardOrigin ()Ldev/inmo/tgbotapi/types/message/MessageOrigin; public fun getForwardable ()Z public fun getHasProtectedContent ()Z - public fun getMediaGroupId-6ceS_JY ()Ljava/lang/String; + public fun getMediaGroupId-CsYhHCU ()Ljava/lang/String; public fun getMessageId-APLFQys ()J public fun getMetaInfo-fV8YnZ8 ()Lkotlin/Triple; public fun getReplyInfo ()Ldev/inmo/tgbotapi/types/ReplyInfo; @@ -17160,7 +17160,7 @@ public final class dev/inmo/tgbotapi/types/message/CommonForumContentMessageImpl public final fun component10 ()Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup; public final fun component11 ()Ldev/inmo/tgbotapi/types/message/content/MessageContent; public final fun component12 ()Ldev/inmo/tgbotapi/types/chat/CommonBot; - public final fun component13-6ceS_JY ()Ljava/lang/String; + public final fun component13-CsYhHCU ()Ljava/lang/String; public final fun component14 ()Ljava/lang/Integer; public final fun component2-APLFQys ()J public final fun component3-hDmiKeI ()J @@ -17170,8 +17170,8 @@ public final class dev/inmo/tgbotapi/types/message/CommonForumContentMessageImpl public final fun component7-Ivn3T5g ()Lkorlibs/time/DateTime; public final fun component8 ()Z public final fun component9 ()Ldev/inmo/tgbotapi/types/ReplyInfo; - public final fun copy-gAL7e_I (Ldev/inmo/tgbotapi/types/chat/PreviewForumChat;JJLdev/inmo/tgbotapi/types/chat/User;DLdev/inmo/tgbotapi/types/message/MessageOrigin;Lkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/ReplyInfo;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/message/content/MessageContent;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ljava/lang/String;Ljava/lang/Integer;)Ldev/inmo/tgbotapi/types/message/CommonForumContentMessageImpl; - public static synthetic fun copy-gAL7e_I$default (Ldev/inmo/tgbotapi/types/message/CommonForumContentMessageImpl;Ldev/inmo/tgbotapi/types/chat/PreviewForumChat;JJLdev/inmo/tgbotapi/types/chat/User;DLdev/inmo/tgbotapi/types/message/MessageOrigin;Lkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/ReplyInfo;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/message/content/MessageContent;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ljava/lang/String;Ljava/lang/Integer;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/message/CommonForumContentMessageImpl; + public final fun copy-iWWotx0 (Ldev/inmo/tgbotapi/types/chat/PreviewForumChat;JJLdev/inmo/tgbotapi/types/chat/User;DLdev/inmo/tgbotapi/types/message/MessageOrigin;Lkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/ReplyInfo;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/message/content/MessageContent;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ljava/lang/String;Ljava/lang/Integer;)Ldev/inmo/tgbotapi/types/message/CommonForumContentMessageImpl; + public static synthetic fun copy-iWWotx0$default (Ldev/inmo/tgbotapi/types/message/CommonForumContentMessageImpl;Ldev/inmo/tgbotapi/types/chat/PreviewForumChat;JJLdev/inmo/tgbotapi/types/chat/User;DLdev/inmo/tgbotapi/types/message/MessageOrigin;Lkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/ReplyInfo;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/message/content/MessageContent;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ljava/lang/String;Ljava/lang/Integer;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/message/CommonForumContentMessageImpl; public fun equals (Ljava/lang/Object;)Z public synthetic fun getChat ()Ldev/inmo/tgbotapi/types/chat/PreviewChat; public fun getChat ()Ldev/inmo/tgbotapi/types/chat/PreviewForumChat; @@ -17185,7 +17185,7 @@ public final class dev/inmo/tgbotapi/types/message/CommonForumContentMessageImpl public fun getForwardable ()Z public fun getFrom ()Ldev/inmo/tgbotapi/types/chat/User; public fun getHasProtectedContent ()Z - public fun getMediaGroupId-6ceS_JY ()Ljava/lang/String; + public fun getMediaGroupId-CsYhHCU ()Ljava/lang/String; public fun getMessageId-APLFQys ()J public fun getMetaInfo-fV8YnZ8 ()Lkotlin/Triple; public fun getReplyInfo ()Ldev/inmo/tgbotapi/types/ReplyInfo; @@ -17206,7 +17206,7 @@ public final class dev/inmo/tgbotapi/types/message/CommonGroupContentMessageImpl public final fun component1 ()Ldev/inmo/tgbotapi/types/chat/PreviewGroupChat; public final fun component10 ()Ldev/inmo/tgbotapi/types/message/content/MessageContent; public final fun component11 ()Ldev/inmo/tgbotapi/types/chat/CommonBot; - public final fun component12-6ceS_JY ()Ljava/lang/String; + public final fun component12-CsYhHCU ()Ljava/lang/String; public final fun component13 ()Ljava/lang/Integer; public final fun component2-APLFQys ()J public final fun component3 ()Ldev/inmo/tgbotapi/types/chat/User; @@ -17216,8 +17216,8 @@ public final class dev/inmo/tgbotapi/types/message/CommonGroupContentMessageImpl public final fun component7 ()Z public final fun component8 ()Ldev/inmo/tgbotapi/types/ReplyInfo; public final fun component9 ()Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup; - public final fun copy-d7gi0iU (Ldev/inmo/tgbotapi/types/chat/PreviewGroupChat;JLdev/inmo/tgbotapi/types/chat/User;DLdev/inmo/tgbotapi/types/message/MessageOrigin;Lkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/ReplyInfo;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/message/content/MessageContent;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ljava/lang/String;Ljava/lang/Integer;)Ldev/inmo/tgbotapi/types/message/CommonGroupContentMessageImpl; - public static synthetic fun copy-d7gi0iU$default (Ldev/inmo/tgbotapi/types/message/CommonGroupContentMessageImpl;Ldev/inmo/tgbotapi/types/chat/PreviewGroupChat;JLdev/inmo/tgbotapi/types/chat/User;DLdev/inmo/tgbotapi/types/message/MessageOrigin;Lkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/ReplyInfo;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/message/content/MessageContent;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ljava/lang/String;Ljava/lang/Integer;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/message/CommonGroupContentMessageImpl; + public final fun copy-sqH0VUE (Ldev/inmo/tgbotapi/types/chat/PreviewGroupChat;JLdev/inmo/tgbotapi/types/chat/User;DLdev/inmo/tgbotapi/types/message/MessageOrigin;Lkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/ReplyInfo;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/message/content/MessageContent;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ljava/lang/String;Ljava/lang/Integer;)Ldev/inmo/tgbotapi/types/message/CommonGroupContentMessageImpl; + public static synthetic fun copy-sqH0VUE$default (Ldev/inmo/tgbotapi/types/message/CommonGroupContentMessageImpl;Ldev/inmo/tgbotapi/types/chat/PreviewGroupChat;JLdev/inmo/tgbotapi/types/chat/User;DLdev/inmo/tgbotapi/types/message/MessageOrigin;Lkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/ReplyInfo;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/message/content/MessageContent;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ljava/lang/String;Ljava/lang/Integer;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/message/CommonGroupContentMessageImpl; public fun equals (Ljava/lang/Object;)Z public synthetic fun getChat ()Ldev/inmo/tgbotapi/types/chat/PreviewChat; public fun getChat ()Ldev/inmo/tgbotapi/types/chat/PreviewGroupChat; @@ -17230,7 +17230,7 @@ public final class dev/inmo/tgbotapi/types/message/CommonGroupContentMessageImpl public fun getForwardable ()Z public fun getFrom ()Ldev/inmo/tgbotapi/types/chat/User; public fun getHasProtectedContent ()Z - public fun getMediaGroupId-6ceS_JY ()Ljava/lang/String; + public fun getMediaGroupId-CsYhHCU ()Ljava/lang/String; public fun getMessageId-APLFQys ()J public fun getMetaInfo-fV8YnZ8 ()Lkotlin/Triple; public fun getReplyInfo ()Ldev/inmo/tgbotapi/types/ReplyInfo; @@ -17297,7 +17297,7 @@ public final class dev/inmo/tgbotapi/types/message/ConnectedFromChannelGroupCont public final fun component10 ()Ldev/inmo/tgbotapi/types/message/content/MessageContent; public final fun component11 ()Ldev/inmo/tgbotapi/types/chat/CommonBot; public final fun component12 ()Ljava/lang/String; - public final fun component13-6ceS_JY ()Ljava/lang/String; + public final fun component13-CsYhHCU ()Ljava/lang/String; public final fun component2 ()Ldev/inmo/tgbotapi/types/chat/PreviewChannelChat; public final fun component3-APLFQys ()J public final fun component4-Wg0KzQs ()D @@ -17306,8 +17306,8 @@ public final class dev/inmo/tgbotapi/types/message/ConnectedFromChannelGroupCont public final fun component7 ()Z public final fun component8 ()Ldev/inmo/tgbotapi/types/ReplyInfo; public final fun component9 ()Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup; - public final fun copy-uz9LK_Q (Ldev/inmo/tgbotapi/types/chat/PreviewGroupChat;Ldev/inmo/tgbotapi/types/chat/PreviewChannelChat;JDLdev/inmo/tgbotapi/types/message/MessageOrigin;Lkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/ReplyInfo;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/message/content/MessageContent;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ljava/lang/String;Ljava/lang/String;)Ldev/inmo/tgbotapi/types/message/ConnectedFromChannelGroupContentMessageImpl; - public static synthetic fun copy-uz9LK_Q$default (Ldev/inmo/tgbotapi/types/message/ConnectedFromChannelGroupContentMessageImpl;Ldev/inmo/tgbotapi/types/chat/PreviewGroupChat;Ldev/inmo/tgbotapi/types/chat/PreviewChannelChat;JDLdev/inmo/tgbotapi/types/message/MessageOrigin;Lkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/ReplyInfo;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/message/content/MessageContent;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ljava/lang/String;Ljava/lang/String;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/message/ConnectedFromChannelGroupContentMessageImpl; + public final fun copy-cjOPbrw (Ldev/inmo/tgbotapi/types/chat/PreviewGroupChat;Ldev/inmo/tgbotapi/types/chat/PreviewChannelChat;JDLdev/inmo/tgbotapi/types/message/MessageOrigin;Lkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/ReplyInfo;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/message/content/MessageContent;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ljava/lang/String;Ljava/lang/String;)Ldev/inmo/tgbotapi/types/message/ConnectedFromChannelGroupContentMessageImpl; + public static synthetic fun copy-cjOPbrw$default (Ldev/inmo/tgbotapi/types/message/ConnectedFromChannelGroupContentMessageImpl;Ldev/inmo/tgbotapi/types/chat/PreviewGroupChat;Ldev/inmo/tgbotapi/types/chat/PreviewChannelChat;JDLdev/inmo/tgbotapi/types/message/MessageOrigin;Lkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/ReplyInfo;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/message/content/MessageContent;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ljava/lang/String;Ljava/lang/String;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/message/ConnectedFromChannelGroupContentMessageImpl; public fun equals (Ljava/lang/Object;)Z public fun getAuthorSignature ()Ljava/lang/String; public fun getChannel ()Ldev/inmo/tgbotapi/types/chat/PreviewChannelChat; @@ -17321,7 +17321,7 @@ public final class dev/inmo/tgbotapi/types/message/ConnectedFromChannelGroupCont public fun getForwardOrigin ()Ldev/inmo/tgbotapi/types/message/MessageOrigin; public fun getForwardable ()Z public fun getHasProtectedContent ()Z - public fun getMediaGroupId-6ceS_JY ()Ljava/lang/String; + public fun getMediaGroupId-CsYhHCU ()Ljava/lang/String; public fun getMessageId-APLFQys ()J public fun getMetaInfo-fV8YnZ8 ()Lkotlin/Triple; public fun getReplyInfo ()Ldev/inmo/tgbotapi/types/ReplyInfo; @@ -17432,7 +17432,7 @@ public final class dev/inmo/tgbotapi/types/message/FromChannelForumContentMessag public final fun component11 ()Ldev/inmo/tgbotapi/types/message/content/MessageContent; public final fun component12 ()Ldev/inmo/tgbotapi/types/chat/CommonBot; public final fun component13 ()Ljava/lang/String; - public final fun component14-6ceS_JY ()Ljava/lang/String; + public final fun component14-CsYhHCU ()Ljava/lang/String; public final fun component2 ()Ldev/inmo/tgbotapi/types/chat/PreviewChannelChat; public final fun component3-APLFQys ()J public final fun component4-hDmiKeI ()J @@ -17441,8 +17441,8 @@ public final class dev/inmo/tgbotapi/types/message/FromChannelForumContentMessag public final fun component7-Ivn3T5g ()Lkorlibs/time/DateTime; public final fun component8 ()Z public final fun component9 ()Ldev/inmo/tgbotapi/types/ReplyInfo; - public final fun copy-xXw-7js (Ldev/inmo/tgbotapi/types/chat/PreviewForumChat;Ldev/inmo/tgbotapi/types/chat/PreviewChannelChat;JJDLdev/inmo/tgbotapi/types/message/MessageOrigin;Lkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/ReplyInfo;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/message/content/MessageContent;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ljava/lang/String;Ljava/lang/String;)Ldev/inmo/tgbotapi/types/message/FromChannelForumContentMessageImpl; - public static synthetic fun copy-xXw-7js$default (Ldev/inmo/tgbotapi/types/message/FromChannelForumContentMessageImpl;Ldev/inmo/tgbotapi/types/chat/PreviewForumChat;Ldev/inmo/tgbotapi/types/chat/PreviewChannelChat;JJDLdev/inmo/tgbotapi/types/message/MessageOrigin;Lkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/ReplyInfo;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/message/content/MessageContent;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ljava/lang/String;Ljava/lang/String;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/message/FromChannelForumContentMessageImpl; + public final fun copy-9syGhek (Ldev/inmo/tgbotapi/types/chat/PreviewForumChat;Ldev/inmo/tgbotapi/types/chat/PreviewChannelChat;JJDLdev/inmo/tgbotapi/types/message/MessageOrigin;Lkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/ReplyInfo;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/message/content/MessageContent;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ljava/lang/String;Ljava/lang/String;)Ldev/inmo/tgbotapi/types/message/FromChannelForumContentMessageImpl; + public static synthetic fun copy-9syGhek$default (Ldev/inmo/tgbotapi/types/message/FromChannelForumContentMessageImpl;Ldev/inmo/tgbotapi/types/chat/PreviewForumChat;Ldev/inmo/tgbotapi/types/chat/PreviewChannelChat;JJDLdev/inmo/tgbotapi/types/message/MessageOrigin;Lkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/ReplyInfo;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/message/content/MessageContent;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ljava/lang/String;Ljava/lang/String;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/message/FromChannelForumContentMessageImpl; public fun equals (Ljava/lang/Object;)Z public fun getAuthorSignature ()Ljava/lang/String; public fun getChannel ()Ldev/inmo/tgbotapi/types/chat/PreviewChannelChat; @@ -17457,7 +17457,7 @@ public final class dev/inmo/tgbotapi/types/message/FromChannelForumContentMessag public fun getForwardOrigin ()Ldev/inmo/tgbotapi/types/message/MessageOrigin; public fun getForwardable ()Z public fun getHasProtectedContent ()Z - public fun getMediaGroupId-6ceS_JY ()Ljava/lang/String; + public fun getMediaGroupId-CsYhHCU ()Ljava/lang/String; public fun getMessageId-APLFQys ()J public fun getMetaInfo-fV8YnZ8 ()Lkotlin/Triple; public fun getReplyInfo ()Ldev/inmo/tgbotapi/types/ReplyInfo; @@ -17729,7 +17729,7 @@ public final class dev/inmo/tgbotapi/types/message/PrivateContentMessageImpl : d public final fun component1-APLFQys ()J public final fun component10 ()Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup; public final fun component11 ()Ldev/inmo/tgbotapi/types/chat/CommonBot; - public final fun component12-6ceS_JY ()Ljava/lang/String; + public final fun component12-CsYhHCU ()Ljava/lang/String; public final fun component2 ()Ldev/inmo/tgbotapi/types/chat/User; public final fun component3 ()Ldev/inmo/tgbotapi/types/chat/PreviewPrivateChat; public final fun component4 ()Ldev/inmo/tgbotapi/types/message/content/MessageContent; @@ -17738,8 +17738,8 @@ public final class dev/inmo/tgbotapi/types/message/PrivateContentMessageImpl : d public final fun component7 ()Z public final fun component8 ()Ldev/inmo/tgbotapi/types/message/MessageOrigin; public final fun component9 ()Ldev/inmo/tgbotapi/types/ReplyInfo; - public final fun copy-8Vv6OpE (JLdev/inmo/tgbotapi/types/chat/User;Ldev/inmo/tgbotapi/types/chat/PreviewPrivateChat;Ldev/inmo/tgbotapi/types/message/content/MessageContent;DLkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/message/MessageOrigin;Ldev/inmo/tgbotapi/types/ReplyInfo;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ljava/lang/String;)Ldev/inmo/tgbotapi/types/message/PrivateContentMessageImpl; - public static synthetic fun copy-8Vv6OpE$default (Ldev/inmo/tgbotapi/types/message/PrivateContentMessageImpl;JLdev/inmo/tgbotapi/types/chat/User;Ldev/inmo/tgbotapi/types/chat/PreviewPrivateChat;Ldev/inmo/tgbotapi/types/message/content/MessageContent;DLkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/message/MessageOrigin;Ldev/inmo/tgbotapi/types/ReplyInfo;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ljava/lang/String;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/message/PrivateContentMessageImpl; + public final fun copy-w1GsA2Q (JLdev/inmo/tgbotapi/types/chat/User;Ldev/inmo/tgbotapi/types/chat/PreviewPrivateChat;Ldev/inmo/tgbotapi/types/message/content/MessageContent;DLkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/message/MessageOrigin;Ldev/inmo/tgbotapi/types/ReplyInfo;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ljava/lang/String;)Ldev/inmo/tgbotapi/types/message/PrivateContentMessageImpl; + public static synthetic fun copy-w1GsA2Q$default (Ldev/inmo/tgbotapi/types/message/PrivateContentMessageImpl;JLdev/inmo/tgbotapi/types/chat/User;Ldev/inmo/tgbotapi/types/chat/PreviewPrivateChat;Ldev/inmo/tgbotapi/types/message/content/MessageContent;DLkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/message/MessageOrigin;Ldev/inmo/tgbotapi/types/ReplyInfo;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ljava/lang/String;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/message/PrivateContentMessageImpl; public fun equals (Ljava/lang/Object;)Z public synthetic fun getChat ()Ldev/inmo/tgbotapi/types/chat/PreviewChat; public fun getChat ()Ldev/inmo/tgbotapi/types/chat/PreviewPrivateChat; @@ -17751,7 +17751,7 @@ public final class dev/inmo/tgbotapi/types/message/PrivateContentMessageImpl : d public fun getForwardable ()Z public fun getFrom ()Ldev/inmo/tgbotapi/types/chat/User; public fun getHasProtectedContent ()Z - public fun getMediaGroupId-6ceS_JY ()Ljava/lang/String; + public fun getMediaGroupId-CsYhHCU ()Ljava/lang/String; public fun getMessageId-APLFQys ()J public fun getMetaInfo-fV8YnZ8 ()Lkotlin/Triple; public fun getReplyInfo ()Ldev/inmo/tgbotapi/types/ReplyInfo; @@ -17790,7 +17790,7 @@ public final class dev/inmo/tgbotapi/types/message/UnconnectedFromChannelGroupCo public final fun component10 ()Ldev/inmo/tgbotapi/types/message/content/MessageContent; public final fun component11 ()Ldev/inmo/tgbotapi/types/chat/CommonBot; public final fun component12 ()Ljava/lang/String; - public final fun component13-6ceS_JY ()Ljava/lang/String; + public final fun component13-CsYhHCU ()Ljava/lang/String; public final fun component2 ()Ldev/inmo/tgbotapi/types/chat/PreviewChannelChat; public final fun component3-APLFQys ()J public final fun component4-Wg0KzQs ()D @@ -17799,8 +17799,8 @@ public final class dev/inmo/tgbotapi/types/message/UnconnectedFromChannelGroupCo public final fun component7 ()Z public final fun component8 ()Ldev/inmo/tgbotapi/types/ReplyInfo; public final fun component9 ()Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup; - public final fun copy-uz9LK_Q (Ldev/inmo/tgbotapi/types/chat/PreviewGroupChat;Ldev/inmo/tgbotapi/types/chat/PreviewChannelChat;JDLdev/inmo/tgbotapi/types/message/MessageOrigin;Lkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/ReplyInfo;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/message/content/MessageContent;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ljava/lang/String;Ljava/lang/String;)Ldev/inmo/tgbotapi/types/message/UnconnectedFromChannelGroupContentMessageImpl; - public static synthetic fun copy-uz9LK_Q$default (Ldev/inmo/tgbotapi/types/message/UnconnectedFromChannelGroupContentMessageImpl;Ldev/inmo/tgbotapi/types/chat/PreviewGroupChat;Ldev/inmo/tgbotapi/types/chat/PreviewChannelChat;JDLdev/inmo/tgbotapi/types/message/MessageOrigin;Lkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/ReplyInfo;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/message/content/MessageContent;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ljava/lang/String;Ljava/lang/String;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/message/UnconnectedFromChannelGroupContentMessageImpl; + public final fun copy-cjOPbrw (Ldev/inmo/tgbotapi/types/chat/PreviewGroupChat;Ldev/inmo/tgbotapi/types/chat/PreviewChannelChat;JDLdev/inmo/tgbotapi/types/message/MessageOrigin;Lkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/ReplyInfo;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/message/content/MessageContent;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ljava/lang/String;Ljava/lang/String;)Ldev/inmo/tgbotapi/types/message/UnconnectedFromChannelGroupContentMessageImpl; + public static synthetic fun copy-cjOPbrw$default (Ldev/inmo/tgbotapi/types/message/UnconnectedFromChannelGroupContentMessageImpl;Ldev/inmo/tgbotapi/types/chat/PreviewGroupChat;Ldev/inmo/tgbotapi/types/chat/PreviewChannelChat;JDLdev/inmo/tgbotapi/types/message/MessageOrigin;Lkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/ReplyInfo;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/message/content/MessageContent;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ljava/lang/String;Ljava/lang/String;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/message/UnconnectedFromChannelGroupContentMessageImpl; public fun equals (Ljava/lang/Object;)Z public fun getAuthorSignature ()Ljava/lang/String; public fun getChannel ()Ldev/inmo/tgbotapi/types/chat/PreviewChannelChat; @@ -17814,7 +17814,7 @@ public final class dev/inmo/tgbotapi/types/message/UnconnectedFromChannelGroupCo public fun getForwardOrigin ()Ldev/inmo/tgbotapi/types/message/MessageOrigin; public fun getForwardable ()Z public fun getHasProtectedContent ()Z - public fun getMediaGroupId-6ceS_JY ()Ljava/lang/String; + public fun getMediaGroupId-CsYhHCU ()Ljava/lang/String; public fun getMessageId-APLFQys ()J public fun getMetaInfo-fV8YnZ8 ()Lkotlin/Triple; public fun getReplyInfo ()Ldev/inmo/tgbotapi/types/ReplyInfo; @@ -18100,7 +18100,7 @@ public abstract interface class dev/inmo/tgbotapi/types/message/abstracts/Possib } public abstract interface class dev/inmo/tgbotapi/types/message/abstracts/PossiblyMediaGroupMessage : dev/inmo/tgbotapi/types/message/abstracts/ContentMessage { - public abstract fun getMediaGroupId-6ceS_JY ()Ljava/lang/String; + public abstract fun getMediaGroupId-CsYhHCU ()Ljava/lang/String; } public final class dev/inmo/tgbotapi/types/message/abstracts/PossiblyMediaGroupMessage$DefaultImpls { @@ -18630,7 +18630,7 @@ public final class dev/inmo/tgbotapi/types/message/content/MediaContent$DefaultI public abstract interface class dev/inmo/tgbotapi/types/message/content/MediaGroupCollectionContent : dev/inmo/tgbotapi/types/message/content/TextedMediaContent { public abstract fun getGroup ()Ljava/util/List; - public abstract fun getMediaGroupId-jxpJLXU ()Ljava/lang/String; + public abstract fun getMediaGroupId-Aktaoms ()Ljava/lang/String; } public final class dev/inmo/tgbotapi/types/message/content/MediaGroupCollectionContent$DefaultImpls { @@ -18673,16 +18673,16 @@ public final class dev/inmo/tgbotapi/types/message/content/MediaGroupContent : d public synthetic fun (Ljava/util/List;Ljava/lang/String;Lkotlin/jvm/internal/DefaultConstructorMarker;)V public fun asTelegramMedia ()Ldev/inmo/tgbotapi/types/media/TelegramMedia; public final fun component1 ()Ljava/util/List; - public final fun component2-jxpJLXU ()Ljava/lang/String; - public final fun copy-L3vfk7A (Ljava/util/List;Ljava/lang/String;)Ldev/inmo/tgbotapi/types/message/content/MediaGroupContent; - public static synthetic fun copy-L3vfk7A$default (Ldev/inmo/tgbotapi/types/message/content/MediaGroupContent;Ljava/util/List;Ljava/lang/String;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/message/content/MediaGroupContent; + public final fun component2-Aktaoms ()Ljava/lang/String; + public final fun copy-AblidI4 (Ljava/util/List;Ljava/lang/String;)Ldev/inmo/tgbotapi/types/message/content/MediaGroupContent; + public static synthetic fun copy-AblidI4$default (Ldev/inmo/tgbotapi/types/message/content/MediaGroupContent;Ljava/util/List;Ljava/lang/String;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/message/content/MediaGroupContent; public fun createResend-FuL-Z8w (Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/MessageThreadId;ZZLdev/inmo/tgbotapi/types/MessageId;Ljava/lang/Boolean;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;)Ldev/inmo/tgbotapi/requests/abstracts/Request; public fun createResend-S8nSyAg (Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/MessageThreadId;ZZLdev/inmo/tgbotapi/types/ReplyParameters;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;)Ldev/inmo/tgbotapi/requests/abstracts/Request; public fun equals (Ljava/lang/Object;)Z public fun getGroup ()Ljava/util/List; public final fun getMainContent ()Ldev/inmo/tgbotapi/types/message/content/MediaGroupPartContent; public fun getMedia ()Ldev/inmo/tgbotapi/types/files/TelegramMediaFile; - public fun getMediaGroupId-jxpJLXU ()Ljava/lang/String; + public fun getMediaGroupId-Aktaoms ()Ljava/lang/String; public fun getQuote ()Ldev/inmo/tgbotapi/types/TextQuote; public fun getText ()Ljava/lang/String; public fun getTextSources ()Ljava/util/List; @@ -22135,7 +22135,7 @@ public final class dev/inmo/tgbotapi/types/queries/callback/AbstractMessageCallb public abstract interface class dev/inmo/tgbotapi/types/queries/callback/CallbackQuery : dev/inmo/tgbotapi/abstracts/FromUser { public abstract fun getChatInstance ()Ljava/lang/String; public abstract fun getFrom ()Ldev/inmo/tgbotapi/types/chat/CommonUser; - public abstract fun getId-W_Rpwvk ()Ljava/lang/String; + public abstract fun getId-WfrJ78I ()Ljava/lang/String; public abstract fun getUser ()Ldev/inmo/tgbotapi/types/chat/CommonUser; } @@ -22169,19 +22169,19 @@ public final class dev/inmo/tgbotapi/types/queries/callback/InaccessibleMessageC public final class dev/inmo/tgbotapi/types/queries/callback/InaccessibleMessageDataCallbackQuery : dev/inmo/tgbotapi/types/queries/callback/DataCallbackQuery, dev/inmo/tgbotapi/types/queries/callback/InaccessibleMessageCallbackQuery { public synthetic fun (Ljava/lang/String;Ldev/inmo/tgbotapi/types/chat/CommonUser;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/abstracts/InaccessibleMessage;Ljava/lang/String;Lkotlin/jvm/internal/DefaultConstructorMarker;)V - public final fun component1-W_Rpwvk ()Ljava/lang/String; + public final fun component1-WfrJ78I ()Ljava/lang/String; public final fun component2 ()Ldev/inmo/tgbotapi/types/chat/CommonUser; public final fun component3 ()Ljava/lang/String; public final fun component4 ()Ldev/inmo/tgbotapi/types/message/abstracts/InaccessibleMessage; public final fun component5 ()Ljava/lang/String; - public final fun copy-DSWifT0 (Ljava/lang/String;Ldev/inmo/tgbotapi/types/chat/CommonUser;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/abstracts/InaccessibleMessage;Ljava/lang/String;)Ldev/inmo/tgbotapi/types/queries/callback/InaccessibleMessageDataCallbackQuery; - public static synthetic fun copy-DSWifT0$default (Ldev/inmo/tgbotapi/types/queries/callback/InaccessibleMessageDataCallbackQuery;Ljava/lang/String;Ldev/inmo/tgbotapi/types/chat/CommonUser;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/abstracts/InaccessibleMessage;Ljava/lang/String;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/queries/callback/InaccessibleMessageDataCallbackQuery; + public final fun copy-yuX4cWQ (Ljava/lang/String;Ldev/inmo/tgbotapi/types/chat/CommonUser;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/abstracts/InaccessibleMessage;Ljava/lang/String;)Ldev/inmo/tgbotapi/types/queries/callback/InaccessibleMessageDataCallbackQuery; + public static synthetic fun copy-yuX4cWQ$default (Ldev/inmo/tgbotapi/types/queries/callback/InaccessibleMessageDataCallbackQuery;Ljava/lang/String;Ldev/inmo/tgbotapi/types/chat/CommonUser;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/abstracts/InaccessibleMessage;Ljava/lang/String;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/queries/callback/InaccessibleMessageDataCallbackQuery; public fun equals (Ljava/lang/Object;)Z public fun getChatInstance ()Ljava/lang/String; public fun getData ()Ljava/lang/String; public fun getFrom ()Ldev/inmo/tgbotapi/types/chat/CommonUser; public synthetic fun getFrom ()Ldev/inmo/tgbotapi/types/chat/User; - public fun getId-W_Rpwvk ()Ljava/lang/String; + public fun getId-WfrJ78I ()Ljava/lang/String; public fun getMessage ()Ldev/inmo/tgbotapi/types/message/abstracts/InaccessibleMessage; public synthetic fun getMessage ()Ldev/inmo/tgbotapi/types/message/abstracts/Message; public fun getUser ()Ldev/inmo/tgbotapi/types/chat/CommonUser; @@ -22192,19 +22192,19 @@ public final class dev/inmo/tgbotapi/types/queries/callback/InaccessibleMessageD public final class dev/inmo/tgbotapi/types/queries/callback/InaccessibleMessageGameShortNameCallbackQuery : dev/inmo/tgbotapi/types/queries/callback/GameShortNameCallbackQuery, dev/inmo/tgbotapi/types/queries/callback/InaccessibleMessageCallbackQuery { public synthetic fun (Ljava/lang/String;Ldev/inmo/tgbotapi/types/chat/CommonUser;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/abstracts/InaccessibleMessage;Ljava/lang/String;Lkotlin/jvm/internal/DefaultConstructorMarker;)V - public final fun component1-W_Rpwvk ()Ljava/lang/String; + public final fun component1-WfrJ78I ()Ljava/lang/String; public final fun component2 ()Ldev/inmo/tgbotapi/types/chat/CommonUser; public final fun component3 ()Ljava/lang/String; public final fun component4 ()Ldev/inmo/tgbotapi/types/message/abstracts/InaccessibleMessage; public final fun component5 ()Ljava/lang/String; - public final fun copy-DSWifT0 (Ljava/lang/String;Ldev/inmo/tgbotapi/types/chat/CommonUser;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/abstracts/InaccessibleMessage;Ljava/lang/String;)Ldev/inmo/tgbotapi/types/queries/callback/InaccessibleMessageGameShortNameCallbackQuery; - public static synthetic fun copy-DSWifT0$default (Ldev/inmo/tgbotapi/types/queries/callback/InaccessibleMessageGameShortNameCallbackQuery;Ljava/lang/String;Ldev/inmo/tgbotapi/types/chat/CommonUser;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/abstracts/InaccessibleMessage;Ljava/lang/String;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/queries/callback/InaccessibleMessageGameShortNameCallbackQuery; + public final fun copy-yuX4cWQ (Ljava/lang/String;Ldev/inmo/tgbotapi/types/chat/CommonUser;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/abstracts/InaccessibleMessage;Ljava/lang/String;)Ldev/inmo/tgbotapi/types/queries/callback/InaccessibleMessageGameShortNameCallbackQuery; + public static synthetic fun copy-yuX4cWQ$default (Ldev/inmo/tgbotapi/types/queries/callback/InaccessibleMessageGameShortNameCallbackQuery;Ljava/lang/String;Ldev/inmo/tgbotapi/types/chat/CommonUser;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/abstracts/InaccessibleMessage;Ljava/lang/String;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/queries/callback/InaccessibleMessageGameShortNameCallbackQuery; public fun equals (Ljava/lang/Object;)Z public fun getChatInstance ()Ljava/lang/String; public fun getFrom ()Ldev/inmo/tgbotapi/types/chat/CommonUser; public synthetic fun getFrom ()Ldev/inmo/tgbotapi/types/chat/User; public fun getGameShortName ()Ljava/lang/String; - public fun getId-W_Rpwvk ()Ljava/lang/String; + public fun getId-WfrJ78I ()Ljava/lang/String; public fun getMessage ()Ldev/inmo/tgbotapi/types/message/abstracts/InaccessibleMessage; public synthetic fun getMessage ()Ldev/inmo/tgbotapi/types/message/abstracts/Message; public fun getUser ()Ldev/inmo/tgbotapi/types/chat/CommonUser; @@ -22224,19 +22224,19 @@ public final class dev/inmo/tgbotapi/types/queries/callback/InlineMessageIdCallb public final class dev/inmo/tgbotapi/types/queries/callback/InlineMessageIdDataCallbackQuery : dev/inmo/tgbotapi/types/queries/callback/DataCallbackQuery, dev/inmo/tgbotapi/types/queries/callback/InlineMessageIdCallbackQuery { public static final field Companion Ldev/inmo/tgbotapi/types/queries/callback/InlineMessageIdDataCallbackQuery$Companion; public synthetic fun (Ljava/lang/String;Ldev/inmo/tgbotapi/types/chat/CommonUser;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lkotlin/jvm/internal/DefaultConstructorMarker;)V - public final fun component1-W_Rpwvk ()Ljava/lang/String; + public final fun component1-WfrJ78I ()Ljava/lang/String; public final fun component2 ()Ldev/inmo/tgbotapi/types/chat/CommonUser; public final fun component3 ()Ljava/lang/String; public final fun component4-u1p_GH0 ()Ljava/lang/String; public final fun component5 ()Ljava/lang/String; - public final fun copy-d3gupTw (Ljava/lang/String;Ldev/inmo/tgbotapi/types/chat/CommonUser;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ldev/inmo/tgbotapi/types/queries/callback/InlineMessageIdDataCallbackQuery; - public static synthetic fun copy-d3gupTw$default (Ldev/inmo/tgbotapi/types/queries/callback/InlineMessageIdDataCallbackQuery;Ljava/lang/String;Ldev/inmo/tgbotapi/types/chat/CommonUser;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/queries/callback/InlineMessageIdDataCallbackQuery; + public final fun copy-gwLMerU (Ljava/lang/String;Ldev/inmo/tgbotapi/types/chat/CommonUser;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ldev/inmo/tgbotapi/types/queries/callback/InlineMessageIdDataCallbackQuery; + public static synthetic fun copy-gwLMerU$default (Ldev/inmo/tgbotapi/types/queries/callback/InlineMessageIdDataCallbackQuery;Ljava/lang/String;Ldev/inmo/tgbotapi/types/chat/CommonUser;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/queries/callback/InlineMessageIdDataCallbackQuery; public fun equals (Ljava/lang/Object;)Z public fun getChatInstance ()Ljava/lang/String; public fun getData ()Ljava/lang/String; public fun getFrom ()Ldev/inmo/tgbotapi/types/chat/CommonUser; public synthetic fun getFrom ()Ldev/inmo/tgbotapi/types/chat/User; - public fun getId-W_Rpwvk ()Ljava/lang/String; + public fun getId-WfrJ78I ()Ljava/lang/String; public fun getInlineMessageId-u1p_GH0 ()Ljava/lang/String; public fun getUser ()Ldev/inmo/tgbotapi/types/chat/CommonUser; public synthetic fun getUser ()Ldev/inmo/tgbotapi/types/chat/User; @@ -22261,19 +22261,19 @@ public final class dev/inmo/tgbotapi/types/queries/callback/InlineMessageIdDataC public final class dev/inmo/tgbotapi/types/queries/callback/InlineMessageIdGameShortNameCallbackQuery : dev/inmo/tgbotapi/types/queries/callback/GameShortNameCallbackQuery, dev/inmo/tgbotapi/types/queries/callback/InlineMessageIdCallbackQuery { public synthetic fun (Ljava/lang/String;Ldev/inmo/tgbotapi/types/chat/CommonUser;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lkotlin/jvm/internal/DefaultConstructorMarker;)V - public final fun component1-W_Rpwvk ()Ljava/lang/String; + public final fun component1-WfrJ78I ()Ljava/lang/String; public final fun component2 ()Ldev/inmo/tgbotapi/types/chat/CommonUser; public final fun component3 ()Ljava/lang/String; public final fun component4-u1p_GH0 ()Ljava/lang/String; public final fun component5 ()Ljava/lang/String; - public final fun copy-d3gupTw (Ljava/lang/String;Ldev/inmo/tgbotapi/types/chat/CommonUser;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ldev/inmo/tgbotapi/types/queries/callback/InlineMessageIdGameShortNameCallbackQuery; - public static synthetic fun copy-d3gupTw$default (Ldev/inmo/tgbotapi/types/queries/callback/InlineMessageIdGameShortNameCallbackQuery;Ljava/lang/String;Ldev/inmo/tgbotapi/types/chat/CommonUser;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/queries/callback/InlineMessageIdGameShortNameCallbackQuery; + public final fun copy-gwLMerU (Ljava/lang/String;Ldev/inmo/tgbotapi/types/chat/CommonUser;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ldev/inmo/tgbotapi/types/queries/callback/InlineMessageIdGameShortNameCallbackQuery; + public static synthetic fun copy-gwLMerU$default (Ldev/inmo/tgbotapi/types/queries/callback/InlineMessageIdGameShortNameCallbackQuery;Ljava/lang/String;Ldev/inmo/tgbotapi/types/chat/CommonUser;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/queries/callback/InlineMessageIdGameShortNameCallbackQuery; public fun equals (Ljava/lang/Object;)Z public fun getChatInstance ()Ljava/lang/String; public fun getFrom ()Ldev/inmo/tgbotapi/types/chat/CommonUser; public synthetic fun getFrom ()Ldev/inmo/tgbotapi/types/chat/User; public fun getGameShortName ()Ljava/lang/String; - public fun getId-W_Rpwvk ()Ljava/lang/String; + public fun getId-WfrJ78I ()Ljava/lang/String; public fun getInlineMessageId-u1p_GH0 ()Ljava/lang/String; public fun getUser ()Ldev/inmo/tgbotapi/types/chat/CommonUser; public synthetic fun getUser ()Ldev/inmo/tgbotapi/types/chat/User; @@ -22291,19 +22291,19 @@ public final class dev/inmo/tgbotapi/types/queries/callback/MessageCallbackQuery public final class dev/inmo/tgbotapi/types/queries/callback/MessageDataCallbackQuery : dev/inmo/tgbotapi/types/queries/callback/DataCallbackQuery, dev/inmo/tgbotapi/types/queries/callback/MessageCallbackQuery { public synthetic fun (Ljava/lang/String;Ldev/inmo/tgbotapi/types/chat/CommonUser;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/abstracts/ContentMessage;Ljava/lang/String;Lkotlin/jvm/internal/DefaultConstructorMarker;)V - public final fun component1-W_Rpwvk ()Ljava/lang/String; + public final fun component1-WfrJ78I ()Ljava/lang/String; public final fun component2 ()Ldev/inmo/tgbotapi/types/chat/CommonUser; public final fun component3 ()Ljava/lang/String; public final fun component4 ()Ldev/inmo/tgbotapi/types/message/abstracts/ContentMessage; public final fun component5 ()Ljava/lang/String; - public final fun copy-DSWifT0 (Ljava/lang/String;Ldev/inmo/tgbotapi/types/chat/CommonUser;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/abstracts/ContentMessage;Ljava/lang/String;)Ldev/inmo/tgbotapi/types/queries/callback/MessageDataCallbackQuery; - public static synthetic fun copy-DSWifT0$default (Ldev/inmo/tgbotapi/types/queries/callback/MessageDataCallbackQuery;Ljava/lang/String;Ldev/inmo/tgbotapi/types/chat/CommonUser;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/abstracts/ContentMessage;Ljava/lang/String;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/queries/callback/MessageDataCallbackQuery; + public final fun copy-yuX4cWQ (Ljava/lang/String;Ldev/inmo/tgbotapi/types/chat/CommonUser;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/abstracts/ContentMessage;Ljava/lang/String;)Ldev/inmo/tgbotapi/types/queries/callback/MessageDataCallbackQuery; + public static synthetic fun copy-yuX4cWQ$default (Ldev/inmo/tgbotapi/types/queries/callback/MessageDataCallbackQuery;Ljava/lang/String;Ldev/inmo/tgbotapi/types/chat/CommonUser;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/abstracts/ContentMessage;Ljava/lang/String;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/queries/callback/MessageDataCallbackQuery; public fun equals (Ljava/lang/Object;)Z public fun getChatInstance ()Ljava/lang/String; public fun getData ()Ljava/lang/String; public fun getFrom ()Ldev/inmo/tgbotapi/types/chat/CommonUser; public synthetic fun getFrom ()Ldev/inmo/tgbotapi/types/chat/User; - public fun getId-W_Rpwvk ()Ljava/lang/String; + public fun getId-WfrJ78I ()Ljava/lang/String; public fun getMessage ()Ldev/inmo/tgbotapi/types/message/abstracts/ContentMessage; public synthetic fun getMessage ()Ldev/inmo/tgbotapi/types/message/abstracts/Message; public fun getUser ()Ldev/inmo/tgbotapi/types/chat/CommonUser; @@ -22314,19 +22314,19 @@ public final class dev/inmo/tgbotapi/types/queries/callback/MessageDataCallbackQ public final class dev/inmo/tgbotapi/types/queries/callback/MessageGameShortNameCallbackQuery : dev/inmo/tgbotapi/types/queries/callback/GameShortNameCallbackQuery, dev/inmo/tgbotapi/types/queries/callback/MessageCallbackQuery { public synthetic fun (Ljava/lang/String;Ldev/inmo/tgbotapi/types/chat/CommonUser;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/abstracts/ContentMessage;Ljava/lang/String;Lkotlin/jvm/internal/DefaultConstructorMarker;)V - public final fun component1-W_Rpwvk ()Ljava/lang/String; + public final fun component1-WfrJ78I ()Ljava/lang/String; public final fun component2 ()Ldev/inmo/tgbotapi/types/chat/CommonUser; public final fun component3 ()Ljava/lang/String; public final fun component4 ()Ldev/inmo/tgbotapi/types/message/abstracts/ContentMessage; public final fun component5 ()Ljava/lang/String; - public final fun copy-DSWifT0 (Ljava/lang/String;Ldev/inmo/tgbotapi/types/chat/CommonUser;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/abstracts/ContentMessage;Ljava/lang/String;)Ldev/inmo/tgbotapi/types/queries/callback/MessageGameShortNameCallbackQuery; - public static synthetic fun copy-DSWifT0$default (Ldev/inmo/tgbotapi/types/queries/callback/MessageGameShortNameCallbackQuery;Ljava/lang/String;Ldev/inmo/tgbotapi/types/chat/CommonUser;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/abstracts/ContentMessage;Ljava/lang/String;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/queries/callback/MessageGameShortNameCallbackQuery; + public final fun copy-yuX4cWQ (Ljava/lang/String;Ldev/inmo/tgbotapi/types/chat/CommonUser;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/abstracts/ContentMessage;Ljava/lang/String;)Ldev/inmo/tgbotapi/types/queries/callback/MessageGameShortNameCallbackQuery; + public static synthetic fun copy-yuX4cWQ$default (Ldev/inmo/tgbotapi/types/queries/callback/MessageGameShortNameCallbackQuery;Ljava/lang/String;Ldev/inmo/tgbotapi/types/chat/CommonUser;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/abstracts/ContentMessage;Ljava/lang/String;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/queries/callback/MessageGameShortNameCallbackQuery; public fun equals (Ljava/lang/Object;)Z public fun getChatInstance ()Ljava/lang/String; public fun getFrom ()Ldev/inmo/tgbotapi/types/chat/CommonUser; public synthetic fun getFrom ()Ldev/inmo/tgbotapi/types/chat/User; public fun getGameShortName ()Ljava/lang/String; - public fun getId-W_Rpwvk ()Ljava/lang/String; + public fun getId-WfrJ78I ()Ljava/lang/String; public fun getMessage ()Ldev/inmo/tgbotapi/types/message/abstracts/ContentMessage; public synthetic fun getMessage ()Ldev/inmo/tgbotapi/types/message/abstracts/Message; public fun getUser ()Ldev/inmo/tgbotapi/types/chat/CommonUser; @@ -22337,17 +22337,17 @@ public final class dev/inmo/tgbotapi/types/queries/callback/MessageGameShortName public final class dev/inmo/tgbotapi/types/queries/callback/UnknownCallbackQueryType : dev/inmo/tgbotapi/types/queries/callback/CallbackQuery { public synthetic fun (Ljava/lang/String;Ldev/inmo/tgbotapi/types/chat/CommonUser;Ljava/lang/String;Ljava/lang/String;Lkotlin/jvm/internal/DefaultConstructorMarker;)V - public final fun component1-W_Rpwvk ()Ljava/lang/String; + public final fun component1-WfrJ78I ()Ljava/lang/String; public final fun component2 ()Ldev/inmo/tgbotapi/types/chat/CommonUser; public final fun component3 ()Ljava/lang/String; public final fun component4 ()Ljava/lang/String; - public final fun copy-JlBCv9g (Ljava/lang/String;Ldev/inmo/tgbotapi/types/chat/CommonUser;Ljava/lang/String;Ljava/lang/String;)Ldev/inmo/tgbotapi/types/queries/callback/UnknownCallbackQueryType; - public static synthetic fun copy-JlBCv9g$default (Ldev/inmo/tgbotapi/types/queries/callback/UnknownCallbackQueryType;Ljava/lang/String;Ldev/inmo/tgbotapi/types/chat/CommonUser;Ljava/lang/String;Ljava/lang/String;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/queries/callback/UnknownCallbackQueryType; + public final fun copy-Ii_Ke28 (Ljava/lang/String;Ldev/inmo/tgbotapi/types/chat/CommonUser;Ljava/lang/String;Ljava/lang/String;)Ldev/inmo/tgbotapi/types/queries/callback/UnknownCallbackQueryType; + public static synthetic fun copy-Ii_Ke28$default (Ldev/inmo/tgbotapi/types/queries/callback/UnknownCallbackQueryType;Ljava/lang/String;Ldev/inmo/tgbotapi/types/chat/CommonUser;Ljava/lang/String;Ljava/lang/String;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/queries/callback/UnknownCallbackQueryType; public fun equals (Ljava/lang/Object;)Z public fun getChatInstance ()Ljava/lang/String; public fun getFrom ()Ldev/inmo/tgbotapi/types/chat/CommonUser; public synthetic fun getFrom ()Ldev/inmo/tgbotapi/types/chat/User; - public fun getId-W_Rpwvk ()Ljava/lang/String; + public fun getId-WfrJ78I ()Ljava/lang/String; public final fun getRaw ()Ljava/lang/String; public fun getUser ()Ldev/inmo/tgbotapi/types/chat/CommonUser; public synthetic fun getUser ()Ldev/inmo/tgbotapi/types/chat/User; diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/answers/AnswerCallbackQuery.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/answers/AnswerCallbackQuery.kt index 49e0609fef..a9ac9b0084 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/answers/AnswerCallbackQuery.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/answers/AnswerCallbackQuery.kt @@ -9,7 +9,7 @@ import kotlinx.serialization.builtins.serializer @Serializable data class AnswerCallbackQuery( @SerialName(callbackQueryIdField) - val callbackQueryId: CallbackQueryIdentifier, + val callbackQueryId: CallbackQueryId, @SerialName(textField) val text: String? = null, @SerialName(showAlertField) diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/CallbackQueryId.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/CallbackQueryId.kt new file mode 100644 index 0000000000..bfc45ac9a8 --- /dev/null +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/CallbackQueryId.kt @@ -0,0 +1,13 @@ +package dev.inmo.tgbotapi.types + +import kotlinx.serialization.Serializable +import kotlin.jvm.JvmInline + +@Serializable +@JvmInline +value class CallbackQueryId( + val string: String +) + +@Deprecated("Renamed", ReplaceWith("CallbackQueryId", "dev.inmo.tgbotapi.types.CallbackQueryId")) +typealias CallbackQueryIdentifier = CallbackQueryId \ No newline at end of file diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/CallbackQueryIdentifier.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/CallbackQueryIdentifier.kt deleted file mode 100644 index 54ea53a3af..0000000000 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/CallbackQueryIdentifier.kt +++ /dev/null @@ -1,10 +0,0 @@ -package dev.inmo.tgbotapi.types - -import kotlinx.serialization.Serializable -import kotlin.jvm.JvmInline - -@Serializable -@JvmInline -value class CallbackQueryIdentifier( - val string: String -) \ No newline at end of file diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/InlineMessageIdentifier.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/InlineMessageId.kt similarity index 100% rename from tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/InlineMessageIdentifier.kt rename to tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/InlineMessageId.kt diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/MediaGroupId.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/MediaGroupId.kt new file mode 100644 index 0000000000..e70fa244c5 --- /dev/null +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/MediaGroupId.kt @@ -0,0 +1,13 @@ +package dev.inmo.tgbotapi.types + +import kotlinx.serialization.Serializable +import kotlin.jvm.JvmInline + +@Serializable +@JvmInline +value class MediaGroupId( + val string: String +) + +@Deprecated("Renamed", ReplaceWith("MediaGroupId", "dev.inmo.tgbotapi.types.MediaGroupId")) +typealias MediaGroupIdentifier = MediaGroupId \ No newline at end of file diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/MediaGroupIdentifier.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/MediaGroupIdentifier.kt deleted file mode 100644 index 6f77746455..0000000000 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/MediaGroupIdentifier.kt +++ /dev/null @@ -1,10 +0,0 @@ -package dev.inmo.tgbotapi.types - -import kotlinx.serialization.Serializable -import kotlin.jvm.JvmInline - -@Serializable -@JvmInline -value class MediaGroupIdentifier( - val string: String -) \ No newline at end of file diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/ChannelContentMessageImpl.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/ChannelContentMessageImpl.kt index 26602f901b..0b9087e749 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/ChannelContentMessageImpl.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/ChannelContentMessageImpl.kt @@ -20,7 +20,7 @@ data class ChannelContentMessageImpl( override val replyMarkup: InlineKeyboardMarkup?, override val senderBot: CommonBot?, override val authorSignature: AuthorSignature?, - override val mediaGroupId: MediaGroupIdentifier?, + override val mediaGroupId: MediaGroupId?, ) : ChannelContentMessage { constructor( messageId: MessageId, @@ -34,7 +34,7 @@ data class ChannelContentMessageImpl( replyMarkup: InlineKeyboardMarkup?, senderBot: CommonBot?, authorSignature: AuthorSignature?, - mediaGroupId: MediaGroupIdentifier?, + mediaGroupId: MediaGroupId?, ) : this( messageId, chat, content, date, editDate, hasProtectedContent, forwardInfo.messageOrigin(), replyTo ?.let { ReplyInfo.Internal(it) }, replyMarkup, senderBot, authorSignature, mediaGroupId ) diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/GroupMessages.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/GroupMessages.kt index de7930b18a..aa77ecfe32 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/GroupMessages.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/GroupMessages.kt @@ -22,7 +22,7 @@ data class ConnectedFromChannelGroupContentMessageImpl( override val content: T, override val senderBot: CommonBot?, override val authorSignature: AuthorSignature?, - override val mediaGroupId: MediaGroupIdentifier?, + override val mediaGroupId: MediaGroupId?, ) : ConnectedFromChannelGroupContentMessage { constructor( @@ -38,7 +38,7 @@ data class ConnectedFromChannelGroupContentMessageImpl( content: T, senderBot: CommonBot?, authorSignature: AuthorSignature?, - mediaGroupId: MediaGroupIdentifier?, + mediaGroupId: MediaGroupId?, ) : this( chat, channel, messageId, date, forwardInfo.messageOrigin(), editDate, hasProtectedContent, replyTo ?.let { ReplyInfo.Internal(it) }, replyMarkup, content, senderBot, authorSignature, mediaGroupId ) @@ -57,7 +57,7 @@ data class UnconnectedFromChannelGroupContentMessageImpl( override val content: T, override val senderBot: CommonBot?, override val authorSignature: AuthorSignature?, - override val mediaGroupId: MediaGroupIdentifier?, + override val mediaGroupId: MediaGroupId?, ) : UnconnectedFromChannelGroupContentMessage { constructor( chat: PreviewGroupChat, @@ -72,7 +72,7 @@ data class UnconnectedFromChannelGroupContentMessageImpl( content: T, senderBot: CommonBot?, authorSignature: AuthorSignature?, - mediaGroupId: MediaGroupIdentifier?, + mediaGroupId: MediaGroupId?, ) : this( chat, channel, messageId, date, forwardInfo.messageOrigin(), editDate, hasProtectedContent, replyTo ?.let { ReplyInfo.Internal(it) }, replyMarkup, content, senderBot, authorSignature, mediaGroupId ) @@ -90,7 +90,7 @@ data class AnonymousGroupContentMessageImpl( override val content: T, override val senderBot: CommonBot?, override val authorSignature: AuthorSignature?, - override val mediaGroupId: MediaGroupIdentifier?, + override val mediaGroupId: MediaGroupId?, ) : AnonymousGroupContentMessage { constructor( chat: PreviewGroupChat, @@ -104,7 +104,7 @@ data class AnonymousGroupContentMessageImpl( content: T, senderBot: CommonBot?, authorSignature: AuthorSignature?, - mediaGroupId: MediaGroupIdentifier?, + mediaGroupId: MediaGroupId?, ) : this( chat, messageId, date, forwardInfo.messageOrigin(), editDate, hasProtectedContent, replyTo ?.let { ReplyInfo.Internal(it) }, replyMarkup, content, senderBot, authorSignature, mediaGroupId ) @@ -122,7 +122,7 @@ data class CommonGroupContentMessageImpl( override val replyMarkup: InlineKeyboardMarkup?, override val content: T, override val senderBot: CommonBot?, - override val mediaGroupId: MediaGroupIdentifier?, + override val mediaGroupId: MediaGroupId?, override val senderBoostsCount: Int? ) : CommonGroupContentMessage { constructor( @@ -137,7 +137,7 @@ data class CommonGroupContentMessageImpl( replyMarkup: InlineKeyboardMarkup?, content: T, senderBot: CommonBot?, - mediaGroupId: MediaGroupIdentifier?, + mediaGroupId: MediaGroupId?, senderBoostsCount: Int?, ) : this( chat, messageId, from, date, forwardInfo.messageOrigin(), editDate, hasProtectedContent, replyTo ?.let { ReplyInfo.Internal(it) }, replyMarkup, content, senderBot, mediaGroupId, senderBoostsCount @@ -158,7 +158,7 @@ data class FromChannelForumContentMessageImpl( override val content: T, override val senderBot: CommonBot?, override val authorSignature: AuthorSignature?, - override val mediaGroupId: MediaGroupIdentifier?, + override val mediaGroupId: MediaGroupId?, ) : FromChannelForumContentMessage { constructor( chat: PreviewForumChat, @@ -174,7 +174,7 @@ data class FromChannelForumContentMessageImpl( content: T, senderBot: CommonBot?, authorSignature: AuthorSignature?, - mediaGroupId: MediaGroupIdentifier?, + mediaGroupId: MediaGroupId?, ) : this( chat, channel, messageId, threadId, date, forwardInfo.messageOrigin(), editDate, hasProtectedContent, replyTo ?.let { ReplyInfo.Internal(it) }, replyMarkup, content, senderBot, authorSignature, mediaGroupId ) @@ -193,7 +193,7 @@ data class AnonymousForumContentMessageImpl( override val content: T, override val senderBot: CommonBot?, override val authorSignature: AuthorSignature?, - override val mediaGroupId: MediaGroupIdentifier?, + override val mediaGroupId: MediaGroupId?, ) : AnonymousForumContentMessage { constructor( chat: PreviewForumChat, @@ -208,7 +208,7 @@ data class AnonymousForumContentMessageImpl( content: T, senderBot: CommonBot?, authorSignature: AuthorSignature?, - mediaGroupId: MediaGroupIdentifier?, + mediaGroupId: MediaGroupId?, ) : this( chat, messageId, threadId, date, forwardInfo.messageOrigin(), editDate, hasProtectedContent, replyTo ?.let { ReplyInfo.Internal(it) }, replyMarkup, content, senderBot, authorSignature, mediaGroupId ) @@ -227,7 +227,7 @@ data class CommonForumContentMessageImpl( override val replyMarkup: InlineKeyboardMarkup?, override val content: T, override val senderBot: CommonBot?, - override val mediaGroupId: MediaGroupIdentifier?, + override val mediaGroupId: MediaGroupId?, override val senderBoostsCount: Int?, ) : CommonForumContentMessage { constructor( @@ -243,7 +243,7 @@ data class CommonForumContentMessageImpl( replyMarkup: InlineKeyboardMarkup?, content: T, senderBot: CommonBot?, - mediaGroupId: MediaGroupIdentifier?, + mediaGroupId: MediaGroupId?, senderBoostsCount: Int?, ) : this( chat, messageId, threadId, from, date, forwardInfo.messageOrigin(), editDate, hasProtectedContent, replyTo ?.let { ReplyInfo.Internal(it) }, replyMarkup, content, senderBot, mediaGroupId, senderBoostsCount diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/PrivateContentMessageImpl.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/PrivateContentMessageImpl.kt index 01fbf50758..4da0084a8f 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/PrivateContentMessageImpl.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/PrivateContentMessageImpl.kt @@ -22,7 +22,7 @@ data class PrivateContentMessageImpl( override val replyInfo: ReplyInfo?, override val replyMarkup: InlineKeyboardMarkup?, override val senderBot: CommonBot?, - override val mediaGroupId: MediaGroupIdentifier?, + override val mediaGroupId: MediaGroupId?, ) : PrivateContentMessage { constructor( messageId: MessageId, @@ -36,7 +36,7 @@ data class PrivateContentMessageImpl( replyTo: AccessibleMessage?, replyMarkup: InlineKeyboardMarkup?, senderBot: CommonBot?, - mediaGroupId: MediaGroupIdentifier?, + mediaGroupId: MediaGroupId?, ) : this( messageId, from, chat, content, date, editDate, hasProtectedContent, forwardInfo.messageOrigin(), replyTo ?.let { ReplyInfo.Internal(it) }, replyMarkup, senderBot, mediaGroupId ) diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/RawMessage.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/RawMessage.kt index 86aa9e29cb..a7bc91d5d3 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/RawMessage.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/RawMessage.kt @@ -60,7 +60,7 @@ internal data class RawMessage( private val via_bot: CommonBot? = null, private val edit_date: TelegramDate? = null, private val has_protected_content: Boolean? = null, - private val media_group_id: MediaGroupIdentifier? = null, + private val media_group_id: MediaGroupId? = null, private val author_signature: AuthorSignature? = null, private val text: String? = null, private val entities: RawMessageEntities? = null, diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/abstracts/PossiblyMediaGroupMessage.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/abstracts/PossiblyMediaGroupMessage.kt index 47bffba82f..62b4ae1630 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/abstracts/PossiblyMediaGroupMessage.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/abstracts/PossiblyMediaGroupMessage.kt @@ -1,8 +1,8 @@ package dev.inmo.tgbotapi.types.message.abstracts -import dev.inmo.tgbotapi.types.MediaGroupIdentifier +import dev.inmo.tgbotapi.types.MediaGroupId import dev.inmo.tgbotapi.types.message.content.MessageContent interface PossiblyMediaGroupMessage : ContentMessage { - val mediaGroupId: MediaGroupIdentifier? + val mediaGroupId: MediaGroupId? } diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/content/AbstractsMedia.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/content/AbstractsMedia.kt index 6a1ec0c5a2..fe9fe24abd 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/content/AbstractsMedia.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/content/AbstractsMedia.kt @@ -1,13 +1,11 @@ package dev.inmo.tgbotapi.types.message.content -import dev.inmo.tgbotapi.abstracts.TextedInput -import dev.inmo.tgbotapi.types.MediaGroupIdentifier +import dev.inmo.tgbotapi.types.MediaGroupId import dev.inmo.tgbotapi.types.MessageId import dev.inmo.tgbotapi.types.abstracts.WithOptionalQuoteInfo import dev.inmo.tgbotapi.types.files.AudioFile import dev.inmo.tgbotapi.types.files.DocumentFile import dev.inmo.tgbotapi.types.media.* -import dev.inmo.tgbotapi.types.message.abstracts.CommonMessage import dev.inmo.tgbotapi.types.message.abstracts.PossiblySentViaBotCommonMessage import kotlinx.serialization.Serializable @@ -33,7 +31,7 @@ sealed interface MediaGroupCollectionContent : Texted val sourceMessage: PossiblySentViaBotCommonMessage ) val group: List> - val mediaGroupId: MediaGroupIdentifier + val mediaGroupId: MediaGroupId } sealed interface MediaGroupPartContent : TextedMediaContent { diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/content/MediaGroupContent.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/content/MediaGroupContent.kt index 9452611ead..02c5dce070 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/content/MediaGroupContent.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/content/MediaGroupContent.kt @@ -14,7 +14,7 @@ import kotlinx.serialization.Serializable @Serializable data class MediaGroupContent( override val group: List>, - override val mediaGroupId: MediaGroupIdentifier, + override val mediaGroupId: MediaGroupId, ) : MediaGroupCollectionContent, WithOptionalQuoteInfo { val mainContent: MediaGroupPartContent get() = group.first().content diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/queries/callback/CallbackQuery.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/queries/callback/CallbackQuery.kt index 77740723dc..c5c4d8f065 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/queries/callback/CallbackQuery.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/queries/callback/CallbackQuery.kt @@ -1,12 +1,11 @@ package dev.inmo.tgbotapi.types.queries.callback import dev.inmo.tgbotapi.abstracts.FromUser -import dev.inmo.tgbotapi.types.CallbackQueryIdentifier +import dev.inmo.tgbotapi.types.CallbackQueryId import dev.inmo.tgbotapi.types.chat.CommonUser -import dev.inmo.tgbotapi.types.chat.User sealed interface CallbackQuery : FromUser { - val id: CallbackQueryIdentifier + val id: CallbackQueryId val chatInstance: String override val from: CommonUser override val user: CommonUser @@ -14,7 +13,7 @@ sealed interface CallbackQuery : FromUser { } data class UnknownCallbackQueryType( - override val id: CallbackQueryIdentifier, + override val id: CallbackQueryId, override val from: CommonUser, override val chatInstance: String, val raw: String diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/queries/callback/InaccessibleMessageDataCallbackQuery.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/queries/callback/InaccessibleMessageDataCallbackQuery.kt index 0ac9245eae..372018b7cf 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/queries/callback/InaccessibleMessageDataCallbackQuery.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/queries/callback/InaccessibleMessageDataCallbackQuery.kt @@ -1,14 +1,11 @@ package dev.inmo.tgbotapi.types.queries.callback -import dev.inmo.tgbotapi.types.CallbackQueryIdentifier +import dev.inmo.tgbotapi.types.CallbackQueryId import dev.inmo.tgbotapi.types.chat.CommonUser -import dev.inmo.tgbotapi.types.chat.User -import dev.inmo.tgbotapi.types.message.abstracts.ContentMessage import dev.inmo.tgbotapi.types.message.abstracts.InaccessibleMessage -import dev.inmo.tgbotapi.types.message.content.MessageContent data class InaccessibleMessageDataCallbackQuery( - override val id: CallbackQueryIdentifier, + override val id: CallbackQueryId, override val from: CommonUser, override val chatInstance: String, override val message: InaccessibleMessage, diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/queries/callback/InaccessibleMessageGameShortNameCallbackQuery.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/queries/callback/InaccessibleMessageGameShortNameCallbackQuery.kt index bfdd364e56..5dcc441fb7 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/queries/callback/InaccessibleMessageGameShortNameCallbackQuery.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/queries/callback/InaccessibleMessageGameShortNameCallbackQuery.kt @@ -1,14 +1,11 @@ package dev.inmo.tgbotapi.types.queries.callback -import dev.inmo.tgbotapi.types.CallbackQueryIdentifier +import dev.inmo.tgbotapi.types.CallbackQueryId import dev.inmo.tgbotapi.types.chat.CommonUser -import dev.inmo.tgbotapi.types.chat.User -import dev.inmo.tgbotapi.types.message.abstracts.ContentMessage import dev.inmo.tgbotapi.types.message.abstracts.InaccessibleMessage -import dev.inmo.tgbotapi.types.message.content.MessageContent data class InaccessibleMessageGameShortNameCallbackQuery( - override val id: CallbackQueryIdentifier, + override val id: CallbackQueryId, override val from: CommonUser, override val chatInstance: String, override val message: InaccessibleMessage, diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/queries/callback/InlineMessageIdDataCallbackQuery.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/queries/callback/InlineMessageIdDataCallbackQuery.kt index 5bbb7841cc..99e2dc51e0 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/queries/callback/InlineMessageIdDataCallbackQuery.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/queries/callback/InlineMessageIdDataCallbackQuery.kt @@ -6,7 +6,7 @@ import kotlinx.serialization.Serializable @Serializable data class InlineMessageIdDataCallbackQuery( - override val id: CallbackQueryIdentifier, + override val id: CallbackQueryId, override val from: CommonUser, override val chatInstance: String, override val inlineMessageId: InlineMessageId, diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/queries/callback/InlineMessageIdGameShortNameCallbackQuery.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/queries/callback/InlineMessageIdGameShortNameCallbackQuery.kt index 313c30678a..603e8708a9 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/queries/callback/InlineMessageIdGameShortNameCallbackQuery.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/queries/callback/InlineMessageIdGameShortNameCallbackQuery.kt @@ -4,7 +4,7 @@ import dev.inmo.tgbotapi.types.* import dev.inmo.tgbotapi.types.chat.CommonUser data class InlineMessageIdGameShortNameCallbackQuery( - override val id: CallbackQueryIdentifier, + override val id: CallbackQueryId, override val from: CommonUser, override val chatInstance: String, override val inlineMessageId: InlineMessageId, diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/queries/callback/MessageDataCallbackQuery.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/queries/callback/MessageDataCallbackQuery.kt index 2a8e5e21e0..879e1c3833 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/queries/callback/MessageDataCallbackQuery.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/queries/callback/MessageDataCallbackQuery.kt @@ -1,13 +1,12 @@ package dev.inmo.tgbotapi.types.queries.callback -import dev.inmo.tgbotapi.types.CallbackQueryIdentifier +import dev.inmo.tgbotapi.types.CallbackQueryId import dev.inmo.tgbotapi.types.chat.CommonUser -import dev.inmo.tgbotapi.types.chat.User import dev.inmo.tgbotapi.types.message.abstracts.ContentMessage import dev.inmo.tgbotapi.types.message.content.MessageContent data class MessageDataCallbackQuery( - override val id: CallbackQueryIdentifier, + override val id: CallbackQueryId, override val from: CommonUser, override val chatInstance: String, override val message: ContentMessage, diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/queries/callback/MessageGameShortNameCallbackQuery.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/queries/callback/MessageGameShortNameCallbackQuery.kt index ae89923be1..a5d2e5ec32 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/queries/callback/MessageGameShortNameCallbackQuery.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/queries/callback/MessageGameShortNameCallbackQuery.kt @@ -1,13 +1,12 @@ package dev.inmo.tgbotapi.types.queries.callback -import dev.inmo.tgbotapi.types.CallbackQueryIdentifier +import dev.inmo.tgbotapi.types.CallbackQueryId import dev.inmo.tgbotapi.types.chat.CommonUser -import dev.inmo.tgbotapi.types.chat.User import dev.inmo.tgbotapi.types.message.abstracts.ContentMessage import dev.inmo.tgbotapi.types.message.content.MessageContent data class MessageGameShortNameCallbackQuery( - override val id: CallbackQueryIdentifier, + override val id: CallbackQueryId, override val from: CommonUser, override val chatInstance: String, override val message: ContentMessage, diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/queries/callback/RawCallbackQuery.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/queries/callback/RawCallbackQuery.kt index 4961bde04f..a9d18a5c83 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/queries/callback/RawCallbackQuery.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/queries/callback/RawCallbackQuery.kt @@ -10,7 +10,7 @@ import kotlinx.serialization.Serializable @Serializable internal data class RawCallbackQuery( @SerialName(idField) - val id: CallbackQueryIdentifier, + val id: CallbackQueryId, @SerialName(fromField) val from: CommonUser, @Serializable(TelegramBotAPIMessageDeserializeOnlySerializer::class) diff --git a/tgbotapi.utils/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/utils/extensions/raw/Message.kt b/tgbotapi.utils/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/utils/extensions/raw/Message.kt index ca069ef5c4..d8865bc84a 100644 --- a/tgbotapi.utils/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/utils/extensions/raw/Message.kt +++ b/tgbotapi.utils/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/utils/extensions/raw/Message.kt @@ -61,7 +61,7 @@ inline val Message.edit_date: TelegramDate? inline val Message.has_protected_content: Boolean? get() = asContentMessage() ?.hasProtectedContent @RiskFeature(RawFieldsUsageWarning) -inline val Message.media_group_id: MediaGroupIdentifier? +inline val Message.media_group_id: MediaGroupId? get() = asMediaGroupMessage() ?.mediaGroupId @RiskFeature(RawFieldsUsageWarning) inline val Message.author_signature: AuthorSignature? diff --git a/tgbotapi.utils/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/utils/updates/UpdatesUtils.kt b/tgbotapi.utils/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/utils/updates/UpdatesUtils.kt index 5588d99587..70df0cf31b 100644 --- a/tgbotapi.utils/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/utils/updates/UpdatesUtils.kt +++ b/tgbotapi.utils/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/utils/updates/UpdatesUtils.kt @@ -1,7 +1,7 @@ package dev.inmo.tgbotapi.extensions.utils.updates import dev.inmo.tgbotapi.extensions.utils.withContentOrNull -import dev.inmo.tgbotapi.types.MediaGroupIdentifier +import dev.inmo.tgbotapi.types.MediaGroupId import dev.inmo.tgbotapi.types.UpdateId import dev.inmo.tgbotapi.types.message.abstracts.PossiblySentViaBotCommonMessage import dev.inmo.tgbotapi.types.message.content.MediaGroupPartContent @@ -26,7 +26,7 @@ fun List.lastUpdateIdentifier(): UpdateId? { @OptIn(RiskFeature::class) fun List.convertWithMediaGroupUpdates(): List { val resultUpdates = mutableListOf() - val mediaGroups = mutableMapOf>>>() + val mediaGroups = mutableMapOf>>>() for (update in this) { val message = (update.data as? PossiblySentViaBotCommonMessage<*>) ?.withContentOrNull()