diff --git a/CHANGELOG.md b/CHANGELOG.md index c8e4d17f65..2cfd638c80 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,64 @@ # TelegramBotAPI changelog +## 31.0.0 + +**THIS UPDATE CONTAINS ADDING SUPPORT OF [Telegram Bots API 9.3](https://core.telegram.org/bots/api-changelog#december-31-2025)** + +**THIS UPDATE CONTAINS ADDING SUPPORT OF [Telegram Bots API 9.4](https://core.telegram.org/bots/api-changelog#february-9-2026)** + +**THIS UPDATE CONTAINS BREAKING CHANGES** + +* `Version`: + * `MicroUtils`: `0.26.8` -> `0.26.9` +* `Core`: + * **THIS IS BREAKING CHANGE** All media files with sizes changed type of `fileSize` field from `Long` to `FileSize` (value class) + * **THIS IS BREAKING CHANGE** Class `GiftSentOrReceived` have been renamed to `GiftSentOrReceivedEvent` to clarify naming + * **THIS IS BREAKING CHANGE** New interface `OwnedGift` have been created + * **THIS IS BREAKING CHANGE** `OwnedGifts` have changed its generic type to `OwnedGift` + * **THIS IS BREAKING CHANGE** For `CheclistTask` have been made several changes: + * `ChecklistTask.Done` -> `ChecklistTask.Completed` + * `ChecklistTask.Undone` -> `ChecklistTask.Uncompleted` + * Added several inheritors of `ChecklistTask.Completed` - for completed by chat, by user or just completed tasks + * **THIS IS BREAKING CHANGE** `PrivateChat.id` type changed from `UserId` to `IdChatIdentifier` + * **THIS IS BREAKING CHANGE** `ForumChat` no longer extends `SupergroupChat`; new `SupergroupForumChat` interface created for supergroup forums + * **THIS IS BREAKING CHANGE** Added `PrivateForumChat` and `PrivateUserChat` interfaces to support private forums + * Added support of private forums (`ExtendedPrivateForumChatImpl`, `PrivateForumContentMessage`, `PrivateForumEventMessage`) + * Added `ChatOwnerChanged` and `ChatOwnerLeft` chat events + * Added `SetMyProfilePhoto` and `RemoveMyProfilePhoto` requests + * Added `GetUserProfileAudios` request and `UserProfileAudios` type + * Added `GetChatGifts` and `GetUserGifts` requests + * Added `RepostStory` request + * Added `SendMessageDraft` request with `DraftId` and `DraftIdAllocator` + * Added `KeyboardButtonStyle` support and `iconCustomEmojiId` field to keyboard buttons + * Added `style` and `iconCustomEmojiId` fields to `InlineKeyboardButton` + * Added `VideoCodec` and `VideoQuality` types + * Added `Rarity`, `GiftBackground`, `UniqueGiftName`, and `UniqueGiftColors` types for gifts + * Added new fields to `Gift.Regular`: `personalTotalCount`, `personalRemainingCount`, `isPremium`, `hasColors`, `background`, `uniqueGiftVariantCount` + * Added `isBurned` field support in `GiftSentOrReceivedEvent` + * Added `UserRating` type and `rating` field to `ExtendedPrivateChat` + * Added `Level` and `Rating` value classes + * Added `uniqueGiftColors` field to extended chats (channel, group, private) + * Added `paidMessageStarCount` field to `ExtendedGroupChat` and `ExtendedPrivateChat` + * Added `firstProfileAudio` field to `ExtendedPrivateChat` + * Added `purchased_paid_media` to updates list + * Added `effectId` support in `CopyMessage` and `ForwardMessage` + * Added `WithOptionalPaidMessageStarCount` interface + * Fixed serialization of `SimpleKeyboardButton` + * Fixed support of `paidMessageStarCount` +* `API`: + * Added extensions for `SetMyProfilePhoto`, `RemoveMyProfilePhoto`, `GetUserProfileAudios` + * Added extensions for `GetChatGifts` and `GetUserGifts` + * Added extensions for `RepostStory` + * Added extensions for `SendMessageDraft` + * Added `effectId` parameter to `copyMessage` and `forwardMessage` extensions + * Added `GetBusinessAccountGifts` extensions improvements +* `BehaviourBuilder`: + * Updated event triggers for new chat events (`ChatOwnerChanged`, `ChatOwnerLeft`, private forum events) + * Updated expectations for new event types +* `Utils`: + * Regenerated class casts extensions + * Updated `InlineKeyboardBuilder` and `ReplyKeyboardBuilder` with `style` and `iconCustomEmojiId` support + ## 30.0.2 * `Version`: diff --git a/README.md b/README.md index 0ff595be97..e73ad53b37 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# TelegramBotAPI [![Maven Central Version](https://img.shields.io/maven-central/v/dev.inmo/tgbotapi)](https://central.sonatype.com/artifact/dev.inmo/tgbotapi) [![Supported version](https://img.shields.io/badge/Telegram%20Bot%20API-9.2-blue)](https://core.telegram.org/bots/api-changelog#august-15-2025) +# TelegramBotAPI [![Maven Central Version](https://img.shields.io/maven-central/v/dev.inmo/tgbotapi)](https://central.sonatype.com/artifact/dev.inmo/tgbotapi) [![Supported version](https://img.shields.io/badge/Telegram%20Bot%20API-9.4-blue)](https://core.telegram.org/bots/api-changelog#february-9-2026) | Docs | [![KDocs](https://img.shields.io/static/v1?label=Dokka&message=KDocs&color=blue&logo=kotlin)](https://tgbotapi.inmo.dev/index.html) [![Mini tutorial](https://img.shields.io/static/v1?label=Mk&message=Docs&color=blue&logo=mkdocs)](https://docs.inmo.dev/tgbotapi/index.html) | |:----------------------:|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:| diff --git a/gradle.properties b/gradle.properties index 35c174069d..f2dc6a3c72 100644 --- a/gradle.properties +++ b/gradle.properties @@ -6,4 +6,4 @@ kotlin.incremental=true kotlin.incremental.js=true library_group=dev.inmo -library_version=30.0.2 +library_version=31.0.0 diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 13a75fd939..9bc9229bd0 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -13,7 +13,7 @@ ktor = "3.3.2" ksp = "2.3.2" kotlin-poet = "2.2.0" -microutils = "0.26.8" +microutils = "0.26.9" kslog = "1.5.2" versions = "0.53.0" diff --git a/tgbotapi.api/api/tgbotapi.api.api b/tgbotapi.api/api/tgbotapi.api.api index 90ed525713..a737ee7fcb 100644 --- a/tgbotapi.api/api/tgbotapi.api.api +++ b/tgbotapi.api/api/tgbotapi.api.api @@ -102,18 +102,18 @@ public final class dev/inmo/tgbotapi/extensions/api/EditLiveLocationInfo$Compani } public final class dev/inmo/tgbotapi/extensions/api/ForwardMessageKt { - public static final fun forwardMessage-AvxtAQo (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/Integer;ZZLkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static final fun forwardMessage-AvxtAQo (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/Chat;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/Integer;ZZLkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static synthetic fun forwardMessage-AvxtAQo$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/Integer;ZZLkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static synthetic fun forwardMessage-AvxtAQo$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/Chat;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/Integer;ZZLkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static final fun forwardMessage-cCLTpuM (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/ChatIdentifier;JLdev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/Integer;ZZLkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static final fun forwardMessage-cCLTpuM (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/chat/Chat;JLdev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/Integer;ZZLkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static final fun forwardMessage-cCLTpuM (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/Chat;Ldev/inmo/tgbotapi/types/ChatIdentifier;JLdev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/Integer;ZZLkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static final fun forwardMessage-cCLTpuM (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/Chat;Ldev/inmo/tgbotapi/types/chat/Chat;JLdev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/Integer;ZZLkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static synthetic fun forwardMessage-cCLTpuM$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/ChatIdentifier;JLdev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/Integer;ZZLkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static synthetic fun forwardMessage-cCLTpuM$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/chat/Chat;JLdev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/Integer;ZZLkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static synthetic fun forwardMessage-cCLTpuM$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/Chat;Ldev/inmo/tgbotapi/types/ChatIdentifier;JLdev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/Integer;ZZLkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static synthetic fun forwardMessage-cCLTpuM$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/Chat;Ldev/inmo/tgbotapi/types/chat/Chat;JLdev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/Integer;ZZLkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static final fun forwardMessage-XxpEIVY (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/Integer;ZZLjava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static final fun forwardMessage-XxpEIVY (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/Chat;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/Integer;ZZLjava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun forwardMessage-XxpEIVY$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/Integer;ZZLjava/lang/String;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static synthetic fun forwardMessage-XxpEIVY$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/Chat;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/Integer;ZZLjava/lang/String;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static final fun forwardMessage-eiOsJlw (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/ChatIdentifier;JLdev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/Integer;ZZLjava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static final fun forwardMessage-eiOsJlw (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/chat/Chat;JLdev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/Integer;ZZLjava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static final fun forwardMessage-eiOsJlw (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/Chat;Ldev/inmo/tgbotapi/types/ChatIdentifier;JLdev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/Integer;ZZLjava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static final fun forwardMessage-eiOsJlw (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/Chat;Ldev/inmo/tgbotapi/types/chat/Chat;JLdev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/Integer;ZZLjava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun forwardMessage-eiOsJlw$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/ChatIdentifier;JLdev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/Integer;ZZLjava/lang/String;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static synthetic fun forwardMessage-eiOsJlw$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/chat/Chat;JLdev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/Integer;ZZLjava/lang/String;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static synthetic fun forwardMessage-eiOsJlw$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/Chat;Ldev/inmo/tgbotapi/types/ChatIdentifier;JLdev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/Integer;ZZLjava/lang/String;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static synthetic fun forwardMessage-eiOsJlw$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/Chat;Ldev/inmo/tgbotapi/types/chat/Chat;JLdev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/Integer;ZZLjava/lang/String;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; } public final class dev/inmo/tgbotapi/extensions/api/ForwardMessagesKt { @@ -297,6 +297,10 @@ public final class dev/inmo/tgbotapi/extensions/api/bot/GetMyStarBalanceKt { public static final fun getMyStarBalance (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; } +public final class dev/inmo/tgbotapi/extensions/api/bot/RemoveMyProfilePhotoKt { + public static final fun removeMyProfilePhoto (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; +} + public final class dev/inmo/tgbotapi/extensions/api/bot/SetMyCommandsKt { public static final fun setMyCommands (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ljava/util/List;Ldev/inmo/tgbotapi/types/commands/BotCommandScope;Ldev/inmo/micro_utils/language_codes/IetfLang;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static final fun setMyCommands (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ljava/util/List;Ldev/inmo/tgbotapi/types/commands/BotCommandScope;Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; @@ -327,6 +331,10 @@ public final class dev/inmo/tgbotapi/extensions/api/bot/SetMyNameKt { public static synthetic fun setMyName$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ljava/lang/String;Ldev/inmo/micro_utils/language_codes/IetfLang;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; } +public final class dev/inmo/tgbotapi/extensions/api/bot/SetMyProfilePhotoKt { + public static final fun setMyProfilePhoto (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/requests/business_connection/InputProfilePhoto;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; +} + public final class dev/inmo/tgbotapi/extensions/api/bot/SetMyShortDescriptionKt { public static final fun setMyShortDescription (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ljava/lang/String;Ldev/inmo/micro_utils/language_codes/IetfLang;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static final fun setMyShortDescription (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ljava/lang/String;Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; @@ -347,10 +355,10 @@ public final class dev/inmo/tgbotapi/extensions/api/business/DeleteBusinessMessa } public final class dev/inmo/tgbotapi/extensions/api/business/GetBusinessAccountGiftsKt { - public static final fun getBusinessAccountGifts-LATcL_E (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ljava/lang/String;ZZZZZZLjava/lang/String;Ljava/lang/Integer;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static synthetic fun getBusinessAccountGifts-LATcL_E$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ljava/lang/String;ZZZZZZLjava/lang/String;Ljava/lang/Integer;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static final fun getBusinessAccountGiftsFlow-LATcL_E (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ljava/lang/String;ZZZZZZLjava/lang/String;Ljava/lang/Integer;Lkotlin/jvm/functions/Function2;)Lkotlinx/coroutines/flow/Flow; - public static synthetic fun getBusinessAccountGiftsFlow-LATcL_E$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ljava/lang/String;ZZZZZZLjava/lang/String;Ljava/lang/Integer;Lkotlin/jvm/functions/Function2;ILjava/lang/Object;)Lkotlinx/coroutines/flow/Flow; + public static final fun getBusinessAccountGifts-ncRJlhg (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ljava/lang/String;ZZZZZZZZLjava/lang/String;Ljava/lang/Integer;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun getBusinessAccountGifts-ncRJlhg$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ljava/lang/String;ZZZZZZZZLjava/lang/String;Ljava/lang/Integer;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static final fun getBusinessAccountGiftsFlow-ncRJlhg (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ljava/lang/String;ZZZZZZZZLjava/lang/String;Ljava/lang/Integer;Lkotlin/jvm/functions/Function2;)Lkotlinx/coroutines/flow/Flow; + public static synthetic fun getBusinessAccountGiftsFlow-ncRJlhg$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ljava/lang/String;ZZZZZZZZLjava/lang/String;Ljava/lang/Integer;Lkotlin/jvm/functions/Function2;ILjava/lang/Object;)Lkotlinx/coroutines/flow/Flow; } public final class dev/inmo/tgbotapi/extensions/api/business/GetBusinessAccountStarBalanceKt { @@ -513,6 +521,7 @@ public final class dev/inmo/tgbotapi/extensions/api/chat/get/GetChatKt { public static final fun getChat (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/GroupChatImpl;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static final fun getChat (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/PrivateChat;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static final fun getChat (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/PrivateChatImpl;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static final fun getChat (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/PrivateForumChatImpl;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static final fun getChat (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/PublicChat;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static final fun getChat (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/SupergroupChat;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static final fun getChat (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/SupergroupChatImpl;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; @@ -538,12 +547,12 @@ public final class dev/inmo/tgbotapi/extensions/api/chat/get/GetForumTopicIconSt public final class dev/inmo/tgbotapi/extensions/api/chat/invite_links/ApproveChatJoinRequestKt { public static final fun approve (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/ChatJoinRequest;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static final fun approveChatJoinRequest (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static final fun approveChatJoinRequest (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/chat/User;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static final fun approveChatJoinRequest (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/ChatJoinRequest;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static final fun approveChatJoinRequest (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/PublicChat;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static final fun approveChatJoinRequest (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/PublicChat;Ldev/inmo/tgbotapi/types/chat/User;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static final fun approveChatJoinRequest (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/update/ChatJoinRequestUpdate;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static final fun approveChatJoinRequest-Ugw2it0 (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/ChatIdentifier;JLkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static final fun approveChatJoinRequest-Ugw2it0 (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/PublicChat;JLkotlin/coroutines/Continuation;)Ljava/lang/Object; } public final class dev/inmo/tgbotapi/extensions/api/chat/invite_links/CreateChatInviteLinkKt { @@ -591,12 +600,12 @@ public final class dev/inmo/tgbotapi/extensions/api/chat/invite_links/CreateChat public final class dev/inmo/tgbotapi/extensions/api/chat/invite_links/DeclineChatJoinRequestKt { public static final fun decline (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/ChatJoinRequest;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static final fun declineChatJoinRequest (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static final fun declineChatJoinRequest (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/chat/User;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static final fun declineChatJoinRequest (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/ChatJoinRequest;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static final fun declineChatJoinRequest (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/PublicChat;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static final fun declineChatJoinRequest (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/PublicChat;Ldev/inmo/tgbotapi/types/chat/User;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static final fun declineChatJoinRequest (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/update/ChatJoinRequestUpdate;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static final fun declineChatJoinRequest-Ugw2it0 (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/ChatIdentifier;JLkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static final fun declineChatJoinRequest-Ugw2it0 (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/PublicChat;JLkotlin/coroutines/Continuation;)Ljava/lang/Object; } public final class dev/inmo/tgbotapi/extensions/api/chat/invite_links/EditChatInviteLinkKt { @@ -662,14 +671,14 @@ public final class dev/inmo/tgbotapi/extensions/api/chat/invite_links/RevokeChat } public final class dev/inmo/tgbotapi/extensions/api/chat/members/BanChatMemberKt { + public static final fun banChatMember (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static final fun banChatMember (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/chat/User;Ldev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static final fun banChatMember (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/PublicChat;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static final fun banChatMember (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/PublicChat;Ldev/inmo/tgbotapi/types/chat/User;Ldev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun banChatMember$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; public static synthetic fun banChatMember$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/chat/User;Ldev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static synthetic fun banChatMember$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/PublicChat;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; public static synthetic fun banChatMember$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/PublicChat;Ldev/inmo/tgbotapi/types/chat/User;Ldev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static final fun banChatMember-mITkJfk (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/ChatIdentifier;JLdev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static final fun banChatMember-mITkJfk (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/PublicChat;JLdev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static synthetic fun banChatMember-mITkJfk$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/ChatIdentifier;JLdev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static synthetic fun banChatMember-mITkJfk$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/PublicChat;JLdev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; } public final class dev/inmo/tgbotapi/extensions/api/chat/members/BanChatSenderChatKt { @@ -680,83 +689,83 @@ public final class dev/inmo/tgbotapi/extensions/api/chat/members/BanChatSenderCh } public final class dev/inmo/tgbotapi/extensions/api/chat/members/GetChatMemberKt { + public static final fun getChatMember (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static final fun getChatMember (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/chat/User;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static final fun getChatMember (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/PublicChat;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static final fun getChatMember (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/PublicChat;Ldev/inmo/tgbotapi/types/chat/User;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static final fun getChatMember-Ugw2it0 (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/ChatIdentifier;JLkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static final fun getChatMember-Ugw2it0 (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/PublicChat;JLkotlin/coroutines/Continuation;)Ljava/lang/Object; } public final class dev/inmo/tgbotapi/extensions/api/chat/members/PromoteChannelAdministratorKt { + public static final fun promoteChannelAdministrator (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static final fun promoteChannelAdministrator (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/chat/User;Ldev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static final fun promoteChannelAdministrator (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/PublicChat;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static final fun promoteChannelAdministrator (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/PublicChat;Ldev/inmo/tgbotapi/types/chat/User;Ldev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun promoteChannelAdministrator$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; public static synthetic fun promoteChannelAdministrator$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/chat/User;Ldev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static synthetic fun promoteChannelAdministrator$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/PublicChat;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; public static synthetic fun promoteChannelAdministrator$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/PublicChat;Ldev/inmo/tgbotapi/types/chat/User;Ldev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static final fun promoteChannelAdministrator-p6QPzmQ (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/ChatIdentifier;JLdev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static final fun promoteChannelAdministrator-p6QPzmQ (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/PublicChat;JLdev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static synthetic fun promoteChannelAdministrator-p6QPzmQ$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/ChatIdentifier;JLdev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static synthetic fun promoteChannelAdministrator-p6QPzmQ$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/PublicChat;JLdev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; } public final class dev/inmo/tgbotapi/extensions/api/chat/members/PromoteChatAdministratorKt { + public static final fun promoteChatAdministrator (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static final fun promoteChatAdministrator (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/chat/User;Ldev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static final fun promoteChatAdministrator (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/PublicChat;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static final fun promoteChatAdministrator (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/PublicChat;Ldev/inmo/tgbotapi/types/chat/User;Ldev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun promoteChatAdministrator$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; public static synthetic fun promoteChatAdministrator$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/chat/User;Ldev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static synthetic fun promoteChatAdministrator$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/PublicChat;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; public static synthetic fun promoteChatAdministrator$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/PublicChat;Ldev/inmo/tgbotapi/types/chat/User;Ldev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static final fun promoteChatAdministrator-MnQfiWM (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/ChatIdentifier;JLdev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static final fun promoteChatAdministrator-MnQfiWM (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/PublicChat;JLdev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static synthetic fun promoteChatAdministrator-MnQfiWM$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/ChatIdentifier;JLdev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static synthetic fun promoteChatAdministrator-MnQfiWM$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/PublicChat;JLdev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; } public final class dev/inmo/tgbotapi/extensions/api/chat/members/PromoteChatMemberKt { + public static final fun promoteChatMember (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static final fun promoteChatMember (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/chat/User;Ldev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static final fun promoteChatMember (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/PublicChat;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static final fun promoteChatMember (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/PublicChat;Ldev/inmo/tgbotapi/types/chat/User;Ldev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun promoteChatMember$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; public static synthetic fun promoteChatMember$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/chat/User;Ldev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static synthetic fun promoteChatMember$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/PublicChat;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; public static synthetic fun promoteChatMember$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/PublicChat;Ldev/inmo/tgbotapi/types/chat/User;Ldev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static final fun promoteChatMember-_p3TPLY (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/ChatIdentifier;JLdev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static final fun promoteChatMember-_p3TPLY (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/PublicChat;JLdev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static synthetic fun promoteChatMember-_p3TPLY$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/ChatIdentifier;JLdev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static synthetic fun promoteChatMember-_p3TPLY$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/PublicChat;JLdev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; } public final class dev/inmo/tgbotapi/extensions/api/chat/members/PromoteSupergroupAdministratorKt { + public static final fun promoteSupergroupAdministrator (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static final fun promoteSupergroupAdministrator (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/chat/User;Ldev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static final fun promoteSupergroupAdministrator (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/PublicChat;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static final fun promoteSupergroupAdministrator (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/PublicChat;Ldev/inmo/tgbotapi/types/chat/User;Ldev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun promoteSupergroupAdministrator$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; public static synthetic fun promoteSupergroupAdministrator$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/chat/User;Ldev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static synthetic fun promoteSupergroupAdministrator$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/PublicChat;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; public static synthetic fun promoteSupergroupAdministrator$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/PublicChat;Ldev/inmo/tgbotapi/types/chat/User;Ldev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static final fun promoteSupergroupAdministrator-DDvpgsE (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/ChatIdentifier;JLdev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static final fun promoteSupergroupAdministrator-DDvpgsE (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/PublicChat;JLdev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static synthetic fun promoteSupergroupAdministrator-DDvpgsE$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/ChatIdentifier;JLdev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static synthetic fun promoteSupergroupAdministrator-DDvpgsE$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/PublicChat;JLdev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; } public final class dev/inmo/tgbotapi/extensions/api/chat/members/RestrictChatMemberKt { + public static final fun restrictChatMember (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/TelegramDate;Ldev/inmo/tgbotapi/types/chat/ChatPermissions;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static final fun restrictChatMember (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/chat/User;Ldev/inmo/tgbotapi/types/TelegramDate;Ldev/inmo/tgbotapi/types/chat/ChatPermissions;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static final fun restrictChatMember (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/PublicChat;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/TelegramDate;Ldev/inmo/tgbotapi/types/chat/ChatPermissions;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static final fun restrictChatMember (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/PublicChat;Ldev/inmo/tgbotapi/types/chat/User;Ldev/inmo/tgbotapi/types/TelegramDate;Ldev/inmo/tgbotapi/types/chat/ChatPermissions;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun restrictChatMember$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/TelegramDate;Ldev/inmo/tgbotapi/types/chat/ChatPermissions;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; public static synthetic fun restrictChatMember$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/chat/User;Ldev/inmo/tgbotapi/types/TelegramDate;Ldev/inmo/tgbotapi/types/chat/ChatPermissions;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static synthetic fun restrictChatMember$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/PublicChat;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/TelegramDate;Ldev/inmo/tgbotapi/types/chat/ChatPermissions;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; public static synthetic fun restrictChatMember$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/PublicChat;Ldev/inmo/tgbotapi/types/chat/User;Ldev/inmo/tgbotapi/types/TelegramDate;Ldev/inmo/tgbotapi/types/chat/ChatPermissions;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static final fun restrictChatMember-qJgMyII (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/ChatIdentifier;JLdev/inmo/tgbotapi/types/TelegramDate;Ldev/inmo/tgbotapi/types/chat/ChatPermissions;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static final fun restrictChatMember-qJgMyII (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/PublicChat;JLdev/inmo/tgbotapi/types/TelegramDate;Ldev/inmo/tgbotapi/types/chat/ChatPermissions;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static synthetic fun restrictChatMember-qJgMyII$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/ChatIdentifier;JLdev/inmo/tgbotapi/types/TelegramDate;Ldev/inmo/tgbotapi/types/chat/ChatPermissions;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static synthetic fun restrictChatMember-qJgMyII$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/PublicChat;JLdev/inmo/tgbotapi/types/TelegramDate;Ldev/inmo/tgbotapi/types/chat/ChatPermissions;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; } public final class dev/inmo/tgbotapi/extensions/api/chat/members/SetChatAdministratorCustomTitleKt { + public static final fun setChatAdministratorCustomTitle (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static final fun setChatAdministratorCustomTitle (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/chat/User;Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static final fun setChatAdministratorCustomTitle (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/PublicChat;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static final fun setChatAdministratorCustomTitle (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/PublicChat;Ldev/inmo/tgbotapi/types/chat/User;Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static final fun setChatAdministratorCustomTitle-KR8jFg0 (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;JLjava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static final fun setChatAdministratorCustomTitle-KR8jFg0 (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/PublicChat;JLjava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; } public final class dev/inmo/tgbotapi/extensions/api/chat/members/UnbanChatMemberKt { + public static final fun unbanChatMember (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static final fun unbanChatMember (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/chat/User;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static final fun unbanChatMember (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/PublicChat;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static final fun unbanChatMember (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/PublicChat;Ldev/inmo/tgbotapi/types/chat/User;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun unbanChatMember$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; public static synthetic fun unbanChatMember$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/chat/User;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static synthetic fun unbanChatMember$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/PublicChat;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; public static synthetic fun unbanChatMember$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/PublicChat;Ldev/inmo/tgbotapi/types/chat/User;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static final fun unbanChatMember-KR8jFg0 (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/ChatIdentifier;JLjava/lang/Boolean;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static final fun unbanChatMember-KR8jFg0 (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/PublicChat;JLjava/lang/Boolean;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static synthetic fun unbanChatMember-KR8jFg0$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/ChatIdentifier;JLjava/lang/Boolean;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static synthetic fun unbanChatMember-KR8jFg0$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/PublicChat;JLjava/lang/Boolean;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; } public final class dev/inmo/tgbotapi/extensions/api/chat/members/UnbanChatSenderChatKt { @@ -991,11 +1000,11 @@ public final class dev/inmo/tgbotapi/extensions/api/edit/media/EditInlineMessage } public final class dev/inmo/tgbotapi/extensions/api/edit/payments/EditUserStarSubscriptionKt { - public static final fun cancelUserStarSubscription-0SkZb-I (Ldev/inmo/tgbotapi/bot/RequestsExecutor;JLjava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static final fun cancelUserStarSubscription-AASCvMI (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static final fun cancelUserStarSubscription-AASCvMI (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/User;Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static final fun editUserStarSubscription-0x-hEcU (Ldev/inmo/tgbotapi/bot/RequestsExecutor;JLjava/lang/String;ZLkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static final fun editUserStarSubscription-TFuYNzM (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;ZLkotlin/coroutines/Continuation;)Ljava/lang/Object; public static final fun editUserStarSubscription-TFuYNzM (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/User;Ljava/lang/String;ZLkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static final fun enableUserStarSubscription-0SkZb-I (Ldev/inmo/tgbotapi/bot/RequestsExecutor;JLjava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static final fun enableUserStarSubscription-AASCvMI (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static final fun enableUserStarSubscription-AASCvMI (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/User;Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; } @@ -1098,38 +1107,38 @@ public final class dev/inmo/tgbotapi/extensions/api/files/DownloadFileToTempFile } public final class dev/inmo/tgbotapi/extensions/api/games/GetGameHighScoresByChatKt { + public static final fun getGameScore (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/message/abstracts/ContentMessage;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static final fun getGameScore (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/CommonUser;Ldev/inmo/tgbotapi/types/message/abstracts/ContentMessage;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static final fun getGameScore-nIfro0c (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/IdChatIdentifier;JLkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static final fun getGameScore-nIfro0c (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/chat/Chat;JLkotlin/coroutines/Continuation;)Ljava/lang/Object; public static final fun getGameScore-nIfro0c (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/CommonUser;Ldev/inmo/tgbotapi/types/IdChatIdentifier;JLkotlin/coroutines/Continuation;)Ljava/lang/Object; public static final fun getGameScore-nIfro0c (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/CommonUser;Ldev/inmo/tgbotapi/types/chat/Chat;JLkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static final fun getGameScore-nc95W0g (Ldev/inmo/tgbotapi/bot/RequestsExecutor;JLdev/inmo/tgbotapi/types/message/abstracts/ContentMessage;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static final fun getGameScore-rEaEB9A (Ldev/inmo/tgbotapi/bot/RequestsExecutor;JLdev/inmo/tgbotapi/types/IdChatIdentifier;JLkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static final fun getGameScore-rEaEB9A (Ldev/inmo/tgbotapi/bot/RequestsExecutor;JLdev/inmo/tgbotapi/types/chat/Chat;JLkotlin/coroutines/Continuation;)Ljava/lang/Object; } public final class dev/inmo/tgbotapi/extensions/api/games/GetGameHighScoresByInlineMessageIdKt { + public static final fun getGameScore-GfoqsF4 (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static final fun getGameScore-GfoqsF4 (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/CommonUser;Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static final fun getGameScore-ujMAGLQ (Ldev/inmo/tgbotapi/bot/RequestsExecutor;JLjava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; } public final class dev/inmo/tgbotapi/extensions/api/games/SetGameScoreByChatIdKt { + public static final fun setGameScore (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;JLdev/inmo/tgbotapi/types/message/abstracts/ContentMessage;ZZLkotlin/coroutines/Continuation;)Ljava/lang/Object; public static final fun setGameScore (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/CommonUser;JLdev/inmo/tgbotapi/types/message/abstracts/ContentMessage;ZZLkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun setGameScore$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;JLdev/inmo/tgbotapi/types/message/abstracts/ContentMessage;ZZLkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; public static synthetic fun setGameScore$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/CommonUser;JLdev/inmo/tgbotapi/types/message/abstracts/ContentMessage;ZZLkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static final fun setGameScore-VjR9mJc (Ldev/inmo/tgbotapi/bot/RequestsExecutor;JJLdev/inmo/tgbotapi/types/message/abstracts/ContentMessage;ZZLkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static synthetic fun setGameScore-VjR9mJc$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;JJLdev/inmo/tgbotapi/types/message/abstracts/ContentMessage;ZZLkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static final fun setGameScore-ti5m_QQ (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;JLdev/inmo/tgbotapi/types/IdChatIdentifier;JZZLkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static final fun setGameScore-ti5m_QQ (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;JLdev/inmo/tgbotapi/types/chat/Chat;JZZLkotlin/coroutines/Continuation;)Ljava/lang/Object; public static final fun setGameScore-ti5m_QQ (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/CommonUser;JLdev/inmo/tgbotapi/types/IdChatIdentifier;JZZLkotlin/coroutines/Continuation;)Ljava/lang/Object; public static final fun setGameScore-ti5m_QQ (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/CommonUser;JLdev/inmo/tgbotapi/types/chat/Chat;JZZLkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun setGameScore-ti5m_QQ$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;JLdev/inmo/tgbotapi/types/IdChatIdentifier;JZZLkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static synthetic fun setGameScore-ti5m_QQ$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;JLdev/inmo/tgbotapi/types/chat/Chat;JZZLkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; public static synthetic fun setGameScore-ti5m_QQ$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/CommonUser;JLdev/inmo/tgbotapi/types/IdChatIdentifier;JZZLkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; public static synthetic fun setGameScore-ti5m_QQ$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/CommonUser;JLdev/inmo/tgbotapi/types/chat/Chat;JZZLkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static final fun setGameScore-v8Ltouw (Ldev/inmo/tgbotapi/bot/RequestsExecutor;JJLdev/inmo/tgbotapi/types/IdChatIdentifier;JZZLkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static final fun setGameScore-v8Ltouw (Ldev/inmo/tgbotapi/bot/RequestsExecutor;JJLdev/inmo/tgbotapi/types/chat/Chat;JZZLkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static synthetic fun setGameScore-v8Ltouw$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;JJLdev/inmo/tgbotapi/types/IdChatIdentifier;JZZLkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static synthetic fun setGameScore-v8Ltouw$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;JJLdev/inmo/tgbotapi/types/chat/Chat;JZZLkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; } public final class dev/inmo/tgbotapi/extensions/api/games/SetGameScoreByInlineMessageIdKt { - public static final fun setGameScore-rJjffU4 (Ldev/inmo/tgbotapi/bot/RequestsExecutor;JJLjava/lang/String;ZZLkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static synthetic fun setGameScore-rJjffU4$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;JJLjava/lang/String;ZZLkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static final fun setGameScore-zwYr1CI (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;JLjava/lang/String;ZZLkotlin/coroutines/Continuation;)Ljava/lang/Object; public static final fun setGameScore-zwYr1CI (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/CommonUser;JLjava/lang/String;ZZLkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun setGameScore-zwYr1CI$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;JLjava/lang/String;ZZLkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; public static synthetic fun setGameScore-zwYr1CI$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/CommonUser;JLjava/lang/String;ZZLkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; } @@ -1166,44 +1175,65 @@ public final class dev/inmo/tgbotapi/extensions/api/get/GetStickerSetKt { } public final class dev/inmo/tgbotapi/extensions/api/get/GetUserChatBoostsKt { - public static final fun getUserChatBoosts-Ugw2it0 (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/ChatIdentifier;JLkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static final fun getUserChatBoosts-Ugw2it0 (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/Chat;JLkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static final fun getUserChatBoosts (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static final fun getUserChatBoosts (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/Chat;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; +} + +public final class dev/inmo/tgbotapi/extensions/api/get/GetUserProfileAudiosKt { + public static final fun getUserProfileAudios (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/Integer;Ljava/lang/Integer;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static final fun getUserProfileAudios (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/CommonUser;Ljava/lang/Integer;Ljava/lang/Integer;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun getUserProfileAudios$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/Integer;Ljava/lang/Integer;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static synthetic fun getUserProfileAudios$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/CommonUser;Ljava/lang/Integer;Ljava/lang/Integer;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; } public final class dev/inmo/tgbotapi/extensions/api/get/GetUserProfilePhotosKt { + public static final fun getUserProfilePhotos (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/Integer;Ljava/lang/Integer;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static final fun getUserProfilePhotos (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/CommonUser;Ljava/lang/Integer;Ljava/lang/Integer;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun getUserProfilePhotos$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/Integer;Ljava/lang/Integer;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; public static synthetic fun getUserProfilePhotos$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/CommonUser;Ljava/lang/Integer;Ljava/lang/Integer;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static final fun getUserProfilePhotos-4iNBclM (Ldev/inmo/tgbotapi/bot/RequestsExecutor;JLjava/lang/Integer;Ljava/lang/Integer;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static synthetic fun getUserProfilePhotos-4iNBclM$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;JLjava/lang/Integer;Ljava/lang/Integer;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; } public final class dev/inmo/tgbotapi/extensions/api/gifts/GetAvailableGiftsKt { public static final fun getAvailableGifts (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; } +public final class dev/inmo/tgbotapi/extensions/api/gifts/GetChatGiftsKt { + public static final fun getChatGifts (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/ChatIdentifier;ZZZZZZZZLjava/lang/String;Ljava/lang/Integer;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun getChatGifts$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/ChatIdentifier;ZZZZZZZZLjava/lang/String;Ljava/lang/Integer;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static final fun getChatGiftsFlow (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/ChatIdentifier;ZZZZZZZZLjava/lang/String;Ljava/lang/Integer;Lkotlin/jvm/functions/Function2;)Lkotlinx/coroutines/flow/Flow; + public static synthetic fun getChatGiftsFlow$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/ChatIdentifier;ZZZZZZZZLjava/lang/String;Ljava/lang/Integer;Lkotlin/jvm/functions/Function2;ILjava/lang/Object;)Lkotlinx/coroutines/flow/Flow; +} + +public final class dev/inmo/tgbotapi/extensions/api/gifts/GetUserGiftsKt { + public static final fun getUserGifts (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;ZZZZZZLjava/lang/String;Ljava/lang/Integer;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun getUserGifts$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;ZZZZZZLjava/lang/String;Ljava/lang/Integer;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static final fun getUserGiftsFlow (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;ZZZZZZLjava/lang/String;Ljava/lang/Integer;Lkotlin/jvm/functions/Function2;)Lkotlinx/coroutines/flow/Flow; + public static synthetic fun getUserGiftsFlow$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;ZZZZZZLjava/lang/String;Ljava/lang/Integer;Lkotlin/jvm/functions/Function2;ILjava/lang/Object;)Lkotlinx/coroutines/flow/Flow; +} + public final class dev/inmo/tgbotapi/extensions/api/gifts/GiftPremiumSubscriptionKt { - public static final fun giftPremiumSubscription-VjR9mJc (Ldev/inmo/tgbotapi/bot/RequestsExecutor;JIILdev/inmo/tgbotapi/types/message/textsources/TextSource;Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static final fun giftPremiumSubscription-VjR9mJc (Ldev/inmo/tgbotapi/bot/RequestsExecutor;JIILjava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static synthetic fun giftPremiumSubscription-VjR9mJc$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;JIILdev/inmo/tgbotapi/types/message/textsources/TextSource;Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static synthetic fun giftPremiumSubscription-VjR9mJc$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;JIILjava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static final fun giftPremiumSubscription-ySMgKnk (Ldev/inmo/tgbotapi/bot/RequestsExecutor;JIILjava/util/List;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static synthetic fun giftPremiumSubscription-ySMgKnk$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;JIILjava/util/List;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static final fun giftPremiumSubscription (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;IILdev/inmo/tgbotapi/types/message/textsources/TextSource;Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static final fun giftPremiumSubscription (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;IILjava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static final fun giftPremiumSubscription (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;IILjava/util/List;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun giftPremiumSubscription$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;IILdev/inmo/tgbotapi/types/message/textsources/TextSource;Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static synthetic fun giftPremiumSubscription$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;IILjava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static synthetic fun giftPremiumSubscription$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;IILjava/util/List;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; } public final class dev/inmo/tgbotapi/extensions/api/gifts/SendGiftGeneratedVariationKt { + public static final fun sendGift (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/gifts/Gift$Regular;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static final fun sendGift (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/gifts/Gift$Regular;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;ZLkotlin/coroutines/Continuation;)Ljava/lang/Object; public static final fun sendGift (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/User;Ldev/inmo/tgbotapi/types/gifts/Gift$Regular;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static final fun sendGift (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/User;Ldev/inmo/tgbotapi/types/gifts/Gift$Regular;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;ZLkotlin/coroutines/Continuation;)Ljava/lang/Object; public static final fun sendGift-0SDnvgk (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/User;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;ZLkotlin/coroutines/Continuation;)Ljava/lang/Object; public static final fun sendGift-GROm3fU (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/User;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static final fun sendGift-VjR9mJc (Ldev/inmo/tgbotapi/bot/RequestsExecutor;JLdev/inmo/tgbotapi/types/gifts/Gift$Regular;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;ZLkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static final fun sendGift-ySMgKnk (Ldev/inmo/tgbotapi/bot/RequestsExecutor;JLdev/inmo/tgbotapi/types/gifts/Gift$Regular;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; } public final class dev/inmo/tgbotapi/extensions/api/gifts/SendGiftKt { - public static final fun sendGift-1FWvrZc (Ldev/inmo/tgbotapi/bot/RequestsExecutor;JLjava/lang/String;Ljava/util/List;ZLkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static synthetic fun sendGift-1FWvrZc$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;JLjava/lang/String;Ljava/util/List;ZLkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static final fun sendGift-CrS58cM (Ldev/inmo/tgbotapi/bot/RequestsExecutor;JLjava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;ZLkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static synthetic fun sendGift-CrS58cM$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;JLjava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;ZLkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static final fun sendGift-0SDnvgk (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;ZLkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun sendGift-0SDnvgk$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;ZLkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static final fun sendGift-GROm3fU (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;Ljava/util/List;ZLkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun sendGift-GROm3fU$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;Ljava/util/List;ZLkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; public static final fun sendGiftToChat-0SDnvgk (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/ChatIdentifier;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;ZLkotlin/coroutines/Continuation;)Ljava/lang/Object; public static synthetic fun sendGiftToChat-0SDnvgk$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/ChatIdentifier;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;ZLkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; public static final fun sendGiftToChat-GROm3fU (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/ChatIdentifier;Ljava/lang/String;Ljava/util/List;ZLkotlin/coroutines/Continuation;)Ljava/lang/Object; @@ -1220,45 +1250,45 @@ public final class dev/inmo/tgbotapi/extensions/api/gifts/SendGiftToChatGenerate } public final class dev/inmo/tgbotapi/extensions/api/inline/SavePreparedInlineMessageKt { + public static final fun savePreparedInlineMessage (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/InlineQueries/InlineQueryResult/abstracts/InlineQueryResult;ZZZZLkotlin/coroutines/Continuation;)Ljava/lang/Object; public static final fun savePreparedInlineMessage (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/User;Ldev/inmo/tgbotapi/types/InlineQueries/InlineQueryResult/abstracts/InlineQueryResult;ZZZZLkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun savePreparedInlineMessage$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/InlineQueries/InlineQueryResult/abstracts/InlineQueryResult;ZZZZLkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; public static synthetic fun savePreparedInlineMessage$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/User;Ldev/inmo/tgbotapi/types/InlineQueries/InlineQueryResult/abstracts/InlineQueryResult;ZZZZLkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static final fun savePreparedInlineMessage-W2FzMBY (Ldev/inmo/tgbotapi/bot/RequestsExecutor;JLdev/inmo/tgbotapi/types/InlineQueries/InlineQueryResult/abstracts/InlineQueryResult;ZZZZLkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static synthetic fun savePreparedInlineMessage-W2FzMBY$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;JLdev/inmo/tgbotapi/types/InlineQueries/InlineQueryResult/abstracts/InlineQueryResult;ZZZZLkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; } public final class dev/inmo/tgbotapi/extensions/api/passport/SetPassportDataErrorsKt { + public static final fun setPassportDataErrors (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/passport/PassportData;Ldev/inmo/tgbotapi/utils/passport/Decryptor;Lkotlin/jvm/functions/Function3;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static final fun setPassportDataErrors (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/util/List;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static final fun setPassportDataErrors (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/User;Ldev/inmo/tgbotapi/types/passport/PassportData;Ldev/inmo/tgbotapi/utils/passport/Decryptor;Lkotlin/jvm/functions/Function3;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static final fun setPassportDataErrors (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/User;Ljava/util/List;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static final fun setPassportDataErrors (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/PassportMessage;Ldev/inmo/tgbotapi/utils/passport/Decryptor;Lkotlin/jvm/functions/Function3;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static final fun setPassportDataErrors-nc95W0g (Ldev/inmo/tgbotapi/bot/RequestsExecutor;JLjava/util/List;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static final fun setPassportDataErrors-ySMgKnk (Ldev/inmo/tgbotapi/bot/RequestsExecutor;JLdev/inmo/tgbotapi/types/passport/PassportData;Ldev/inmo/tgbotapi/utils/passport/Decryptor;Lkotlin/jvm/functions/Function3;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; } public final class dev/inmo/tgbotapi/extensions/api/send/CopyMessageKt { - public static final fun copyMessage-Gp8a-iQ (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/ChatIdentifier;JLdev/inmo/tgbotapi/types/ChatIdentifier;Ljava/util/List;ZLdev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/Integer;ZZZLdev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ldev/inmo/tgbotapi/types/ReplyParameters;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static final fun copyMessage-Gp8a-iQ (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/ChatIdentifier;JLdev/inmo/tgbotapi/types/chat/Chat;Ljava/util/List;ZLdev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/Integer;ZZZLdev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ldev/inmo/tgbotapi/types/ReplyParameters;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static final fun copyMessage-Gp8a-iQ (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/Chat;JLdev/inmo/tgbotapi/types/ChatIdentifier;Ljava/util/List;ZLdev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/Integer;ZZZLdev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ldev/inmo/tgbotapi/types/ReplyParameters;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static final fun copyMessage-Gp8a-iQ (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/Chat;JLdev/inmo/tgbotapi/types/chat/Chat;Ljava/util/List;ZLdev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/Integer;ZZZLdev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ldev/inmo/tgbotapi/types/ReplyParameters;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static synthetic fun copyMessage-Gp8a-iQ$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/ChatIdentifier;JLdev/inmo/tgbotapi/types/ChatIdentifier;Ljava/util/List;ZLdev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/Integer;ZZZLdev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ldev/inmo/tgbotapi/types/ReplyParameters;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static synthetic fun copyMessage-Gp8a-iQ$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/ChatIdentifier;JLdev/inmo/tgbotapi/types/chat/Chat;Ljava/util/List;ZLdev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/Integer;ZZZLdev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ldev/inmo/tgbotapi/types/ReplyParameters;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static synthetic fun copyMessage-Gp8a-iQ$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/Chat;JLdev/inmo/tgbotapi/types/ChatIdentifier;Ljava/util/List;ZLdev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/Integer;ZZZLdev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ldev/inmo/tgbotapi/types/ReplyParameters;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static synthetic fun copyMessage-Gp8a-iQ$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/Chat;JLdev/inmo/tgbotapi/types/chat/Chat;Ljava/util/List;ZLdev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/Integer;ZZZLdev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ldev/inmo/tgbotapi/types/ReplyParameters;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static final fun copyMessage-ZaV1bfk (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ljava/util/List;ZLdev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/Integer;ZZZLdev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ldev/inmo/tgbotapi/types/ReplyParameters;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static final fun copyMessage-ZaV1bfk (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/Chat;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ljava/util/List;ZLdev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/Integer;ZZZLdev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ldev/inmo/tgbotapi/types/ReplyParameters;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static synthetic fun copyMessage-ZaV1bfk$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ljava/util/List;ZLdev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/Integer;ZZZLdev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ldev/inmo/tgbotapi/types/ReplyParameters;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static synthetic fun copyMessage-ZaV1bfk$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/Chat;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ljava/util/List;ZLdev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/Integer;ZZZLdev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ldev/inmo/tgbotapi/types/ReplyParameters;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static final fun copyMessage-fAg17-Y (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/ChatIdentifier;JLdev/inmo/tgbotapi/types/ChatIdentifier;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;ZLdev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/Integer;ZZZLdev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ldev/inmo/tgbotapi/types/ReplyParameters;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static final fun copyMessage-fAg17-Y (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/ChatIdentifier;JLdev/inmo/tgbotapi/types/chat/Chat;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;ZLdev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/Integer;ZZZLdev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ldev/inmo/tgbotapi/types/ReplyParameters;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static final fun copyMessage-fAg17-Y (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/Chat;JLdev/inmo/tgbotapi/types/ChatIdentifier;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;ZLdev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/Integer;ZZZLdev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ldev/inmo/tgbotapi/types/ReplyParameters;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static final fun copyMessage-fAg17-Y (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/Chat;JLdev/inmo/tgbotapi/types/chat/Chat;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;ZLdev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/Integer;ZZZLdev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ldev/inmo/tgbotapi/types/ReplyParameters;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static synthetic fun copyMessage-fAg17-Y$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/ChatIdentifier;JLdev/inmo/tgbotapi/types/ChatIdentifier;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;ZLdev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/Integer;ZZZLdev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ldev/inmo/tgbotapi/types/ReplyParameters;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static synthetic fun copyMessage-fAg17-Y$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/ChatIdentifier;JLdev/inmo/tgbotapi/types/chat/Chat;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;ZLdev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/Integer;ZZZLdev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ldev/inmo/tgbotapi/types/ReplyParameters;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static synthetic fun copyMessage-fAg17-Y$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/Chat;JLdev/inmo/tgbotapi/types/ChatIdentifier;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;ZLdev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/Integer;ZZZLdev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ldev/inmo/tgbotapi/types/ReplyParameters;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static synthetic fun copyMessage-fAg17-Y$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/Chat;JLdev/inmo/tgbotapi/types/chat/Chat;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;ZLdev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/Integer;ZZZLdev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ldev/inmo/tgbotapi/types/ReplyParameters;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static final fun copyMessage-hd0IimM (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;ZLdev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/Integer;ZZZLdev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ldev/inmo/tgbotapi/types/ReplyParameters;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static final fun copyMessage-hd0IimM (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/Chat;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;ZLdev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/Integer;ZZZLdev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ldev/inmo/tgbotapi/types/ReplyParameters;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static synthetic fun copyMessage-hd0IimM$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;ZLdev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/Integer;ZZZLdev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ldev/inmo/tgbotapi/types/ReplyParameters;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static synthetic fun copyMessage-hd0IimM$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/Chat;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;ZLdev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/Integer;ZZZLdev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ldev/inmo/tgbotapi/types/ReplyParameters;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static final fun copyMessage-Fl_6ToM (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;ZLdev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/Integer;ZZZLjava/lang/String;Ldev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ldev/inmo/tgbotapi/types/ReplyParameters;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static final fun copyMessage-Fl_6ToM (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/Chat;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;ZLdev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/Integer;ZZZLjava/lang/String;Ldev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ldev/inmo/tgbotapi/types/ReplyParameters;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun copyMessage-Fl_6ToM$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;ZLdev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/Integer;ZZZLjava/lang/String;Ldev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ldev/inmo/tgbotapi/types/ReplyParameters;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static synthetic fun copyMessage-Fl_6ToM$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/Chat;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;ZLdev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/Integer;ZZZLjava/lang/String;Ldev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ldev/inmo/tgbotapi/types/ReplyParameters;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static final fun copyMessage-uXJf_qk (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ljava/util/List;ZLdev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/Integer;ZZZLjava/lang/String;Ldev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ldev/inmo/tgbotapi/types/ReplyParameters;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static final fun copyMessage-uXJf_qk (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/Chat;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ljava/util/List;ZLdev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/Integer;ZZZLjava/lang/String;Ldev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ldev/inmo/tgbotapi/types/ReplyParameters;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun copyMessage-uXJf_qk$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ljava/util/List;ZLdev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/Integer;ZZZLjava/lang/String;Ldev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ldev/inmo/tgbotapi/types/ReplyParameters;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static synthetic fun copyMessage-uXJf_qk$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/Chat;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ljava/util/List;ZLdev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/Integer;ZZZLjava/lang/String;Ldev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ldev/inmo/tgbotapi/types/ReplyParameters;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static final fun copyMessage-wfJdvLg (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/ChatIdentifier;JLdev/inmo/tgbotapi/types/ChatIdentifier;Ljava/util/List;ZLdev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/Integer;ZZZLjava/lang/String;Ldev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ldev/inmo/tgbotapi/types/ReplyParameters;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static final fun copyMessage-wfJdvLg (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/ChatIdentifier;JLdev/inmo/tgbotapi/types/chat/Chat;Ljava/util/List;ZLdev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/Integer;ZZZLjava/lang/String;Ldev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ldev/inmo/tgbotapi/types/ReplyParameters;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static final fun copyMessage-wfJdvLg (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/Chat;JLdev/inmo/tgbotapi/types/ChatIdentifier;Ljava/util/List;ZLdev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/Integer;ZZZLjava/lang/String;Ldev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ldev/inmo/tgbotapi/types/ReplyParameters;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static final fun copyMessage-wfJdvLg (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/Chat;JLdev/inmo/tgbotapi/types/chat/Chat;Ljava/util/List;ZLdev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/Integer;ZZZLjava/lang/String;Ldev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ldev/inmo/tgbotapi/types/ReplyParameters;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun copyMessage-wfJdvLg$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/ChatIdentifier;JLdev/inmo/tgbotapi/types/ChatIdentifier;Ljava/util/List;ZLdev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/Integer;ZZZLjava/lang/String;Ldev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ldev/inmo/tgbotapi/types/ReplyParameters;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static synthetic fun copyMessage-wfJdvLg$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/ChatIdentifier;JLdev/inmo/tgbotapi/types/chat/Chat;Ljava/util/List;ZLdev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/Integer;ZZZLjava/lang/String;Ldev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ldev/inmo/tgbotapi/types/ReplyParameters;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static synthetic fun copyMessage-wfJdvLg$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/Chat;JLdev/inmo/tgbotapi/types/ChatIdentifier;Ljava/util/List;ZLdev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/Integer;ZZZLjava/lang/String;Ldev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ldev/inmo/tgbotapi/types/ReplyParameters;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static synthetic fun copyMessage-wfJdvLg$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/Chat;JLdev/inmo/tgbotapi/types/chat/Chat;Ljava/util/List;ZLdev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/Integer;ZZZLjava/lang/String;Ldev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ldev/inmo/tgbotapi/types/ReplyParameters;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static final fun copyMessage-y3nHRZ4 (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/ChatIdentifier;JLdev/inmo/tgbotapi/types/ChatIdentifier;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;ZLdev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/Integer;ZZZLjava/lang/String;Ldev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ldev/inmo/tgbotapi/types/ReplyParameters;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static final fun copyMessage-y3nHRZ4 (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/ChatIdentifier;JLdev/inmo/tgbotapi/types/chat/Chat;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;ZLdev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/Integer;ZZZLjava/lang/String;Ldev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ldev/inmo/tgbotapi/types/ReplyParameters;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static final fun copyMessage-y3nHRZ4 (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/Chat;JLdev/inmo/tgbotapi/types/ChatIdentifier;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;ZLdev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/Integer;ZZZLjava/lang/String;Ldev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ldev/inmo/tgbotapi/types/ReplyParameters;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static final fun copyMessage-y3nHRZ4 (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/Chat;JLdev/inmo/tgbotapi/types/chat/Chat;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;ZLdev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/Integer;ZZZLjava/lang/String;Ldev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ldev/inmo/tgbotapi/types/ReplyParameters;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun copyMessage-y3nHRZ4$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/ChatIdentifier;JLdev/inmo/tgbotapi/types/ChatIdentifier;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;ZLdev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/Integer;ZZZLjava/lang/String;Ldev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ldev/inmo/tgbotapi/types/ReplyParameters;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static synthetic fun copyMessage-y3nHRZ4$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/ChatIdentifier;JLdev/inmo/tgbotapi/types/chat/Chat;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;ZLdev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/Integer;ZZZLjava/lang/String;Ldev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ldev/inmo/tgbotapi/types/ReplyParameters;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static synthetic fun copyMessage-y3nHRZ4$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/Chat;JLdev/inmo/tgbotapi/types/ChatIdentifier;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;ZLdev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/Integer;ZZZLjava/lang/String;Ldev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ldev/inmo/tgbotapi/types/ReplyParameters;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static synthetic fun copyMessage-y3nHRZ4$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/Chat;JLdev/inmo/tgbotapi/types/chat/Chat;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;ZLdev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/Integer;ZZZLjava/lang/String;Ldev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ldev/inmo/tgbotapi/types/ReplyParameters;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; } public final class dev/inmo/tgbotapi/extensions/api/send/CopyMessagesKt { @@ -1291,6 +1321,8 @@ public final class dev/inmo/tgbotapi/extensions/api/send/RepliesKt { public static synthetic fun reply-07Q6tWM$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/types/polls/Poll;Ljava/lang/String;Ljava/util/List;ZZLdev/inmo/tgbotapi/types/polls/ScheduledCloseInfo;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/String;ZZZLjava/lang/String;Ldev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ljava/lang/Boolean;Ldev/inmo/tgbotapi/types/checklists/ChecklistTaskId;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; public static synthetic fun reply-07Q6tWM$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/types/polls/Poll;Ljava/util/List;Ljava/util/List;ZZLdev/inmo/tgbotapi/types/polls/ScheduledCloseInfo;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/String;ZZZLjava/lang/String;Ldev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ljava/lang/Boolean;Ldev/inmo/tgbotapi/types/checklists/ChecklistTaskId;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; public static synthetic fun reply-07Q6tWM$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ljava/util/List;Ljava/util/List;ZZZLdev/inmo/tgbotapi/types/polls/ScheduledCloseInfo;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/String;ZZZLjava/lang/String;Ldev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ljava/lang/Boolean;Ldev/inmo/tgbotapi/types/checklists/ChecklistTaskId;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static final fun reply-2ktRMvg (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;ZLdev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;ZZZLjava/lang/String;Ldev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ljava/lang/Boolean;Ldev/inmo/tgbotapi/types/checklists/ChecklistTaskId;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun reply-2ktRMvg$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;ZLdev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;ZZZLjava/lang/String;Ldev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ljava/lang/Boolean;Ldev/inmo/tgbotapi/types/checklists/ChecklistTaskId;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; public static final fun reply-CMAGsOk (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/types/files/AudioFile;Ljava/util/List;Ljava/lang/String;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/String;ZZZLjava/lang/String;Ldev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ljava/lang/Boolean;Ldev/inmo/tgbotapi/types/checklists/ChecklistTaskId;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static final fun reply-CMAGsOk (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/types/files/VoiceFile;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/String;ZZZLjava/lang/String;Ldev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ljava/lang/Boolean;Ldev/inmo/tgbotapi/types/checklists/ChecklistTaskId;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static final fun reply-CMAGsOk (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/types/message/content/TextedMediaContent;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/String;ZZZLjava/lang/String;Ldev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ljava/lang/Boolean;Ldev/inmo/tgbotapi/types/checklists/ChecklistTaskId;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; @@ -1347,8 +1379,6 @@ public final class dev/inmo/tgbotapi/extensions/api/send/RepliesKt { public static synthetic fun reply-VsctQzc$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ljava/lang/String;Ldev/inmo/tgbotapi/types/checklists/Checklist$Input;Ldev/inmo/tgbotapi/types/IdChatIdentifier;ZZLjava/lang/String;Ljava/lang/Boolean;Ldev/inmo/tgbotapi/types/checklists/ChecklistTaskId;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; public static final fun reply-aLuG4gw (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ljava/util/List;Ljava/util/List;ZZLdev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/String;ZZZLjava/lang/String;Ldev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ljava/lang/Boolean;Ldev/inmo/tgbotapi/types/checklists/ChecklistTaskId;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static synthetic fun reply-aLuG4gw$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ljava/util/List;Ljava/util/List;ZZLdev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/String;ZZZLjava/lang/String;Ldev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ljava/lang/Boolean;Ldev/inmo/tgbotapi/types/checklists/ChecklistTaskId;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static final fun reply-hUKQvJ8 (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;ZLdev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;ZZZLdev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ljava/lang/Boolean;Ldev/inmo/tgbotapi/types/checklists/ChecklistTaskId;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static synthetic fun reply-hUKQvJ8$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;ZLdev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;ZZZLdev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ljava/lang/Boolean;Ldev/inmo/tgbotapi/types/checklists/ChecklistTaskId;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; public static final fun reply-lZCteSw (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;DDLjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/String;ZZZLjava/lang/String;Ldev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ljava/lang/Boolean;Ldev/inmo/tgbotapi/types/checklists/ChecklistTaskId;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static final fun reply-lZCteSw (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/types/files/AnimationFile;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;ZZLjava/lang/Long;Ljava/lang/Integer;Ljava/lang/Integer;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/String;ZZZLjava/lang/String;Ldev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ljava/lang/Boolean;Ldev/inmo/tgbotapi/types/checklists/ChecklistTaskId;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static final fun reply-lZCteSw (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/types/polls/QuizPoll;Ljava/util/List;Ljava/util/List;IZZLjava/util/List;Ldev/inmo/tgbotapi/types/polls/ScheduledCloseInfo;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/String;ZZZLjava/lang/String;Ldev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ljava/lang/Boolean;Ldev/inmo/tgbotapi/types/checklists/ChecklistTaskId;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; @@ -1367,10 +1397,6 @@ public final class dev/inmo/tgbotapi/extensions/api/send/RepliesKt { public static synthetic fun reply-nHbXDm8$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/types/files/AudioFile;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;Ljava/lang/String;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/String;ZZZLjava/lang/String;Ldev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ljava/lang/Boolean;Ldev/inmo/tgbotapi/types/checklists/ChecklistTaskId;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; public static synthetic fun reply-nHbXDm8$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/types/files/PhotoSize;Ljava/util/List;ZZLdev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/String;ZZZLjava/lang/String;Ldev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ljava/lang/Boolean;Ldev/inmo/tgbotapi/types/checklists/ChecklistTaskId;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; public static synthetic fun reply-nHbXDm8$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/types/files/VideoFile;Ljava/util/List;ZZLdev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/String;ZZZLjava/lang/String;Ldev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ljava/lang/Boolean;Ldev/inmo/tgbotapi/types/checklists/ChecklistTaskId;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static final fun reply-nP6I7Xo (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/types/ChatIdentifier;JLjava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;ZLdev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;ZZZLdev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ljava/lang/Boolean;Ldev/inmo/tgbotapi/types/checklists/ChecklistTaskId;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static final fun reply-nP6I7Xo (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/types/chat/Chat;JLjava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;ZLdev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;ZZZLdev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ljava/lang/Boolean;Ldev/inmo/tgbotapi/types/checklists/ChecklistTaskId;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static synthetic fun reply-nP6I7Xo$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/types/ChatIdentifier;JLjava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;ZLdev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;ZZZLdev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ljava/lang/Boolean;Ldev/inmo/tgbotapi/types/checklists/ChecklistTaskId;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static synthetic fun reply-nP6I7Xo$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/types/chat/Chat;JLjava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;ZLdev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;ZZZLdev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ljava/lang/Boolean;Ldev/inmo/tgbotapi/types/checklists/ChecklistTaskId;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; public static final fun reply-oBdB6pc (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/types/polls/QuizPoll;Ljava/lang/String;Ljava/util/List;IZZLdev/inmo/tgbotapi/types/message/ParseMode;Ljava/util/List;Ldev/inmo/tgbotapi/types/polls/ScheduledCloseInfo;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/String;ZZZLjava/lang/String;Ldev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ljava/lang/Boolean;Ldev/inmo/tgbotapi/types/checklists/ChecklistTaskId;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static final fun reply-oBdB6pc (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/types/polls/QuizPoll;Ljava/lang/String;Ljava/util/List;Ljava/util/List;IZZLdev/inmo/tgbotapi/types/message/ParseMode;Ldev/inmo/tgbotapi/types/polls/ScheduledCloseInfo;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/String;ZZZLjava/lang/String;Ldev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ljava/lang/Boolean;Ldev/inmo/tgbotapi/types/checklists/ChecklistTaskId;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static final fun reply-oBdB6pc (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ljava/lang/String;Ljava/util/List;ILjava/lang/String;ZZLdev/inmo/tgbotapi/types/message/ParseMode;Ldev/inmo/tgbotapi/types/message/ParseMode;Ldev/inmo/tgbotapi/types/polls/ScheduledCloseInfo;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/String;ZZZLjava/lang/String;Ldev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ljava/lang/Boolean;Ldev/inmo/tgbotapi/types/checklists/ChecklistTaskId;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; @@ -1381,6 +1407,10 @@ public final class dev/inmo/tgbotapi/extensions/api/send/RepliesKt { public static synthetic fun reply-rwUb11Q$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ljava/util/List;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;ZZLdev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/String;ZZZLjava/lang/String;Ldev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ljava/lang/Boolean;Ldev/inmo/tgbotapi/types/checklists/ChecklistTaskId;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; public static final fun reply-svOTteU (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/payments/LabeledPrice;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;ZZZLjava/lang/String;Ldev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ljava/lang/Boolean;Ldev/inmo/tgbotapi/types/checklists/ChecklistTaskId;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static synthetic fun reply-svOTteU$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/payments/LabeledPrice;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;ZZZLjava/lang/String;Ldev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ljava/lang/Boolean;Ldev/inmo/tgbotapi/types/checklists/ChecklistTaskId;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static final fun reply-vEe06Jc (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/types/ChatIdentifier;JLjava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;ZLdev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;ZZZLjava/lang/String;Ldev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ljava/lang/Boolean;Ldev/inmo/tgbotapi/types/checklists/ChecklistTaskId;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static final fun reply-vEe06Jc (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/types/chat/Chat;JLjava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;ZLdev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;ZZZLjava/lang/String;Ldev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ljava/lang/Boolean;Ldev/inmo/tgbotapi/types/checklists/ChecklistTaskId;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun reply-vEe06Jc$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/types/ChatIdentifier;JLjava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;ZLdev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;ZZZLjava/lang/String;Ldev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ljava/lang/Boolean;Ldev/inmo/tgbotapi/types/checklists/ChecklistTaskId;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static synthetic fun reply-vEe06Jc$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/types/chat/Chat;JLjava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;ZLdev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;ZZZLjava/lang/String;Ldev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ljava/lang/Boolean;Ldev/inmo/tgbotapi/types/checklists/ChecklistTaskId;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; public static final fun reply-vhp4Ftk (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/BusinessContentMessage;Ldev/inmo/tgbotapi/types/checklists/Checklist$Input;Ldev/inmo/tgbotapi/types/IdChatIdentifier;ZZLjava/lang/String;Ljava/lang/Boolean;Ldev/inmo/tgbotapi/types/checklists/ChecklistTaskId;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static synthetic fun reply-vhp4Ftk$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/BusinessContentMessage;Ldev/inmo/tgbotapi/types/checklists/Checklist$Input;Ldev/inmo/tgbotapi/types/IdChatIdentifier;ZZLjava/lang/String;Ljava/lang/Boolean;Ldev/inmo/tgbotapi/types/checklists/ChecklistTaskId;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; public static final fun reply-x00u5LQ (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;DDLdev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/String;ZZZLjava/lang/String;Ldev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ljava/lang/Boolean;Ldev/inmo/tgbotapi/types/checklists/ChecklistTaskId;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; @@ -1450,10 +1480,6 @@ public final class dev/inmo/tgbotapi/extensions/api/send/RepliesKt { public final class dev/inmo/tgbotapi/extensions/api/send/RepliesWithChatsAndMessagesKt { public static final fun reply--6bQNHA (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;JLdev/inmo/tgbotapi/types/files/Sticker;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/String;Ljava/lang/String;ZZZLjava/lang/String;Ldev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ljava/lang/Boolean;Ldev/inmo/tgbotapi/types/checklists/ChecklistTaskId;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static synthetic fun reply--6bQNHA$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;JLdev/inmo/tgbotapi/types/files/Sticker;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/String;Ljava/lang/String;ZZZLjava/lang/String;Ldev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ljava/lang/Boolean;Ldev/inmo/tgbotapi/types/checklists/ChecklistTaskId;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static final fun reply--gEd3Lo (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;JLdev/inmo/tgbotapi/types/ChatIdentifier;JLjava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;ZLdev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;ZZZLdev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ljava/lang/Boolean;Ldev/inmo/tgbotapi/types/checklists/ChecklistTaskId;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static final fun reply--gEd3Lo (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;JLdev/inmo/tgbotapi/types/chat/Chat;JLjava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;ZLdev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;ZZZLdev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ljava/lang/Boolean;Ldev/inmo/tgbotapi/types/checklists/ChecklistTaskId;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static synthetic fun reply--gEd3Lo$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;JLdev/inmo/tgbotapi/types/ChatIdentifier;JLjava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;ZLdev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;ZZZLdev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ljava/lang/Boolean;Ldev/inmo/tgbotapi/types/checklists/ChecklistTaskId;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static synthetic fun reply--gEd3Lo$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;JLdev/inmo/tgbotapi/types/chat/Chat;JLjava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;ZLdev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;ZZZLdev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ljava/lang/Boolean;Ldev/inmo/tgbotapi/types/checklists/ChecklistTaskId;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; public static final fun reply-4WtBPKI (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;JLjava/util/List;Ljava/util/List;ZZLdev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/String;ZZZLjava/lang/String;Ldev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ljava/lang/Boolean;Ldev/inmo/tgbotapi/types/checklists/ChecklistTaskId;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static synthetic fun reply-4WtBPKI$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;JLjava/util/List;Ljava/util/List;ZZLdev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/String;ZZZLjava/lang/String;Ldev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ljava/lang/Boolean;Ldev/inmo/tgbotapi/types/checklists/ChecklistTaskId;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; public static final fun reply-5gfNrEQ (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;JLdev/inmo/tgbotapi/types/polls/Poll;Ljava/lang/String;Ljava/util/List;ZZLdev/inmo/tgbotapi/types/polls/ScheduledCloseInfo;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/String;ZZZLjava/lang/String;Ldev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ljava/lang/Boolean;Ldev/inmo/tgbotapi/types/checklists/ChecklistTaskId;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; @@ -1470,10 +1496,10 @@ public final class dev/inmo/tgbotapi/extensions/api/send/RepliesWithChatsAndMess public static synthetic fun reply-8Bt-U8k$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;JLdev/inmo/tgbotapi/types/files/VoiceFile;Ljava/util/List;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/String;ZZZLjava/lang/String;Ldev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ljava/lang/Boolean;Ldev/inmo/tgbotapi/types/checklists/ChecklistTaskId;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; public static synthetic fun reply-8Bt-U8k$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;JLdev/inmo/tgbotapi/types/message/content/TextedMediaContent;Ljava/util/List;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/String;ZZZLjava/lang/String;Ldev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ljava/lang/Boolean;Ldev/inmo/tgbotapi/types/checklists/ChecklistTaskId;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; public static synthetic fun reply-8Bt-U8k$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;JLjava/util/List;Ldev/inmo/tgbotapi/types/LinkPreviewOptions;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/String;ZZZLjava/lang/String;Ldev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ljava/lang/Boolean;Ldev/inmo/tgbotapi/types/checklists/ChecklistTaskId;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static final fun reply-9fIZaG4 (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;JLdev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;ZLdev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;ZZZLjava/lang/String;Ldev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ljava/lang/Boolean;Ldev/inmo/tgbotapi/types/checklists/ChecklistTaskId;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun reply-9fIZaG4$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;JLdev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;ZLdev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;ZZZLjava/lang/String;Ldev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ljava/lang/Boolean;Ldev/inmo/tgbotapi/types/checklists/ChecklistTaskId;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; public static final fun reply-DZcorTM (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;JLjava/util/List;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;ZZLdev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/String;ZZZLjava/lang/String;Ldev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ljava/lang/Boolean;Ldev/inmo/tgbotapi/types/checklists/ChecklistTaskId;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static synthetic fun reply-DZcorTM$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;JLjava/util/List;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;ZZLdev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/String;ZZZLjava/lang/String;Ldev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ljava/lang/Boolean;Ldev/inmo/tgbotapi/types/checklists/ChecklistTaskId;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static final fun reply-PvqzOKA (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;JLdev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;ZLdev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;ZZZLdev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ljava/lang/Boolean;Ldev/inmo/tgbotapi/types/checklists/ChecklistTaskId;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static synthetic fun reply-PvqzOKA$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;JLdev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;ZLdev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;ZZZLdev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ljava/lang/Boolean;Ldev/inmo/tgbotapi/types/checklists/ChecklistTaskId;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; public static final fun reply-TdhlCvc (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;JLdev/inmo/tgbotapi/types/files/AnimationFile;Ljava/util/List;ZZLjava/lang/Long;Ljava/lang/Integer;Ljava/lang/Integer;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/String;ZZZLjava/lang/String;Ldev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ljava/lang/Boolean;Ldev/inmo/tgbotapi/types/checklists/ChecklistTaskId;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static final fun reply-TdhlCvc (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;JLdev/inmo/tgbotapi/types/location/StaticLocation;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/String;ZZZLjava/lang/String;Ldev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ljava/lang/Boolean;Ldev/inmo/tgbotapi/types/checklists/ChecklistTaskId;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static final fun reply-TdhlCvc (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;JLdev/inmo/tgbotapi/types/polls/RegularPoll;Ljava/util/List;Ljava/util/List;ZZZLdev/inmo/tgbotapi/types/polls/ScheduledCloseInfo;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/String;ZZZLjava/lang/String;Ldev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ljava/lang/Boolean;Ldev/inmo/tgbotapi/types/checklists/ChecklistTaskId;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; @@ -1558,6 +1584,10 @@ public final class dev/inmo/tgbotapi/extensions/api/send/RepliesWithChatsAndMess public static final fun reply-rtOt0Uo (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;JLdev/inmo/tgbotapi/types/files/VideoFile;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;ZZLdev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/String;ZZZLjava/lang/String;Ldev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ljava/lang/Boolean;Ldev/inmo/tgbotapi/types/checklists/ChecklistTaskId;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static synthetic fun reply-rtOt0Uo$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;JLdev/inmo/tgbotapi/types/files/PhotoSize;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;ZZLdev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/String;ZZZLjava/lang/String;Ldev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ljava/lang/Boolean;Ldev/inmo/tgbotapi/types/checklists/ChecklistTaskId;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; public static synthetic fun reply-rtOt0Uo$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;JLdev/inmo/tgbotapi/types/files/VideoFile;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;ZZLdev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/String;ZZZLjava/lang/String;Ldev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ljava/lang/Boolean;Ldev/inmo/tgbotapi/types/checklists/ChecklistTaskId;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static final fun reply-xDOeux0 (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;JLdev/inmo/tgbotapi/types/ChatIdentifier;JLjava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;ZLdev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;ZZZLjava/lang/String;Ldev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ljava/lang/Boolean;Ldev/inmo/tgbotapi/types/checklists/ChecklistTaskId;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static final fun reply-xDOeux0 (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;JLdev/inmo/tgbotapi/types/chat/Chat;JLjava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;ZLdev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;ZZZLjava/lang/String;Ldev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ljava/lang/Boolean;Ldev/inmo/tgbotapi/types/checklists/ChecklistTaskId;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun reply-xDOeux0$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;JLdev/inmo/tgbotapi/types/ChatIdentifier;JLjava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;ZLdev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;ZZZLjava/lang/String;Ldev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ljava/lang/Boolean;Ldev/inmo/tgbotapi/types/checklists/ChecklistTaskId;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static synthetic fun reply-xDOeux0$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;JLdev/inmo/tgbotapi/types/chat/Chat;JLjava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;ZLdev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;ZZZLjava/lang/String;Ldev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ljava/lang/Boolean;Ldev/inmo/tgbotapi/types/checklists/ChecklistTaskId;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; public static final fun replyLiveLocationWithLatLongChatIdAndMessageId (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;JLkotlinx/coroutines/flow/Flow;JLdev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/String;ZZZLjava/lang/String;Ldev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ljava/lang/Boolean;Ldev/inmo/tgbotapi/types/checklists/ChecklistTaskId;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static synthetic fun replyLiveLocationWithLatLongChatIdAndMessageId$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;JLkotlinx/coroutines/flow/Flow;JLdev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/String;ZZZLjava/lang/String;Ldev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ljava/lang/Boolean;Ldev/inmo/tgbotapi/types/checklists/ChecklistTaskId;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; public static final fun replyLiveLocationWithLocationChatIdAndMessageId (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;JLkotlinx/coroutines/flow/Flow;JLdev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/String;ZZZLjava/lang/String;Ldev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ljava/lang/Boolean;Ldev/inmo/tgbotapi/types/checklists/ChecklistTaskId;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; @@ -1764,6 +1794,32 @@ public final class dev/inmo/tgbotapi/extensions/api/send/SendLiveLocationKt { public static synthetic fun sendLocation-xV04fPk$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/Chat;Ldev/inmo/tgbotapi/types/location/Location;ILjava/lang/Float;Ljava/lang/Integer;Ljava/lang/Float;Ldev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/String;ZZZLjava/lang/String;Ldev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ldev/inmo/tgbotapi/types/ReplyParameters;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; } +public final class dev/inmo/tgbotapi/extensions/api/send/SendMessageDraftKt { + public static final fun getGlobalDraftIdAllocator ()Ldev/inmo/tgbotapi/utils/DraftIdAllocator; + public static final fun sendMessageDraft-85jglgs (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;JLjava/util/List;Ldev/inmo/tgbotapi/types/MessageThreadId;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static final fun sendMessageDraft-85jglgs (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/Chat;JLjava/util/List;Ldev/inmo/tgbotapi/types/MessageThreadId;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun sendMessageDraft-85jglgs$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;JLjava/util/List;Ldev/inmo/tgbotapi/types/MessageThreadId;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static synthetic fun sendMessageDraft-85jglgs$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/Chat;JLjava/util/List;Ldev/inmo/tgbotapi/types/MessageThreadId;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static final fun sendMessageDraft-OYtvHtc (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;JLdev/inmo/tgbotapi/types/message/textsources/TextSource;Ldev/inmo/tgbotapi/types/MessageThreadId;Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static final fun sendMessageDraft-OYtvHtc (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;JLjava/lang/String;Ldev/inmo/tgbotapi/types/MessageThreadId;Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static final fun sendMessageDraft-OYtvHtc (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/Chat;JLdev/inmo/tgbotapi/types/message/textsources/TextSource;Ldev/inmo/tgbotapi/types/MessageThreadId;Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static final fun sendMessageDraft-OYtvHtc (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/Chat;JLjava/lang/String;Ldev/inmo/tgbotapi/types/MessageThreadId;Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun sendMessageDraft-OYtvHtc$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;JLdev/inmo/tgbotapi/types/message/textsources/TextSource;Ldev/inmo/tgbotapi/types/MessageThreadId;Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static synthetic fun sendMessageDraft-OYtvHtc$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;JLjava/lang/String;Ldev/inmo/tgbotapi/types/MessageThreadId;Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static synthetic fun sendMessageDraft-OYtvHtc$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/Chat;JLdev/inmo/tgbotapi/types/message/textsources/TextSource;Ldev/inmo/tgbotapi/types/MessageThreadId;Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static synthetic fun sendMessageDraft-OYtvHtc$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/Chat;JLjava/lang/String;Ldev/inmo/tgbotapi/types/MessageThreadId;Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static final fun sendMessageDraft-PjdzSgQ (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;JLjava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;Ldev/inmo/tgbotapi/types/MessageThreadId;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static final fun sendMessageDraft-PjdzSgQ (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/Chat;JLjava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;Ldev/inmo/tgbotapi/types/MessageThreadId;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun sendMessageDraft-PjdzSgQ$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;JLjava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;Ldev/inmo/tgbotapi/types/MessageThreadId;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static synthetic fun sendMessageDraft-PjdzSgQ$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/Chat;JLjava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;Ldev/inmo/tgbotapi/types/MessageThreadId;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static final fun sendMessageDraftFlow-lJCFx7I (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Lkotlinx/coroutines/flow/Flow;Ldev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DraftId;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun sendMessageDraftFlow-lJCFx7I$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Lkotlinx/coroutines/flow/Flow;Ldev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DraftId;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static final fun sendMessageDraftFlowWithTexts-lJCFx7I (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Lkotlinx/coroutines/flow/Flow;Ldev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DraftId;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun sendMessageDraftFlowWithTexts-lJCFx7I$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Lkotlinx/coroutines/flow/Flow;Ldev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DraftId;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static final fun sendMessageDraftFlowWithTextsAndParseMode-lJCFx7I (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Lkotlinx/coroutines/flow/Flow;Ldev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DraftId;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun sendMessageDraftFlowWithTextsAndParseMode-lJCFx7I$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Lkotlinx/coroutines/flow/Flow;Ldev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DraftId;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; +} + public final class dev/inmo/tgbotapi/extensions/api/send/SendMessageKt { public static final fun sendMessage-EUozXF4 (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/message/textsources/TextSource;Ldev/inmo/tgbotapi/types/LinkPreviewOptions;Ldev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/String;ZZZLjava/lang/String;Ldev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ldev/inmo/tgbotapi/types/ReplyParameters;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static final fun sendMessage-EUozXF4 (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/ChatIdentifier;Ljava/lang/String;Ldev/inmo/tgbotapi/types/LinkPreviewOptions;Ldev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/String;ZZZLjava/lang/String;Ldev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ldev/inmo/tgbotapi/types/ReplyParameters;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; @@ -1842,6 +1898,10 @@ public final class dev/inmo/tgbotapi/extensions/api/send/SendsKt { public static final fun send-6LrTU6Q (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/Chat;ILjava/util/List;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;Ljava/lang/String;ZLdev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/String;ZZZLdev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ldev/inmo/tgbotapi/types/ReplyParameters;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static synthetic fun send-6LrTU6Q$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/ChatIdentifier;ILjava/util/List;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;Ljava/lang/String;ZLdev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/String;ZZZLdev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ldev/inmo/tgbotapi/types/ReplyParameters;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; public static synthetic fun send-6LrTU6Q$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/Chat;ILjava/util/List;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;Ljava/lang/String;ZLdev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/String;ZZZLdev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ldev/inmo/tgbotapi/types/ReplyParameters;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static final fun send-85jglgs (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;JLjava/util/List;Ldev/inmo/tgbotapi/types/MessageThreadId;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static final fun send-85jglgs (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/Chat;JLjava/util/List;Ldev/inmo/tgbotapi/types/MessageThreadId;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun send-85jglgs$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;JLjava/util/List;Ldev/inmo/tgbotapi/types/MessageThreadId;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static synthetic fun send-85jglgs$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/Chat;JLjava/util/List;Ldev/inmo/tgbotapi/types/MessageThreadId;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; public static final fun send-B42rpK4 (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/ChatIdentifier;Ljava/util/List;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;ZZLdev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/String;ZZZLjava/lang/String;Ldev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ldev/inmo/tgbotapi/types/ReplyParameters;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static final fun send-B42rpK4 (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/Chat;Ljava/util/List;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;ZZLdev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/String;ZZZLjava/lang/String;Ldev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ldev/inmo/tgbotapi/types/ReplyParameters;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static synthetic fun send-B42rpK4$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/ChatIdentifier;Ljava/util/List;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;ZZLdev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/String;ZZZLjava/lang/String;Ldev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ldev/inmo/tgbotapi/types/ReplyParameters;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; @@ -1896,6 +1956,18 @@ public final class dev/inmo/tgbotapi/extensions/api/send/SendsKt { public static final fun send-OEhgwS8 (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/Chat;ILjava/util/List;Ljava/util/List;Ljava/lang/String;ZLdev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/String;ZZZLdev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ldev/inmo/tgbotapi/types/ReplyParameters;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static synthetic fun send-OEhgwS8$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/ChatIdentifier;ILjava/util/List;Ljava/util/List;Ljava/lang/String;ZLdev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/String;ZZZLdev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ldev/inmo/tgbotapi/types/ReplyParameters;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; public static synthetic fun send-OEhgwS8$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/Chat;ILjava/util/List;Ljava/util/List;Ljava/lang/String;ZLdev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/String;ZZZLdev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ldev/inmo/tgbotapi/types/ReplyParameters;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static final fun send-OYtvHtc (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;JLdev/inmo/tgbotapi/types/message/textsources/TextSource;Ldev/inmo/tgbotapi/types/MessageThreadId;Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static final fun send-OYtvHtc (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;JLjava/lang/String;Ldev/inmo/tgbotapi/types/MessageThreadId;Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static final fun send-OYtvHtc (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/Chat;JLdev/inmo/tgbotapi/types/message/textsources/TextSource;Ldev/inmo/tgbotapi/types/MessageThreadId;Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static final fun send-OYtvHtc (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/Chat;JLjava/lang/String;Ldev/inmo/tgbotapi/types/MessageThreadId;Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun send-OYtvHtc$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;JLdev/inmo/tgbotapi/types/message/textsources/TextSource;Ldev/inmo/tgbotapi/types/MessageThreadId;Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static synthetic fun send-OYtvHtc$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;JLjava/lang/String;Ldev/inmo/tgbotapi/types/MessageThreadId;Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static synthetic fun send-OYtvHtc$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/Chat;JLdev/inmo/tgbotapi/types/message/textsources/TextSource;Ldev/inmo/tgbotapi/types/MessageThreadId;Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static synthetic fun send-OYtvHtc$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/Chat;JLjava/lang/String;Ldev/inmo/tgbotapi/types/MessageThreadId;Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static final fun send-PjdzSgQ (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;JLjava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;Ldev/inmo/tgbotapi/types/MessageThreadId;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static final fun send-PjdzSgQ (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/Chat;JLjava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;Ldev/inmo/tgbotapi/types/MessageThreadId;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun send-PjdzSgQ$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;JLjava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;Ldev/inmo/tgbotapi/types/MessageThreadId;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static synthetic fun send-PjdzSgQ$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/Chat;JLjava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;Ldev/inmo/tgbotapi/types/MessageThreadId;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; public static final fun send-Rhn938o (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/ChatIdentifier;DDILjava/lang/Float;Ljava/lang/Integer;Ljava/lang/Float;Ldev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/String;ZZZLjava/lang/String;Ldev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ldev/inmo/tgbotapi/types/ReplyParameters;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static final fun send-Rhn938o (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/ChatIdentifier;Ljava/util/List;Ljava/util/List;ZZZLdev/inmo/tgbotapi/types/polls/ScheduledCloseInfo;Ldev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/String;ZZZLjava/lang/String;Ldev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ldev/inmo/tgbotapi/types/ReplyParameters;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static final fun send-Rhn938o (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/Chat;DDILjava/lang/Float;Ljava/lang/Integer;Ljava/lang/Float;Ldev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/String;ZZZLjava/lang/String;Ldev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ldev/inmo/tgbotapi/types/ReplyParameters;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; @@ -2300,8 +2372,8 @@ public final class dev/inmo/tgbotapi/extensions/api/send/payments/CreateInvoiceL } public final class dev/inmo/tgbotapi/extensions/api/send/payments/RefundStarPaymentKt { - public static final fun refundStarPayment-0SkZb-I (Ldev/inmo/tgbotapi/bot/RequestsExecutor;JLjava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static final fun refundStarPayment-nc95W0g (Ldev/inmo/tgbotapi/bot/RequestsExecutor;JLdev/inmo/tgbotapi/types/payments/SuccessfulPayment;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static final fun refundStarPayment (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/payments/SuccessfulPayment;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static final fun refundStarPayment-AASCvMI (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; } public final class dev/inmo/tgbotapi/extensions/api/send/payments/SendInvoiceKt { @@ -2346,34 +2418,34 @@ public final class dev/inmo/tgbotapi/extensions/api/send/polls/SendRegularPollKt } public final class dev/inmo/tgbotapi/extensions/api/set/SetUserEmojiStatusKt { - public static final fun setUserEmojiStatus-8OHYyMQ (Ldev/inmo/tgbotapi/bot/RequestsExecutor;JLjava/lang/String;DLkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static final fun setUserEmojiStatus-OZgzbMQ (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;DLkotlin/coroutines/Continuation;)Ljava/lang/Object; public static final fun setUserEmojiStatus-OZgzbMQ (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/User;Ljava/lang/String;DLkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static final fun setUserEmojiStatus-SrqJ0BM (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;Ldev/inmo/tgbotapi/types/TelegramDate;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static final fun setUserEmojiStatus-SrqJ0BM (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/User;Ljava/lang/String;Ldev/inmo/tgbotapi/types/TelegramDate;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun setUserEmojiStatus-SrqJ0BM$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;Ldev/inmo/tgbotapi/types/TelegramDate;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; public static synthetic fun setUserEmojiStatus-SrqJ0BM$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/User;Ljava/lang/String;Ldev/inmo/tgbotapi/types/TelegramDate;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static final fun setUserEmojiStatus-bic5Y5o (Ldev/inmo/tgbotapi/bot/RequestsExecutor;JLjava/lang/String;Ldev/inmo/tgbotapi/types/TelegramDate;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static synthetic fun setUserEmojiStatus-bic5Y5o$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;JLjava/lang/String;Ldev/inmo/tgbotapi/types/TelegramDate;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; } public final class dev/inmo/tgbotapi/extensions/api/stickers/AddStickerToSetKt { + public static final fun addStickerToSet (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/stickers/StickerSet;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;Ldev/inmo/tgbotapi/types/StickerFormat;Ljava/util/List;Ldev/inmo/tgbotapi/types/stickers/MaskPosition;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static final fun addStickerToSet (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/stickers/StickerSet;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;Ldev/inmo/tgbotapi/types/StickerFormat;Ljava/util/List;Ljava/util/List;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static final fun addStickerToSet (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/stickers/StickerSet;Ldev/inmo/tgbotapi/requests/stickers/InputSticker;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static final fun addStickerToSet (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;Ldev/inmo/tgbotapi/requests/stickers/InputSticker;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static final fun addStickerToSet (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/CommonUser;Ldev/inmo/tgbotapi/types/stickers/StickerSet;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;Ldev/inmo/tgbotapi/types/StickerFormat;Ljava/util/List;Ldev/inmo/tgbotapi/types/stickers/MaskPosition;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static final fun addStickerToSet (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/CommonUser;Ldev/inmo/tgbotapi/types/stickers/StickerSet;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;Ldev/inmo/tgbotapi/types/StickerFormat;Ljava/util/List;Ljava/util/List;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static final fun addStickerToSet (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/CommonUser;Ldev/inmo/tgbotapi/types/stickers/StickerSet;Ldev/inmo/tgbotapi/requests/stickers/InputSticker;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun addStickerToSet$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/stickers/StickerSet;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;Ldev/inmo/tgbotapi/types/StickerFormat;Ljava/util/List;Ldev/inmo/tgbotapi/types/stickers/MaskPosition;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static synthetic fun addStickerToSet$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/stickers/StickerSet;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;Ldev/inmo/tgbotapi/types/StickerFormat;Ljava/util/List;Ljava/util/List;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; public static synthetic fun addStickerToSet$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/CommonUser;Ldev/inmo/tgbotapi/types/stickers/StickerSet;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;Ldev/inmo/tgbotapi/types/StickerFormat;Ljava/util/List;Ldev/inmo/tgbotapi/types/stickers/MaskPosition;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; public static synthetic fun addStickerToSet$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/CommonUser;Ldev/inmo/tgbotapi/types/stickers/StickerSet;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;Ldev/inmo/tgbotapi/types/StickerFormat;Ljava/util/List;Ljava/util/List;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static final fun addStickerToSet-4iNBclM (Ldev/inmo/tgbotapi/bot/RequestsExecutor;JLdev/inmo/tgbotapi/types/stickers/StickerSet;Ldev/inmo/tgbotapi/requests/stickers/InputSticker;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static final fun addStickerToSet-4iNBclM (Ldev/inmo/tgbotapi/bot/RequestsExecutor;JLjava/lang/String;Ldev/inmo/tgbotapi/requests/stickers/InputSticker;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static final fun addStickerToSet-It0iktY (Ldev/inmo/tgbotapi/bot/RequestsExecutor;JLjava/lang/String;Ldev/inmo/tgbotapi/requests/stickers/InputSticker;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static final fun addStickerToSet-W2FzMBY (Ldev/inmo/tgbotapi/bot/RequestsExecutor;JLdev/inmo/tgbotapi/types/stickers/StickerSet;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;Ldev/inmo/tgbotapi/types/StickerFormat;Ljava/util/List;Ldev/inmo/tgbotapi/types/stickers/MaskPosition;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static final fun addStickerToSet-W2FzMBY (Ldev/inmo/tgbotapi/bot/RequestsExecutor;JLdev/inmo/tgbotapi/types/stickers/StickerSet;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;Ldev/inmo/tgbotapi/types/StickerFormat;Ljava/util/List;Ljava/util/List;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static synthetic fun addStickerToSet-W2FzMBY$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;JLdev/inmo/tgbotapi/types/stickers/StickerSet;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;Ldev/inmo/tgbotapi/types/StickerFormat;Ljava/util/List;Ldev/inmo/tgbotapi/types/stickers/MaskPosition;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static synthetic fun addStickerToSet-W2FzMBY$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;JLdev/inmo/tgbotapi/types/stickers/StickerSet;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;Ldev/inmo/tgbotapi/types/StickerFormat;Ljava/util/List;Ljava/util/List;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static final fun addStickerToSet-DXF-zCU (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;Ldev/inmo/tgbotapi/requests/stickers/InputSticker;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; } public final class dev/inmo/tgbotapi/extensions/api/stickers/CreateNewStickerSetKt { + public static final fun createNewStickerSet (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;ZLkotlin/coroutines/Continuation;)Ljava/lang/Object; public static final fun createNewStickerSet (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/CommonUser;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;ZLkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun createNewStickerSet$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;ZLkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; public static synthetic fun createNewStickerSet$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/CommonUser;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;ZLkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static final fun createNewStickerSet-VjR9mJc (Ldev/inmo/tgbotapi/bot/RequestsExecutor;JLjava/lang/String;Ljava/lang/String;Ljava/util/List;ZLkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static synthetic fun createNewStickerSet-VjR9mJc$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;JLjava/lang/String;Ljava/lang/String;Ljava/util/List;ZLkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; } public final class dev/inmo/tgbotapi/extensions/api/stickers/DeleteStickerFromSetKt { @@ -2388,18 +2460,18 @@ public final class dev/inmo/tgbotapi/extensions/api/stickers/DeleteStickerSetKt } public final class dev/inmo/tgbotapi/extensions/api/stickers/ReplaceStickerInSetKt { + public static final fun replaceStickerInSet (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/stickers/StickerSet;Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;Ldev/inmo/tgbotapi/types/StickerFormat;Ljava/util/List;Ldev/inmo/tgbotapi/types/stickers/MaskPosition;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static final fun replaceStickerInSet (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/stickers/StickerSet;Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;Ldev/inmo/tgbotapi/types/StickerFormat;Ljava/util/List;Ljava/util/List;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static final fun replaceStickerInSet (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/stickers/StickerSet;Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ldev/inmo/tgbotapi/requests/stickers/InputSticker;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static final fun replaceStickerInSet (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ldev/inmo/tgbotapi/requests/stickers/InputSticker;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static final fun replaceStickerInSet (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/CommonUser;Ldev/inmo/tgbotapi/types/stickers/StickerSet;Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;Ldev/inmo/tgbotapi/types/StickerFormat;Ljava/util/List;Ldev/inmo/tgbotapi/types/stickers/MaskPosition;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static final fun replaceStickerInSet (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/CommonUser;Ldev/inmo/tgbotapi/types/stickers/StickerSet;Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;Ldev/inmo/tgbotapi/types/StickerFormat;Ljava/util/List;Ljava/util/List;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static final fun replaceStickerInSet (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/CommonUser;Ldev/inmo/tgbotapi/types/stickers/StickerSet;Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ldev/inmo/tgbotapi/requests/stickers/InputSticker;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun replaceStickerInSet$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/stickers/StickerSet;Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;Ldev/inmo/tgbotapi/types/StickerFormat;Ljava/util/List;Ldev/inmo/tgbotapi/types/stickers/MaskPosition;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static synthetic fun replaceStickerInSet$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/stickers/StickerSet;Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;Ldev/inmo/tgbotapi/types/StickerFormat;Ljava/util/List;Ljava/util/List;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; public static synthetic fun replaceStickerInSet$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/CommonUser;Ldev/inmo/tgbotapi/types/stickers/StickerSet;Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;Ldev/inmo/tgbotapi/types/StickerFormat;Ljava/util/List;Ldev/inmo/tgbotapi/types/stickers/MaskPosition;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; public static synthetic fun replaceStickerInSet$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/CommonUser;Ldev/inmo/tgbotapi/types/stickers/StickerSet;Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;Ldev/inmo/tgbotapi/types/StickerFormat;Ljava/util/List;Ljava/util/List;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static final fun replaceStickerInSet-GSYghJ8 (Ldev/inmo/tgbotapi/bot/RequestsExecutor;JLdev/inmo/tgbotapi/types/stickers/StickerSet;Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;Ldev/inmo/tgbotapi/types/StickerFormat;Ljava/util/List;Ldev/inmo/tgbotapi/types/stickers/MaskPosition;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static final fun replaceStickerInSet-GSYghJ8 (Ldev/inmo/tgbotapi/bot/RequestsExecutor;JLdev/inmo/tgbotapi/types/stickers/StickerSet;Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;Ldev/inmo/tgbotapi/types/StickerFormat;Ljava/util/List;Ljava/util/List;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static synthetic fun replaceStickerInSet-GSYghJ8$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;JLdev/inmo/tgbotapi/types/stickers/StickerSet;Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;Ldev/inmo/tgbotapi/types/StickerFormat;Ljava/util/List;Ldev/inmo/tgbotapi/types/stickers/MaskPosition;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static synthetic fun replaceStickerInSet-GSYghJ8$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;JLdev/inmo/tgbotapi/types/stickers/StickerSet;Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;Ldev/inmo/tgbotapi/types/StickerFormat;Ljava/util/List;Ljava/util/List;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static final fun replaceStickerInSet-ftAj2Hw (Ldev/inmo/tgbotapi/bot/RequestsExecutor;JLjava/lang/String;Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ldev/inmo/tgbotapi/requests/stickers/InputSticker;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static final fun replaceStickerInSet-ySMgKnk (Ldev/inmo/tgbotapi/bot/RequestsExecutor;JLdev/inmo/tgbotapi/types/stickers/StickerSet;Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ldev/inmo/tgbotapi/requests/stickers/InputSticker;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static final fun replaceStickerInSet-ySMgKnk (Ldev/inmo/tgbotapi/bot/RequestsExecutor;JLjava/lang/String;Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ldev/inmo/tgbotapi/requests/stickers/InputSticker;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static final fun replaceStickerInSet-0VZ_ni8 (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ldev/inmo/tgbotapi/requests/stickers/InputSticker;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; } public final class dev/inmo/tgbotapi/extensions/api/stickers/SetStickerEmojiListKt { @@ -2428,8 +2500,8 @@ public final class dev/inmo/tgbotapi/extensions/api/stickers/SetStickerSetTitleK } public final class dev/inmo/tgbotapi/extensions/api/stickers/UploadStickerFileKt { + public static final fun uploadStickerFile (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/requests/abstracts/MultipartFile;Ldev/inmo/tgbotapi/types/StickerFormat;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static final fun uploadStickerFile (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/CommonUser;Ldev/inmo/tgbotapi/requests/abstracts/MultipartFile;Ldev/inmo/tgbotapi/types/StickerFormat;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static final fun uploadStickerFile-4iNBclM (Ldev/inmo/tgbotapi/bot/RequestsExecutor;JLdev/inmo/tgbotapi/requests/abstracts/MultipartFile;Ldev/inmo/tgbotapi/types/StickerFormat;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; } public final class dev/inmo/tgbotapi/extensions/api/stories/DeleteStoryKt { @@ -2461,6 +2533,13 @@ public final class dev/inmo/tgbotapi/extensions/api/stories/PostStoryKt { public static synthetic fun postStory-rseRIdU$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ljava/lang/String;Ldev/inmo/tgbotapi/types/stories/InputStoryContent;ILjava/util/List;ZZLdev/inmo/tgbotapi/types/message/textsources/TextSource;Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; } +public final class dev/inmo/tgbotapi/extensions/api/stories/RepostStoryKt { + public static final fun repostStory-O0F6HzI (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Lkotlin/Pair;JIZZLkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun repostStory-O0F6HzI$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Lkotlin/Pair;JIZZLkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static final fun repostStory-u8fFITI (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ljava/lang/String;Ldev/inmo/tgbotapi/types/IdChatIdentifier;JIZZLkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun repostStory-u8fFITI$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ljava/lang/String;Ldev/inmo/tgbotapi/types/IdChatIdentifier;JIZZLkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; +} + public final class dev/inmo/tgbotapi/extensions/api/suggested/ApproveSuggestedPostKt { public static final fun approveSuggestedPost (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/Message;Ldev/inmo/tgbotapi/types/TelegramDate;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static synthetic fun approveSuggestedPost$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/Message;Ldev/inmo/tgbotapi/types/TelegramDate;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; @@ -2485,14 +2564,14 @@ public final class dev/inmo/tgbotapi/extensions/api/thumbs/SetCustomEmojiSticker } public final class dev/inmo/tgbotapi/extensions/api/thumbs/SetStickerSetThumbnailKt { + public static final fun setStickerSetThumbnail (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/stickers/StickerSet;Ldev/inmo/tgbotapi/types/StickerFormat;Ldev/inmo/tgbotapi/requests/abstracts/FileId;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static final fun setStickerSetThumbnail (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/stickers/StickerSet;Ldev/inmo/tgbotapi/types/StickerFormat;Ldev/inmo/tgbotapi/requests/abstracts/MultipartFile;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static final fun setStickerSetThumbnail (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/CommonUser;Ldev/inmo/tgbotapi/types/stickers/StickerSet;Ldev/inmo/tgbotapi/types/StickerFormat;Ldev/inmo/tgbotapi/requests/abstracts/FileId;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static final fun setStickerSetThumbnail (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/CommonUser;Ldev/inmo/tgbotapi/types/stickers/StickerSet;Ldev/inmo/tgbotapi/types/StickerFormat;Ldev/inmo/tgbotapi/requests/abstracts/MultipartFile;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static final fun setStickerSetThumbnail-0VZ_ni8 (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;Ldev/inmo/tgbotapi/types/StickerFormat;Ldev/inmo/tgbotapi/requests/abstracts/FileId;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static final fun setStickerSetThumbnail-0VZ_ni8 (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;Ldev/inmo/tgbotapi/types/StickerFormat;Ldev/inmo/tgbotapi/requests/abstracts/MultipartFile;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static final fun setStickerSetThumbnail-0VZ_ni8 (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/CommonUser;Ljava/lang/String;Ldev/inmo/tgbotapi/types/StickerFormat;Ldev/inmo/tgbotapi/requests/abstracts/FileId;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static final fun setStickerSetThumbnail-0VZ_ni8 (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/CommonUser;Ljava/lang/String;Ldev/inmo/tgbotapi/types/StickerFormat;Ldev/inmo/tgbotapi/requests/abstracts/MultipartFile;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static final fun setStickerSetThumbnail-ftAj2Hw (Ldev/inmo/tgbotapi/bot/RequestsExecutor;JLjava/lang/String;Ldev/inmo/tgbotapi/types/StickerFormat;Ldev/inmo/tgbotapi/requests/abstracts/FileId;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static final fun setStickerSetThumbnail-ftAj2Hw (Ldev/inmo/tgbotapi/bot/RequestsExecutor;JLjava/lang/String;Ldev/inmo/tgbotapi/types/StickerFormat;Ldev/inmo/tgbotapi/requests/abstracts/MultipartFile;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static final fun setStickerSetThumbnail-ySMgKnk (Ldev/inmo/tgbotapi/bot/RequestsExecutor;JLdev/inmo/tgbotapi/types/stickers/StickerSet;Ldev/inmo/tgbotapi/types/StickerFormat;Ldev/inmo/tgbotapi/requests/abstracts/FileId;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static final fun setStickerSetThumbnail-ySMgKnk (Ldev/inmo/tgbotapi/bot/RequestsExecutor;JLdev/inmo/tgbotapi/types/stickers/StickerSet;Ldev/inmo/tgbotapi/types/StickerFormat;Ldev/inmo/tgbotapi/requests/abstracts/MultipartFile;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; } public final class dev/inmo/tgbotapi/extensions/api/utils/UpdatesHandlingKt { @@ -2505,7 +2584,7 @@ public final class dev/inmo/tgbotapi/extensions/api/verifications/RemoveChatVeri } public final class dev/inmo/tgbotapi/extensions/api/verifications/RemoveUserVerificationKt { - public static final fun removeUserVerification-dEpx-Zg (Ldev/inmo/tgbotapi/bot/RequestsExecutor;JLkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static final fun removeUserVerification (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; } public final class dev/inmo/tgbotapi/extensions/api/verifications/VerifyChatKt { @@ -2516,10 +2595,10 @@ public final class dev/inmo/tgbotapi/extensions/api/verifications/VerifyChatKt { } public final class dev/inmo/tgbotapi/extensions/api/verifications/VerifyUserKt { + public static final fun verifyUser (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static final fun verifyUser (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/Chat;Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun verifyUser$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; public static synthetic fun verifyUser$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/Chat;Ljava/lang/String;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static final fun verifyUser-nc95W0g (Ldev/inmo/tgbotapi/bot/RequestsExecutor;JLjava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static synthetic fun verifyUser-nc95W0g$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;JLjava/lang/String;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; } public final class dev/inmo/tgbotapi/extensions/api/webhook/DeleteWebhookKt { diff --git a/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/ForwardMessage.kt b/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/ForwardMessage.kt index 26cce7a05f..e43893822b 100644 --- a/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/ForwardMessage.kt +++ b/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/ForwardMessage.kt @@ -4,6 +4,7 @@ import dev.inmo.tgbotapi.bot.TelegramBot import dev.inmo.tgbotapi.requests.ForwardMessage import dev.inmo.tgbotapi.types.ChatIdentifier import dev.inmo.tgbotapi.types.DirectMessageThreadId +import dev.inmo.tgbotapi.types.EffectId import dev.inmo.tgbotapi.types.MessageId import dev.inmo.tgbotapi.types.MessageThreadId import dev.inmo.tgbotapi.types.Seconds @@ -21,9 +22,20 @@ public suspend fun TelegramBot.forwardMessage( directMessageThreadId: DirectMessageThreadId? = toChatId.directMessageThreadId, startTimestamp: Seconds? = null, disableNotification: Boolean = false, - protectContent: Boolean = false + protectContent: Boolean = false, + effectId: EffectId? = null ): PossiblyForwardedMessage = execute( - ForwardMessage(fromChatId, toChatId, messageId, threadId, directMessageThreadId, startTimestamp, disableNotification, protectContent) + ForwardMessage( + fromChatId = fromChatId, + toChatId = toChatId, + messageId = messageId, + threadId = threadId, + directMessageThreadId = directMessageThreadId, + startTimestamp = startTimestamp, + disableNotification = disableNotification, + protectContent = protectContent, + effectId = effectId + ) ) public suspend fun TelegramBot.forwardMessage( @@ -34,8 +46,19 @@ public suspend fun TelegramBot.forwardMessage( directMessageThreadId: DirectMessageThreadId? = toChatId.directMessageThreadId, startTimestamp: Seconds? = null, disableNotification: Boolean = false, - protectContent: Boolean = false -): PossiblyForwardedMessage = forwardMessage(fromChat.id, toChatId, messageId, threadId, directMessageThreadId, startTimestamp, disableNotification, protectContent) + protectContent: Boolean = false, + effectId: EffectId? = null +): PossiblyForwardedMessage = forwardMessage( + fromChatId = fromChat.id, + toChatId = toChatId, + messageId = messageId, + threadId = threadId, + directMessageThreadId = directMessageThreadId, + startTimestamp = startTimestamp, + disableNotification = disableNotification, + protectContent = protectContent, + effectId = effectId +) public suspend fun TelegramBot.forwardMessage( fromChatId: ChatIdentifier, @@ -45,8 +68,19 @@ public suspend fun TelegramBot.forwardMessage( directMessageThreadId: DirectMessageThreadId? = toChat.id.directMessageThreadId, startTimestamp: Seconds? = null, disableNotification: Boolean = false, - protectContent: Boolean = false -): PossiblyForwardedMessage = forwardMessage(fromChatId, toChat.id, messageId, threadId, directMessageThreadId, startTimestamp, disableNotification, protectContent) + protectContent: Boolean = false, + effectId: EffectId? = null +): PossiblyForwardedMessage = forwardMessage( + fromChatId = fromChatId, + toChatId = toChat.id, + messageId = messageId, + threadId = threadId, + directMessageThreadId = directMessageThreadId, + startTimestamp = startTimestamp, + disableNotification = disableNotification, + protectContent = protectContent, + effectId = effectId +) public suspend fun TelegramBot.forwardMessage( fromChat: Chat, @@ -56,8 +90,19 @@ public suspend fun TelegramBot.forwardMessage( directMessageThreadId: DirectMessageThreadId? = toChat.id.directMessageThreadId, startTimestamp: Seconds? = null, disableNotification: Boolean = false, - protectContent: Boolean = false -): PossiblyForwardedMessage = forwardMessage(fromChat.id, toChat.id, messageId, threadId, directMessageThreadId, startTimestamp, disableNotification, protectContent) + protectContent: Boolean = false, + effectId: EffectId? = null +): PossiblyForwardedMessage = forwardMessage( + fromChatId = fromChat.id, + toChatId = toChat.id, + messageId = messageId, + threadId = threadId, + directMessageThreadId = directMessageThreadId, + startTimestamp = startTimestamp, + disableNotification = disableNotification, + protectContent = protectContent, + effectId = effectId +) public suspend fun TelegramBot.forwardMessage( toChatId: ChatIdentifier, @@ -66,8 +111,19 @@ public suspend fun TelegramBot.forwardMessage( directMessageThreadId: DirectMessageThreadId? = toChatId.directMessageThreadId, startTimestamp: Seconds? = null, disableNotification: Boolean = false, - protectContent: Boolean = false -): PossiblyForwardedMessage = forwardMessage(message.chat, toChatId, message.messageId, threadId, directMessageThreadId, startTimestamp, disableNotification, protectContent) + protectContent: Boolean = false, + effectId: EffectId? = null +): PossiblyForwardedMessage = forwardMessage( + fromChat = message.chat, + toChatId = toChatId, + messageId = message.messageId, + threadId = threadId, + directMessageThreadId = directMessageThreadId, + startTimestamp = startTimestamp, + disableNotification = disableNotification, + protectContent = protectContent, + effectId = effectId +) public suspend fun TelegramBot.forwardMessage( toChat: Chat, @@ -76,5 +132,16 @@ public suspend fun TelegramBot.forwardMessage( directMessageThreadId: DirectMessageThreadId? = toChat.id.directMessageThreadId, startTimestamp: Seconds? = null, disableNotification: Boolean = false, - protectContent: Boolean = false -): PossiblyForwardedMessage = forwardMessage(message.chat, toChat, message.messageId, threadId, directMessageThreadId, startTimestamp, disableNotification, protectContent) + protectContent: Boolean = false, + effectId: EffectId? = null +): PossiblyForwardedMessage = forwardMessage( + fromChat = message.chat, + toChat = toChat, + messageId = message.messageId, + threadId = threadId, + directMessageThreadId = directMessageThreadId, + startTimestamp = startTimestamp, + disableNotification = disableNotification, + protectContent = protectContent, + effectId = effectId +) diff --git a/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/bot/RemoveMyProfilePhoto.kt b/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/bot/RemoveMyProfilePhoto.kt new file mode 100644 index 0000000000..e7e5c13cae --- /dev/null +++ b/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/bot/RemoveMyProfilePhoto.kt @@ -0,0 +1,6 @@ +package dev.inmo.tgbotapi.extensions.api.bot + +import dev.inmo.tgbotapi.bot.TelegramBot +import dev.inmo.tgbotapi.requests.bot.RemoveMyProfilePhoto + +public suspend fun TelegramBot.removeMyProfilePhoto(): Boolean = execute(RemoveMyProfilePhoto) diff --git a/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/bot/SetMyProfilePhoto.kt b/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/bot/SetMyProfilePhoto.kt new file mode 100644 index 0000000000..5c34541b31 --- /dev/null +++ b/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/bot/SetMyProfilePhoto.kt @@ -0,0 +1,9 @@ +package dev.inmo.tgbotapi.extensions.api.bot + +import dev.inmo.tgbotapi.bot.TelegramBot +import dev.inmo.tgbotapi.requests.bot.SetMyProfilePhoto +import dev.inmo.tgbotapi.requests.business_connection.InputProfilePhoto + +public suspend fun TelegramBot.setMyProfilePhoto( + photo: InputProfilePhoto +): Boolean = execute(SetMyProfilePhoto(photo)) diff --git a/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/business/GetBusinessAccountGifts.kt b/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/business/GetBusinessAccountGifts.kt index ac54b5e3a6..a80eb1908e 100644 --- a/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/business/GetBusinessAccountGifts.kt +++ b/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/business/GetBusinessAccountGifts.kt @@ -4,7 +4,8 @@ import dev.inmo.tgbotapi.bot.TelegramBot import dev.inmo.tgbotapi.requests.business_connection.GetBusinessAccountGifts import dev.inmo.tgbotapi.types.business_connection.BusinessConnectionId import dev.inmo.tgbotapi.types.OwnedGifts -import dev.inmo.tgbotapi.types.gifts.GiftSentOrReceived +import dev.inmo.tgbotapi.types.gifts.GiftSentOrReceivedEvent +import dev.inmo.tgbotapi.types.gifts.OwnedGift import kotlinx.coroutines.flow.Flow import kotlinx.coroutines.flow.flow import kotlin.runCatching @@ -14,19 +15,23 @@ public suspend fun TelegramBot.getBusinessAccountGifts( excludeUnsaved: Boolean = false, excludeSaved: Boolean = false, excludeUnlimited: Boolean = false, - excludeLimited: Boolean = false, + excludeLimitedUpgradable: Boolean = false, + excludeLimitedNonUpgradable: Boolean = false, excludeUnique: Boolean = false, + excludeFromBlockchain: Boolean = false, sortByPrice: Boolean = false, offset: String? = null, limit: Int? = null -): OwnedGifts = execute( +): OwnedGifts = execute( GetBusinessAccountGifts( businessConnectionId, excludeUnsaved, excludeSaved, excludeUnlimited, - excludeLimited, + excludeLimitedUpgradable, + excludeLimitedNonUpgradable, excludeUnique, + excludeFromBlockchain, sortByPrice, offset, limit @@ -43,8 +48,10 @@ public suspend fun TelegramBot.getBusinessAccountGifts( * @param excludeUnsaved Whether to exclude unsaved gifts * @param excludeSaved Whether to exclude saved gifts * @param excludeUnlimited Whether to exclude unlimited gifts - * @param excludeLimited Whether to exclude limited gifts + * @param excludeLimitedUpgradable Whether to exclude limited upgradable gifts + * @param excludeLimitedNonUpgradable Whether to exclude limited non-upgradable gifts * @param excludeUnique Whether to exclude unique gifts + * @param excludeFromBlockchain Whether to exclude gifts from blockchain * @param sortByPrice Whether to sort gifts by price * @param initialOffset The initial offset to start fetching from. If null, starts from the beginning * @param limit The maximum number of gifts to fetch per request @@ -57,13 +64,15 @@ public fun TelegramBot.getBusinessAccountGiftsFlow( excludeUnsaved: Boolean = false, excludeSaved: Boolean = false, excludeUnlimited: Boolean = false, - excludeLimited: Boolean = false, + excludeLimitedUpgradable: Boolean = false, + excludeLimitedNonUpgradable: Boolean = false, excludeUnique: Boolean = false, + excludeFromBlockchain: Boolean = false, sortByPrice: Boolean = false, initialOffset: String? = null, limit: Int? = null, onErrorContinueChecker: suspend (Throwable?) -> Boolean = { false } -): Flow> = flow { +): Flow> = flow { var currentOffset = initialOffset do { val response = runCatching { @@ -72,8 +81,10 @@ public fun TelegramBot.getBusinessAccountGiftsFlow( excludeUnsaved, excludeSaved, excludeUnlimited, - excludeLimited, + excludeLimitedUpgradable, + excludeLimitedNonUpgradable, excludeUnique, + excludeFromBlockchain, sortByPrice, currentOffset, limit diff --git a/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/chat/get/GetChat.kt b/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/chat/get/GetChat.kt index 762a378cb5..5ac9073a46 100644 --- a/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/chat/get/GetChat.kt +++ b/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/chat/get/GetChat.kt @@ -117,6 +117,17 @@ public suspend fun TelegramBot.getChat( chat: PrivateChatImpl ): ExtendedPrivateChatImpl = getChat(chat.id) as ExtendedPrivateChatImpl +/** + * Will cast incoming [dev.inmo.tgbotapi.types.chat.ExtendedChat] to a + * [ExtendedPrivateForumChatImpl] with unsafe operator "as" + * + * @throws ClassCastException + */ +@PreviewFeature +public suspend fun TelegramBot.getChat( + chat: PrivateForumChatImpl +): ExtendedPrivateForumChatImpl = getChat(chat.id) as ExtendedPrivateForumChatImpl + /** * Will cast incoming [dev.inmo.tgbotapi.types.chat.ExtendedChat] to a * [ExtendedUser] with unsafe operator "as" diff --git a/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/get/GetUserProfileAudios.kt b/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/get/GetUserProfileAudios.kt new file mode 100644 index 0000000000..446ef71760 --- /dev/null +++ b/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/get/GetUserProfileAudios.kt @@ -0,0 +1,23 @@ +package dev.inmo.tgbotapi.extensions.api.get + +import dev.inmo.tgbotapi.bot.TelegramBot +import dev.inmo.tgbotapi.requests.get.GetUserProfileAudios +import dev.inmo.tgbotapi.types.chat.CommonUser +import dev.inmo.tgbotapi.types.UserId +import dev.inmo.tgbotapi.types.UserProfileAudios + +public suspend fun TelegramBot.getUserProfileAudios( + userId: UserId, + offset: Int? = null, + limit: Int? = null +): UserProfileAudios = execute( + GetUserProfileAudios( + userId = userId, offset = offset, limit = limit + ) +) + +public suspend fun TelegramBot.getUserProfileAudios( + user: CommonUser, + offset: Int? = null, + limit: Int? = null +): UserProfileAudios = getUserProfileAudios(userId = user.id, offset = offset, limit = limit) diff --git a/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/gifts/GetChatGifts.kt b/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/gifts/GetChatGifts.kt new file mode 100644 index 0000000000..e8df4c4db2 --- /dev/null +++ b/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/gifts/GetChatGifts.kt @@ -0,0 +1,83 @@ +package dev.inmo.tgbotapi.extensions.api.gifts + +import dev.inmo.tgbotapi.bot.TelegramBot +import dev.inmo.tgbotapi.requests.gifts.GetChatGifts +import dev.inmo.tgbotapi.types.ChatIdentifier +import dev.inmo.tgbotapi.types.OwnedGifts +import dev.inmo.tgbotapi.types.gifts.GiftSentOrReceivedEvent +import dev.inmo.tgbotapi.types.gifts.OwnedGift +import kotlinx.coroutines.flow.Flow +import kotlinx.coroutines.flow.flow + +public suspend fun TelegramBot.getChatGifts( + chatId: ChatIdentifier, + excludeUnsaved: Boolean = false, + excludeSaved: Boolean = false, + excludeUnlimited: Boolean = false, + excludeLimitedUpgradable: Boolean = false, + excludeLimitedNonUpgradable: Boolean = false, + excludeFromBlockchain: Boolean = false, + excludeUnique: Boolean = false, + sortByPrice: Boolean = false, + offset: String? = null, + limit: Int? = null +): OwnedGifts = execute( + GetChatGifts( + chatId, + excludeUnsaved, + excludeSaved, + excludeUnlimited, + excludeLimitedUpgradable, + excludeLimitedNonUpgradable, + excludeFromBlockchain, + excludeUnique, + sortByPrice, + offset, + limit + ) +) + +public fun TelegramBot.getChatGiftsFlow( + chatId: ChatIdentifier, + excludeUnsaved: Boolean = false, + excludeSaved: Boolean = false, + excludeUnlimited: Boolean = false, + excludeLimitedUpgradable: Boolean = false, + excludeLimitedNonUpgradable: Boolean = false, + excludeFromBlockchain: Boolean = false, + excludeUnique: Boolean = false, + sortByPrice: Boolean = false, + initialOffset: String? = null, + limit: Int? = null, + onErrorContinueChecker: suspend (Throwable?) -> Boolean = { false } +): Flow> = flow { + var currentOffset = initialOffset + do { + val response = runCatching { + getChatGifts( + chatId, + excludeUnsaved, + excludeSaved, + excludeUnlimited, + excludeLimitedUpgradable, + excludeLimitedNonUpgradable, + excludeFromBlockchain, + excludeUnique, + sortByPrice, + currentOffset, + limit + ) + } + if (response.isSuccess) { + val result = response.getOrThrow() + emit(result) + currentOffset = result.nextOffset + } else { + if (onErrorContinueChecker(response.exceptionOrNull())) { + continue + } else { + break + } + } + } while (currentOffset != null) +} diff --git a/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/gifts/GetUserGifts.kt b/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/gifts/GetUserGifts.kt new file mode 100644 index 0000000000..f8489d79bf --- /dev/null +++ b/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/gifts/GetUserGifts.kt @@ -0,0 +1,75 @@ +package dev.inmo.tgbotapi.extensions.api.gifts + +import dev.inmo.tgbotapi.bot.TelegramBot +import dev.inmo.tgbotapi.requests.gifts.GetUserGifts +import dev.inmo.tgbotapi.types.OwnedGifts +import dev.inmo.tgbotapi.types.UserId +import dev.inmo.tgbotapi.types.gifts.GiftSentOrReceivedEvent +import dev.inmo.tgbotapi.types.gifts.OwnedGift +import kotlinx.coroutines.flow.Flow +import kotlinx.coroutines.flow.flow + +public suspend fun TelegramBot.getUserGifts( + userId: UserId, + excludeUnlimited: Boolean = false, + excludeLimitedUpgradable: Boolean = false, + excludeLimitedNonUpgradable: Boolean = false, + excludeFromBlockchain: Boolean = false, + excludeUnique: Boolean = false, + sortByPrice: Boolean = false, + offset: String? = null, + limit: Int? = null +): OwnedGifts = execute( + GetUserGifts( + userId, + excludeUnlimited, + excludeLimitedUpgradable, + excludeLimitedNonUpgradable, + excludeFromBlockchain, + excludeUnique, + sortByPrice, + offset, + limit + ) +) + +public fun TelegramBot.getUserGiftsFlow( + userId: UserId, + excludeUnlimited: Boolean = false, + excludeLimitedUpgradable: Boolean = false, + excludeLimitedNonUpgradable: Boolean = false, + excludeFromBlockchain: Boolean = false, + excludeUnique: Boolean = false, + sortByPrice: Boolean = false, + initialOffset: String? = null, + limit: Int? = null, + onErrorContinueChecker: suspend (Throwable?) -> Boolean = { false } +): Flow> = flow { + var currentOffset = initialOffset + do { + val response = runCatching { + getUserGifts( + userId, + excludeUnlimited, + excludeLimitedUpgradable, + excludeLimitedNonUpgradable, + excludeFromBlockchain, + excludeUnique, + sortByPrice, + currentOffset, + limit + ) + } + if (response.isSuccess) { + val result = response.getOrThrow() + emit(result) + currentOffset = result.nextOffset + } else { + if (onErrorContinueChecker(response.exceptionOrNull())) { + continue + } else { + break + } + } + } while (currentOffset != null) +} diff --git a/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/send/CopyMessage.kt b/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/send/CopyMessage.kt index d277907383..7dbb1c2ed9 100644 --- a/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/send/CopyMessage.kt +++ b/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/send/CopyMessage.kt @@ -29,6 +29,7 @@ public suspend inline fun TelegramBot.copyMessage( disableNotification: Boolean = false, protectContent: Boolean = false, allowPaidBroadcast: Boolean = false, + effectId: EffectId? = null, suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null @@ -46,6 +47,7 @@ public suspend inline fun TelegramBot.copyMessage( disableNotification = disableNotification, protectContent = protectContent, allowPaidBroadcast = allowPaidBroadcast, + effectId = effectId, suggestedPostParameters = suggestedPostParameters, replyParameters = replyParameters, replyMarkup = replyMarkup @@ -69,6 +71,7 @@ public suspend inline fun TelegramBot.copyMessage( disableNotification: Boolean = false, protectContent: Boolean = false, allowPaidBroadcast: Boolean = false, + effectId: EffectId? = null, suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null @@ -85,6 +88,7 @@ public suspend inline fun TelegramBot.copyMessage( disableNotification = disableNotification, protectContent = protectContent, allowPaidBroadcast = allowPaidBroadcast, + effectId = effectId, suggestedPostParameters = suggestedPostParameters, replyParameters = replyParameters, replyMarkup = replyMarkup @@ -107,6 +111,7 @@ public suspend inline fun TelegramBot.copyMessage( disableNotification: Boolean = false, protectContent: Boolean = false, allowPaidBroadcast: Boolean = false, + effectId: EffectId? = null, suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null @@ -123,6 +128,7 @@ public suspend inline fun TelegramBot.copyMessage( disableNotification = disableNotification, protectContent = protectContent, allowPaidBroadcast = allowPaidBroadcast, + effectId = effectId, suggestedPostParameters = suggestedPostParameters, replyParameters = replyParameters, replyMarkup = replyMarkup @@ -145,6 +151,7 @@ public suspend inline fun TelegramBot.copyMessage( disableNotification: Boolean = false, protectContent: Boolean = false, allowPaidBroadcast: Boolean = false, + effectId: EffectId? = null, suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null @@ -161,6 +168,7 @@ public suspend inline fun TelegramBot.copyMessage( disableNotification = disableNotification, protectContent = protectContent, allowPaidBroadcast = allowPaidBroadcast, + effectId = effectId, suggestedPostParameters = suggestedPostParameters, replyParameters = replyParameters, replyMarkup = replyMarkup @@ -183,6 +191,7 @@ public suspend inline fun TelegramBot.copyMessage( disableNotification: Boolean = false, protectContent: Boolean = false, allowPaidBroadcast: Boolean = false, + effectId: EffectId? = null, suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null @@ -199,6 +208,7 @@ public suspend inline fun TelegramBot.copyMessage( disableNotification = disableNotification, protectContent = protectContent, allowPaidBroadcast = allowPaidBroadcast, + effectId = effectId, suggestedPostParameters = suggestedPostParameters, replyParameters = replyParameters, replyMarkup = replyMarkup @@ -221,6 +231,7 @@ public suspend inline fun TelegramBot.copyMessage( disableNotification: Boolean = false, protectContent: Boolean = false, allowPaidBroadcast: Boolean = false, + effectId: EffectId? = null, suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null @@ -236,6 +247,7 @@ public suspend inline fun TelegramBot.copyMessage( disableNotification = disableNotification, protectContent = protectContent, allowPaidBroadcast = allowPaidBroadcast, + effectId = effectId, suggestedPostParameters = suggestedPostParameters, replyParameters = replyParameters, replyMarkup = replyMarkup @@ -257,6 +269,7 @@ public suspend inline fun TelegramBot.copyMessage( disableNotification: Boolean = false, protectContent: Boolean = false, allowPaidBroadcast: Boolean = false, + effectId: EffectId? = null, suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null @@ -272,6 +285,7 @@ public suspend inline fun TelegramBot.copyMessage( disableNotification = disableNotification, protectContent = protectContent, allowPaidBroadcast = allowPaidBroadcast, + effectId = effectId, suggestedPostParameters = suggestedPostParameters, replyParameters = replyParameters, replyMarkup = replyMarkup @@ -293,6 +307,7 @@ public suspend inline fun TelegramBot.copyMessage( disableNotification: Boolean = false, protectContent: Boolean = false, allowPaidBroadcast: Boolean = false, + effectId: EffectId? = null, suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null @@ -308,6 +323,7 @@ public suspend inline fun TelegramBot.copyMessage( disableNotification = disableNotification, protectContent = protectContent, allowPaidBroadcast = allowPaidBroadcast, + effectId = effectId, suggestedPostParameters = suggestedPostParameters, replyParameters = replyParameters, replyMarkup = replyMarkup @@ -329,6 +345,7 @@ public suspend inline fun TelegramBot.copyMessage( disableNotification: Boolean = false, protectContent: Boolean = false, allowPaidBroadcast: Boolean = false, + effectId: EffectId? = null, suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null @@ -345,6 +362,7 @@ public suspend inline fun TelegramBot.copyMessage( disableNotification = disableNotification, protectContent = protectContent, allowPaidBroadcast = allowPaidBroadcast, + effectId = effectId, suggestedPostParameters = suggestedPostParameters, replyParameters = replyParameters, replyMarkup = replyMarkup @@ -366,6 +384,7 @@ public suspend inline fun TelegramBot.copyMessage( disableNotification: Boolean = false, protectContent: Boolean = false, allowPaidBroadcast: Boolean = false, + effectId: EffectId? = null, suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null @@ -382,6 +401,7 @@ public suspend inline fun TelegramBot.copyMessage( disableNotification = disableNotification, protectContent = protectContent, allowPaidBroadcast = allowPaidBroadcast, + effectId = effectId, suggestedPostParameters = suggestedPostParameters, replyParameters = replyParameters, replyMarkup = replyMarkup @@ -402,6 +422,7 @@ public suspend inline fun TelegramBot.copyMessage( disableNotification: Boolean = false, protectContent: Boolean = false, allowPaidBroadcast: Boolean = false, + effectId: EffectId? = null, suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null @@ -417,6 +438,7 @@ public suspend inline fun TelegramBot.copyMessage( disableNotification = disableNotification, protectContent = protectContent, allowPaidBroadcast = allowPaidBroadcast, + effectId = effectId, suggestedPostParameters = suggestedPostParameters, replyParameters = replyParameters, replyMarkup = replyMarkup @@ -437,6 +459,7 @@ public suspend inline fun TelegramBot.copyMessage( disableNotification: Boolean = false, protectContent: Boolean = false, allowPaidBroadcast: Boolean = false, + effectId: EffectId? = null, suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null @@ -452,6 +475,7 @@ public suspend inline fun TelegramBot.copyMessage( disableNotification = disableNotification, protectContent = protectContent, allowPaidBroadcast = allowPaidBroadcast, + effectId = effectId, suggestedPostParameters = suggestedPostParameters, replyParameters = replyParameters, replyMarkup = replyMarkup diff --git a/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/send/Replies.kt b/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/send/Replies.kt index 6cea34fb45..b0859f509d 100644 --- a/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/send/Replies.kt +++ b/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/send/Replies.kt @@ -2787,6 +2787,7 @@ public suspend inline fun TelegramBot.reply( disableNotification: Boolean = false, protectContent: Boolean = false, allowPaidBroadcast: Boolean = false, + effectId: EffectId? = null, suggestedPostParameters: SuggestedPostParameters? = null, allowSendingWithoutReply: Boolean? = null, checklistTaskId: ChecklistTaskId? = null, @@ -2803,6 +2804,7 @@ public suspend inline fun TelegramBot.reply( disableNotification = disableNotification, protectContent = protectContent, allowPaidBroadcast = allowPaidBroadcast, + effectId = effectId, suggestedPostParameters = suggestedPostParameters, replyParameters = ReplyParameters(to.metaInfo, allowSendingWithoutReply = allowSendingWithoutReply == true, checklistTaskId = checklistTaskId), replyMarkup = replyMarkup @@ -2821,6 +2823,7 @@ public suspend inline fun TelegramBot.reply( disableNotification: Boolean = false, protectContent: Boolean = false, allowPaidBroadcast: Boolean = false, + effectId: EffectId? = null, suggestedPostParameters: SuggestedPostParameters? = null, allowSendingWithoutReply: Boolean? = null, checklistTaskId: ChecklistTaskId? = null, @@ -2838,6 +2841,7 @@ public suspend inline fun TelegramBot.reply( disableNotification = disableNotification, protectContent = protectContent, allowPaidBroadcast = allowPaidBroadcast, + effectId = effectId, suggestedPostParameters = suggestedPostParameters, allowSendingWithoutReply = allowSendingWithoutReply, checklistTaskId = checklistTaskId, @@ -2856,6 +2860,7 @@ public suspend inline fun TelegramBot.reply( disableNotification: Boolean = false, protectContent: Boolean = false, allowPaidBroadcast: Boolean = false, + effectId: EffectId? = null, suggestedPostParameters: SuggestedPostParameters? = null, allowSendingWithoutReply: Boolean? = null, checklistTaskId: ChecklistTaskId? = null, @@ -2873,6 +2878,7 @@ public suspend inline fun TelegramBot.reply( disableNotification = disableNotification, protectContent = protectContent, allowPaidBroadcast = allowPaidBroadcast, + effectId = effectId, suggestedPostParameters = suggestedPostParameters, allowSendingWithoutReply = allowSendingWithoutReply, checklistTaskId = checklistTaskId, diff --git a/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/send/RepliesWithChatsAndMessages.kt b/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/send/RepliesWithChatsAndMessages.kt index 6286dde2ff..53b93c62d3 100644 --- a/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/send/RepliesWithChatsAndMessages.kt +++ b/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/send/RepliesWithChatsAndMessages.kt @@ -2779,6 +2779,7 @@ public suspend inline fun TelegramBot.reply( disableNotification: Boolean = false, protectContent: Boolean = false, allowPaidBroadcast: Boolean = false, + effectId: EffectId? = null, suggestedPostParameters: SuggestedPostParameters? = null, allowSendingWithoutReply: Boolean? = null, checklistTaskId: ChecklistTaskId? = null, @@ -2795,6 +2796,7 @@ public suspend inline fun TelegramBot.reply( disableNotification = disableNotification, protectContent = protectContent, allowPaidBroadcast = allowPaidBroadcast, + effectId = effectId, suggestedPostParameters = suggestedPostParameters, replyParameters = ReplyParameters(toChatId, toMessageId, allowSendingWithoutReply = allowSendingWithoutReply, checklistTaskId = checklistTaskId), replyMarkup = replyMarkup @@ -2814,6 +2816,7 @@ public suspend inline fun TelegramBot.reply( disableNotification: Boolean = false, protectContent: Boolean = false, allowPaidBroadcast: Boolean = false, + effectId: EffectId? = null, suggestedPostParameters: SuggestedPostParameters? = null, allowSendingWithoutReply: Boolean? = null, checklistTaskId: ChecklistTaskId? = null, @@ -2832,6 +2835,7 @@ public suspend inline fun TelegramBot.reply( disableNotification = disableNotification, protectContent = protectContent, allowPaidBroadcast = allowPaidBroadcast, + effectId = effectId, suggestedPostParameters = suggestedPostParameters, allowSendingWithoutReply = allowSendingWithoutReply, checklistTaskId = checklistTaskId, @@ -2851,6 +2855,7 @@ public suspend inline fun TelegramBot.reply( disableNotification: Boolean = false, protectContent: Boolean = false, allowPaidBroadcast: Boolean = false, + effectId: EffectId? = null, suggestedPostParameters: SuggestedPostParameters? = null, allowSendingWithoutReply: Boolean? = null, checklistTaskId: ChecklistTaskId? = null, @@ -2869,6 +2874,7 @@ public suspend inline fun TelegramBot.reply( disableNotification = disableNotification, protectContent = protectContent, allowPaidBroadcast = allowPaidBroadcast, + effectId = effectId, suggestedPostParameters = suggestedPostParameters, allowSendingWithoutReply = allowSendingWithoutReply, checklistTaskId = checklistTaskId, diff --git a/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/send/SendMessageDraft.kt b/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/send/SendMessageDraft.kt new file mode 100644 index 0000000000..0de5b18461 --- /dev/null +++ b/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/send/SendMessageDraft.kt @@ -0,0 +1,197 @@ +package dev.inmo.tgbotapi.extensions.api.send + +import dev.inmo.kslog.common.logger +import dev.inmo.micro_utils.coroutines.runCatchingLogging +import dev.inmo.tgbotapi.bot.TelegramBot +import dev.inmo.tgbotapi.requests.send.SendMessageDraft +import dev.inmo.tgbotapi.types.* +import dev.inmo.tgbotapi.types.message.textsources.TextSourcesList +import dev.inmo.tgbotapi.types.message.ParseMode +import dev.inmo.tgbotapi.types.chat.Chat +import dev.inmo.tgbotapi.types.message.MarkdownV2 +import dev.inmo.tgbotapi.types.message.textsources.TextSource +import dev.inmo.tgbotapi.utils.DraftIdAllocator +import dev.inmo.tgbotapi.utils.EntitiesBuilderBody +import dev.inmo.tgbotapi.utils.buildEntities +import dev.inmo.tgbotapi.utils.extensions.escapeMarkdownV2Common +import kotlinx.coroutines.flow.Flow +import kotlinx.coroutines.flow.filter +import kotlinx.coroutines.flow.firstOrNull +import kotlinx.coroutines.flow.map +import kotlin.js.JsName +import kotlin.jvm.JvmName + +public suspend fun TelegramBot.sendMessageDraft( + chatId: IdChatIdentifier, + draftId: DraftId, + text: String, + parseMode: ParseMode? = null, + threadId: MessageThreadId? = chatId.threadId +): Boolean = execute( + SendMessageDraft( + chatId = chatId, + draftId = draftId, + text = text, + parseMode = parseMode, + threadId = threadId + ) +) + +private suspend fun TelegramBot.sendMessageDraftFlow( + messagesFlow: Flow, +): Boolean { + val done = messagesFlow + .filter { draft -> + val sent = runCatchingLogging(logger = logger) { + execute(draft) + }.getOrElse { + false + } + + sent == false + } + .firstOrNull() + + return done == null +} + +public val GlobalDraftIdAllocator: DraftIdAllocator by lazy { DraftIdAllocator() } + +public suspend fun TelegramBot.sendMessageDraftFlow( + chatId: IdChatIdentifier, + messagesFlow: Flow, + threadId: MessageThreadId? = chatId.threadId, + draftId: DraftId? = null, +): Boolean { + val draftId = draftId ?: GlobalDraftIdAllocator.allocate() + return sendMessageDraftFlow( + messagesFlow.map { + SendMessageDraft(chatId = chatId, draftId = draftId, entities = it, threadId = threadId) + } + ) +} + +public suspend fun TelegramBot.sendMessageDraftFlowWithTextsAndParseMode( + chatId: IdChatIdentifier, + messagesFlow: Flow>, + threadId: MessageThreadId? = chatId.threadId, + draftId: DraftId? = null, +): Boolean { + val draftId = draftId ?: GlobalDraftIdAllocator.allocate() + return sendMessageDraftFlow( + messagesFlow.map { + SendMessageDraft(chatId = chatId, draftId = draftId, text = it.first, parseMode = it.second, threadId = threadId) + } + ) +} + +public suspend fun TelegramBot.sendMessageDraftFlowWithTexts( + chatId: IdChatIdentifier, + messagesFlow: Flow, + threadId: MessageThreadId? = chatId.threadId, + draftId: DraftId? = null, +): Boolean { + val draftId = draftId ?: GlobalDraftIdAllocator.allocate() + return sendMessageDraftFlowWithTextsAndParseMode( + chatId = chatId, + messagesFlow = messagesFlow.map { + it.escapeMarkdownV2Common() to MarkdownV2 + }, + threadId = threadId, + draftId = draftId + ) +} + +public suspend fun TelegramBot.sendMessageDraft( + chat: Chat, + draftId: DraftId, + text: String, + parseMode: ParseMode? = null, + threadId: MessageThreadId? = chat.id.threadId +): Boolean = sendMessageDraft( + chatId = chat.id as IdChatIdentifier, + draftId = draftId, + text = text, + parseMode = parseMode, + threadId = threadId +) + +public suspend fun TelegramBot.sendMessageDraft( + chatId: IdChatIdentifier, + draftId: DraftId, + entities: TextSourcesList, + threadId: MessageThreadId? = chatId.threadId +): Boolean = execute( + SendMessageDraft( + chatId = chatId, + draftId = draftId, + entities = entities, + threadId = threadId + ) +) + +public suspend fun TelegramBot.sendMessageDraft( + chat: Chat, + draftId: DraftId, + entities: TextSourcesList, + threadId: MessageThreadId? = chat.id.threadId +): Boolean = sendMessageDraft( + chatId = chat.id as IdChatIdentifier, + draftId = draftId, + entities = entities, + threadId = threadId +) + +public suspend fun TelegramBot.sendMessageDraft( + chatId: IdChatIdentifier, + draftId: DraftId, + separator: TextSource? = null, + threadId: MessageThreadId? = chatId.threadId, + builderBody: EntitiesBuilderBody +): Boolean = sendMessageDraft( + chatId = chatId, + draftId = draftId, + entities = buildEntities(separator, builderBody), + threadId = threadId +) + +public suspend fun TelegramBot.sendMessageDraft( + chatId: IdChatIdentifier, + draftId: DraftId, + separator: String, + threadId: MessageThreadId? = chatId.threadId, + builderBody: EntitiesBuilderBody +): Boolean = sendMessageDraft( + chatId = chatId, + draftId = draftId, + entities = buildEntities(separator, builderBody), + threadId = threadId +) + +public suspend fun TelegramBot.sendMessageDraft( + chat: Chat, + draftId: DraftId, + separator: TextSource? = null, + threadId: MessageThreadId? = chat.id.threadId, + builderBody: EntitiesBuilderBody +): Boolean = sendMessageDraft( + chatId = chat.id as IdChatIdentifier, + draftId = draftId, + separator = separator, + threadId = threadId, + builderBody = builderBody +) + +public suspend fun TelegramBot.sendMessageDraft( + chat: Chat, + draftId: DraftId, + separator: String, + threadId: MessageThreadId? = chat.id.threadId, + builderBody: EntitiesBuilderBody +): Boolean = sendMessageDraft( + chatId = chat.id as IdChatIdentifier, + draftId = draftId, + separator = separator, + threadId = threadId, + builderBody = builderBody +) diff --git a/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/send/Sends.kt b/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/send/Sends.kt index c0760ca6a5..af8a98ec52 100644 --- a/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/send/Sends.kt +++ b/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/send/Sends.kt @@ -1331,6 +1331,138 @@ public suspend fun TelegramBot.send( replyMarkup = replyMarkup ) +/** + * Will execute [sendMessageDraft] request + */ +public suspend fun TelegramBot.send( + chatId: IdChatIdentifier, + draftId: DraftId, + text: String, + parseMode: ParseMode? = null, + threadId: MessageThreadId? = chatId.threadId +): Boolean = sendMessageDraft( + chatId = chatId, + draftId = draftId, + text = text, + parseMode = parseMode, + threadId = threadId +) + +/** + * Will execute [sendMessageDraft] request + */ +public suspend fun TelegramBot.send( + chat: Chat, + draftId: DraftId, + text: String, + parseMode: ParseMode? = null, + threadId: MessageThreadId? = chat.id.threadId +): Boolean = sendMessageDraft( + chat = chat, + draftId = draftId, + text = text, + parseMode = parseMode, + threadId = threadId +) + +/** + * Will execute [sendMessageDraft] request + */ +public suspend fun TelegramBot.send( + chatId: IdChatIdentifier, + draftId: DraftId, + entities: TextSourcesList, + threadId: MessageThreadId? = chatId.threadId +): Boolean = sendMessageDraft( + chatId = chatId, + draftId = draftId, + entities = entities, + threadId = threadId +) + +/** + * Will execute [sendMessageDraft] request + */ +public suspend fun TelegramBot.send( + chat: Chat, + draftId: DraftId, + entities: TextSourcesList, + threadId: MessageThreadId? = chat.id.threadId +): Boolean = sendMessageDraft( + chat = chat, + draftId = draftId, + entities = entities, + threadId = threadId +) + +/** + * Will execute [sendMessageDraft] request + */ +public suspend fun TelegramBot.send( + chatId: IdChatIdentifier, + draftId: DraftId, + separator: TextSource? = null, + threadId: MessageThreadId? = chatId.threadId, + builderBody: EntitiesBuilderBody +): Boolean = sendMessageDraft( + chatId = chatId, + draftId = draftId, + separator = separator, + threadId = threadId, + builderBody = builderBody +) + +/** + * Will execute [sendMessageDraft] request + */ +public suspend fun TelegramBot.send( + chatId: IdChatIdentifier, + draftId: DraftId, + separator: String, + threadId: MessageThreadId? = chatId.threadId, + builderBody: EntitiesBuilderBody +): Boolean = sendMessageDraft( + chatId = chatId, + draftId = draftId, + separator = separator, + threadId = threadId, + builderBody = builderBody +) + +/** + * Will execute [sendMessageDraft] request + */ +public suspend fun TelegramBot.send( + chat: Chat, + draftId: DraftId, + separator: TextSource? = null, + threadId: MessageThreadId? = chat.id.threadId, + builderBody: EntitiesBuilderBody +): Boolean = sendMessageDraft( + chat = chat, + draftId = draftId, + separator = separator, + threadId = threadId, + builderBody = builderBody +) + +/** + * Will execute [sendMessageDraft] request + */ +public suspend fun TelegramBot.send( + chat: Chat, + draftId: DraftId, + separator: String, + threadId: MessageThreadId? = chat.id.threadId, + builderBody: EntitiesBuilderBody +): Boolean = sendMessageDraft( + chat = chat, + draftId = draftId, + separator = separator, + threadId = threadId, + builderBody = builderBody +) + /** * @param replyMarkup Some [InlineKeyboardMarkup]. See [dev.inmo.tgbotapi.extensions.utils.types.buttons.inlineKeyboard] * as a builder for that diff --git a/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/stories/RepostStory.kt b/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/stories/RepostStory.kt new file mode 100644 index 0000000000..930bbaa952 --- /dev/null +++ b/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/stories/RepostStory.kt @@ -0,0 +1,45 @@ +package dev.inmo.tgbotapi.extensions.api.stories + +import dev.inmo.tgbotapi.bot.TelegramBot +import dev.inmo.tgbotapi.requests.stories.RepostStory +import dev.inmo.tgbotapi.types.BusinessChatId +import dev.inmo.tgbotapi.types.IdChatIdentifier +import dev.inmo.tgbotapi.types.Seconds +import dev.inmo.tgbotapi.types.StoryId +import dev.inmo.tgbotapi.types.business_connection.BusinessConnectionId +import dev.inmo.tgbotapi.types.stories.Story + +public suspend fun TelegramBot.repostStory( + businessConnectionId: BusinessConnectionId, + fromChatId: IdChatIdentifier, + storyId: StoryId, + activePeriod: Seconds, + postToChatPage: Boolean = false, + protectContent: Boolean = false, +): Story = execute( + RepostStory( + businessConnectionId = businessConnectionId, + fromChatId = fromChatId, + storyId = storyId, + activePeriod = activePeriod, + postToChatPage = postToChatPage, + protectContent = protectContent + ) +) + +public suspend fun TelegramBot.repostStory( + fromChatId: BusinessChatId, + storyId: StoryId, + activePeriod: Seconds, + postToChatPage: Boolean = false, + protectContent: Boolean = false, +): Story = execute( + RepostStory( + businessConnectionId = fromChatId.businessConnectionId, + fromChatId = fromChatId, + storyId = storyId, + activePeriod = activePeriod, + postToChatPage = postToChatPage, + protectContent = protectContent + ) +) diff --git a/tgbotapi.behaviour_builder/api/tgbotapi.behaviour_builder.api b/tgbotapi.behaviour_builder/api/tgbotapi.behaviour_builder.api index e4b0f2f859..b9b275bd5b 100644 --- a/tgbotapi.behaviour_builder/api/tgbotapi.behaviour_builder.api +++ b/tgbotapi.behaviour_builder/api/tgbotapi.behaviour_builder.api @@ -632,6 +632,10 @@ public final class dev/inmo/tgbotapi/extensions/behaviour_builder/expectations/W public static synthetic fun waitChatBoostAdded$default (Ldev/inmo/tgbotapi/extensions/behaviour_builder/BehaviourContext;Ldev/inmo/tgbotapi/requests/abstracts/Request;Lkotlin/jvm/functions/Function2;ILjava/lang/Object;)Lkotlinx/coroutines/flow/Flow; public static final fun waitChatEvents (Ldev/inmo/tgbotapi/extensions/behaviour_builder/BehaviourContext;Ldev/inmo/tgbotapi/requests/abstracts/Request;Lkotlin/jvm/functions/Function2;)Lkotlinx/coroutines/flow/Flow; public static synthetic fun waitChatEvents$default (Ldev/inmo/tgbotapi/extensions/behaviour_builder/BehaviourContext;Ldev/inmo/tgbotapi/requests/abstracts/Request;Lkotlin/jvm/functions/Function2;ILjava/lang/Object;)Lkotlinx/coroutines/flow/Flow; + public static final fun waitChatOwnerChanged (Ldev/inmo/tgbotapi/extensions/behaviour_builder/BehaviourContext;Ldev/inmo/tgbotapi/requests/abstracts/Request;Lkotlin/jvm/functions/Function2;)Lkotlinx/coroutines/flow/Flow; + public static synthetic fun waitChatOwnerChanged$default (Ldev/inmo/tgbotapi/extensions/behaviour_builder/BehaviourContext;Ldev/inmo/tgbotapi/requests/abstracts/Request;Lkotlin/jvm/functions/Function2;ILjava/lang/Object;)Lkotlinx/coroutines/flow/Flow; + public static final fun waitChatOwnerLeft (Ldev/inmo/tgbotapi/extensions/behaviour_builder/BehaviourContext;Ldev/inmo/tgbotapi/requests/abstracts/Request;Lkotlin/jvm/functions/Function2;)Lkotlinx/coroutines/flow/Flow; + public static synthetic fun waitChatOwnerLeft$default (Ldev/inmo/tgbotapi/extensions/behaviour_builder/BehaviourContext;Ldev/inmo/tgbotapi/requests/abstracts/Request;Lkotlin/jvm/functions/Function2;ILjava/lang/Object;)Lkotlinx/coroutines/flow/Flow; public static final fun waitChatShared (Ldev/inmo/tgbotapi/extensions/behaviour_builder/BehaviourContext;Ldev/inmo/tgbotapi/requests/abstracts/Request;Lkotlin/jvm/functions/Function2;)Lkotlinx/coroutines/flow/Flow; public static synthetic fun waitChatShared$default (Ldev/inmo/tgbotapi/extensions/behaviour_builder/BehaviourContext;Ldev/inmo/tgbotapi/requests/abstracts/Request;Lkotlin/jvm/functions/Function2;ILjava/lang/Object;)Lkotlinx/coroutines/flow/Flow; public static final fun waitChatSharedRequest (Ldev/inmo/tgbotapi/extensions/behaviour_builder/BehaviourContext;Ldev/inmo/tgbotapi/requests/abstracts/Request;Lkotlin/jvm/functions/Function2;)Lkotlinx/coroutines/flow/Flow; @@ -747,6 +751,10 @@ public final class dev/inmo/tgbotapi/extensions/behaviour_builder/expectations/W public static synthetic fun waitChatBoostAddedEventsMessages$default (Ldev/inmo/tgbotapi/extensions/behaviour_builder/BehaviourContext;Ldev/inmo/tgbotapi/requests/abstracts/Request;Lkotlin/jvm/functions/Function2;ILjava/lang/Object;)Lkotlinx/coroutines/flow/Flow; public static final fun waitChatEventsMessages (Ldev/inmo/tgbotapi/extensions/behaviour_builder/BehaviourContext;Ldev/inmo/tgbotapi/requests/abstracts/Request;Lkotlin/jvm/functions/Function2;)Lkotlinx/coroutines/flow/Flow; public static synthetic fun waitChatEventsMessages$default (Ldev/inmo/tgbotapi/extensions/behaviour_builder/BehaviourContext;Ldev/inmo/tgbotapi/requests/abstracts/Request;Lkotlin/jvm/functions/Function2;ILjava/lang/Object;)Lkotlinx/coroutines/flow/Flow; + public static final fun waitChatOwnerChangedEventsMessages (Ldev/inmo/tgbotapi/extensions/behaviour_builder/BehaviourContext;Ldev/inmo/tgbotapi/requests/abstracts/Request;Lkotlin/jvm/functions/Function2;)Lkotlinx/coroutines/flow/Flow; + public static synthetic fun waitChatOwnerChangedEventsMessages$default (Ldev/inmo/tgbotapi/extensions/behaviour_builder/BehaviourContext;Ldev/inmo/tgbotapi/requests/abstracts/Request;Lkotlin/jvm/functions/Function2;ILjava/lang/Object;)Lkotlinx/coroutines/flow/Flow; + public static final fun waitChatOwnerLeftEventsMessages (Ldev/inmo/tgbotapi/extensions/behaviour_builder/BehaviourContext;Ldev/inmo/tgbotapi/requests/abstracts/Request;Lkotlin/jvm/functions/Function2;)Lkotlinx/coroutines/flow/Flow; + public static synthetic fun waitChatOwnerLeftEventsMessages$default (Ldev/inmo/tgbotapi/extensions/behaviour_builder/BehaviourContext;Ldev/inmo/tgbotapi/requests/abstracts/Request;Lkotlin/jvm/functions/Function2;ILjava/lang/Object;)Lkotlinx/coroutines/flow/Flow; public static final fun waitChatSharedEventsMessages (Ldev/inmo/tgbotapi/extensions/behaviour_builder/BehaviourContext;Ldev/inmo/tgbotapi/requests/abstracts/Request;Lkotlin/jvm/functions/Function2;)Lkotlinx/coroutines/flow/Flow; public static synthetic fun waitChatSharedEventsMessages$default (Ldev/inmo/tgbotapi/extensions/behaviour_builder/BehaviourContext;Ldev/inmo/tgbotapi/requests/abstracts/Request;Lkotlin/jvm/functions/Function2;ILjava/lang/Object;)Lkotlinx/coroutines/flow/Flow; public static final fun waitChatSharedRequestEventsMessages (Ldev/inmo/tgbotapi/extensions/behaviour_builder/BehaviourContext;Ldev/inmo/tgbotapi/requests/abstracts/Request;Lkotlin/jvm/functions/Function2;)Lkotlinx/coroutines/flow/Flow; @@ -873,31 +881,31 @@ public final class dev/inmo/tgbotapi/extensions/behaviour_builder/expectations/W public final class dev/inmo/tgbotapi/extensions/behaviour_builder/expectations/WaitMentionKt { public static final fun filterMentions (Lkotlinx/coroutines/flow/Flow;Ldev/inmo/tgbotapi/types/chat/User;)Lkotlinx/coroutines/flow/Flow; public static final fun filterMentions-eC7Nk8U (Lkotlinx/coroutines/flow/Flow;Ljava/lang/String;)Lkotlinx/coroutines/flow/Flow; - public static final fun filterTextMentions-WiG6Fm4 (Lkotlinx/coroutines/flow/Flow;J)Lkotlinx/coroutines/flow/Flow; + public static final fun filterTextMentions (Lkotlinx/coroutines/flow/Flow;Ldev/inmo/tgbotapi/types/IdChatIdentifier;)Lkotlinx/coroutines/flow/Flow; public static final fun isWithMention (Ldev/inmo/tgbotapi/types/message/content/TextedContent;Ldev/inmo/tgbotapi/types/chat/User;)Z public static final fun isWithMention-eC7Nk8U (Ldev/inmo/tgbotapi/types/message/content/TextedContent;Ljava/lang/String;)Z - public static final fun isWithTextMention-WiG6Fm4 (Ldev/inmo/tgbotapi/types/message/content/TextedContent;J)Z + public static final fun isWithTextMention (Ldev/inmo/tgbotapi/types/message/content/TextedContent;Ldev/inmo/tgbotapi/types/IdChatIdentifier;)Z public static final fun waitContentWithMentions (Ldev/inmo/tgbotapi/extensions/behaviour_builder/BehaviourContext;Ldev/inmo/tgbotapi/types/chat/User;Ldev/inmo/tgbotapi/requests/abstracts/Request;Lkotlin/jvm/functions/Function2;)Lkotlinx/coroutines/flow/Flow; public static synthetic fun waitContentWithMentions$default (Ldev/inmo/tgbotapi/extensions/behaviour_builder/BehaviourContext;Ldev/inmo/tgbotapi/types/chat/User;Ldev/inmo/tgbotapi/requests/abstracts/Request;Lkotlin/jvm/functions/Function2;ILjava/lang/Object;)Lkotlinx/coroutines/flow/Flow; public static final fun waitContentWithMentions-QGcck-U (Ldev/inmo/tgbotapi/extensions/behaviour_builder/BehaviourContext;Ljava/lang/String;Ldev/inmo/tgbotapi/requests/abstracts/Request;Lkotlin/jvm/functions/Function2;)Lkotlinx/coroutines/flow/Flow; public static synthetic fun waitContentWithMentions-QGcck-U$default (Ldev/inmo/tgbotapi/extensions/behaviour_builder/BehaviourContext;Ljava/lang/String;Ldev/inmo/tgbotapi/requests/abstracts/Request;Lkotlin/jvm/functions/Function2;ILjava/lang/Object;)Lkotlinx/coroutines/flow/Flow; - public static final fun waitContentWithTextMentions-nc95W0g (Ldev/inmo/tgbotapi/extensions/behaviour_builder/BehaviourContext;JLdev/inmo/tgbotapi/requests/abstracts/Request;Lkotlin/jvm/functions/Function2;)Lkotlinx/coroutines/flow/Flow; - public static synthetic fun waitContentWithTextMentions-nc95W0g$default (Ldev/inmo/tgbotapi/extensions/behaviour_builder/BehaviourContext;JLdev/inmo/tgbotapi/requests/abstracts/Request;Lkotlin/jvm/functions/Function2;ILjava/lang/Object;)Lkotlinx/coroutines/flow/Flow; + public static final fun waitContentWithTextMentions (Ldev/inmo/tgbotapi/extensions/behaviour_builder/BehaviourContext;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/requests/abstracts/Request;Lkotlin/jvm/functions/Function2;)Lkotlinx/coroutines/flow/Flow; + public static synthetic fun waitContentWithTextMentions$default (Ldev/inmo/tgbotapi/extensions/behaviour_builder/BehaviourContext;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/requests/abstracts/Request;Lkotlin/jvm/functions/Function2;ILjava/lang/Object;)Lkotlinx/coroutines/flow/Flow; } public final class dev/inmo/tgbotapi/extensions/behaviour_builder/expectations/WaitMentionMessageKt { public static final fun filterMentionsMessages (Lkotlinx/coroutines/flow/Flow;Ldev/inmo/tgbotapi/types/chat/User;)Lkotlinx/coroutines/flow/Flow; public static final fun filterMentionsMessages-eC7Nk8U (Lkotlinx/coroutines/flow/Flow;Ljava/lang/String;)Lkotlinx/coroutines/flow/Flow; - public static final fun filterTextMentionsMessages-WiG6Fm4 (Lkotlinx/coroutines/flow/Flow;J)Lkotlinx/coroutines/flow/Flow; + public static final fun filterTextMentionsMessages (Lkotlinx/coroutines/flow/Flow;Ldev/inmo/tgbotapi/types/IdChatIdentifier;)Lkotlinx/coroutines/flow/Flow; public static final fun isWithMention (Ldev/inmo/tgbotapi/types/message/abstracts/CommonMessage;Ldev/inmo/tgbotapi/types/chat/User;)Z public static final fun isWithMention-eC7Nk8U (Ldev/inmo/tgbotapi/types/message/abstracts/CommonMessage;Ljava/lang/String;)Z - public static final fun isWithTextMention-WiG6Fm4 (Ldev/inmo/tgbotapi/types/message/abstracts/CommonMessage;J)Z + public static final fun isWithTextMention (Ldev/inmo/tgbotapi/types/message/abstracts/CommonMessage;Ldev/inmo/tgbotapi/types/IdChatIdentifier;)Z public static final fun waitContentMessageWithMentions (Ldev/inmo/tgbotapi/extensions/behaviour_builder/BehaviourContext;Ldev/inmo/tgbotapi/types/chat/User;Ldev/inmo/tgbotapi/requests/abstracts/Request;Lkotlin/jvm/functions/Function2;)Lkotlinx/coroutines/flow/Flow; public static synthetic fun waitContentMessageWithMentions$default (Ldev/inmo/tgbotapi/extensions/behaviour_builder/BehaviourContext;Ldev/inmo/tgbotapi/types/chat/User;Ldev/inmo/tgbotapi/requests/abstracts/Request;Lkotlin/jvm/functions/Function2;ILjava/lang/Object;)Lkotlinx/coroutines/flow/Flow; public static final fun waitContentMessageWithMentions-QGcck-U (Ldev/inmo/tgbotapi/extensions/behaviour_builder/BehaviourContext;Ljava/lang/String;Ldev/inmo/tgbotapi/requests/abstracts/Request;Lkotlin/jvm/functions/Function2;)Lkotlinx/coroutines/flow/Flow; public static synthetic fun waitContentMessageWithMentions-QGcck-U$default (Ldev/inmo/tgbotapi/extensions/behaviour_builder/BehaviourContext;Ljava/lang/String;Ldev/inmo/tgbotapi/requests/abstracts/Request;Lkotlin/jvm/functions/Function2;ILjava/lang/Object;)Lkotlinx/coroutines/flow/Flow; - public static final fun waitContentMessageWithTextMentions-nc95W0g (Ldev/inmo/tgbotapi/extensions/behaviour_builder/BehaviourContext;JLdev/inmo/tgbotapi/requests/abstracts/Request;Lkotlin/jvm/functions/Function2;)Lkotlinx/coroutines/flow/Flow; - public static synthetic fun waitContentMessageWithTextMentions-nc95W0g$default (Ldev/inmo/tgbotapi/extensions/behaviour_builder/BehaviourContext;JLdev/inmo/tgbotapi/requests/abstracts/Request;Lkotlin/jvm/functions/Function2;ILjava/lang/Object;)Lkotlinx/coroutines/flow/Flow; + public static final fun waitContentMessageWithTextMentions (Ldev/inmo/tgbotapi/extensions/behaviour_builder/BehaviourContext;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/requests/abstracts/Request;Lkotlin/jvm/functions/Function2;)Lkotlinx/coroutines/flow/Flow; + public static synthetic fun waitContentMessageWithTextMentions$default (Ldev/inmo/tgbotapi/extensions/behaviour_builder/BehaviourContext;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/requests/abstracts/Request;Lkotlin/jvm/functions/Function2;ILjava/lang/Object;)Lkotlinx/coroutines/flow/Flow; } public final class dev/inmo/tgbotapi/extensions/behaviour_builder/expectations/WaitPaidMediaPurchasedKt { @@ -1358,6 +1366,10 @@ public final class dev/inmo/tgbotapi/extensions/behaviour_builder/triggers_handl public static synthetic fun onChatBoostAdded$default (Ldev/inmo/tgbotapi/extensions/behaviour_builder/BehaviourContext;Ldev/inmo/tgbotapi/extensions/behaviour_builder/utils/SimpleFilter;Lkotlin/jvm/functions/Function4;Ldev/inmo/tgbotapi/extensions/behaviour_builder/utils/marker_factories/MarkerFactory;Lkotlin/jvm/functions/Function4;Lkotlin/jvm/functions/Function3;ILjava/lang/Object;)Lkotlinx/coroutines/Job; public static final fun onChatEvent (Ldev/inmo/tgbotapi/extensions/behaviour_builder/BehaviourContext;Ldev/inmo/tgbotapi/extensions/behaviour_builder/utils/SimpleFilter;Lkotlin/jvm/functions/Function4;Ldev/inmo/tgbotapi/extensions/behaviour_builder/utils/marker_factories/MarkerFactory;Lkotlin/jvm/functions/Function4;Lkotlin/jvm/functions/Function3;)Lkotlinx/coroutines/Job; public static synthetic fun onChatEvent$default (Ldev/inmo/tgbotapi/extensions/behaviour_builder/BehaviourContext;Ldev/inmo/tgbotapi/extensions/behaviour_builder/utils/SimpleFilter;Lkotlin/jvm/functions/Function4;Ldev/inmo/tgbotapi/extensions/behaviour_builder/utils/marker_factories/MarkerFactory;Lkotlin/jvm/functions/Function4;Lkotlin/jvm/functions/Function3;ILjava/lang/Object;)Lkotlinx/coroutines/Job; + public static final fun onChatOwnerChanged (Ldev/inmo/tgbotapi/extensions/behaviour_builder/BehaviourContext;Ldev/inmo/tgbotapi/extensions/behaviour_builder/utils/SimpleFilter;Lkotlin/jvm/functions/Function4;Ldev/inmo/tgbotapi/extensions/behaviour_builder/utils/marker_factories/MarkerFactory;Lkotlin/jvm/functions/Function4;Lkotlin/jvm/functions/Function3;)Lkotlinx/coroutines/Job; + public static synthetic fun onChatOwnerChanged$default (Ldev/inmo/tgbotapi/extensions/behaviour_builder/BehaviourContext;Ldev/inmo/tgbotapi/extensions/behaviour_builder/utils/SimpleFilter;Lkotlin/jvm/functions/Function4;Ldev/inmo/tgbotapi/extensions/behaviour_builder/utils/marker_factories/MarkerFactory;Lkotlin/jvm/functions/Function4;Lkotlin/jvm/functions/Function3;ILjava/lang/Object;)Lkotlinx/coroutines/Job; + public static final fun onChatOwnerLeft (Ldev/inmo/tgbotapi/extensions/behaviour_builder/BehaviourContext;Ldev/inmo/tgbotapi/extensions/behaviour_builder/utils/SimpleFilter;Lkotlin/jvm/functions/Function4;Ldev/inmo/tgbotapi/extensions/behaviour_builder/utils/marker_factories/MarkerFactory;Lkotlin/jvm/functions/Function4;Lkotlin/jvm/functions/Function3;)Lkotlinx/coroutines/Job; + public static synthetic fun onChatOwnerLeft$default (Ldev/inmo/tgbotapi/extensions/behaviour_builder/BehaviourContext;Ldev/inmo/tgbotapi/extensions/behaviour_builder/utils/SimpleFilter;Lkotlin/jvm/functions/Function4;Ldev/inmo/tgbotapi/extensions/behaviour_builder/utils/marker_factories/MarkerFactory;Lkotlin/jvm/functions/Function4;Lkotlin/jvm/functions/Function3;ILjava/lang/Object;)Lkotlinx/coroutines/Job; public static final fun onChatShared (Ldev/inmo/tgbotapi/extensions/behaviour_builder/BehaviourContext;Ldev/inmo/tgbotapi/extensions/behaviour_builder/utils/SimpleFilter;Lkotlin/jvm/functions/Function4;Ldev/inmo/tgbotapi/extensions/behaviour_builder/utils/marker_factories/MarkerFactory;Lkotlin/jvm/functions/Function4;Lkotlin/jvm/functions/Function3;)Lkotlinx/coroutines/Job; public static synthetic fun onChatShared$default (Ldev/inmo/tgbotapi/extensions/behaviour_builder/BehaviourContext;Ldev/inmo/tgbotapi/extensions/behaviour_builder/utils/SimpleFilter;Lkotlin/jvm/functions/Function4;Ldev/inmo/tgbotapi/extensions/behaviour_builder/utils/marker_factories/MarkerFactory;Lkotlin/jvm/functions/Function4;Lkotlin/jvm/functions/Function3;ILjava/lang/Object;)Lkotlinx/coroutines/Job; public static final fun onChatSharedRequest (Ldev/inmo/tgbotapi/extensions/behaviour_builder/BehaviourContext;Ldev/inmo/tgbotapi/extensions/behaviour_builder/utils/SimpleFilter;Lkotlin/jvm/functions/Function4;Ldev/inmo/tgbotapi/extensions/behaviour_builder/utils/marker_factories/MarkerFactory;Lkotlin/jvm/functions/Function4;Lkotlin/jvm/functions/Function3;)Lkotlinx/coroutines/Job; @@ -1408,6 +1420,10 @@ public final class dev/inmo/tgbotapi/extensions/behaviour_builder/triggers_handl public static synthetic fun onPinnedMessage$default (Ldev/inmo/tgbotapi/extensions/behaviour_builder/BehaviourContext;Ldev/inmo/tgbotapi/extensions/behaviour_builder/utils/SimpleFilter;Lkotlin/jvm/functions/Function4;Ldev/inmo/tgbotapi/extensions/behaviour_builder/utils/marker_factories/MarkerFactory;Lkotlin/jvm/functions/Function4;Lkotlin/jvm/functions/Function3;ILjava/lang/Object;)Lkotlinx/coroutines/Job; public static final fun onPrivateEvent (Ldev/inmo/tgbotapi/extensions/behaviour_builder/BehaviourContext;Ldev/inmo/tgbotapi/extensions/behaviour_builder/utils/SimpleFilter;Lkotlin/jvm/functions/Function4;Ldev/inmo/tgbotapi/extensions/behaviour_builder/utils/marker_factories/MarkerFactory;Lkotlin/jvm/functions/Function4;Lkotlin/jvm/functions/Function3;)Lkotlinx/coroutines/Job; public static synthetic fun onPrivateEvent$default (Ldev/inmo/tgbotapi/extensions/behaviour_builder/BehaviourContext;Ldev/inmo/tgbotapi/extensions/behaviour_builder/utils/SimpleFilter;Lkotlin/jvm/functions/Function4;Ldev/inmo/tgbotapi/extensions/behaviour_builder/utils/marker_factories/MarkerFactory;Lkotlin/jvm/functions/Function4;Lkotlin/jvm/functions/Function3;ILjava/lang/Object;)Lkotlinx/coroutines/Job; + public static final fun onPrivateForumTopicCreated (Ldev/inmo/tgbotapi/extensions/behaviour_builder/BehaviourContext;Ldev/inmo/tgbotapi/extensions/behaviour_builder/utils/SimpleFilter;Lkotlin/jvm/functions/Function4;Ldev/inmo/tgbotapi/extensions/behaviour_builder/utils/marker_factories/MarkerFactory;Lkotlin/jvm/functions/Function4;Lkotlin/jvm/functions/Function3;)Lkotlinx/coroutines/Job; + public static synthetic fun onPrivateForumTopicCreated$default (Ldev/inmo/tgbotapi/extensions/behaviour_builder/BehaviourContext;Ldev/inmo/tgbotapi/extensions/behaviour_builder/utils/SimpleFilter;Lkotlin/jvm/functions/Function4;Ldev/inmo/tgbotapi/extensions/behaviour_builder/utils/marker_factories/MarkerFactory;Lkotlin/jvm/functions/Function4;Lkotlin/jvm/functions/Function3;ILjava/lang/Object;)Lkotlinx/coroutines/Job; + public static final fun onPrivateForumTopicEdited (Ldev/inmo/tgbotapi/extensions/behaviour_builder/BehaviourContext;Ldev/inmo/tgbotapi/extensions/behaviour_builder/utils/SimpleFilter;Lkotlin/jvm/functions/Function4;Ldev/inmo/tgbotapi/extensions/behaviour_builder/utils/marker_factories/MarkerFactory;Lkotlin/jvm/functions/Function4;Lkotlin/jvm/functions/Function3;)Lkotlinx/coroutines/Job; + public static synthetic fun onPrivateForumTopicEdited$default (Ldev/inmo/tgbotapi/extensions/behaviour_builder/BehaviourContext;Ldev/inmo/tgbotapi/extensions/behaviour_builder/utils/SimpleFilter;Lkotlin/jvm/functions/Function4;Ldev/inmo/tgbotapi/extensions/behaviour_builder/utils/marker_factories/MarkerFactory;Lkotlin/jvm/functions/Function4;Lkotlin/jvm/functions/Function3;ILjava/lang/Object;)Lkotlinx/coroutines/Job; public static final fun onProximityAlertTriggered (Ldev/inmo/tgbotapi/extensions/behaviour_builder/BehaviourContext;Ldev/inmo/tgbotapi/extensions/behaviour_builder/utils/SimpleFilter;Lkotlin/jvm/functions/Function4;Ldev/inmo/tgbotapi/extensions/behaviour_builder/utils/marker_factories/MarkerFactory;Lkotlin/jvm/functions/Function4;Lkotlin/jvm/functions/Function3;)Lkotlinx/coroutines/Job; public static synthetic fun onProximityAlertTriggered$default (Ldev/inmo/tgbotapi/extensions/behaviour_builder/BehaviourContext;Ldev/inmo/tgbotapi/extensions/behaviour_builder/utils/SimpleFilter;Lkotlin/jvm/functions/Function4;Ldev/inmo/tgbotapi/extensions/behaviour_builder/utils/marker_factories/MarkerFactory;Lkotlin/jvm/functions/Function4;Lkotlin/jvm/functions/Function3;ILjava/lang/Object;)Lkotlinx/coroutines/Job; public static final fun onPublicChatEvent (Ldev/inmo/tgbotapi/extensions/behaviour_builder/BehaviourContext;Ldev/inmo/tgbotapi/extensions/behaviour_builder/utils/SimpleFilter;Lkotlin/jvm/functions/Function4;Ldev/inmo/tgbotapi/extensions/behaviour_builder/utils/marker_factories/MarkerFactory;Lkotlin/jvm/functions/Function4;Lkotlin/jvm/functions/Function3;)Lkotlinx/coroutines/Job; @@ -1550,28 +1566,28 @@ public final class dev/inmo/tgbotapi/extensions/behaviour_builder/triggers_handl public static synthetic fun onMentionWithVoiceContent$default (Ldev/inmo/tgbotapi/extensions/behaviour_builder/BehaviourContext;Ldev/inmo/tgbotapi/types/chat/User;Ldev/inmo/tgbotapi/extensions/behaviour_builder/utils/SimpleFilter;Lkotlin/jvm/functions/Function4;Ldev/inmo/tgbotapi/extensions/behaviour_builder/utils/marker_factories/MarkerFactory;Lkotlin/jvm/functions/Function4;Lkotlin/jvm/functions/Function3;ILjava/lang/Object;)Lkotlinx/coroutines/Job; public static final fun onMentionWithVoiceContent-KtuvvGA (Ldev/inmo/tgbotapi/extensions/behaviour_builder/BehaviourContext;Ljava/lang/String;Ldev/inmo/tgbotapi/extensions/behaviour_builder/utils/SimpleFilter;Lkotlin/jvm/functions/Function4;Ldev/inmo/tgbotapi/extensions/behaviour_builder/utils/marker_factories/MarkerFactory;Lkotlin/jvm/functions/Function4;Lkotlin/jvm/functions/Function3;)Lkotlinx/coroutines/Job; public static synthetic fun onMentionWithVoiceContent-KtuvvGA$default (Ldev/inmo/tgbotapi/extensions/behaviour_builder/BehaviourContext;Ljava/lang/String;Ldev/inmo/tgbotapi/extensions/behaviour_builder/utils/SimpleFilter;Lkotlin/jvm/functions/Function4;Ldev/inmo/tgbotapi/extensions/behaviour_builder/utils/marker_factories/MarkerFactory;Lkotlin/jvm/functions/Function4;Lkotlin/jvm/functions/Function3;ILjava/lang/Object;)Lkotlinx/coroutines/Job; - public static final fun onTextMentionWithAnimationContent-VjR9mJc (Ldev/inmo/tgbotapi/extensions/behaviour_builder/BehaviourContext;JLdev/inmo/tgbotapi/extensions/behaviour_builder/utils/SimpleFilter;Lkotlin/jvm/functions/Function4;Ldev/inmo/tgbotapi/extensions/behaviour_builder/utils/marker_factories/MarkerFactory;Lkotlin/jvm/functions/Function4;Lkotlin/jvm/functions/Function3;)Lkotlinx/coroutines/Job; - public static synthetic fun onTextMentionWithAnimationContent-VjR9mJc$default (Ldev/inmo/tgbotapi/extensions/behaviour_builder/BehaviourContext;JLdev/inmo/tgbotapi/extensions/behaviour_builder/utils/SimpleFilter;Lkotlin/jvm/functions/Function4;Ldev/inmo/tgbotapi/extensions/behaviour_builder/utils/marker_factories/MarkerFactory;Lkotlin/jvm/functions/Function4;Lkotlin/jvm/functions/Function3;ILjava/lang/Object;)Lkotlinx/coroutines/Job; - public static final fun onTextMentionWithAnyContent-VjR9mJc (Ldev/inmo/tgbotapi/extensions/behaviour_builder/BehaviourContext;JLdev/inmo/tgbotapi/extensions/behaviour_builder/utils/SimpleFilter;Lkotlin/jvm/functions/Function4;Ldev/inmo/tgbotapi/extensions/behaviour_builder/utils/marker_factories/MarkerFactory;Lkotlin/jvm/functions/Function4;Lkotlin/jvm/functions/Function3;)Lkotlinx/coroutines/Job; - public static synthetic fun onTextMentionWithAnyContent-VjR9mJc$default (Ldev/inmo/tgbotapi/extensions/behaviour_builder/BehaviourContext;JLdev/inmo/tgbotapi/extensions/behaviour_builder/utils/SimpleFilter;Lkotlin/jvm/functions/Function4;Ldev/inmo/tgbotapi/extensions/behaviour_builder/utils/marker_factories/MarkerFactory;Lkotlin/jvm/functions/Function4;Lkotlin/jvm/functions/Function3;ILjava/lang/Object;)Lkotlinx/coroutines/Job; - public static final fun onTextMentionWithAudioContent-VjR9mJc (Ldev/inmo/tgbotapi/extensions/behaviour_builder/BehaviourContext;JLdev/inmo/tgbotapi/extensions/behaviour_builder/utils/SimpleFilter;Lkotlin/jvm/functions/Function4;Ldev/inmo/tgbotapi/extensions/behaviour_builder/utils/marker_factories/MarkerFactory;Lkotlin/jvm/functions/Function4;Lkotlin/jvm/functions/Function3;)Lkotlinx/coroutines/Job; - public static synthetic fun onTextMentionWithAudioContent-VjR9mJc$default (Ldev/inmo/tgbotapi/extensions/behaviour_builder/BehaviourContext;JLdev/inmo/tgbotapi/extensions/behaviour_builder/utils/SimpleFilter;Lkotlin/jvm/functions/Function4;Ldev/inmo/tgbotapi/extensions/behaviour_builder/utils/marker_factories/MarkerFactory;Lkotlin/jvm/functions/Function4;Lkotlin/jvm/functions/Function3;ILjava/lang/Object;)Lkotlinx/coroutines/Job; - public static final fun onTextMentionWithDocumentContent-VjR9mJc (Ldev/inmo/tgbotapi/extensions/behaviour_builder/BehaviourContext;JLdev/inmo/tgbotapi/extensions/behaviour_builder/utils/SimpleFilter;Lkotlin/jvm/functions/Function4;Ldev/inmo/tgbotapi/extensions/behaviour_builder/utils/marker_factories/MarkerFactory;Lkotlin/jvm/functions/Function4;Lkotlin/jvm/functions/Function3;)Lkotlinx/coroutines/Job; - public static synthetic fun onTextMentionWithDocumentContent-VjR9mJc$default (Ldev/inmo/tgbotapi/extensions/behaviour_builder/BehaviourContext;JLdev/inmo/tgbotapi/extensions/behaviour_builder/utils/SimpleFilter;Lkotlin/jvm/functions/Function4;Ldev/inmo/tgbotapi/extensions/behaviour_builder/utils/marker_factories/MarkerFactory;Lkotlin/jvm/functions/Function4;Lkotlin/jvm/functions/Function3;ILjava/lang/Object;)Lkotlinx/coroutines/Job; - public static final fun onTextMentionWithMediaGroupContent-VjR9mJc (Ldev/inmo/tgbotapi/extensions/behaviour_builder/BehaviourContext;JLdev/inmo/tgbotapi/extensions/behaviour_builder/utils/SimpleFilter;Lkotlin/jvm/functions/Function4;Ldev/inmo/tgbotapi/extensions/behaviour_builder/utils/marker_factories/MarkerFactory;Lkotlin/jvm/functions/Function4;Lkotlin/jvm/functions/Function3;)Lkotlinx/coroutines/Job; - public static synthetic fun onTextMentionWithMediaGroupContent-VjR9mJc$default (Ldev/inmo/tgbotapi/extensions/behaviour_builder/BehaviourContext;JLdev/inmo/tgbotapi/extensions/behaviour_builder/utils/SimpleFilter;Lkotlin/jvm/functions/Function4;Ldev/inmo/tgbotapi/extensions/behaviour_builder/utils/marker_factories/MarkerFactory;Lkotlin/jvm/functions/Function4;Lkotlin/jvm/functions/Function3;ILjava/lang/Object;)Lkotlinx/coroutines/Job; - public static final fun onTextMentionWithMediaGroupPartContent-VjR9mJc (Ldev/inmo/tgbotapi/extensions/behaviour_builder/BehaviourContext;JLdev/inmo/tgbotapi/extensions/behaviour_builder/utils/SimpleFilter;Lkotlin/jvm/functions/Function4;Ldev/inmo/tgbotapi/extensions/behaviour_builder/utils/marker_factories/MarkerFactory;Lkotlin/jvm/functions/Function4;Lkotlin/jvm/functions/Function3;)Lkotlinx/coroutines/Job; - public static synthetic fun onTextMentionWithMediaGroupPartContent-VjR9mJc$default (Ldev/inmo/tgbotapi/extensions/behaviour_builder/BehaviourContext;JLdev/inmo/tgbotapi/extensions/behaviour_builder/utils/SimpleFilter;Lkotlin/jvm/functions/Function4;Ldev/inmo/tgbotapi/extensions/behaviour_builder/utils/marker_factories/MarkerFactory;Lkotlin/jvm/functions/Function4;Lkotlin/jvm/functions/Function3;ILjava/lang/Object;)Lkotlinx/coroutines/Job; - public static final fun onTextMentionWithPhotoContent-VjR9mJc (Ldev/inmo/tgbotapi/extensions/behaviour_builder/BehaviourContext;JLdev/inmo/tgbotapi/extensions/behaviour_builder/utils/SimpleFilter;Lkotlin/jvm/functions/Function4;Ldev/inmo/tgbotapi/extensions/behaviour_builder/utils/marker_factories/MarkerFactory;Lkotlin/jvm/functions/Function4;Lkotlin/jvm/functions/Function3;)Lkotlinx/coroutines/Job; - public static synthetic fun onTextMentionWithPhotoContent-VjR9mJc$default (Ldev/inmo/tgbotapi/extensions/behaviour_builder/BehaviourContext;JLdev/inmo/tgbotapi/extensions/behaviour_builder/utils/SimpleFilter;Lkotlin/jvm/functions/Function4;Ldev/inmo/tgbotapi/extensions/behaviour_builder/utils/marker_factories/MarkerFactory;Lkotlin/jvm/functions/Function4;Lkotlin/jvm/functions/Function3;ILjava/lang/Object;)Lkotlinx/coroutines/Job; - public static final fun onTextMentionWithTextContent-VjR9mJc (Ldev/inmo/tgbotapi/extensions/behaviour_builder/BehaviourContext;JLdev/inmo/tgbotapi/extensions/behaviour_builder/utils/SimpleFilter;Lkotlin/jvm/functions/Function4;Ldev/inmo/tgbotapi/extensions/behaviour_builder/utils/marker_factories/MarkerFactory;Lkotlin/jvm/functions/Function4;Lkotlin/jvm/functions/Function3;)Lkotlinx/coroutines/Job; - public static synthetic fun onTextMentionWithTextContent-VjR9mJc$default (Ldev/inmo/tgbotapi/extensions/behaviour_builder/BehaviourContext;JLdev/inmo/tgbotapi/extensions/behaviour_builder/utils/SimpleFilter;Lkotlin/jvm/functions/Function4;Ldev/inmo/tgbotapi/extensions/behaviour_builder/utils/marker_factories/MarkerFactory;Lkotlin/jvm/functions/Function4;Lkotlin/jvm/functions/Function3;ILjava/lang/Object;)Lkotlinx/coroutines/Job; - public static final fun onTextMentionWithVideoContent-VjR9mJc (Ldev/inmo/tgbotapi/extensions/behaviour_builder/BehaviourContext;JLdev/inmo/tgbotapi/extensions/behaviour_builder/utils/SimpleFilter;Lkotlin/jvm/functions/Function4;Ldev/inmo/tgbotapi/extensions/behaviour_builder/utils/marker_factories/MarkerFactory;Lkotlin/jvm/functions/Function4;Lkotlin/jvm/functions/Function3;)Lkotlinx/coroutines/Job; - public static synthetic fun onTextMentionWithVideoContent-VjR9mJc$default (Ldev/inmo/tgbotapi/extensions/behaviour_builder/BehaviourContext;JLdev/inmo/tgbotapi/extensions/behaviour_builder/utils/SimpleFilter;Lkotlin/jvm/functions/Function4;Ldev/inmo/tgbotapi/extensions/behaviour_builder/utils/marker_factories/MarkerFactory;Lkotlin/jvm/functions/Function4;Lkotlin/jvm/functions/Function3;ILjava/lang/Object;)Lkotlinx/coroutines/Job; - public static final fun onTextMentionWithVisualMediaGroupPartContent-VjR9mJc (Ldev/inmo/tgbotapi/extensions/behaviour_builder/BehaviourContext;JLdev/inmo/tgbotapi/extensions/behaviour_builder/utils/SimpleFilter;Lkotlin/jvm/functions/Function4;Ldev/inmo/tgbotapi/extensions/behaviour_builder/utils/marker_factories/MarkerFactory;Lkotlin/jvm/functions/Function4;Lkotlin/jvm/functions/Function3;)Lkotlinx/coroutines/Job; - public static synthetic fun onTextMentionWithVisualMediaGroupPartContent-VjR9mJc$default (Ldev/inmo/tgbotapi/extensions/behaviour_builder/BehaviourContext;JLdev/inmo/tgbotapi/extensions/behaviour_builder/utils/SimpleFilter;Lkotlin/jvm/functions/Function4;Ldev/inmo/tgbotapi/extensions/behaviour_builder/utils/marker_factories/MarkerFactory;Lkotlin/jvm/functions/Function4;Lkotlin/jvm/functions/Function3;ILjava/lang/Object;)Lkotlinx/coroutines/Job; - public static final fun onTextMentionWithVoiceContent-VjR9mJc (Ldev/inmo/tgbotapi/extensions/behaviour_builder/BehaviourContext;JLdev/inmo/tgbotapi/extensions/behaviour_builder/utils/SimpleFilter;Lkotlin/jvm/functions/Function4;Ldev/inmo/tgbotapi/extensions/behaviour_builder/utils/marker_factories/MarkerFactory;Lkotlin/jvm/functions/Function4;Lkotlin/jvm/functions/Function3;)Lkotlinx/coroutines/Job; - public static synthetic fun onTextMentionWithVoiceContent-VjR9mJc$default (Ldev/inmo/tgbotapi/extensions/behaviour_builder/BehaviourContext;JLdev/inmo/tgbotapi/extensions/behaviour_builder/utils/SimpleFilter;Lkotlin/jvm/functions/Function4;Ldev/inmo/tgbotapi/extensions/behaviour_builder/utils/marker_factories/MarkerFactory;Lkotlin/jvm/functions/Function4;Lkotlin/jvm/functions/Function3;ILjava/lang/Object;)Lkotlinx/coroutines/Job; + public static final fun onTextMentionWithAnimationContent (Ldev/inmo/tgbotapi/extensions/behaviour_builder/BehaviourContext;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/extensions/behaviour_builder/utils/SimpleFilter;Lkotlin/jvm/functions/Function4;Ldev/inmo/tgbotapi/extensions/behaviour_builder/utils/marker_factories/MarkerFactory;Lkotlin/jvm/functions/Function4;Lkotlin/jvm/functions/Function3;)Lkotlinx/coroutines/Job; + public static synthetic fun onTextMentionWithAnimationContent$default (Ldev/inmo/tgbotapi/extensions/behaviour_builder/BehaviourContext;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/extensions/behaviour_builder/utils/SimpleFilter;Lkotlin/jvm/functions/Function4;Ldev/inmo/tgbotapi/extensions/behaviour_builder/utils/marker_factories/MarkerFactory;Lkotlin/jvm/functions/Function4;Lkotlin/jvm/functions/Function3;ILjava/lang/Object;)Lkotlinx/coroutines/Job; + public static final fun onTextMentionWithAnyContent (Ldev/inmo/tgbotapi/extensions/behaviour_builder/BehaviourContext;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/extensions/behaviour_builder/utils/SimpleFilter;Lkotlin/jvm/functions/Function4;Ldev/inmo/tgbotapi/extensions/behaviour_builder/utils/marker_factories/MarkerFactory;Lkotlin/jvm/functions/Function4;Lkotlin/jvm/functions/Function3;)Lkotlinx/coroutines/Job; + public static synthetic fun onTextMentionWithAnyContent$default (Ldev/inmo/tgbotapi/extensions/behaviour_builder/BehaviourContext;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/extensions/behaviour_builder/utils/SimpleFilter;Lkotlin/jvm/functions/Function4;Ldev/inmo/tgbotapi/extensions/behaviour_builder/utils/marker_factories/MarkerFactory;Lkotlin/jvm/functions/Function4;Lkotlin/jvm/functions/Function3;ILjava/lang/Object;)Lkotlinx/coroutines/Job; + public static final fun onTextMentionWithAudioContent (Ldev/inmo/tgbotapi/extensions/behaviour_builder/BehaviourContext;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/extensions/behaviour_builder/utils/SimpleFilter;Lkotlin/jvm/functions/Function4;Ldev/inmo/tgbotapi/extensions/behaviour_builder/utils/marker_factories/MarkerFactory;Lkotlin/jvm/functions/Function4;Lkotlin/jvm/functions/Function3;)Lkotlinx/coroutines/Job; + public static synthetic fun onTextMentionWithAudioContent$default (Ldev/inmo/tgbotapi/extensions/behaviour_builder/BehaviourContext;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/extensions/behaviour_builder/utils/SimpleFilter;Lkotlin/jvm/functions/Function4;Ldev/inmo/tgbotapi/extensions/behaviour_builder/utils/marker_factories/MarkerFactory;Lkotlin/jvm/functions/Function4;Lkotlin/jvm/functions/Function3;ILjava/lang/Object;)Lkotlinx/coroutines/Job; + public static final fun onTextMentionWithDocumentContent (Ldev/inmo/tgbotapi/extensions/behaviour_builder/BehaviourContext;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/extensions/behaviour_builder/utils/SimpleFilter;Lkotlin/jvm/functions/Function4;Ldev/inmo/tgbotapi/extensions/behaviour_builder/utils/marker_factories/MarkerFactory;Lkotlin/jvm/functions/Function4;Lkotlin/jvm/functions/Function3;)Lkotlinx/coroutines/Job; + public static synthetic fun onTextMentionWithDocumentContent$default (Ldev/inmo/tgbotapi/extensions/behaviour_builder/BehaviourContext;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/extensions/behaviour_builder/utils/SimpleFilter;Lkotlin/jvm/functions/Function4;Ldev/inmo/tgbotapi/extensions/behaviour_builder/utils/marker_factories/MarkerFactory;Lkotlin/jvm/functions/Function4;Lkotlin/jvm/functions/Function3;ILjava/lang/Object;)Lkotlinx/coroutines/Job; + public static final fun onTextMentionWithMediaGroupContent (Ldev/inmo/tgbotapi/extensions/behaviour_builder/BehaviourContext;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/extensions/behaviour_builder/utils/SimpleFilter;Lkotlin/jvm/functions/Function4;Ldev/inmo/tgbotapi/extensions/behaviour_builder/utils/marker_factories/MarkerFactory;Lkotlin/jvm/functions/Function4;Lkotlin/jvm/functions/Function3;)Lkotlinx/coroutines/Job; + public static synthetic fun onTextMentionWithMediaGroupContent$default (Ldev/inmo/tgbotapi/extensions/behaviour_builder/BehaviourContext;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/extensions/behaviour_builder/utils/SimpleFilter;Lkotlin/jvm/functions/Function4;Ldev/inmo/tgbotapi/extensions/behaviour_builder/utils/marker_factories/MarkerFactory;Lkotlin/jvm/functions/Function4;Lkotlin/jvm/functions/Function3;ILjava/lang/Object;)Lkotlinx/coroutines/Job; + public static final fun onTextMentionWithMediaGroupPartContent (Ldev/inmo/tgbotapi/extensions/behaviour_builder/BehaviourContext;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/extensions/behaviour_builder/utils/SimpleFilter;Lkotlin/jvm/functions/Function4;Ldev/inmo/tgbotapi/extensions/behaviour_builder/utils/marker_factories/MarkerFactory;Lkotlin/jvm/functions/Function4;Lkotlin/jvm/functions/Function3;)Lkotlinx/coroutines/Job; + public static synthetic fun onTextMentionWithMediaGroupPartContent$default (Ldev/inmo/tgbotapi/extensions/behaviour_builder/BehaviourContext;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/extensions/behaviour_builder/utils/SimpleFilter;Lkotlin/jvm/functions/Function4;Ldev/inmo/tgbotapi/extensions/behaviour_builder/utils/marker_factories/MarkerFactory;Lkotlin/jvm/functions/Function4;Lkotlin/jvm/functions/Function3;ILjava/lang/Object;)Lkotlinx/coroutines/Job; + public static final fun onTextMentionWithPhotoContent (Ldev/inmo/tgbotapi/extensions/behaviour_builder/BehaviourContext;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/extensions/behaviour_builder/utils/SimpleFilter;Lkotlin/jvm/functions/Function4;Ldev/inmo/tgbotapi/extensions/behaviour_builder/utils/marker_factories/MarkerFactory;Lkotlin/jvm/functions/Function4;Lkotlin/jvm/functions/Function3;)Lkotlinx/coroutines/Job; + public static synthetic fun onTextMentionWithPhotoContent$default (Ldev/inmo/tgbotapi/extensions/behaviour_builder/BehaviourContext;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/extensions/behaviour_builder/utils/SimpleFilter;Lkotlin/jvm/functions/Function4;Ldev/inmo/tgbotapi/extensions/behaviour_builder/utils/marker_factories/MarkerFactory;Lkotlin/jvm/functions/Function4;Lkotlin/jvm/functions/Function3;ILjava/lang/Object;)Lkotlinx/coroutines/Job; + public static final fun onTextMentionWithTextContent (Ldev/inmo/tgbotapi/extensions/behaviour_builder/BehaviourContext;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/extensions/behaviour_builder/utils/SimpleFilter;Lkotlin/jvm/functions/Function4;Ldev/inmo/tgbotapi/extensions/behaviour_builder/utils/marker_factories/MarkerFactory;Lkotlin/jvm/functions/Function4;Lkotlin/jvm/functions/Function3;)Lkotlinx/coroutines/Job; + public static synthetic fun onTextMentionWithTextContent$default (Ldev/inmo/tgbotapi/extensions/behaviour_builder/BehaviourContext;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/extensions/behaviour_builder/utils/SimpleFilter;Lkotlin/jvm/functions/Function4;Ldev/inmo/tgbotapi/extensions/behaviour_builder/utils/marker_factories/MarkerFactory;Lkotlin/jvm/functions/Function4;Lkotlin/jvm/functions/Function3;ILjava/lang/Object;)Lkotlinx/coroutines/Job; + public static final fun onTextMentionWithVideoContent (Ldev/inmo/tgbotapi/extensions/behaviour_builder/BehaviourContext;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/extensions/behaviour_builder/utils/SimpleFilter;Lkotlin/jvm/functions/Function4;Ldev/inmo/tgbotapi/extensions/behaviour_builder/utils/marker_factories/MarkerFactory;Lkotlin/jvm/functions/Function4;Lkotlin/jvm/functions/Function3;)Lkotlinx/coroutines/Job; + public static synthetic fun onTextMentionWithVideoContent$default (Ldev/inmo/tgbotapi/extensions/behaviour_builder/BehaviourContext;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/extensions/behaviour_builder/utils/SimpleFilter;Lkotlin/jvm/functions/Function4;Ldev/inmo/tgbotapi/extensions/behaviour_builder/utils/marker_factories/MarkerFactory;Lkotlin/jvm/functions/Function4;Lkotlin/jvm/functions/Function3;ILjava/lang/Object;)Lkotlinx/coroutines/Job; + public static final fun onTextMentionWithVisualMediaGroupPartContent (Ldev/inmo/tgbotapi/extensions/behaviour_builder/BehaviourContext;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/extensions/behaviour_builder/utils/SimpleFilter;Lkotlin/jvm/functions/Function4;Ldev/inmo/tgbotapi/extensions/behaviour_builder/utils/marker_factories/MarkerFactory;Lkotlin/jvm/functions/Function4;Lkotlin/jvm/functions/Function3;)Lkotlinx/coroutines/Job; + public static synthetic fun onTextMentionWithVisualMediaGroupPartContent$default (Ldev/inmo/tgbotapi/extensions/behaviour_builder/BehaviourContext;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/extensions/behaviour_builder/utils/SimpleFilter;Lkotlin/jvm/functions/Function4;Ldev/inmo/tgbotapi/extensions/behaviour_builder/utils/marker_factories/MarkerFactory;Lkotlin/jvm/functions/Function4;Lkotlin/jvm/functions/Function3;ILjava/lang/Object;)Lkotlinx/coroutines/Job; + public static final fun onTextMentionWithVoiceContent (Ldev/inmo/tgbotapi/extensions/behaviour_builder/BehaviourContext;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/extensions/behaviour_builder/utils/SimpleFilter;Lkotlin/jvm/functions/Function4;Ldev/inmo/tgbotapi/extensions/behaviour_builder/utils/marker_factories/MarkerFactory;Lkotlin/jvm/functions/Function4;Lkotlin/jvm/functions/Function3;)Lkotlinx/coroutines/Job; + public static synthetic fun onTextMentionWithVoiceContent$default (Ldev/inmo/tgbotapi/extensions/behaviour_builder/BehaviourContext;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/extensions/behaviour_builder/utils/SimpleFilter;Lkotlin/jvm/functions/Function4;Ldev/inmo/tgbotapi/extensions/behaviour_builder/utils/marker_factories/MarkerFactory;Lkotlin/jvm/functions/Function4;Lkotlin/jvm/functions/Function3;ILjava/lang/Object;)Lkotlinx/coroutines/Job; } public final class dev/inmo/tgbotapi/extensions/behaviour_builder/triggers_handling/PaidMediaPurchasedTriggersKt { @@ -1803,8 +1819,8 @@ public final class dev/inmo/tgbotapi/extensions/behaviour_builder/utils/marker_f public final class dev/inmo/tgbotapi/extensions/behaviour_builder/utils/marker_factories/ByUserIdChosenInlineResultMarkerFactory : dev/inmo/tgbotapi/extensions/behaviour_builder/utils/marker_factories/MarkerFactory { public static final field INSTANCE Ldev/inmo/tgbotapi/extensions/behaviour_builder/utils/marker_factories/ByUserIdChosenInlineResultMarkerFactory; + public fun invoke (Ldev/inmo/tgbotapi/types/InlineQueries/ChosenInlineResult/ChosenInlineResult;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public synthetic fun invoke (Ljava/lang/Object;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public fun invoke-IODSwXc (Ldev/inmo/tgbotapi/types/InlineQueries/ChosenInlineResult/ChosenInlineResult;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; } public final class dev/inmo/tgbotapi/extensions/behaviour_builder/utils/marker_factories/ByUserInlineQueryMarkerFactory : dev/inmo/tgbotapi/extensions/behaviour_builder/utils/marker_factories/MarkerFactory { diff --git a/tgbotapi.behaviour_builder/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/behaviour_builder/expectations/WaitEventAction.kt b/tgbotapi.behaviour_builder/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/behaviour_builder/expectations/WaitEventAction.kt index c995868bb9..0ac34061fd 100644 --- a/tgbotapi.behaviour_builder/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/behaviour_builder/expectations/WaitEventAction.kt +++ b/tgbotapi.behaviour_builder/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/behaviour_builder/expectations/WaitEventAction.kt @@ -10,7 +10,7 @@ import dev.inmo.tgbotapi.types.PaidMessagePriceChanged import dev.inmo.tgbotapi.types.chat.ChatBackground import dev.inmo.tgbotapi.types.checklists.ChecklistTasksAdded import dev.inmo.tgbotapi.types.checklists.ChecklistTasksDone -import dev.inmo.tgbotapi.types.gifts.GiftSentOrReceived +import dev.inmo.tgbotapi.types.gifts.GiftSentOrReceivedEvent import dev.inmo.tgbotapi.types.giveaway.GiveawayCreated import dev.inmo.tgbotapi.types.giveaway.GiveawayPrivateResults import dev.inmo.tgbotapi.types.message.ChatEvents.* @@ -25,7 +25,6 @@ import dev.inmo.tgbotapi.types.message.ChatEvents.forum.WriteAccessAllowed import dev.inmo.tgbotapi.types.message.ChatEvents.suggested.SuggestedPostApprovalFailed import dev.inmo.tgbotapi.types.message.ChatEvents.suggested.SuggestedPostApproved import dev.inmo.tgbotapi.types.message.ChatEvents.suggested.SuggestedPostDeclined -import dev.inmo.tgbotapi.types.message.ChatEvents.suggested.SuggestedPostInfo import dev.inmo.tgbotapi.types.message.ChatEvents.suggested.SuggestedPostPaid import dev.inmo.tgbotapi.types.message.ChatEvents.suggested.SuggestedPostRefunded import dev.inmo.tgbotapi.types.message.ChatEvents.voice.* @@ -239,6 +238,16 @@ fun BehaviourContext.waitChatBoostAdded( errorFactory: NullableRequestBuilder<*> = { null } ) = waitEvents(initRequest, errorFactory) +fun BehaviourContext.waitChatOwnerLeft( + initRequest: Request<*>? = null, + errorFactory: NullableRequestBuilder<*> = { null } +) = waitEvents(initRequest, errorFactory) + +fun BehaviourContext.waitChatOwnerChanged( + initRequest: Request<*>? = null, + errorFactory: NullableRequestBuilder<*> = { null } +) = waitEvents(initRequest, errorFactory) + fun BehaviourContext.waitChatBackgroundSet( initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null } @@ -267,12 +276,12 @@ fun BehaviourContext.waitPaidMessagePriceChanged( fun BehaviourContext.waitRegularGiftSentOrReceived( initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null } -) = waitEvents(initRequest, errorFactory) +) = waitEvents(initRequest, errorFactory) fun BehaviourContext.waitUniqueGiftSentOrReceived( initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null } -) = waitEvents(initRequest, errorFactory) +) = waitEvents(initRequest, errorFactory) fun BehaviourContext.waitChecklistTasksDone( initRequest: Request<*>? = null, diff --git a/tgbotapi.behaviour_builder/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/behaviour_builder/expectations/WaitEventActionMessages.kt b/tgbotapi.behaviour_builder/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/behaviour_builder/expectations/WaitEventActionMessages.kt index 2781bc49db..61464cefe7 100644 --- a/tgbotapi.behaviour_builder/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/behaviour_builder/expectations/WaitEventActionMessages.kt +++ b/tgbotapi.behaviour_builder/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/behaviour_builder/expectations/WaitEventActionMessages.kt @@ -7,7 +7,7 @@ import dev.inmo.tgbotapi.extensions.utils.* import dev.inmo.tgbotapi.requests.abstracts.Request import dev.inmo.tgbotapi.types.PaidMessagePriceChanged import dev.inmo.tgbotapi.types.chat.ChatBackground -import dev.inmo.tgbotapi.types.gifts.GiftSentOrReceived +import dev.inmo.tgbotapi.types.gifts.GiftSentOrReceivedEvent import dev.inmo.tgbotapi.types.message.ChatEvents.* import dev.inmo.tgbotapi.types.message.ChatEvents.abstracts.* import dev.inmo.tgbotapi.types.message.ChatEvents.forum.ForumTopicClosed @@ -222,6 +222,16 @@ fun BehaviourContext.waitChatBoostAddedEventsMessages( errorFactory: NullableRequestBuilder<*> = { null } ) = waitEventsMessages(initRequest, errorFactory) +fun BehaviourContext.waitChatOwnerLeftEventsMessages( + initRequest: Request<*>? = null, + errorFactory: NullableRequestBuilder<*> = { null } +) = waitEventsMessages(initRequest, errorFactory) + +fun BehaviourContext.waitChatOwnerChangedEventsMessages( + initRequest: Request<*>? = null, + errorFactory: NullableRequestBuilder<*> = { null } +) = waitEventsMessages(initRequest, errorFactory) + fun BehaviourContext.waitChatBackgroundSetEventsMessages( initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null } @@ -235,9 +245,9 @@ fun BehaviourContext.waitPaidMessagePriceChangedMessages( fun BehaviourContext.waitRegularGiftSentOrReceivedMessages( initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null } -) = waitEventsMessages(initRequest, errorFactory) +) = waitEventsMessages(initRequest, errorFactory) fun BehaviourContext.waitUniqueGiftSentOrReceivedMessages( initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null } -) = waitEventsMessages(initRequest, errorFactory) +) = waitEventsMessages(initRequest, errorFactory) diff --git a/tgbotapi.behaviour_builder/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/behaviour_builder/triggers_handling/EventTriggers.kt b/tgbotapi.behaviour_builder/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/behaviour_builder/triggers_handling/EventTriggers.kt index 61d33d556d..5f6b1dfe29 100644 --- a/tgbotapi.behaviour_builder/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/behaviour_builder/triggers_handling/EventTriggers.kt +++ b/tgbotapi.behaviour_builder/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/behaviour_builder/triggers_handling/EventTriggers.kt @@ -15,7 +15,7 @@ import dev.inmo.tgbotapi.types.PaidMessagePriceChanged import dev.inmo.tgbotapi.types.chat.ChatBackground import dev.inmo.tgbotapi.types.checklists.ChecklistTasksAdded import dev.inmo.tgbotapi.types.checklists.ChecklistTasksDone -import dev.inmo.tgbotapi.types.gifts.GiftSentOrReceived +import dev.inmo.tgbotapi.types.gifts.GiftSentOrReceivedEvent import dev.inmo.tgbotapi.types.giveaway.GiveawayCreated import dev.inmo.tgbotapi.types.giveaway.GiveawayPrivateResults import dev.inmo.tgbotapi.types.message.ChannelEventMessage @@ -31,7 +31,6 @@ import dev.inmo.tgbotapi.types.message.ChatEvents.forum.WriteAccessAllowed import dev.inmo.tgbotapi.types.message.ChatEvents.suggested.SuggestedPostApprovalFailed import dev.inmo.tgbotapi.types.message.ChatEvents.suggested.SuggestedPostApproved import dev.inmo.tgbotapi.types.message.ChatEvents.suggested.SuggestedPostDeclined -import dev.inmo.tgbotapi.types.message.ChatEvents.suggested.SuggestedPostInfo import dev.inmo.tgbotapi.types.message.ChatEvents.suggested.SuggestedPostPaid import dev.inmo.tgbotapi.types.message.ChatEvents.suggested.SuggestedPostRefunded import dev.inmo.tgbotapi.types.message.ChatEvents.voice.* @@ -659,6 +658,27 @@ fun BC.onForumTopicCreated( scenarioReceiver: CustomBehaviourContextAndTypeReceiver> ) = onEventWithCustomChatEventMessage(initialFilter, subcontextUpdatesFilter, markerFactory, additionalSubcontextInitialAction, scenarioReceiver) +/** + * @param initialFilter This filter will be called to remove unnecessary data BEFORE [scenarioReceiver] call + * @param subcontextUpdatesFilter This filter will be applied to each update inside of [scenarioReceiver]. For example, + * this filter will be used if you will call [dev.inmo.tgbotapi.extensions.behaviour_builder.expectations.waitContentMessage]. + * Use [dev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContextAndTwoTypesReceiver] function to create your own. + * Use [dev.inmo.tgbotapi.extensions.behaviour_builder.utils.plus] or [dev.inmo.tgbotapi.extensions.behaviour_builder.utils.times] + * to combinate several filters + * @param [markerFactory] **Pass null to handle requests fully parallel**. Will be used to identify different "stream". + * [scenarioReceiver] will be called synchronously in one "stream". Output of [markerFactory] will be used as a key for + * "stream" + * @param scenarioReceiver Main callback which will be used to handle incoming data if [initialFilter] will pass that + * data + */ +fun BC.onPrivateForumTopicCreated( + initialFilter: SimpleFilter>? = null, + subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver, Update>? = MessageFilterByChat, + markerFactory: MarkerFactory, Any>? = ByChatMessageMarkerFactory, + additionalSubcontextInitialAction: CustomBehaviourContextAndTwoTypesReceiver>? = null, + scenarioReceiver: CustomBehaviourContextAndTypeReceiver> +) = onEventWithCustomChatEventMessage(initialFilter, subcontextUpdatesFilter, markerFactory, additionalSubcontextInitialAction, scenarioReceiver) + /** * @param initialFilter This filter will be called to remove unnecessary data BEFORE [scenarioReceiver] call * @param subcontextUpdatesFilter This filter will be applied to each update inside of [scenarioReceiver]. For example, @@ -702,6 +722,28 @@ fun BC.onForumTopicEdited( scenarioReceiver: CustomBehaviourContextAndTypeReceiver> ) = onEventWithCustomChatEventMessage(initialFilter, subcontextUpdatesFilter, markerFactory, additionalSubcontextInitialAction, scenarioReceiver) + +/** + * @param initialFilter This filter will be called to remove unnecessary data BEFORE [scenarioReceiver] call + * @param subcontextUpdatesFilter This filter will be applied to each update inside of [scenarioReceiver]. For example, + * this filter will be used if you will call [dev.inmo.tgbotapi.extensions.behaviour_builder.expectations.waitContentMessage]. + * Use [dev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContextAndTwoTypesReceiver] function to create your own. + * Use [dev.inmo.tgbotapi.extensions.behaviour_builder.utils.plus] or [dev.inmo.tgbotapi.extensions.behaviour_builder.utils.times] + * to combinate several filters + * @param [markerFactory] **Pass null to handle requests fully parallel**. Will be used to identify different "stream". + * [scenarioReceiver] will be called synchronously in one "stream". Output of [markerFactory] will be used as a key for + * "stream" + * @param scenarioReceiver Main callback which will be used to handle incoming data if [initialFilter] will pass that + * data + */ +fun BC.onPrivateForumTopicEdited( + initialFilter: SimpleFilter>? = null, + subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver, Update>? = MessageFilterByChat, + markerFactory: MarkerFactory, Any>? = ByChatMessageMarkerFactory, + additionalSubcontextInitialAction: CustomBehaviourContextAndTwoTypesReceiver>? = null, + scenarioReceiver: CustomBehaviourContextAndTypeReceiver> +) = onEventWithCustomChatEventMessage(initialFilter, subcontextUpdatesFilter, markerFactory, additionalSubcontextInitialAction, scenarioReceiver) + /** * @param initialFilter This filter will be called to remove unnecessary data BEFORE [scenarioReceiver] call * @param subcontextUpdatesFilter This filter will be applied to each update inside of [scenarioReceiver]. For example, @@ -968,6 +1010,50 @@ fun BC.onChatBoostAdded( ) = onEventWithCustomChatEventMessage(initialFilter, subcontextUpdatesFilter, markerFactory, additionalSubcontextInitialAction, scenarioReceiver) +/** + * @param initialFilter This filter will be called to remove unnecessary data BEFORE [scenarioReceiver] call + * @param subcontextUpdatesFilter This filter will be applied to each update inside of [scenarioReceiver]. For example, + * this filter will be used if you will call [dev.inmo.tgbotapi.extensions.behaviour_builder.expectations.waitContentMessage]. + * Use [dev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContextAndTwoTypesReceiver] function to create your own. + * Use [dev.inmo.tgbotapi.extensions.behaviour_builder.utils.plus] or [dev.inmo.tgbotapi.extensions.behaviour_builder.utils.times] + * to combinate several filters + * @param [markerFactory] **Pass null to handle requests fully parallel**. Will be used to identify different "stream". + * [scenarioReceiver] will be called synchronously in one "stream". Output of [markerFactory] will be used as a key for + * "stream" + * @param scenarioReceiver Main callback which will be used to handle incoming data if [initialFilter] will pass that + * data + */ +fun BC.onChatOwnerLeft( + initialFilter: SimpleFilter>? = null, + subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver, Update>? = MessageFilterByChat, + markerFactory: MarkerFactory, Any>? = ByChatMessageMarkerFactory, + additionalSubcontextInitialAction: CustomBehaviourContextAndTwoTypesReceiver>? = null, + scenarioReceiver: CustomBehaviourContextAndTypeReceiver> +) = onEventWithCustomChatEventMessage(initialFilter, subcontextUpdatesFilter, markerFactory, additionalSubcontextInitialAction, scenarioReceiver) + + +/** + * @param initialFilter This filter will be called to remove unnecessary data BEFORE [scenarioReceiver] call + * @param subcontextUpdatesFilter This filter will be applied to each update inside of [scenarioReceiver]. For example, + * this filter will be used if you will call [dev.inmo.tgbotapi.extensions.behaviour_builder.expectations.waitContentMessage]. + * Use [dev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContextAndTwoTypesReceiver] function to create your own. + * Use [dev.inmo.tgbotapi.extensions.behaviour_builder.utils.plus] or [dev.inmo.tgbotapi.extensions.behaviour_builder.utils.times] + * to combinate several filters + * @param [markerFactory] **Pass null to handle requests fully parallel**. Will be used to identify different "stream". + * [scenarioReceiver] will be called synchronously in one "stream". Output of [markerFactory] will be used as a key for + * "stream" + * @param scenarioReceiver Main callback which will be used to handle incoming data if [initialFilter] will pass that + * data + */ +fun BC.onChatOwnerChanged( + initialFilter: SimpleFilter>? = null, + subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver, Update>? = MessageFilterByChat, + markerFactory: MarkerFactory, Any>? = ByChatMessageMarkerFactory, + additionalSubcontextInitialAction: CustomBehaviourContextAndTwoTypesReceiver>? = null, + scenarioReceiver: CustomBehaviourContextAndTypeReceiver> +) = onEventWithCustomChatEventMessage(initialFilter, subcontextUpdatesFilter, markerFactory, additionalSubcontextInitialAction, scenarioReceiver) + + /** * @param initialFilter This filter will be called to remove unnecessary data BEFORE [scenarioReceiver] call * @param subcontextUpdatesFilter This filter will be applied to each update inside of [scenarioReceiver]. For example, @@ -1095,11 +1181,11 @@ fun BC.onPaidMessagePriceChanged( * data */ fun BC.onRegularGiftSentOrReceived( - initialFilter: SimpleFilter>? = null, - subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver, Update>? = MessageFilterByChat, - markerFactory: MarkerFactory, Any>? = ByChatMessageMarkerFactory, - additionalSubcontextInitialAction: CustomBehaviourContextAndTwoTypesReceiver>? = null, - scenarioReceiver: CustomBehaviourContextAndTypeReceiver> + initialFilter: SimpleFilter>? = null, + subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver, Update>? = MessageFilterByChat, + markerFactory: MarkerFactory, Any>? = ByChatMessageMarkerFactory, + additionalSubcontextInitialAction: CustomBehaviourContextAndTwoTypesReceiver>? = null, + scenarioReceiver: CustomBehaviourContextAndTypeReceiver> ) = onEventWithCustomChatEventMessage(initialFilter, subcontextUpdatesFilter, markerFactory, additionalSubcontextInitialAction, scenarioReceiver) @@ -1117,11 +1203,11 @@ fun BC.onRegularGiftSentOrReceived( * data */ fun BC.onUniqueGiftSentOrReceived( - initialFilter: SimpleFilter>? = null, - subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver, Update>? = MessageFilterByChat, - markerFactory: MarkerFactory, Any>? = ByChatMessageMarkerFactory, - additionalSubcontextInitialAction: CustomBehaviourContextAndTwoTypesReceiver>? = null, - scenarioReceiver: CustomBehaviourContextAndTypeReceiver> + initialFilter: SimpleFilter>? = null, + subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver, Update>? = MessageFilterByChat, + markerFactory: MarkerFactory, Any>? = ByChatMessageMarkerFactory, + additionalSubcontextInitialAction: CustomBehaviourContextAndTwoTypesReceiver>? = null, + scenarioReceiver: CustomBehaviourContextAndTypeReceiver> ) = onEventWithCustomChatEventMessage(initialFilter, subcontextUpdatesFilter, markerFactory, additionalSubcontextInitialAction, scenarioReceiver) diff --git a/tgbotapi.core/api/tgbotapi.core.api b/tgbotapi.core/api/tgbotapi.core.api index 6f1d5d6b5a..179141d395 100644 --- a/tgbotapi.core/api/tgbotapi.core.api +++ b/tgbotapi.core/api/tgbotapi.core.api @@ -784,11 +784,12 @@ public final class dev/inmo/tgbotapi/requests/DownloadFileStream : dev/inmo/tgbo public fun method ()Ljava/lang/String; } -public final class dev/inmo/tgbotapi/requests/ForwardMessage : dev/inmo/tgbotapi/abstracts/WithCustomStartMediaData, dev/inmo/tgbotapi/abstracts/types/MessageAction, dev/inmo/tgbotapi/abstracts/types/ProtectContent, dev/inmo/tgbotapi/requests/abstracts/SimpleRequest, dev/inmo/tgbotapi/requests/send/abstracts/OptionallyDirectMessageThreadRequest, dev/inmo/tgbotapi/requests/send/abstracts/OptionallyMessageThreadRequest, dev/inmo/tgbotapi/requests/send/abstracts/OptionallySuggestedPostRequest { +public final class dev/inmo/tgbotapi/requests/ForwardMessage : dev/inmo/tgbotapi/abstracts/WithCustomStartMediaData, dev/inmo/tgbotapi/abstracts/types/MessageAction, dev/inmo/tgbotapi/abstracts/types/OptionallyWithEffectId, dev/inmo/tgbotapi/abstracts/types/ProtectContent, dev/inmo/tgbotapi/requests/abstracts/SimpleRequest, dev/inmo/tgbotapi/requests/send/abstracts/OptionallyDirectMessageThreadRequest, dev/inmo/tgbotapi/requests/send/abstracts/OptionallyMessageThreadRequest, dev/inmo/tgbotapi/requests/send/abstracts/OptionallySuggestedPostRequest { public static final field Companion Ldev/inmo/tgbotapi/requests/ForwardMessage$Companion; - public synthetic fun (Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/ChatIdentifier;JLdev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/Integer;ZZLdev/inmo/tgbotapi/types/message/SuggestedPostParameters;ILkotlin/jvm/internal/DefaultConstructorMarker;)V - public synthetic fun (Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/ChatIdentifier;JLdev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/Integer;ZZLdev/inmo/tgbotapi/types/message/SuggestedPostParameters;Lkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/ChatIdentifier;JLdev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/Integer;ZZLjava/lang/String;Ldev/inmo/tgbotapi/types/message/SuggestedPostParameters;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/ChatIdentifier;JLdev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/Integer;ZZLjava/lang/String;Ldev/inmo/tgbotapi/types/message/SuggestedPostParameters;Lkotlin/jvm/internal/DefaultConstructorMarker;)V public final fun component1 ()Ldev/inmo/tgbotapi/types/ChatIdentifier; + public final fun component10 ()Ldev/inmo/tgbotapi/types/message/SuggestedPostParameters; public final fun component2 ()Ldev/inmo/tgbotapi/types/ChatIdentifier; public final fun component3-APLFQys ()J public final fun component4-S3HF-10 ()Ldev/inmo/tgbotapi/types/MessageThreadId; @@ -796,13 +797,14 @@ public final class dev/inmo/tgbotapi/requests/ForwardMessage : dev/inmo/tgbotapi public final fun component6 ()Ljava/lang/Integer; public final fun component7 ()Z public final fun component8 ()Z - public final fun component9 ()Ldev/inmo/tgbotapi/types/message/SuggestedPostParameters; - public final fun copy-CnM02wo (Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/ChatIdentifier;JLdev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/Integer;ZZLdev/inmo/tgbotapi/types/message/SuggestedPostParameters;)Ldev/inmo/tgbotapi/requests/ForwardMessage; - public static synthetic fun copy-CnM02wo$default (Ldev/inmo/tgbotapi/requests/ForwardMessage;Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/ChatIdentifier;JLdev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/Integer;ZZLdev/inmo/tgbotapi/types/message/SuggestedPostParameters;ILjava/lang/Object;)Ldev/inmo/tgbotapi/requests/ForwardMessage; + public final fun component9-Ts0V7ak ()Ljava/lang/String; + public final fun copy-2mB9_vk (Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/ChatIdentifier;JLdev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/Integer;ZZLjava/lang/String;Ldev/inmo/tgbotapi/types/message/SuggestedPostParameters;)Ldev/inmo/tgbotapi/requests/ForwardMessage; + public static synthetic fun copy-2mB9_vk$default (Ldev/inmo/tgbotapi/requests/ForwardMessage;Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/ChatIdentifier;JLdev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/Integer;ZZLjava/lang/String;Ldev/inmo/tgbotapi/types/message/SuggestedPostParameters;ILjava/lang/Object;)Ldev/inmo/tgbotapi/requests/ForwardMessage; public fun equals (Ljava/lang/Object;)Z public fun getChatId ()Ldev/inmo/tgbotapi/types/ChatIdentifier; public fun getDirectMessageThreadId-1osv_qQ ()Ldev/inmo/tgbotapi/types/DirectMessageThreadId; public final fun getDisableNotification ()Z + public fun getEffectId-Ts0V7ak ()Ljava/lang/String; public final fun getFromChatId ()Ldev/inmo/tgbotapi/types/ChatIdentifier; public fun getMessageId-APLFQys ()J public fun getProtectContent ()Z @@ -969,16 +971,16 @@ public final class dev/inmo/tgbotapi/requests/GetUpdatesRequest$DefaultImpls { public final class dev/inmo/tgbotapi/requests/SetPassportDataErrors : dev/inmo/tgbotapi/requests/abstracts/SimpleRequest { public static final field Companion Ldev/inmo/tgbotapi/requests/SetPassportDataErrors$Companion; - public synthetic fun (JLjava/util/List;Lkotlin/jvm/internal/DefaultConstructorMarker;)V - public final fun component1-tHkBKVM ()J + public fun (Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/util/List;)V + public final fun component1 ()Ldev/inmo/tgbotapi/types/IdChatIdentifier; public final fun component2 ()Ljava/util/List; - public final fun copy-zv9neSE (JLjava/util/List;)Ldev/inmo/tgbotapi/requests/SetPassportDataErrors; - public static synthetic fun copy-zv9neSE$default (Ldev/inmo/tgbotapi/requests/SetPassportDataErrors;JLjava/util/List;ILjava/lang/Object;)Ldev/inmo/tgbotapi/requests/SetPassportDataErrors; + public final fun copy (Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/util/List;)Ldev/inmo/tgbotapi/requests/SetPassportDataErrors; + public static synthetic fun copy$default (Ldev/inmo/tgbotapi/requests/SetPassportDataErrors;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/util/List;ILjava/lang/Object;)Ldev/inmo/tgbotapi/requests/SetPassportDataErrors; public fun equals (Ljava/lang/Object;)Z public final fun getErrors ()Ljava/util/List; public fun getRequestSerializer ()Lkotlinx/serialization/SerializationStrategy; public fun getResultDeserializer ()Lkotlinx/serialization/DeserializationStrategy; - public final fun getUser-tHkBKVM ()J + public final fun getUser ()Ldev/inmo/tgbotapi/types/IdChatIdentifier; public fun hashCode ()I public fun method ()Ljava/lang/String; public fun toString ()Ljava/lang/String; @@ -1797,6 +1799,14 @@ public final class dev/inmo/tgbotapi/requests/bot/MyCommandsRequest$DefaultImpls public static fun getLanguageCode (Ldev/inmo/tgbotapi/requests/bot/MyCommandsRequest;)Ljava/lang/String; } +public final class dev/inmo/tgbotapi/requests/bot/RemoveMyProfilePhoto : dev/inmo/tgbotapi/requests/abstracts/SimpleRequest { + public static final field INSTANCE Ldev/inmo/tgbotapi/requests/bot/RemoveMyProfilePhoto; + public fun getRequestSerializer ()Lkotlinx/serialization/SerializationStrategy; + public fun getResultDeserializer ()Lkotlinx/serialization/DeserializationStrategy; + public fun method ()Ljava/lang/String; + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + public final class dev/inmo/tgbotapi/requests/bot/SetMyCommands : dev/inmo/tgbotapi/requests/bot/MyCommandsRequest { public static final field Companion Ldev/inmo/tgbotapi/requests/bot/SetMyCommands$Companion; public fun (Ljava/util/List;Ldev/inmo/tgbotapi/types/commands/BotCommandScope;Ldev/inmo/micro_utils/language_codes/IetfLang;)V @@ -1909,6 +1919,39 @@ public final class dev/inmo/tgbotapi/requests/bot/SetMyName$Companion { public final fun serializer ()Lkotlinx/serialization/KSerializer; } +public final class dev/inmo/tgbotapi/requests/bot/SetMyProfilePhoto : dev/inmo/tgbotapi/requests/abstracts/MultipartRequest$Common { + public static final field Companion Ldev/inmo/tgbotapi/requests/bot/SetMyProfilePhoto$Companion; + public fun (Ldev/inmo/tgbotapi/requests/business_connection/InputProfilePhoto;)V + public final fun component1 ()Ldev/inmo/tgbotapi/requests/business_connection/InputProfilePhoto; + public final fun copy (Ldev/inmo/tgbotapi/requests/business_connection/InputProfilePhoto;)Ldev/inmo/tgbotapi/requests/bot/SetMyProfilePhoto; + public static synthetic fun copy$default (Ldev/inmo/tgbotapi/requests/bot/SetMyProfilePhoto;Ldev/inmo/tgbotapi/requests/business_connection/InputProfilePhoto;ILjava/lang/Object;)Ldev/inmo/tgbotapi/requests/bot/SetMyProfilePhoto; + public fun equals (Ljava/lang/Object;)Z + public fun getData ()Ldev/inmo/tgbotapi/requests/abstracts/SimpleRequest; + public fun getMediaMap ()Ljava/util/Map; + public fun getParamsJson ()Lkotlinx/serialization/json/JsonObject; + public final fun getPhoto ()Ldev/inmo/tgbotapi/requests/business_connection/InputProfilePhoto; + public fun getRequestSerializer ()Lkotlinx/serialization/SerializationStrategy; + public fun getResultDeserializer ()Lkotlinx/serialization/DeserializationStrategy; + public fun hashCode ()I + public fun method ()Ljava/lang/String; + public fun toString ()Ljava/lang/String; +} + +public final synthetic class dev/inmo/tgbotapi/requests/bot/SetMyProfilePhoto$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Ldev/inmo/tgbotapi/requests/bot/SetMyProfilePhoto$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/inmo/tgbotapi/requests/bot/SetMyProfilePhoto; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Ldev/inmo/tgbotapi/requests/bot/SetMyProfilePhoto;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class dev/inmo/tgbotapi/requests/bot/SetMyProfilePhoto$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + public final class dev/inmo/tgbotapi/requests/bot/SetMyShortDescription : dev/inmo/tgbotapi/requests/abstracts/SimpleRequest, dev/inmo/tgbotapi/types/abstracts/WithOptionalLanguageCode { public static final field Companion Ldev/inmo/tgbotapi/requests/bot/SetMyShortDescription$Companion; public fun ()V @@ -2005,23 +2048,27 @@ public final class dev/inmo/tgbotapi/requests/business_connection/DeleteBusiness public final class dev/inmo/tgbotapi/requests/business_connection/GetBusinessAccountGifts : dev/inmo/tgbotapi/requests/abstracts/BusinessRequest$Simple { public static final field Companion Ldev/inmo/tgbotapi/requests/business_connection/GetBusinessAccountGifts$Companion; - public synthetic fun (Ljava/lang/String;ZZZZZZLjava/lang/String;Ljava/lang/Integer;ILkotlin/jvm/internal/DefaultConstructorMarker;)V - public synthetic fun (Ljava/lang/String;ZZZZZZLjava/lang/String;Ljava/lang/Integer;Lkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (Ljava/lang/String;ZZZZZZZZLjava/lang/String;Ljava/lang/Integer;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (Ljava/lang/String;ZZZZZZZZLjava/lang/String;Ljava/lang/Integer;Lkotlin/jvm/internal/DefaultConstructorMarker;)V public final fun component1-T-_HSQI ()Ljava/lang/String; + public final fun component10 ()Ljava/lang/String; + public final fun component11 ()Ljava/lang/Integer; public final fun component2 ()Z public final fun component3 ()Z public final fun component4 ()Z public final fun component5 ()Z public final fun component6 ()Z public final fun component7 ()Z - public final fun component8 ()Ljava/lang/String; - public final fun component9 ()Ljava/lang/Integer; - public final fun copy-beo5bKg (Ljava/lang/String;ZZZZZZLjava/lang/String;Ljava/lang/Integer;)Ldev/inmo/tgbotapi/requests/business_connection/GetBusinessAccountGifts; - public static synthetic fun copy-beo5bKg$default (Ldev/inmo/tgbotapi/requests/business_connection/GetBusinessAccountGifts;Ljava/lang/String;ZZZZZZLjava/lang/String;Ljava/lang/Integer;ILjava/lang/Object;)Ldev/inmo/tgbotapi/requests/business_connection/GetBusinessAccountGifts; + public final fun component8 ()Z + public final fun component9 ()Z + public final fun copy-dlsaPoI (Ljava/lang/String;ZZZZZZZZLjava/lang/String;Ljava/lang/Integer;)Ldev/inmo/tgbotapi/requests/business_connection/GetBusinessAccountGifts; + public static synthetic fun copy-dlsaPoI$default (Ldev/inmo/tgbotapi/requests/business_connection/GetBusinessAccountGifts;Ljava/lang/String;ZZZZZZZZLjava/lang/String;Ljava/lang/Integer;ILjava/lang/Object;)Ldev/inmo/tgbotapi/requests/business_connection/GetBusinessAccountGifts; public fun equals (Ljava/lang/Object;)Z public fun getBusinessConnectionId-T-_HSQI ()Ljava/lang/String; public synthetic fun getBusinessConnectionId-nXr5wdE ()Ljava/lang/String; - public final fun getExcludeLimited ()Z + public final fun getExcludeFromBlockchain ()Z + public final fun getExcludeLimitedNonUpgradable ()Z + public final fun getExcludeLimitedUpgradable ()Z public final fun getExcludeSaved ()Z public final fun getExcludeUnique ()Z public final fun getExcludeUnlimited ()Z @@ -2578,7 +2625,7 @@ public abstract interface class dev/inmo/tgbotapi/requests/chat/abstracts/ChatIn } public abstract interface class dev/inmo/tgbotapi/requests/chat/abstracts/ChatMemberRequest : dev/inmo/tgbotapi/abstracts/types/ChatRequest, dev/inmo/tgbotapi/requests/abstracts/SimpleRequest { - public abstract fun getUserId-tHkBKVM ()J + public abstract fun getUserId ()Ldev/inmo/tgbotapi/types/IdChatIdentifier; } public abstract interface class dev/inmo/tgbotapi/requests/chat/abstracts/ChatSenderRequest : dev/inmo/tgbotapi/abstracts/types/ChatRequest, dev/inmo/tgbotapi/requests/abstracts/SimpleRequest { @@ -3148,16 +3195,16 @@ public final class dev/inmo/tgbotapi/requests/chat/get/GetForumTopicIconStickers public final class dev/inmo/tgbotapi/requests/chat/invite_links/ApproveChatJoinRequest : dev/inmo/tgbotapi/requests/chat/invite_links/ChatJoinRequestAnswer { public static final field Companion Ldev/inmo/tgbotapi/requests/chat/invite_links/ApproveChatJoinRequest$Companion; - public synthetic fun (Ldev/inmo/tgbotapi/types/ChatIdentifier;JLkotlin/jvm/internal/DefaultConstructorMarker;)V + public fun (Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/IdChatIdentifier;)V public final fun component1 ()Ldev/inmo/tgbotapi/types/ChatIdentifier; - public final fun component2-tHkBKVM ()J - public final fun copy-WiG6Fm4 (Ldev/inmo/tgbotapi/types/ChatIdentifier;J)Ldev/inmo/tgbotapi/requests/chat/invite_links/ApproveChatJoinRequest; - public static synthetic fun copy-WiG6Fm4$default (Ldev/inmo/tgbotapi/requests/chat/invite_links/ApproveChatJoinRequest;Ldev/inmo/tgbotapi/types/ChatIdentifier;JILjava/lang/Object;)Ldev/inmo/tgbotapi/requests/chat/invite_links/ApproveChatJoinRequest; + public final fun component2 ()Ldev/inmo/tgbotapi/types/IdChatIdentifier; + public final fun copy (Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/IdChatIdentifier;)Ldev/inmo/tgbotapi/requests/chat/invite_links/ApproveChatJoinRequest; + public static synthetic fun copy$default (Ldev/inmo/tgbotapi/requests/chat/invite_links/ApproveChatJoinRequest;Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/IdChatIdentifier;ILjava/lang/Object;)Ldev/inmo/tgbotapi/requests/chat/invite_links/ApproveChatJoinRequest; public fun equals (Ljava/lang/Object;)Z public fun getChatId ()Ldev/inmo/tgbotapi/types/ChatIdentifier; public fun getRequestSerializer ()Lkotlinx/serialization/SerializationStrategy; public fun getResultDeserializer ()Lkotlinx/serialization/DeserializationStrategy; - public fun getUserId-tHkBKVM ()J + public fun getUserId ()Ldev/inmo/tgbotapi/types/IdChatIdentifier; public fun hashCode ()I public fun method ()Ljava/lang/String; public fun toString ()Ljava/lang/String; @@ -3181,7 +3228,7 @@ public final class dev/inmo/tgbotapi/requests/chat/invite_links/ApproveChatJoinR public abstract interface class dev/inmo/tgbotapi/requests/chat/invite_links/ChatJoinRequestAnswer : dev/inmo/tgbotapi/requests/abstracts/SimpleRequest { public abstract fun getChatId ()Ldev/inmo/tgbotapi/types/ChatIdentifier; public fun getResultDeserializer ()Lkotlinx/serialization/DeserializationStrategy; - public abstract fun getUserId-tHkBKVM ()J + public abstract fun getUserId ()Ldev/inmo/tgbotapi/types/IdChatIdentifier; } public final class dev/inmo/tgbotapi/requests/chat/invite_links/ChatJoinRequestAnswer$DefaultImpls { @@ -3382,16 +3429,16 @@ public final class dev/inmo/tgbotapi/requests/chat/invite_links/CreateChatSubscr public final class dev/inmo/tgbotapi/requests/chat/invite_links/DeclineChatJoinRequest : dev/inmo/tgbotapi/requests/chat/invite_links/ChatJoinRequestAnswer { public static final field Companion Ldev/inmo/tgbotapi/requests/chat/invite_links/DeclineChatJoinRequest$Companion; - public synthetic fun (Ldev/inmo/tgbotapi/types/ChatIdentifier;JLkotlin/jvm/internal/DefaultConstructorMarker;)V + public fun (Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/IdChatIdentifier;)V public final fun component1 ()Ldev/inmo/tgbotapi/types/ChatIdentifier; - public final fun component2-tHkBKVM ()J - public final fun copy-WiG6Fm4 (Ldev/inmo/tgbotapi/types/ChatIdentifier;J)Ldev/inmo/tgbotapi/requests/chat/invite_links/DeclineChatJoinRequest; - public static synthetic fun copy-WiG6Fm4$default (Ldev/inmo/tgbotapi/requests/chat/invite_links/DeclineChatJoinRequest;Ldev/inmo/tgbotapi/types/ChatIdentifier;JILjava/lang/Object;)Ldev/inmo/tgbotapi/requests/chat/invite_links/DeclineChatJoinRequest; + public final fun component2 ()Ldev/inmo/tgbotapi/types/IdChatIdentifier; + public final fun copy (Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/IdChatIdentifier;)Ldev/inmo/tgbotapi/requests/chat/invite_links/DeclineChatJoinRequest; + public static synthetic fun copy$default (Ldev/inmo/tgbotapi/requests/chat/invite_links/DeclineChatJoinRequest;Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/IdChatIdentifier;ILjava/lang/Object;)Ldev/inmo/tgbotapi/requests/chat/invite_links/DeclineChatJoinRequest; public fun equals (Ljava/lang/Object;)Z public fun getChatId ()Ldev/inmo/tgbotapi/types/ChatIdentifier; public fun getRequestSerializer ()Lkotlinx/serialization/SerializationStrategy; public fun getResultDeserializer ()Lkotlinx/serialization/DeserializationStrategy; - public fun getUserId-tHkBKVM ()J + public fun getUserId ()Ldev/inmo/tgbotapi/types/IdChatIdentifier; public fun hashCode ()I public fun method ()Ljava/lang/String; public fun toString ()Ljava/lang/String; @@ -3636,21 +3683,21 @@ public final class dev/inmo/tgbotapi/requests/chat/invite_links/RevokeChatInvite public final class dev/inmo/tgbotapi/requests/chat/members/BanChatMember : dev/inmo/tgbotapi/abstracts/types/UntilDate, dev/inmo/tgbotapi/requests/chat/abstracts/ChatMemberRequest { public static final field Companion Ldev/inmo/tgbotapi/requests/chat/members/BanChatMember$Companion; - public synthetic fun (Ldev/inmo/tgbotapi/types/ChatIdentifier;JLdev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Boolean;ILkotlin/jvm/internal/DefaultConstructorMarker;)V - public synthetic fun (Ldev/inmo/tgbotapi/types/ChatIdentifier;JLdev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Boolean;Lkotlin/jvm/internal/DefaultConstructorMarker;)V + public fun (Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Boolean;)V + public synthetic fun (Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Boolean;ILkotlin/jvm/internal/DefaultConstructorMarker;)V public final fun component1 ()Ldev/inmo/tgbotapi/types/ChatIdentifier; - public final fun component2-tHkBKVM ()J + public final fun component2 ()Ldev/inmo/tgbotapi/types/IdChatIdentifier; public final fun component3 ()Ldev/inmo/tgbotapi/types/TelegramDate; public final fun component4 ()Ljava/lang/Boolean; - public final fun copy-nc95W0g (Ldev/inmo/tgbotapi/types/ChatIdentifier;JLdev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Boolean;)Ldev/inmo/tgbotapi/requests/chat/members/BanChatMember; - public static synthetic fun copy-nc95W0g$default (Ldev/inmo/tgbotapi/requests/chat/members/BanChatMember;Ldev/inmo/tgbotapi/types/ChatIdentifier;JLdev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Boolean;ILjava/lang/Object;)Ldev/inmo/tgbotapi/requests/chat/members/BanChatMember; + public final fun copy (Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Boolean;)Ldev/inmo/tgbotapi/requests/chat/members/BanChatMember; + public static synthetic fun copy$default (Ldev/inmo/tgbotapi/requests/chat/members/BanChatMember;Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Boolean;ILjava/lang/Object;)Ldev/inmo/tgbotapi/requests/chat/members/BanChatMember; public fun equals (Ljava/lang/Object;)Z public fun getChatId ()Ldev/inmo/tgbotapi/types/ChatIdentifier; public fun getRequestSerializer ()Lkotlinx/serialization/SerializationStrategy; public fun getResultDeserializer ()Lkotlinx/serialization/DeserializationStrategy; public final fun getRevokeMessages ()Ljava/lang/Boolean; public fun getUntilDate ()Ldev/inmo/tgbotapi/types/TelegramDate; - public fun getUserId-tHkBKVM ()J + public fun getUserId ()Ldev/inmo/tgbotapi/types/IdChatIdentifier; public fun hashCode ()I public fun method ()Ljava/lang/String; public fun toString ()Ljava/lang/String; @@ -3705,16 +3752,16 @@ public final class dev/inmo/tgbotapi/requests/chat/members/BanChatSenderChat$Com public final class dev/inmo/tgbotapi/requests/chat/members/GetChatMember : dev/inmo/tgbotapi/requests/chat/abstracts/ChatMemberRequest { public static final field Companion Ldev/inmo/tgbotapi/requests/chat/members/GetChatMember$Companion; - public synthetic fun (Ldev/inmo/tgbotapi/types/ChatIdentifier;JLkotlin/jvm/internal/DefaultConstructorMarker;)V + public fun (Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/IdChatIdentifier;)V public final fun component1 ()Ldev/inmo/tgbotapi/types/ChatIdentifier; - public final fun component2-tHkBKVM ()J - public final fun copy-WiG6Fm4 (Ldev/inmo/tgbotapi/types/ChatIdentifier;J)Ldev/inmo/tgbotapi/requests/chat/members/GetChatMember; - public static synthetic fun copy-WiG6Fm4$default (Ldev/inmo/tgbotapi/requests/chat/members/GetChatMember;Ldev/inmo/tgbotapi/types/ChatIdentifier;JILjava/lang/Object;)Ldev/inmo/tgbotapi/requests/chat/members/GetChatMember; + public final fun component2 ()Ldev/inmo/tgbotapi/types/IdChatIdentifier; + public final fun copy (Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/IdChatIdentifier;)Ldev/inmo/tgbotapi/requests/chat/members/GetChatMember; + public static synthetic fun copy$default (Ldev/inmo/tgbotapi/requests/chat/members/GetChatMember;Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/IdChatIdentifier;ILjava/lang/Object;)Ldev/inmo/tgbotapi/requests/chat/members/GetChatMember; public fun equals (Ljava/lang/Object;)Z public fun getChatId ()Ldev/inmo/tgbotapi/types/ChatIdentifier; public fun getRequestSerializer ()Lkotlinx/serialization/SerializationStrategy; public fun getResultDeserializer ()Lkotlinx/serialization/DeserializationStrategy; - public fun getUserId-tHkBKVM ()J + public fun getUserId ()Ldev/inmo/tgbotapi/types/IdChatIdentifier; public fun hashCode ()I public fun method ()Ljava/lang/String; public fun toString ()Ljava/lang/String; @@ -3737,19 +3784,19 @@ public final class dev/inmo/tgbotapi/requests/chat/members/GetChatMember$Compani public final class dev/inmo/tgbotapi/requests/chat/members/PromoteChatMember : dev/inmo/tgbotapi/abstracts/types/UntilDate, dev/inmo/tgbotapi/requests/chat/abstracts/ChatMemberRequest { public static final field Companion Ldev/inmo/tgbotapi/requests/chat/members/PromoteChatMember$Companion; - public synthetic fun (Ldev/inmo/tgbotapi/types/ChatIdentifier;JLdev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;ILkotlin/jvm/internal/DefaultConstructorMarker;)V - public synthetic fun (Ldev/inmo/tgbotapi/types/ChatIdentifier;JLdev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Lkotlin/jvm/internal/DefaultConstructorMarker;)V + public fun (Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;)V + public synthetic fun (Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;ILkotlin/jvm/internal/DefaultConstructorMarker;)V public final fun component1 ()Ldev/inmo/tgbotapi/types/ChatIdentifier; - public final fun component2-tHkBKVM ()J + public final fun component2 ()Ldev/inmo/tgbotapi/types/IdChatIdentifier; public final fun component3 ()Ldev/inmo/tgbotapi/types/TelegramDate; - public final fun copy-cEx5pI4 (Ldev/inmo/tgbotapi/types/ChatIdentifier;JLdev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;)Ldev/inmo/tgbotapi/requests/chat/members/PromoteChatMember; - public static synthetic fun copy-cEx5pI4$default (Ldev/inmo/tgbotapi/requests/chat/members/PromoteChatMember;Ldev/inmo/tgbotapi/types/ChatIdentifier;JLdev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;ILjava/lang/Object;)Ldev/inmo/tgbotapi/requests/chat/members/PromoteChatMember; + public final fun copy (Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;)Ldev/inmo/tgbotapi/requests/chat/members/PromoteChatMember; + public static synthetic fun copy$default (Ldev/inmo/tgbotapi/requests/chat/members/PromoteChatMember;Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;ILjava/lang/Object;)Ldev/inmo/tgbotapi/requests/chat/members/PromoteChatMember; public fun equals (Ljava/lang/Object;)Z public fun getChatId ()Ldev/inmo/tgbotapi/types/ChatIdentifier; public fun getRequestSerializer ()Lkotlinx/serialization/SerializationStrategy; public fun getResultDeserializer ()Lkotlinx/serialization/DeserializationStrategy; public fun getUntilDate ()Ldev/inmo/tgbotapi/types/TelegramDate; - public fun getUserId-tHkBKVM ()J + public fun getUserId ()Ldev/inmo/tgbotapi/types/IdChatIdentifier; public fun hashCode ()I public fun method ()Ljava/lang/String; public fun toString ()Ljava/lang/String; @@ -3771,25 +3818,25 @@ public final class dev/inmo/tgbotapi/requests/chat/members/PromoteChatMember$Com } public final class dev/inmo/tgbotapi/requests/chat/members/PromoteChatMemberKt { - public static final fun PromoteChannelAdministrator-dNOMvNE (Ldev/inmo/tgbotapi/types/ChatIdentifier;JLdev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;)Ldev/inmo/tgbotapi/requests/chat/members/PromoteChatMember; - public static synthetic fun PromoteChannelAdministrator-dNOMvNE$default (Ldev/inmo/tgbotapi/types/ChatIdentifier;JLdev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;ILjava/lang/Object;)Ldev/inmo/tgbotapi/requests/chat/members/PromoteChatMember; - public static final fun PromoteChatMember-9Ho6Kv0 (Ldev/inmo/tgbotapi/types/ChatIdentifier;JLdev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;)Ldev/inmo/tgbotapi/requests/chat/members/PromoteChatMember; - public static synthetic fun PromoteChatMember-9Ho6Kv0$default (Ldev/inmo/tgbotapi/types/ChatIdentifier;JLdev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;ILjava/lang/Object;)Ldev/inmo/tgbotapi/requests/chat/members/PromoteChatMember; - public static final fun PromoteSupergroupAdministrator-5BlRkco (Ldev/inmo/tgbotapi/types/ChatIdentifier;JLdev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;)Ldev/inmo/tgbotapi/requests/chat/members/PromoteChatMember; - public static synthetic fun PromoteSupergroupAdministrator-5BlRkco$default (Ldev/inmo/tgbotapi/types/ChatIdentifier;JLdev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;ILjava/lang/Object;)Ldev/inmo/tgbotapi/requests/chat/members/PromoteChatMember; + public static final fun PromoteChannelAdministrator (Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;)Ldev/inmo/tgbotapi/requests/chat/members/PromoteChatMember; + public static synthetic fun PromoteChannelAdministrator$default (Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;ILjava/lang/Object;)Ldev/inmo/tgbotapi/requests/chat/members/PromoteChatMember; + public static final fun PromoteChatMember (Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;)Ldev/inmo/tgbotapi/requests/chat/members/PromoteChatMember; + public static synthetic fun PromoteChatMember$default (Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;ILjava/lang/Object;)Ldev/inmo/tgbotapi/requests/chat/members/PromoteChatMember; + public static final fun PromoteSupergroupAdministrator (Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;)Ldev/inmo/tgbotapi/requests/chat/members/PromoteChatMember; + public static synthetic fun PromoteSupergroupAdministrator$default (Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;ILjava/lang/Object;)Ldev/inmo/tgbotapi/requests/chat/members/PromoteChatMember; } public final class dev/inmo/tgbotapi/requests/chat/members/RestrictChatMember : dev/inmo/tgbotapi/abstracts/types/UntilDate, dev/inmo/tgbotapi/requests/chat/abstracts/ChatMemberRequest { public static final field Companion Ldev/inmo/tgbotapi/requests/chat/members/RestrictChatMember$Companion; - public synthetic fun (Ldev/inmo/tgbotapi/types/ChatIdentifier;JLdev/inmo/tgbotapi/types/TelegramDate;Ldev/inmo/tgbotapi/types/chat/ChatPermissions;Ljava/lang/Boolean;ILkotlin/jvm/internal/DefaultConstructorMarker;)V - public synthetic fun (Ldev/inmo/tgbotapi/types/ChatIdentifier;JLdev/inmo/tgbotapi/types/TelegramDate;Ldev/inmo/tgbotapi/types/chat/ChatPermissions;Ljava/lang/Boolean;Lkotlin/jvm/internal/DefaultConstructorMarker;)V + public fun (Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/TelegramDate;Ldev/inmo/tgbotapi/types/chat/ChatPermissions;Ljava/lang/Boolean;)V + public synthetic fun (Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/TelegramDate;Ldev/inmo/tgbotapi/types/chat/ChatPermissions;Ljava/lang/Boolean;ILkotlin/jvm/internal/DefaultConstructorMarker;)V public final fun component1 ()Ldev/inmo/tgbotapi/types/ChatIdentifier; - public final fun component2-tHkBKVM ()J + public final fun component2 ()Ldev/inmo/tgbotapi/types/IdChatIdentifier; public final fun component3 ()Ldev/inmo/tgbotapi/types/TelegramDate; public final fun component4 ()Ldev/inmo/tgbotapi/types/chat/ChatPermissions; public final fun component5 ()Ljava/lang/Boolean; - public final fun copy-4iNBclM (Ldev/inmo/tgbotapi/types/ChatIdentifier;JLdev/inmo/tgbotapi/types/TelegramDate;Ldev/inmo/tgbotapi/types/chat/ChatPermissions;Ljava/lang/Boolean;)Ldev/inmo/tgbotapi/requests/chat/members/RestrictChatMember; - public static synthetic fun copy-4iNBclM$default (Ldev/inmo/tgbotapi/requests/chat/members/RestrictChatMember;Ldev/inmo/tgbotapi/types/ChatIdentifier;JLdev/inmo/tgbotapi/types/TelegramDate;Ldev/inmo/tgbotapi/types/chat/ChatPermissions;Ljava/lang/Boolean;ILjava/lang/Object;)Ldev/inmo/tgbotapi/requests/chat/members/RestrictChatMember; + public final fun copy (Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/TelegramDate;Ldev/inmo/tgbotapi/types/chat/ChatPermissions;Ljava/lang/Boolean;)Ldev/inmo/tgbotapi/requests/chat/members/RestrictChatMember; + public static synthetic fun copy$default (Ldev/inmo/tgbotapi/requests/chat/members/RestrictChatMember;Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/TelegramDate;Ldev/inmo/tgbotapi/types/chat/ChatPermissions;Ljava/lang/Boolean;ILjava/lang/Object;)Ldev/inmo/tgbotapi/requests/chat/members/RestrictChatMember; public fun equals (Ljava/lang/Object;)Z public fun getChatId ()Ldev/inmo/tgbotapi/types/ChatIdentifier; public final fun getPermissions ()Ldev/inmo/tgbotapi/types/chat/ChatPermissions; @@ -3797,7 +3844,7 @@ public final class dev/inmo/tgbotapi/requests/chat/members/RestrictChatMember : public fun getResultDeserializer ()Lkotlinx/serialization/DeserializationStrategy; public fun getUntilDate ()Ldev/inmo/tgbotapi/types/TelegramDate; public final fun getUseIndependentChatPermissions ()Ljava/lang/Boolean; - public fun getUserId-tHkBKVM ()J + public fun getUserId ()Ldev/inmo/tgbotapi/types/IdChatIdentifier; public fun hashCode ()I public fun method ()Ljava/lang/String; public fun toString ()Ljava/lang/String; @@ -3820,18 +3867,18 @@ public final class dev/inmo/tgbotapi/requests/chat/members/RestrictChatMember$Co public final class dev/inmo/tgbotapi/requests/chat/members/SetChatAdministratorCustomTitle : dev/inmo/tgbotapi/requests/chat/abstracts/ChatMemberRequest { public static final field Companion Ldev/inmo/tgbotapi/requests/chat/members/SetChatAdministratorCustomTitle$Companion; - public synthetic fun (Ldev/inmo/tgbotapi/types/ChatIdentifier;JLjava/lang/String;Lkotlin/jvm/internal/DefaultConstructorMarker;)V + public fun (Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;)V public final fun component1 ()Ldev/inmo/tgbotapi/types/ChatIdentifier; - public final fun component2-tHkBKVM ()J + public final fun component2 ()Ldev/inmo/tgbotapi/types/IdChatIdentifier; public final fun component3 ()Ljava/lang/String; - public final fun copy-dEpx-Zg (Ldev/inmo/tgbotapi/types/ChatIdentifier;JLjava/lang/String;)Ldev/inmo/tgbotapi/requests/chat/members/SetChatAdministratorCustomTitle; - public static synthetic fun copy-dEpx-Zg$default (Ldev/inmo/tgbotapi/requests/chat/members/SetChatAdministratorCustomTitle;Ldev/inmo/tgbotapi/types/ChatIdentifier;JLjava/lang/String;ILjava/lang/Object;)Ldev/inmo/tgbotapi/requests/chat/members/SetChatAdministratorCustomTitle; + public final fun copy (Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;)Ldev/inmo/tgbotapi/requests/chat/members/SetChatAdministratorCustomTitle; + public static synthetic fun copy$default (Ldev/inmo/tgbotapi/requests/chat/members/SetChatAdministratorCustomTitle;Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;ILjava/lang/Object;)Ldev/inmo/tgbotapi/requests/chat/members/SetChatAdministratorCustomTitle; public fun equals (Ljava/lang/Object;)Z public fun getChatId ()Ldev/inmo/tgbotapi/types/ChatIdentifier; public final fun getCustomTitle ()Ljava/lang/String; public fun getRequestSerializer ()Lkotlinx/serialization/SerializationStrategy; public fun getResultDeserializer ()Lkotlinx/serialization/DeserializationStrategy; - public fun getUserId-tHkBKVM ()J + public fun getUserId ()Ldev/inmo/tgbotapi/types/IdChatIdentifier; public fun hashCode ()I public fun method ()Ljava/lang/String; public fun toString ()Ljava/lang/String; @@ -3854,19 +3901,19 @@ public final class dev/inmo/tgbotapi/requests/chat/members/SetChatAdministratorC public final class dev/inmo/tgbotapi/requests/chat/members/UnbanChatMember : dev/inmo/tgbotapi/requests/chat/abstracts/ChatMemberRequest { public static final field Companion Ldev/inmo/tgbotapi/requests/chat/members/UnbanChatMember$Companion; - public synthetic fun (Ldev/inmo/tgbotapi/types/ChatIdentifier;JLjava/lang/Boolean;ILkotlin/jvm/internal/DefaultConstructorMarker;)V - public synthetic fun (Ldev/inmo/tgbotapi/types/ChatIdentifier;JLjava/lang/Boolean;Lkotlin/jvm/internal/DefaultConstructorMarker;)V + public fun (Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/Boolean;)V + public synthetic fun (Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/Boolean;ILkotlin/jvm/internal/DefaultConstructorMarker;)V public final fun component1 ()Ldev/inmo/tgbotapi/types/ChatIdentifier; - public final fun component2-tHkBKVM ()J + public final fun component2 ()Ldev/inmo/tgbotapi/types/IdChatIdentifier; public final fun component3 ()Ljava/lang/Boolean; - public final fun copy-dEpx-Zg (Ldev/inmo/tgbotapi/types/ChatIdentifier;JLjava/lang/Boolean;)Ldev/inmo/tgbotapi/requests/chat/members/UnbanChatMember; - public static synthetic fun copy-dEpx-Zg$default (Ldev/inmo/tgbotapi/requests/chat/members/UnbanChatMember;Ldev/inmo/tgbotapi/types/ChatIdentifier;JLjava/lang/Boolean;ILjava/lang/Object;)Ldev/inmo/tgbotapi/requests/chat/members/UnbanChatMember; + public final fun copy (Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/Boolean;)Ldev/inmo/tgbotapi/requests/chat/members/UnbanChatMember; + public static synthetic fun copy$default (Ldev/inmo/tgbotapi/requests/chat/members/UnbanChatMember;Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/Boolean;ILjava/lang/Object;)Ldev/inmo/tgbotapi/requests/chat/members/UnbanChatMember; public fun equals (Ljava/lang/Object;)Z public fun getChatId ()Ldev/inmo/tgbotapi/types/ChatIdentifier; public final fun getOnlyIfBanned ()Ljava/lang/Boolean; public fun getRequestSerializer ()Lkotlinx/serialization/SerializationStrategy; public fun getResultDeserializer ()Lkotlinx/serialization/DeserializationStrategy; - public fun getUserId-tHkBKVM ()J + public fun getUserId ()Ldev/inmo/tgbotapi/types/IdChatIdentifier; public fun hashCode ()I public fun method ()Ljava/lang/String; public fun toString ()Ljava/lang/String; @@ -4746,17 +4793,17 @@ public final class dev/inmo/tgbotapi/requests/edit/media/EditInlineMessageMedia$ public final class dev/inmo/tgbotapi/requests/edit/payments/EditUserStarSubscription : dev/inmo/tgbotapi/requests/abstracts/SimpleRequest { public static final field Companion Ldev/inmo/tgbotapi/requests/edit/payments/EditUserStarSubscription$Companion; - public synthetic fun (JLjava/lang/String;ZLkotlin/jvm/internal/DefaultConstructorMarker;)V - public final fun component1-tHkBKVM ()J + public synthetic fun (Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;ZLkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Ldev/inmo/tgbotapi/types/IdChatIdentifier; public final fun component2-voYifgM ()Ljava/lang/String; public final fun component3 ()Z - public final fun copy-7eyeMX4 (JLjava/lang/String;Z)Ldev/inmo/tgbotapi/requests/edit/payments/EditUserStarSubscription; - public static synthetic fun copy-7eyeMX4$default (Ldev/inmo/tgbotapi/requests/edit/payments/EditUserStarSubscription;JLjava/lang/String;ZILjava/lang/Object;)Ldev/inmo/tgbotapi/requests/edit/payments/EditUserStarSubscription; + public final fun copy-YuMVmAQ (Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;Z)Ldev/inmo/tgbotapi/requests/edit/payments/EditUserStarSubscription; + public static synthetic fun copy-YuMVmAQ$default (Ldev/inmo/tgbotapi/requests/edit/payments/EditUserStarSubscription;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;ZILjava/lang/Object;)Ldev/inmo/tgbotapi/requests/edit/payments/EditUserStarSubscription; public fun equals (Ljava/lang/Object;)Z public fun getRequestSerializer ()Lkotlinx/serialization/SerializationStrategy; public fun getResultDeserializer ()Lkotlinx/serialization/DeserializationStrategy; public final fun getTelegramPaymentChargeId-voYifgM ()Ljava/lang/String; - public final fun getUserId-tHkBKVM ()J + public final fun getUserId ()Ldev/inmo/tgbotapi/types/IdChatIdentifier; public fun hashCode ()I public final fun isCanceled ()Z public fun method ()Ljava/lang/String; @@ -4957,19 +5004,19 @@ public final class dev/inmo/tgbotapi/requests/edit/text/EditInlineMessageTextKt public final class dev/inmo/tgbotapi/requests/games/GetGameHighScoresByChat : dev/inmo/tgbotapi/abstracts/types/MessageAction, dev/inmo/tgbotapi/requests/games/abstracts/GetGameHighScores { public static final field Companion Ldev/inmo/tgbotapi/requests/games/GetGameHighScoresByChat$Companion; - public synthetic fun (JLdev/inmo/tgbotapi/types/IdChatIdentifier;JLkotlin/jvm/internal/DefaultConstructorMarker;)V - public final fun component1-tHkBKVM ()J + public synthetic fun (Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/IdChatIdentifier;JLkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Ldev/inmo/tgbotapi/types/IdChatIdentifier; public final fun component2 ()Ldev/inmo/tgbotapi/types/IdChatIdentifier; public final fun component3-APLFQys ()J - public final fun copy-Zg1pxu8 (JLdev/inmo/tgbotapi/types/IdChatIdentifier;J)Ldev/inmo/tgbotapi/requests/games/GetGameHighScoresByChat; - public static synthetic fun copy-Zg1pxu8$default (Ldev/inmo/tgbotapi/requests/games/GetGameHighScoresByChat;JLdev/inmo/tgbotapi/types/IdChatIdentifier;JILjava/lang/Object;)Ldev/inmo/tgbotapi/requests/games/GetGameHighScoresByChat; + public final fun copy-EQziP_A (Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/IdChatIdentifier;J)Ldev/inmo/tgbotapi/requests/games/GetGameHighScoresByChat; + public static synthetic fun copy-EQziP_A$default (Ldev/inmo/tgbotapi/requests/games/GetGameHighScoresByChat;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/IdChatIdentifier;JILjava/lang/Object;)Ldev/inmo/tgbotapi/requests/games/GetGameHighScoresByChat; public fun equals (Ljava/lang/Object;)Z public synthetic fun getChatId ()Ldev/inmo/tgbotapi/types/ChatIdentifier; public fun getChatId ()Ldev/inmo/tgbotapi/types/IdChatIdentifier; public fun getMessageId-APLFQys ()J public fun getRequestSerializer ()Lkotlinx/serialization/SerializationStrategy; public fun getResultDeserializer ()Lkotlinx/serialization/DeserializationStrategy; - public fun getUserId-tHkBKVM ()J + public fun getUserId ()Ldev/inmo/tgbotapi/types/IdChatIdentifier; public fun hashCode ()I public fun method ()Ljava/lang/String; public fun toString ()Ljava/lang/String; @@ -4992,16 +5039,16 @@ public final class dev/inmo/tgbotapi/requests/games/GetGameHighScoresByChat$Comp public final class dev/inmo/tgbotapi/requests/games/GetGameHighScoresByInlineMessageId : dev/inmo/tgbotapi/abstracts/types/InlineMessageAction, dev/inmo/tgbotapi/requests/games/abstracts/GetGameHighScores { public static final field Companion Ldev/inmo/tgbotapi/requests/games/GetGameHighScoresByInlineMessageId$Companion; - public synthetic fun (JLjava/lang/String;Lkotlin/jvm/internal/DefaultConstructorMarker;)V - public final fun component1-tHkBKVM ()J + public synthetic fun (Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;Lkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Ldev/inmo/tgbotapi/types/IdChatIdentifier; public final fun component2-u1p_GH0 ()Ljava/lang/String; - public final fun copy-YWyAf7U (JLjava/lang/String;)Ldev/inmo/tgbotapi/requests/games/GetGameHighScoresByInlineMessageId; - public static synthetic fun copy-YWyAf7U$default (Ldev/inmo/tgbotapi/requests/games/GetGameHighScoresByInlineMessageId;JLjava/lang/String;ILjava/lang/Object;)Ldev/inmo/tgbotapi/requests/games/GetGameHighScoresByInlineMessageId; + public final fun copy-7EbhTmU (Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;)Ldev/inmo/tgbotapi/requests/games/GetGameHighScoresByInlineMessageId; + public static synthetic fun copy-7EbhTmU$default (Ldev/inmo/tgbotapi/requests/games/GetGameHighScoresByInlineMessageId;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;ILjava/lang/Object;)Ldev/inmo/tgbotapi/requests/games/GetGameHighScoresByInlineMessageId; public fun equals (Ljava/lang/Object;)Z public fun getInlineMessageId-u1p_GH0 ()Ljava/lang/String; public fun getRequestSerializer ()Lkotlinx/serialization/SerializationStrategy; public fun getResultDeserializer ()Lkotlinx/serialization/DeserializationStrategy; - public fun getUserId-tHkBKVM ()J + public fun getUserId ()Ldev/inmo/tgbotapi/types/IdChatIdentifier; public fun hashCode ()I public fun method ()Ljava/lang/String; public fun toString ()Ljava/lang/String; @@ -5024,16 +5071,16 @@ public final class dev/inmo/tgbotapi/requests/games/GetGameHighScoresByInlineMes public final class dev/inmo/tgbotapi/requests/games/SetGameScoreByChatId : dev/inmo/tgbotapi/abstracts/types/MessageAction, dev/inmo/tgbotapi/requests/games/abstracts/SetGameScore { public static final field Companion Ldev/inmo/tgbotapi/requests/games/SetGameScoreByChatId$Companion; - public synthetic fun (JJLdev/inmo/tgbotapi/types/IdChatIdentifier;JZZILkotlin/jvm/internal/DefaultConstructorMarker;)V - public synthetic fun (JJLdev/inmo/tgbotapi/types/IdChatIdentifier;JZZLkotlin/jvm/internal/DefaultConstructorMarker;)V - public final fun component1-tHkBKVM ()J + public synthetic fun (Ldev/inmo/tgbotapi/types/IdChatIdentifier;JLdev/inmo/tgbotapi/types/IdChatIdentifier;JZZILkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (Ldev/inmo/tgbotapi/types/IdChatIdentifier;JLdev/inmo/tgbotapi/types/IdChatIdentifier;JZZLkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Ldev/inmo/tgbotapi/types/IdChatIdentifier; public final fun component2 ()J public final fun component3 ()Ldev/inmo/tgbotapi/types/IdChatIdentifier; public final fun component4-APLFQys ()J public final fun component5 ()Z public final fun component6 ()Z - public final fun copy-WOEF9o4 (JJLdev/inmo/tgbotapi/types/IdChatIdentifier;JZZ)Ldev/inmo/tgbotapi/requests/games/SetGameScoreByChatId; - public static synthetic fun copy-WOEF9o4$default (Ldev/inmo/tgbotapi/requests/games/SetGameScoreByChatId;JJLdev/inmo/tgbotapi/types/IdChatIdentifier;JZZILjava/lang/Object;)Ldev/inmo/tgbotapi/requests/games/SetGameScoreByChatId; + public final fun copy-DbnawqU (Ldev/inmo/tgbotapi/types/IdChatIdentifier;JLdev/inmo/tgbotapi/types/IdChatIdentifier;JZZ)Ldev/inmo/tgbotapi/requests/games/SetGameScoreByChatId; + public static synthetic fun copy-DbnawqU$default (Ldev/inmo/tgbotapi/requests/games/SetGameScoreByChatId;Ldev/inmo/tgbotapi/types/IdChatIdentifier;JLdev/inmo/tgbotapi/types/IdChatIdentifier;JZZILjava/lang/Object;)Ldev/inmo/tgbotapi/requests/games/SetGameScoreByChatId; public fun equals (Ljava/lang/Object;)Z public synthetic fun getChatId ()Ldev/inmo/tgbotapi/types/ChatIdentifier; public fun getChatId ()Ldev/inmo/tgbotapi/types/IdChatIdentifier; @@ -5043,7 +5090,7 @@ public final class dev/inmo/tgbotapi/requests/games/SetGameScoreByChatId : dev/i public fun getRequestSerializer ()Lkotlinx/serialization/SerializationStrategy; public fun getResultDeserializer ()Lkotlinx/serialization/DeserializationStrategy; public fun getScore ()J - public fun getUserId-tHkBKVM ()J + public fun getUserId ()Ldev/inmo/tgbotapi/types/IdChatIdentifier; public fun hashCode ()I public fun method ()Ljava/lang/String; public fun toString ()Ljava/lang/String; @@ -5066,15 +5113,15 @@ public final class dev/inmo/tgbotapi/requests/games/SetGameScoreByChatId$Compani public final class dev/inmo/tgbotapi/requests/games/SetGameScoreByInlineMessageId : dev/inmo/tgbotapi/abstracts/types/InlineMessageAction, dev/inmo/tgbotapi/requests/games/abstracts/SetGameScore { public static final field Companion Ldev/inmo/tgbotapi/requests/games/SetGameScoreByInlineMessageId$Companion; - public synthetic fun (JJLjava/lang/String;ZZILkotlin/jvm/internal/DefaultConstructorMarker;)V - public synthetic fun (JJLjava/lang/String;ZZLkotlin/jvm/internal/DefaultConstructorMarker;)V - public final fun component1-tHkBKVM ()J + public synthetic fun (Ldev/inmo/tgbotapi/types/IdChatIdentifier;JLjava/lang/String;ZZILkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (Ldev/inmo/tgbotapi/types/IdChatIdentifier;JLjava/lang/String;ZZLkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Ldev/inmo/tgbotapi/types/IdChatIdentifier; public final fun component2 ()J public final fun component3-u1p_GH0 ()Ljava/lang/String; public final fun component4 ()Z public final fun component5 ()Z - public final fun copy-qt7rbfM (JJLjava/lang/String;ZZ)Ldev/inmo/tgbotapi/requests/games/SetGameScoreByInlineMessageId; - public static synthetic fun copy-qt7rbfM$default (Ldev/inmo/tgbotapi/requests/games/SetGameScoreByInlineMessageId;JJLjava/lang/String;ZZILjava/lang/Object;)Ldev/inmo/tgbotapi/requests/games/SetGameScoreByInlineMessageId; + public final fun copy-PoGh8JU (Ldev/inmo/tgbotapi/types/IdChatIdentifier;JLjava/lang/String;ZZ)Ldev/inmo/tgbotapi/requests/games/SetGameScoreByInlineMessageId; + public static synthetic fun copy-PoGh8JU$default (Ldev/inmo/tgbotapi/requests/games/SetGameScoreByInlineMessageId;Ldev/inmo/tgbotapi/types/IdChatIdentifier;JLjava/lang/String;ZZILjava/lang/Object;)Ldev/inmo/tgbotapi/requests/games/SetGameScoreByInlineMessageId; public fun equals (Ljava/lang/Object;)Z public fun getDisableEditMessage ()Z public fun getForce ()Z @@ -5082,7 +5129,7 @@ public final class dev/inmo/tgbotapi/requests/games/SetGameScoreByInlineMessageI public fun getRequestSerializer ()Lkotlinx/serialization/SerializationStrategy; public fun getResultDeserializer ()Lkotlinx/serialization/DeserializationStrategy; public fun getScore ()J - public fun getUserId-tHkBKVM ()J + public fun getUserId ()Ldev/inmo/tgbotapi/types/IdChatIdentifier; public fun hashCode ()I public fun method ()Ljava/lang/String; public fun toString ()Ljava/lang/String; @@ -5114,7 +5161,7 @@ public final class dev/inmo/tgbotapi/requests/games/abstracts/GameHighScoresSeri public abstract interface class dev/inmo/tgbotapi/requests/games/abstracts/GetGameHighScores : dev/inmo/tgbotapi/requests/abstracts/SimpleRequest { public fun getResultDeserializer ()Lkotlinx/serialization/DeserializationStrategy; - public abstract fun getUserId-tHkBKVM ()J + public abstract fun getUserId ()Ldev/inmo/tgbotapi/types/IdChatIdentifier; public fun method ()Ljava/lang/String; } @@ -5128,7 +5175,7 @@ public abstract interface class dev/inmo/tgbotapi/requests/games/abstracts/SetGa public abstract fun getForce ()Z public fun getResultDeserializer ()Lkotlinx/serialization/DeserializationStrategy; public abstract fun getScore ()J - public abstract fun getUserId-tHkBKVM ()J + public abstract fun getUserId ()Ldev/inmo/tgbotapi/types/IdChatIdentifier; public fun method ()Ljava/lang/String; } @@ -5294,16 +5341,16 @@ public final class dev/inmo/tgbotapi/requests/get/GetStickerSet$Companion { public final class dev/inmo/tgbotapi/requests/get/GetUserChatBoosts : dev/inmo/tgbotapi/abstracts/types/ChatRequest, dev/inmo/tgbotapi/requests/abstracts/SimpleRequest { public static final field Companion Ldev/inmo/tgbotapi/requests/get/GetUserChatBoosts$Companion; - public synthetic fun (Ldev/inmo/tgbotapi/types/ChatIdentifier;JLkotlin/jvm/internal/DefaultConstructorMarker;)V + public fun (Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/IdChatIdentifier;)V public final fun component1 ()Ldev/inmo/tgbotapi/types/ChatIdentifier; - public final fun component2-tHkBKVM ()J - public final fun copy-WiG6Fm4 (Ldev/inmo/tgbotapi/types/ChatIdentifier;J)Ldev/inmo/tgbotapi/requests/get/GetUserChatBoosts; - public static synthetic fun copy-WiG6Fm4$default (Ldev/inmo/tgbotapi/requests/get/GetUserChatBoosts;Ldev/inmo/tgbotapi/types/ChatIdentifier;JILjava/lang/Object;)Ldev/inmo/tgbotapi/requests/get/GetUserChatBoosts; + public final fun component2 ()Ldev/inmo/tgbotapi/types/IdChatIdentifier; + public final fun copy (Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/IdChatIdentifier;)Ldev/inmo/tgbotapi/requests/get/GetUserChatBoosts; + public static synthetic fun copy$default (Ldev/inmo/tgbotapi/requests/get/GetUserChatBoosts;Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/IdChatIdentifier;ILjava/lang/Object;)Ldev/inmo/tgbotapi/requests/get/GetUserChatBoosts; public fun equals (Ljava/lang/Object;)Z public fun getChatId ()Ldev/inmo/tgbotapi/types/ChatIdentifier; public fun getRequestSerializer ()Lkotlinx/serialization/SerializationStrategy; public fun getResultDeserializer ()Lkotlinx/serialization/DeserializationStrategy; - public final fun getUserId-tHkBKVM ()J + public final fun getUserId ()Ldev/inmo/tgbotapi/types/IdChatIdentifier; public fun hashCode ()I public fun method ()Ljava/lang/String; public fun toString ()Ljava/lang/String; @@ -5324,21 +5371,56 @@ public final class dev/inmo/tgbotapi/requests/get/GetUserChatBoosts$Companion { public final fun serializer ()Lkotlinx/serialization/KSerializer; } -public final class dev/inmo/tgbotapi/requests/get/GetUserProfilePhotos : dev/inmo/tgbotapi/requests/abstracts/SimpleRequest { - public static final field Companion Ldev/inmo/tgbotapi/requests/get/GetUserProfilePhotos$Companion; - public synthetic fun (JLjava/lang/Integer;Ljava/lang/Integer;ILkotlin/jvm/internal/DefaultConstructorMarker;)V - public synthetic fun (JLjava/lang/Integer;Ljava/lang/Integer;Lkotlin/jvm/internal/DefaultConstructorMarker;)V - public final fun component1-tHkBKVM ()J +public final class dev/inmo/tgbotapi/requests/get/GetUserProfileAudios : dev/inmo/tgbotapi/requests/abstracts/SimpleRequest { + public static final field Companion Ldev/inmo/tgbotapi/requests/get/GetUserProfileAudios$Companion; + public fun (Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/Integer;Ljava/lang/Integer;)V + public synthetic fun (Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/Integer;Ljava/lang/Integer;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Ldev/inmo/tgbotapi/types/IdChatIdentifier; public final fun component2 ()Ljava/lang/Integer; public final fun component3 ()Ljava/lang/Integer; - public final fun copy-pU7KfLc (JLjava/lang/Integer;Ljava/lang/Integer;)Ldev/inmo/tgbotapi/requests/get/GetUserProfilePhotos; - public static synthetic fun copy-pU7KfLc$default (Ldev/inmo/tgbotapi/requests/get/GetUserProfilePhotos;JLjava/lang/Integer;Ljava/lang/Integer;ILjava/lang/Object;)Ldev/inmo/tgbotapi/requests/get/GetUserProfilePhotos; + public final fun copy (Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/Integer;Ljava/lang/Integer;)Ldev/inmo/tgbotapi/requests/get/GetUserProfileAudios; + public static synthetic fun copy$default (Ldev/inmo/tgbotapi/requests/get/GetUserProfileAudios;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/Integer;Ljava/lang/Integer;ILjava/lang/Object;)Ldev/inmo/tgbotapi/requests/get/GetUserProfileAudios; public fun equals (Ljava/lang/Object;)Z public final fun getLimit ()Ljava/lang/Integer; public final fun getOffset ()Ljava/lang/Integer; public fun getRequestSerializer ()Lkotlinx/serialization/SerializationStrategy; public fun getResultDeserializer ()Lkotlinx/serialization/DeserializationStrategy; - public final fun getUserId-tHkBKVM ()J + public final fun getUserId ()Ldev/inmo/tgbotapi/types/IdChatIdentifier; + public fun hashCode ()I + public fun method ()Ljava/lang/String; + public fun toString ()Ljava/lang/String; +} + +public final synthetic class dev/inmo/tgbotapi/requests/get/GetUserProfileAudios$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Ldev/inmo/tgbotapi/requests/get/GetUserProfileAudios$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/inmo/tgbotapi/requests/get/GetUserProfileAudios; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Ldev/inmo/tgbotapi/requests/get/GetUserProfileAudios;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class dev/inmo/tgbotapi/requests/get/GetUserProfileAudios$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class dev/inmo/tgbotapi/requests/get/GetUserProfilePhotos : dev/inmo/tgbotapi/requests/abstracts/SimpleRequest { + public static final field Companion Ldev/inmo/tgbotapi/requests/get/GetUserProfilePhotos$Companion; + public fun (Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/Integer;Ljava/lang/Integer;)V + public synthetic fun (Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/Integer;Ljava/lang/Integer;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Ldev/inmo/tgbotapi/types/IdChatIdentifier; + public final fun component2 ()Ljava/lang/Integer; + public final fun component3 ()Ljava/lang/Integer; + public final fun copy (Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/Integer;Ljava/lang/Integer;)Ldev/inmo/tgbotapi/requests/get/GetUserProfilePhotos; + public static synthetic fun copy$default (Ldev/inmo/tgbotapi/requests/get/GetUserProfilePhotos;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/Integer;Ljava/lang/Integer;ILjava/lang/Object;)Ldev/inmo/tgbotapi/requests/get/GetUserProfilePhotos; + public fun equals (Ljava/lang/Object;)Z + public final fun getLimit ()Ljava/lang/Integer; + public final fun getOffset ()Ljava/lang/Integer; + public fun getRequestSerializer ()Lkotlinx/serialization/SerializationStrategy; + public fun getResultDeserializer ()Lkotlinx/serialization/DeserializationStrategy; + public final fun getUserId ()Ldev/inmo/tgbotapi/types/IdChatIdentifier; public fun hashCode ()I public fun method ()Ljava/lang/String; public fun toString ()Ljava/lang/String; @@ -5370,13 +5452,112 @@ public final class dev/inmo/tgbotapi/requests/gifts/GetAvailableGifts : dev/inmo public fun toString ()Ljava/lang/String; } +public final class dev/inmo/tgbotapi/requests/gifts/GetChatGifts : dev/inmo/tgbotapi/abstracts/types/ChatRequest, dev/inmo/tgbotapi/requests/abstracts/SimpleRequest { + public static final field Companion Ldev/inmo/tgbotapi/requests/gifts/GetChatGifts$Companion; + public fun (Ldev/inmo/tgbotapi/types/ChatIdentifier;ZZZZZZZZLjava/lang/String;Ljava/lang/Integer;)V + public synthetic fun (Ldev/inmo/tgbotapi/types/ChatIdentifier;ZZZZZZZZLjava/lang/String;Ljava/lang/Integer;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Ldev/inmo/tgbotapi/types/ChatIdentifier; + public final fun component10 ()Ljava/lang/String; + public final fun component11 ()Ljava/lang/Integer; + public final fun component2 ()Z + public final fun component3 ()Z + public final fun component4 ()Z + public final fun component5 ()Z + public final fun component6 ()Z + public final fun component7 ()Z + public final fun component8 ()Z + public final fun component9 ()Z + public final fun copy (Ldev/inmo/tgbotapi/types/ChatIdentifier;ZZZZZZZZLjava/lang/String;Ljava/lang/Integer;)Ldev/inmo/tgbotapi/requests/gifts/GetChatGifts; + public static synthetic fun copy$default (Ldev/inmo/tgbotapi/requests/gifts/GetChatGifts;Ldev/inmo/tgbotapi/types/ChatIdentifier;ZZZZZZZZLjava/lang/String;Ljava/lang/Integer;ILjava/lang/Object;)Ldev/inmo/tgbotapi/requests/gifts/GetChatGifts; + public fun equals (Ljava/lang/Object;)Z + public fun getChatId ()Ldev/inmo/tgbotapi/types/ChatIdentifier; + public final fun getExcludeFromBlockchain ()Z + public final fun getExcludeLimitedNonUpgradable ()Z + public final fun getExcludeLimitedUpgradable ()Z + public final fun getExcludeSaved ()Z + public final fun getExcludeUnique ()Z + public final fun getExcludeUnlimited ()Z + public final fun getExcludeUnsaved ()Z + public final fun getLimit ()Ljava/lang/Integer; + public final fun getOffset ()Ljava/lang/String; + public fun getRequestSerializer ()Lkotlinx/serialization/SerializationStrategy; + public fun getResultDeserializer ()Lkotlinx/serialization/DeserializationStrategy; + public final fun getSortByPrice ()Z + public fun hashCode ()I + public fun method ()Ljava/lang/String; + public fun toString ()Ljava/lang/String; +} + +public final synthetic class dev/inmo/tgbotapi/requests/gifts/GetChatGifts$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Ldev/inmo/tgbotapi/requests/gifts/GetChatGifts$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/inmo/tgbotapi/requests/gifts/GetChatGifts; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Ldev/inmo/tgbotapi/requests/gifts/GetChatGifts;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class dev/inmo/tgbotapi/requests/gifts/GetChatGifts$Companion { + public final fun getResultSerializer ()Lkotlinx/serialization/KSerializer; + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class dev/inmo/tgbotapi/requests/gifts/GetUserGifts : dev/inmo/tgbotapi/requests/abstracts/SimpleRequest { + public static final field Companion Ldev/inmo/tgbotapi/requests/gifts/GetUserGifts$Companion; + public fun (Ldev/inmo/tgbotapi/types/IdChatIdentifier;ZZZZZZLjava/lang/String;Ljava/lang/Integer;)V + public synthetic fun (Ldev/inmo/tgbotapi/types/IdChatIdentifier;ZZZZZZLjava/lang/String;Ljava/lang/Integer;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Ldev/inmo/tgbotapi/types/IdChatIdentifier; + public final fun component2 ()Z + public final fun component3 ()Z + public final fun component4 ()Z + public final fun component5 ()Z + public final fun component6 ()Z + public final fun component7 ()Z + public final fun component8 ()Ljava/lang/String; + public final fun component9 ()Ljava/lang/Integer; + public final fun copy (Ldev/inmo/tgbotapi/types/IdChatIdentifier;ZZZZZZLjava/lang/String;Ljava/lang/Integer;)Ldev/inmo/tgbotapi/requests/gifts/GetUserGifts; + public static synthetic fun copy$default (Ldev/inmo/tgbotapi/requests/gifts/GetUserGifts;Ldev/inmo/tgbotapi/types/IdChatIdentifier;ZZZZZZLjava/lang/String;Ljava/lang/Integer;ILjava/lang/Object;)Ldev/inmo/tgbotapi/requests/gifts/GetUserGifts; + public fun equals (Ljava/lang/Object;)Z + public final fun getExcludeFromBlockchain ()Z + public final fun getExcludeLimitedNonUpgradable ()Z + public final fun getExcludeLimitedUpgradable ()Z + public final fun getExcludeUnique ()Z + public final fun getExcludeUnlimited ()Z + public final fun getLimit ()Ljava/lang/Integer; + public final fun getOffset ()Ljava/lang/String; + public fun getRequestSerializer ()Lkotlinx/serialization/SerializationStrategy; + public fun getResultDeserializer ()Lkotlinx/serialization/DeserializationStrategy; + public final fun getSortByPrice ()Z + public final fun getUserId ()Ldev/inmo/tgbotapi/types/IdChatIdentifier; + public fun hashCode ()I + public fun method ()Ljava/lang/String; + public fun toString ()Ljava/lang/String; +} + +public final synthetic class dev/inmo/tgbotapi/requests/gifts/GetUserGifts$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Ldev/inmo/tgbotapi/requests/gifts/GetUserGifts$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/inmo/tgbotapi/requests/gifts/GetUserGifts; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Ldev/inmo/tgbotapi/requests/gifts/GetUserGifts;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class dev/inmo/tgbotapi/requests/gifts/GetUserGifts$Companion { + public final fun getResultSerializer ()Lkotlinx/serialization/KSerializer; + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + public final class dev/inmo/tgbotapi/requests/gifts/GiftPremiumSubscription : dev/inmo/tgbotapi/abstracts/TextedOutput, dev/inmo/tgbotapi/requests/abstracts/SimpleRequest { public static final field Companion Ldev/inmo/tgbotapi/requests/gifts/GiftPremiumSubscription$Companion; - public synthetic fun (JIILjava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;Ljava/util/List;ILkotlin/jvm/internal/DefaultConstructorMarker;)V - public synthetic fun (JIILjava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;Lkotlin/jvm/internal/DefaultConstructorMarker;)V - public synthetic fun (JIILjava/util/List;ILkotlin/jvm/internal/DefaultConstructorMarker;)V - public synthetic fun (JIILjava/util/List;Lkotlin/jvm/internal/DefaultConstructorMarker;)V - public final fun component1-tHkBKVM ()J + public fun (Ldev/inmo/tgbotapi/types/IdChatIdentifier;IILjava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;)V + public fun (Ldev/inmo/tgbotapi/types/IdChatIdentifier;IILjava/util/List;)V + public synthetic fun (Ldev/inmo/tgbotapi/types/IdChatIdentifier;IILjava/util/List;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Ldev/inmo/tgbotapi/types/IdChatIdentifier; public final fun component2 ()I public final fun component3 ()I public final fun component4 ()Ljava/lang/String; @@ -5390,7 +5571,7 @@ public final class dev/inmo/tgbotapi/requests/gifts/GiftPremiumSubscription : de public final fun getStarCount ()I public fun getText ()Ljava/lang/String; public fun getTextSources ()Ljava/util/List; - public final fun getUserId-tHkBKVM ()J + public final fun getUserId ()Ldev/inmo/tgbotapi/types/IdChatIdentifier; public fun hashCode ()I public fun method ()Ljava/lang/String; public fun toString ()Ljava/lang/String; @@ -5413,12 +5594,12 @@ public final class dev/inmo/tgbotapi/requests/gifts/GiftPremiumSubscription$Comp public final class dev/inmo/tgbotapi/requests/gifts/SendGift : dev/inmo/tgbotapi/abstracts/TextedOutput, dev/inmo/tgbotapi/requests/abstracts/SimpleRequest { public static final field Companion Ldev/inmo/tgbotapi/requests/gifts/SendGift$Companion; - public synthetic fun (JLjava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;ZILkotlin/jvm/internal/DefaultConstructorMarker;)V - public synthetic fun (JLjava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;ZLkotlin/jvm/internal/DefaultConstructorMarker;)V - public synthetic fun (JLjava/lang/String;Ljava/util/List;ZILkotlin/jvm/internal/DefaultConstructorMarker;)V - public synthetic fun (JLjava/lang/String;Ljava/util/List;ZLkotlin/jvm/internal/DefaultConstructorMarker;)V - public synthetic fun (Ldev/inmo/tgbotapi/types/ChatId;Ldev/inmo/tgbotapi/types/ChatIdentifier;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;Ljava/util/List;ZILkotlin/jvm/internal/DefaultConstructorMarker;)V - public final fun component1-_eYXl24 ()Ldev/inmo/tgbotapi/types/ChatId; + public synthetic fun (Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/ChatIdentifier;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;Ljava/util/List;ZILkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;ZILkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;ZLkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;Ljava/util/List;ZILkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;Ljava/util/List;ZLkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Ldev/inmo/tgbotapi/types/IdChatIdentifier; public final fun component2 ()Ldev/inmo/tgbotapi/types/ChatIdentifier; public final fun component3-OyCYJok ()Ljava/lang/String; public final fun component4 ()Ljava/lang/String; @@ -5434,7 +5615,7 @@ public final class dev/inmo/tgbotapi/requests/gifts/SendGift : dev/inmo/tgbotapi public fun getText ()Ljava/lang/String; public fun getTextSources ()Ljava/util/List; public final fun getUpgradableToUnique ()Z - public final fun getUserId-_eYXl24 ()Ldev/inmo/tgbotapi/types/ChatId; + public final fun getUserId ()Ldev/inmo/tgbotapi/types/IdChatIdentifier; public fun hashCode ()I public fun method ()Ljava/lang/String; public fun toString ()Ljava/lang/String; @@ -5457,24 +5638,24 @@ public final class dev/inmo/tgbotapi/requests/gifts/SendGift$Companion { public static synthetic fun toChat-A6CMM0Q$default (Ldev/inmo/tgbotapi/requests/gifts/SendGift$Companion;Ldev/inmo/tgbotapi/types/ChatIdentifier;Ljava/lang/String;Ljava/util/List;ZILjava/lang/Object;)Ldev/inmo/tgbotapi/requests/gifts/SendGift; public final fun toChat-MXj3T_8 (Ldev/inmo/tgbotapi/types/ChatIdentifier;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;Z)Ldev/inmo/tgbotapi/requests/gifts/SendGift; public static synthetic fun toChat-MXj3T_8$default (Ldev/inmo/tgbotapi/requests/gifts/SendGift$Companion;Ldev/inmo/tgbotapi/types/ChatIdentifier;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;ZILjava/lang/Object;)Ldev/inmo/tgbotapi/requests/gifts/SendGift; - public final fun toUser-IEl38uo (JLjava/lang/String;Ljava/util/List;Z)Ldev/inmo/tgbotapi/requests/gifts/SendGift; - public static synthetic fun toUser-IEl38uo$default (Ldev/inmo/tgbotapi/requests/gifts/SendGift$Companion;JLjava/lang/String;Ljava/util/List;ZILjava/lang/Object;)Ldev/inmo/tgbotapi/requests/gifts/SendGift; - public final fun toUser-LbrZz8c (JLjava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;Z)Ldev/inmo/tgbotapi/requests/gifts/SendGift; - public static synthetic fun toUser-LbrZz8c$default (Ldev/inmo/tgbotapi/requests/gifts/SendGift$Companion;JLjava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;ZILjava/lang/Object;)Ldev/inmo/tgbotapi/requests/gifts/SendGift; + public final fun toUser-A6CMM0Q (Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;Ljava/util/List;Z)Ldev/inmo/tgbotapi/requests/gifts/SendGift; + public static synthetic fun toUser-A6CMM0Q$default (Ldev/inmo/tgbotapi/requests/gifts/SendGift$Companion;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;Ljava/util/List;ZILjava/lang/Object;)Ldev/inmo/tgbotapi/requests/gifts/SendGift; + public final fun toUser-MXj3T_8 (Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;Z)Ldev/inmo/tgbotapi/requests/gifts/SendGift; + public static synthetic fun toUser-MXj3T_8$default (Ldev/inmo/tgbotapi/requests/gifts/SendGift$Companion;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;ZILjava/lang/Object;)Ldev/inmo/tgbotapi/requests/gifts/SendGift; } public final class dev/inmo/tgbotapi/requests/inline/SavePreparedInlineMessage : dev/inmo/tgbotapi/requests/abstracts/SimpleRequest { public static final field Companion Ldev/inmo/tgbotapi/requests/inline/SavePreparedInlineMessage$Companion; - public synthetic fun (JLdev/inmo/tgbotapi/types/InlineQueries/InlineQueryResult/abstracts/InlineQueryResult;ZZZZILkotlin/jvm/internal/DefaultConstructorMarker;)V - public synthetic fun (JLdev/inmo/tgbotapi/types/InlineQueries/InlineQueryResult/abstracts/InlineQueryResult;ZZZZLkotlin/jvm/internal/DefaultConstructorMarker;)V - public final fun component1-tHkBKVM ()J + public fun (Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/InlineQueries/InlineQueryResult/abstracts/InlineQueryResult;ZZZZ)V + public synthetic fun (Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/InlineQueries/InlineQueryResult/abstracts/InlineQueryResult;ZZZZILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Ldev/inmo/tgbotapi/types/IdChatIdentifier; public final fun component2 ()Ldev/inmo/tgbotapi/types/InlineQueries/InlineQueryResult/abstracts/InlineQueryResult; public final fun component3 ()Z public final fun component4 ()Z public final fun component5 ()Z public final fun component6 ()Z - public final fun copy-hWD7qso (JLdev/inmo/tgbotapi/types/InlineQueries/InlineQueryResult/abstracts/InlineQueryResult;ZZZZ)Ldev/inmo/tgbotapi/requests/inline/SavePreparedInlineMessage; - public static synthetic fun copy-hWD7qso$default (Ldev/inmo/tgbotapi/requests/inline/SavePreparedInlineMessage;JLdev/inmo/tgbotapi/types/InlineQueries/InlineQueryResult/abstracts/InlineQueryResult;ZZZZILjava/lang/Object;)Ldev/inmo/tgbotapi/requests/inline/SavePreparedInlineMessage; + public final fun copy (Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/InlineQueries/InlineQueryResult/abstracts/InlineQueryResult;ZZZZ)Ldev/inmo/tgbotapi/requests/inline/SavePreparedInlineMessage; + public static synthetic fun copy$default (Ldev/inmo/tgbotapi/requests/inline/SavePreparedInlineMessage;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/InlineQueries/InlineQueryResult/abstracts/InlineQueryResult;ZZZZILjava/lang/Object;)Ldev/inmo/tgbotapi/requests/inline/SavePreparedInlineMessage; public fun equals (Ljava/lang/Object;)Z public final fun getAllowSendToBots ()Z public final fun getAllowSendToChannels ()Z @@ -5483,7 +5664,7 @@ public final class dev/inmo/tgbotapi/requests/inline/SavePreparedInlineMessage : public fun getRequestSerializer ()Lkotlinx/serialization/SerializationStrategy; public final fun getResult ()Ldev/inmo/tgbotapi/types/InlineQueries/InlineQueryResult/abstracts/InlineQueryResult; public fun getResultDeserializer ()Lkotlinx/serialization/DeserializationStrategy; - public final fun getUserId-tHkBKVM ()J + public final fun getUserId ()Ldev/inmo/tgbotapi/types/IdChatIdentifier; public fun hashCode ()I public fun method ()Ljava/lang/String; public fun toString ()Ljava/lang/String; @@ -5520,17 +5701,18 @@ public final class dev/inmo/tgbotapi/requests/local/LogOut : dev/inmo/tgbotapi/r public final fun serializer ()Lkotlinx/serialization/KSerializer; } -public final class dev/inmo/tgbotapi/requests/send/CopyMessage : dev/inmo/tgbotapi/abstracts/TextedOutput, dev/inmo/tgbotapi/abstracts/WithCustomStartMediaData, dev/inmo/tgbotapi/abstracts/types/MessageAction, dev/inmo/tgbotapi/abstracts/types/ProtectContent, dev/inmo/tgbotapi/requests/abstracts/SimpleRequest, dev/inmo/tgbotapi/requests/send/abstracts/OptionallyMessageThreadRequest, dev/inmo/tgbotapi/requests/send/abstracts/ReplyingMarkupSendMessageRequest, dev/inmo/tgbotapi/requests/send/abstracts/WithCustomizableCaptionRequest { +public final class dev/inmo/tgbotapi/requests/send/CopyMessage : dev/inmo/tgbotapi/abstracts/TextedOutput, dev/inmo/tgbotapi/abstracts/WithCustomStartMediaData, dev/inmo/tgbotapi/abstracts/types/MessageAction, dev/inmo/tgbotapi/abstracts/types/OptionallyWithEffectId, dev/inmo/tgbotapi/abstracts/types/ProtectContent, dev/inmo/tgbotapi/requests/abstracts/SimpleRequest, dev/inmo/tgbotapi/requests/send/abstracts/OptionallyMessageThreadRequest, dev/inmo/tgbotapi/requests/send/abstracts/ReplyingMarkupSendMessageRequest, dev/inmo/tgbotapi/requests/send/abstracts/WithCustomizableCaptionRequest { public static final field Companion Ldev/inmo/tgbotapi/requests/send/CopyMessage$Companion; - public synthetic fun (Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/ChatIdentifier;JLjava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;Ljava/util/List;ZLdev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/Integer;ZZZLdev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ldev/inmo/tgbotapi/types/ReplyParameters;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/ChatIdentifier;JLjava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;Ljava/util/List;ZLdev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/Integer;ZZZLjava/lang/String;Ldev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ldev/inmo/tgbotapi/types/ReplyParameters;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;ILkotlin/jvm/internal/DefaultConstructorMarker;)V public final fun component1 ()Ldev/inmo/tgbotapi/types/ChatIdentifier; public final fun component10 ()Ljava/lang/Integer; public final fun component11 ()Z public final fun component12 ()Z public final fun component13 ()Z - public final fun component14 ()Ldev/inmo/tgbotapi/types/message/SuggestedPostParameters; - public final fun component15 ()Ldev/inmo/tgbotapi/types/ReplyParameters; - public final fun component16 ()Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup; + public final fun component14-Ts0V7ak ()Ljava/lang/String; + public final fun component15 ()Ldev/inmo/tgbotapi/types/message/SuggestedPostParameters; + public final fun component16 ()Ldev/inmo/tgbotapi/types/ReplyParameters; + public final fun component17 ()Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup; public final fun component2 ()Ldev/inmo/tgbotapi/types/ChatIdentifier; public final fun component3-APLFQys ()J public final fun component4 ()Ljava/lang/String; @@ -5544,6 +5726,7 @@ public final class dev/inmo/tgbotapi/requests/send/CopyMessage : dev/inmo/tgbota public fun getChatId ()Ldev/inmo/tgbotapi/types/ChatIdentifier; public fun getDirectMessageThreadId-1osv_qQ ()Ldev/inmo/tgbotapi/types/DirectMessageThreadId; public fun getDisableNotification ()Z + public fun getEffectId-Ts0V7ak ()Ljava/lang/String; public fun getEntities ()Ljava/util/List; public final fun getFromChatId ()Ldev/inmo/tgbotapi/types/ChatIdentifier; public fun getMessageId-APLFQys ()J @@ -5583,10 +5766,10 @@ public final class dev/inmo/tgbotapi/requests/send/CopyMessage$Companion { public final class dev/inmo/tgbotapi/requests/send/CopyMessageKt { public static final field OrderChangingDeprecationWarn Ljava/lang/String; - public static final fun CopyMessage-GxPw2Kk (Ldev/inmo/tgbotapi/types/ChatIdentifier;JLdev/inmo/tgbotapi/types/ChatIdentifier;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;ZLdev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/Integer;ZZZLdev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ldev/inmo/tgbotapi/types/ReplyParameters;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;)Ldev/inmo/tgbotapi/requests/send/CopyMessage; - public static synthetic fun CopyMessage-GxPw2Kk$default (Ldev/inmo/tgbotapi/types/ChatIdentifier;JLdev/inmo/tgbotapi/types/ChatIdentifier;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;ZLdev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/Integer;ZZZLdev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ldev/inmo/tgbotapi/types/ReplyParameters;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;ILjava/lang/Object;)Ldev/inmo/tgbotapi/requests/send/CopyMessage; - public static final fun CopyMessage-VJkjCHU (Ldev/inmo/tgbotapi/types/ChatIdentifier;JLdev/inmo/tgbotapi/types/ChatIdentifier;Ljava/util/List;ZLdev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/Integer;ZZZLdev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ldev/inmo/tgbotapi/types/ReplyParameters;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;)Ldev/inmo/tgbotapi/requests/send/CopyMessage; - public static synthetic fun CopyMessage-VJkjCHU$default (Ldev/inmo/tgbotapi/types/ChatIdentifier;JLdev/inmo/tgbotapi/types/ChatIdentifier;Ljava/util/List;ZLdev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/Integer;ZZZLdev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ldev/inmo/tgbotapi/types/ReplyParameters;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;ILjava/lang/Object;)Ldev/inmo/tgbotapi/requests/send/CopyMessage; + public static final fun CopyMessage-4IZ-DEY (Ldev/inmo/tgbotapi/types/ChatIdentifier;JLdev/inmo/tgbotapi/types/ChatIdentifier;Ljava/util/List;ZLdev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/Integer;ZZZLjava/lang/String;Ldev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ldev/inmo/tgbotapi/types/ReplyParameters;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;)Ldev/inmo/tgbotapi/requests/send/CopyMessage; + public static synthetic fun CopyMessage-4IZ-DEY$default (Ldev/inmo/tgbotapi/types/ChatIdentifier;JLdev/inmo/tgbotapi/types/ChatIdentifier;Ljava/util/List;ZLdev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/Integer;ZZZLjava/lang/String;Ldev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ldev/inmo/tgbotapi/types/ReplyParameters;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;ILjava/lang/Object;)Ldev/inmo/tgbotapi/requests/send/CopyMessage; + public static final fun CopyMessage-DGdkJa8 (Ldev/inmo/tgbotapi/types/ChatIdentifier;JLdev/inmo/tgbotapi/types/ChatIdentifier;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;ZLdev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/Integer;ZZZLjava/lang/String;Ldev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ldev/inmo/tgbotapi/types/ReplyParameters;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;)Ldev/inmo/tgbotapi/requests/send/CopyMessage; + public static synthetic fun CopyMessage-DGdkJa8$default (Ldev/inmo/tgbotapi/types/ChatIdentifier;JLdev/inmo/tgbotapi/types/ChatIdentifier;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;ZLdev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/Integer;ZZZLjava/lang/String;Ldev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ldev/inmo/tgbotapi/types/ReplyParameters;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;ILjava/lang/Object;)Ldev/inmo/tgbotapi/requests/send/CopyMessage; } public final class dev/inmo/tgbotapi/requests/send/CopyMessages : dev/inmo/tgbotapi/abstracts/types/DisableNotification, dev/inmo/tgbotapi/abstracts/types/MessagesAction, dev/inmo/tgbotapi/abstracts/types/ProtectContent, dev/inmo/tgbotapi/requests/abstracts/SimpleRequest, dev/inmo/tgbotapi/requests/send/abstracts/OptionallyDirectMessageThreadRequest, dev/inmo/tgbotapi/requests/send/abstracts/OptionallyMessageThreadRequest { @@ -6001,6 +6184,52 @@ public final class dev/inmo/tgbotapi/requests/send/SendLocationKt { public static synthetic fun SendStaticLocation-CbXiHO4$default (Ldev/inmo/tgbotapi/types/ChatIdentifier;DDLdev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/String;ZZZLjava/lang/String;Ldev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ldev/inmo/tgbotapi/types/ReplyParameters;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;ILjava/lang/Object;)Ldev/inmo/tgbotapi/requests/send/SendLocation$Static; } +public final class dev/inmo/tgbotapi/requests/send/SendMessageDraft : dev/inmo/tgbotapi/abstracts/TextedOutput, dev/inmo/tgbotapi/requests/send/abstracts/OptionallyMessageThreadRequest, dev/inmo/tgbotapi/requests/send/abstracts/SendChatMessageRequest { + public static final field Companion Ldev/inmo/tgbotapi/requests/send/SendMessageDraft$Companion; + public synthetic fun (Ldev/inmo/tgbotapi/types/IdChatIdentifier;JLjava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;Ljava/util/List;Ldev/inmo/tgbotapi/types/MessageThreadId;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Ldev/inmo/tgbotapi/types/IdChatIdentifier; + public final fun component2-12UPeIw ()J + public final fun component3 ()Ljava/lang/String; + public final fun component4 ()Ldev/inmo/tgbotapi/types/message/ParseMode; + public final fun component6-S3HF-10 ()Ldev/inmo/tgbotapi/types/MessageThreadId; + public fun equals (Ljava/lang/Object;)Z + public synthetic fun getChatId ()Ldev/inmo/tgbotapi/types/ChatIdentifier; + public fun getChatId ()Ldev/inmo/tgbotapi/types/IdChatIdentifier; + public final fun getDraftId-12UPeIw ()J + public fun getEntities ()Ljava/util/List; + public fun getParseMode ()Ldev/inmo/tgbotapi/types/message/ParseMode; + public fun getRequestSerializer ()Lkotlinx/serialization/SerializationStrategy; + public fun getResultDeserializer ()Lkotlinx/serialization/DeserializationStrategy; + public fun getText ()Ljava/lang/String; + public fun getTextSources ()Ljava/util/List; + public fun getThreadId-S3HF-10 ()Ldev/inmo/tgbotapi/types/MessageThreadId; + public fun hashCode ()I + public fun method ()Ljava/lang/String; + public fun toString ()Ljava/lang/String; +} + +public final synthetic class dev/inmo/tgbotapi/requests/send/SendMessageDraft$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Ldev/inmo/tgbotapi/requests/send/SendMessageDraft$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/inmo/tgbotapi/requests/send/SendMessageDraft; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Ldev/inmo/tgbotapi/requests/send/SendMessageDraft;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class dev/inmo/tgbotapi/requests/send/SendMessageDraft$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class dev/inmo/tgbotapi/requests/send/SendMessageDraftKt { + public static final fun SendMessageDraft-r0NzpGw (Ldev/inmo/tgbotapi/types/IdChatIdentifier;JLjava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;Ldev/inmo/tgbotapi/types/MessageThreadId;)Ldev/inmo/tgbotapi/requests/send/SendMessageDraft; + public static synthetic fun SendMessageDraft-r0NzpGw$default (Ldev/inmo/tgbotapi/types/IdChatIdentifier;JLjava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;Ldev/inmo/tgbotapi/types/MessageThreadId;ILjava/lang/Object;)Ldev/inmo/tgbotapi/requests/send/SendMessageDraft; + public static final fun SendMessageDraft-u22-530 (Ldev/inmo/tgbotapi/types/IdChatIdentifier;JLjava/util/List;Ldev/inmo/tgbotapi/types/MessageThreadId;)Ldev/inmo/tgbotapi/requests/send/SendMessageDraft; + public static synthetic fun SendMessageDraft-u22-530$default (Ldev/inmo/tgbotapi/types/IdChatIdentifier;JLjava/util/List;Ldev/inmo/tgbotapi/types/MessageThreadId;ILjava/lang/Object;)Ldev/inmo/tgbotapi/requests/send/SendMessageDraft; +} + public final class dev/inmo/tgbotapi/requests/send/SendMessageKt { public static final fun SendTextMessage-8a9pvUw (Ldev/inmo/tgbotapi/types/ChatIdentifier;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;Ldev/inmo/tgbotapi/types/LinkPreviewOptions;Ldev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/String;ZZZLjava/lang/String;Ldev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ldev/inmo/tgbotapi/types/ReplyParameters;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;)Ldev/inmo/tgbotapi/requests/send/SendTextMessage; public static synthetic fun SendTextMessage-8a9pvUw$default (Ldev/inmo/tgbotapi/types/ChatIdentifier;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;Ldev/inmo/tgbotapi/types/LinkPreviewOptions;Ldev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/String;ZZZLjava/lang/String;Ldev/inmo/tgbotapi/types/message/SuggestedPostParameters;Ldev/inmo/tgbotapi/types/ReplyParameters;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;ILjava/lang/Object;)Ldev/inmo/tgbotapi/requests/send/SendTextMessage; @@ -7560,16 +7789,16 @@ public final class dev/inmo/tgbotapi/requests/send/payments/CreateInvoiceLink$Co public final class dev/inmo/tgbotapi/requests/send/payments/RefundStarPayment : dev/inmo/tgbotapi/requests/abstracts/SimpleRequest { public static final field Companion Ldev/inmo/tgbotapi/requests/send/payments/RefundStarPayment$Companion; - public synthetic fun (JLjava/lang/String;Lkotlin/jvm/internal/DefaultConstructorMarker;)V - public final fun component1-tHkBKVM ()J + public synthetic fun (Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;Lkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Ldev/inmo/tgbotapi/types/IdChatIdentifier; public final fun component2-voYifgM ()Ljava/lang/String; - public final fun copy-dFZiND4 (JLjava/lang/String;)Ldev/inmo/tgbotapi/requests/send/payments/RefundStarPayment; - public static synthetic fun copy-dFZiND4$default (Ldev/inmo/tgbotapi/requests/send/payments/RefundStarPayment;JLjava/lang/String;ILjava/lang/Object;)Ldev/inmo/tgbotapi/requests/send/payments/RefundStarPayment; + public final fun copy-7oLT8Ig (Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;)Ldev/inmo/tgbotapi/requests/send/payments/RefundStarPayment; + public static synthetic fun copy-7oLT8Ig$default (Ldev/inmo/tgbotapi/requests/send/payments/RefundStarPayment;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;ILjava/lang/Object;)Ldev/inmo/tgbotapi/requests/send/payments/RefundStarPayment; public fun equals (Ljava/lang/Object;)Z public fun getRequestSerializer ()Lkotlinx/serialization/SerializationStrategy; public fun getResultDeserializer ()Lkotlinx/serialization/DeserializationStrategy; public final fun getTelegramPaymentChargeId-voYifgM ()Ljava/lang/String; - public final fun getUserId-tHkBKVM ()J + public final fun getUserId ()Ldev/inmo/tgbotapi/types/IdChatIdentifier; public fun hashCode ()I public fun method ()Ljava/lang/String; public fun toString ()Ljava/lang/String; @@ -7828,19 +8057,19 @@ public final class dev/inmo/tgbotapi/requests/send/polls/SendRegularPollKt { public final class dev/inmo/tgbotapi/requests/set/SetUserEmojiStatus : dev/inmo/tgbotapi/requests/abstracts/SimpleRequest { public static final field Companion Ldev/inmo/tgbotapi/requests/set/SetUserEmojiStatus$Companion; - public synthetic fun (JLjava/lang/String;Ldev/inmo/tgbotapi/types/TelegramDate;ILkotlin/jvm/internal/DefaultConstructorMarker;)V - public synthetic fun (JLjava/lang/String;Ldev/inmo/tgbotapi/types/TelegramDate;Lkotlin/jvm/internal/DefaultConstructorMarker;)V - public final fun component1-tHkBKVM ()J + public synthetic fun (Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;Ldev/inmo/tgbotapi/types/TelegramDate;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;Ldev/inmo/tgbotapi/types/TelegramDate;Lkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Ldev/inmo/tgbotapi/types/IdChatIdentifier; public final fun component2-dDnjveI ()Ljava/lang/String; public final fun component3 ()Ldev/inmo/tgbotapi/types/TelegramDate; - public final fun copy-ydfbW08 (JLjava/lang/String;Ldev/inmo/tgbotapi/types/TelegramDate;)Ldev/inmo/tgbotapi/requests/set/SetUserEmojiStatus; - public static synthetic fun copy-ydfbW08$default (Ldev/inmo/tgbotapi/requests/set/SetUserEmojiStatus;JLjava/lang/String;Ldev/inmo/tgbotapi/types/TelegramDate;ILjava/lang/Object;)Ldev/inmo/tgbotapi/requests/set/SetUserEmojiStatus; + public final fun copy-fRZnA7w (Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;Ldev/inmo/tgbotapi/types/TelegramDate;)Ldev/inmo/tgbotapi/requests/set/SetUserEmojiStatus; + public static synthetic fun copy-fRZnA7w$default (Ldev/inmo/tgbotapi/requests/set/SetUserEmojiStatus;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;Ldev/inmo/tgbotapi/types/TelegramDate;ILjava/lang/Object;)Ldev/inmo/tgbotapi/requests/set/SetUserEmojiStatus; public fun equals (Ljava/lang/Object;)Z public final fun getCustomEmojiId-dDnjveI ()Ljava/lang/String; public final fun getExpirationDate ()Ldev/inmo/tgbotapi/types/TelegramDate; public fun getRequestSerializer ()Lkotlinx/serialization/SerializationStrategy; public fun getResultDeserializer ()Lkotlinx/serialization/DeserializationStrategy; - public final fun getUserId-tHkBKVM ()J + public final fun getUserId ()Ldev/inmo/tgbotapi/types/IdChatIdentifier; public fun hashCode ()I public fun method ()Ljava/lang/String; public fun toString ()Ljava/lang/String; @@ -7863,7 +8092,7 @@ public final class dev/inmo/tgbotapi/requests/set/SetUserEmojiStatus$Companion { public final class dev/inmo/tgbotapi/requests/stickers/AddStickerToSetData : dev/inmo/tgbotapi/requests/stickers/abstracts/StandardStickerSetAction { public static final field Companion Ldev/inmo/tgbotapi/requests/stickers/AddStickerToSetData$Companion; - public final fun component1-tHkBKVM ()J + public final fun component1 ()Ldev/inmo/tgbotapi/types/IdChatIdentifier; public final fun component2-KVV53SM ()Ljava/lang/String; public final fun component3 ()Ldev/inmo/tgbotapi/requests/stickers/InputSticker; public fun equals (Ljava/lang/Object;)Z @@ -7872,7 +8101,7 @@ public final class dev/inmo/tgbotapi/requests/stickers/AddStickerToSetData : dev public fun getRequestSerializer ()Lkotlinx/serialization/SerializationStrategy; public synthetic fun getResultDeserializer ()Lkotlinx/serialization/DeserializationStrategy; public fun getResultDeserializer ()Lkotlinx/serialization/KSerializer; - public fun getUserId-tHkBKVM ()J + public fun getUserId ()Ldev/inmo/tgbotapi/types/IdChatIdentifier; public fun hashCode ()I public fun method ()Ljava/lang/String; public fun toString ()Ljava/lang/String; @@ -7894,8 +8123,8 @@ public final class dev/inmo/tgbotapi/requests/stickers/AddStickerToSetData$Compa } public final class dev/inmo/tgbotapi/requests/stickers/AddStickerToSetKt { - public static final fun AddStickerToSet-FKW6xZo (JLjava/lang/String;Ldev/inmo/tgbotapi/requests/stickers/InputSticker;)Ldev/inmo/tgbotapi/requests/abstracts/Request; - public static final fun AddStickerToSet-pU7KfLc (JLjava/lang/String;Ldev/inmo/tgbotapi/requests/stickers/InputSticker;)Ldev/inmo/tgbotapi/requests/abstracts/Request; + public static final fun AddStickerToSet (Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;Ldev/inmo/tgbotapi/requests/stickers/InputSticker;)Ldev/inmo/tgbotapi/requests/abstracts/Request; + public static final fun AddStickerToSet-ES61iX4 (Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;Ldev/inmo/tgbotapi/requests/stickers/InputSticker;)Ldev/inmo/tgbotapi/requests/abstracts/Request; } public abstract interface class dev/inmo/tgbotapi/requests/stickers/CreateNewStickerSet : dev/inmo/tgbotapi/requests/stickers/abstracts/CreateStickerSetAction { @@ -7912,15 +8141,15 @@ public final class dev/inmo/tgbotapi/requests/stickers/CreateNewStickerSet$Compa public final class dev/inmo/tgbotapi/requests/stickers/CreateNewStickerSet$CustomEmoji : dev/inmo/tgbotapi/requests/stickers/CreateNewStickerSet { public static final field Companion Ldev/inmo/tgbotapi/requests/stickers/CreateNewStickerSet$CustomEmoji$Companion; - public synthetic fun (JLjava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/lang/Boolean;ILkotlin/jvm/internal/DefaultConstructorMarker;)V - public synthetic fun (JLjava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/lang/Boolean;Lkotlin/jvm/internal/DefaultConstructorMarker;)V - public final fun component1-tHkBKVM ()J + public synthetic fun (Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/lang/Boolean;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/lang/Boolean;Lkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Ldev/inmo/tgbotapi/types/IdChatIdentifier; public final fun component2-KVV53SM ()Ljava/lang/String; public final fun component3 ()Ljava/lang/String; public final fun component4 ()Ljava/util/List; public final fun component5 ()Ljava/lang/Boolean; - public final fun copy-Gi-IyR8 (JLjava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/lang/Boolean;)Ldev/inmo/tgbotapi/requests/stickers/CreateNewStickerSet$CustomEmoji; - public static synthetic fun copy-Gi-IyR8$default (Ldev/inmo/tgbotapi/requests/stickers/CreateNewStickerSet$CustomEmoji;JLjava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/lang/Boolean;ILjava/lang/Object;)Ldev/inmo/tgbotapi/requests/stickers/CreateNewStickerSet$CustomEmoji; + public final fun copy--wqnU0w (Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/lang/Boolean;)Ldev/inmo/tgbotapi/requests/stickers/CreateNewStickerSet$CustomEmoji; + public static synthetic fun copy--wqnU0w$default (Ldev/inmo/tgbotapi/requests/stickers/CreateNewStickerSet$CustomEmoji;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/lang/Boolean;ILjava/lang/Object;)Ldev/inmo/tgbotapi/requests/stickers/CreateNewStickerSet$CustomEmoji; public fun equals (Ljava/lang/Object;)Z public fun getName-KVV53SM ()Ljava/lang/String; public final fun getNeedsRepainting ()Ljava/lang/Boolean; @@ -7930,7 +8159,7 @@ public final class dev/inmo/tgbotapi/requests/stickers/CreateNewStickerSet$Custo public fun getStickerType ()Ldev/inmo/tgbotapi/types/StickerType; public fun getStickers ()Ljava/util/List; public fun getTitle ()Ljava/lang/String; - public fun getUserId-tHkBKVM ()J + public fun getUserId ()Ldev/inmo/tgbotapi/types/IdChatIdentifier; public fun hashCode ()I public fun method ()Ljava/lang/String; public fun toString ()Ljava/lang/String; @@ -7959,13 +8188,13 @@ public final class dev/inmo/tgbotapi/requests/stickers/CreateNewStickerSet$Defau public final class dev/inmo/tgbotapi/requests/stickers/CreateNewStickerSet$Mask : dev/inmo/tgbotapi/requests/stickers/CreateNewStickerSet { public static final field Companion Ldev/inmo/tgbotapi/requests/stickers/CreateNewStickerSet$Mask$Companion; - public synthetic fun (JLjava/lang/String;Ljava/lang/String;Ljava/util/List;Lkotlin/jvm/internal/DefaultConstructorMarker;)V - public final fun component1-tHkBKVM ()J + public synthetic fun (Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Lkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Ldev/inmo/tgbotapi/types/IdChatIdentifier; public final fun component2-KVV53SM ()Ljava/lang/String; public final fun component3 ()Ljava/lang/String; public final fun component4 ()Ljava/util/List; - public final fun copy-ekB4Uzg (JLjava/lang/String;Ljava/lang/String;Ljava/util/List;)Ldev/inmo/tgbotapi/requests/stickers/CreateNewStickerSet$Mask; - public static synthetic fun copy-ekB4Uzg$default (Ldev/inmo/tgbotapi/requests/stickers/CreateNewStickerSet$Mask;JLjava/lang/String;Ljava/lang/String;Ljava/util/List;ILjava/lang/Object;)Ldev/inmo/tgbotapi/requests/stickers/CreateNewStickerSet$Mask; + public final fun copy-lAFa-4c (Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;)Ldev/inmo/tgbotapi/requests/stickers/CreateNewStickerSet$Mask; + public static synthetic fun copy-lAFa-4c$default (Ldev/inmo/tgbotapi/requests/stickers/CreateNewStickerSet$Mask;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;ILjava/lang/Object;)Ldev/inmo/tgbotapi/requests/stickers/CreateNewStickerSet$Mask; public fun equals (Ljava/lang/Object;)Z public fun getName-KVV53SM ()Ljava/lang/String; public fun getRequestSerializer ()Lkotlinx/serialization/SerializationStrategy; @@ -7974,7 +8203,7 @@ public final class dev/inmo/tgbotapi/requests/stickers/CreateNewStickerSet$Mask public fun getStickerType ()Ldev/inmo/tgbotapi/types/StickerType; public fun getStickers ()Ljava/util/List; public fun getTitle ()Ljava/lang/String; - public fun getUserId-tHkBKVM ()J + public fun getUserId ()Ldev/inmo/tgbotapi/types/IdChatIdentifier; public fun hashCode ()I public fun method ()Ljava/lang/String; public fun toString ()Ljava/lang/String; @@ -7997,13 +8226,13 @@ public final class dev/inmo/tgbotapi/requests/stickers/CreateNewStickerSet$Mask$ public final class dev/inmo/tgbotapi/requests/stickers/CreateNewStickerSet$Regular : dev/inmo/tgbotapi/requests/stickers/CreateNewStickerSet { public static final field Companion Ldev/inmo/tgbotapi/requests/stickers/CreateNewStickerSet$Regular$Companion; - public synthetic fun (JLjava/lang/String;Ljava/lang/String;Ljava/util/List;Lkotlin/jvm/internal/DefaultConstructorMarker;)V - public final fun component1-tHkBKVM ()J + public synthetic fun (Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Lkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Ldev/inmo/tgbotapi/types/IdChatIdentifier; public final fun component2-KVV53SM ()Ljava/lang/String; public final fun component3 ()Ljava/lang/String; public final fun component4 ()Ljava/util/List; - public final fun copy-ekB4Uzg (JLjava/lang/String;Ljava/lang/String;Ljava/util/List;)Ldev/inmo/tgbotapi/requests/stickers/CreateNewStickerSet$Regular; - public static synthetic fun copy-ekB4Uzg$default (Ldev/inmo/tgbotapi/requests/stickers/CreateNewStickerSet$Regular;JLjava/lang/String;Ljava/lang/String;Ljava/util/List;ILjava/lang/Object;)Ldev/inmo/tgbotapi/requests/stickers/CreateNewStickerSet$Regular; + public final fun copy-lAFa-4c (Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;)Ldev/inmo/tgbotapi/requests/stickers/CreateNewStickerSet$Regular; + public static synthetic fun copy-lAFa-4c$default (Ldev/inmo/tgbotapi/requests/stickers/CreateNewStickerSet$Regular;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;ILjava/lang/Object;)Ldev/inmo/tgbotapi/requests/stickers/CreateNewStickerSet$Regular; public fun equals (Ljava/lang/Object;)Z public fun getName-KVV53SM ()Ljava/lang/String; public fun getRequestSerializer ()Lkotlinx/serialization/SerializationStrategy; @@ -8012,7 +8241,7 @@ public final class dev/inmo/tgbotapi/requests/stickers/CreateNewStickerSet$Regul public fun getStickerType ()Ldev/inmo/tgbotapi/types/StickerType; public fun getStickers ()Ljava/util/List; public fun getTitle ()Ljava/lang/String; - public fun getUserId-tHkBKVM ()J + public fun getUserId ()Ldev/inmo/tgbotapi/types/IdChatIdentifier; public fun hashCode ()I public fun method ()Ljava/lang/String; public fun toString ()Ljava/lang/String; @@ -8035,8 +8264,8 @@ public final class dev/inmo/tgbotapi/requests/stickers/CreateNewStickerSet$Regul public final class dev/inmo/tgbotapi/requests/stickers/CreateNewStickerSet$SurrogateCreateNewSticker : dev/inmo/tgbotapi/requests/stickers/abstracts/CreateStickerSetAction { public static final field Companion Ldev/inmo/tgbotapi/requests/stickers/CreateNewStickerSet$SurrogateCreateNewSticker$Companion; - public synthetic fun (JLjava/lang/String;Ljava/lang/String;Ljava/util/List;Ldev/inmo/tgbotapi/types/StickerType;Ljava/lang/Boolean;ILkotlin/jvm/internal/DefaultConstructorMarker;)V - public final fun component1-tHkBKVM ()J + public synthetic fun (Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ldev/inmo/tgbotapi/types/StickerType;Ljava/lang/Boolean;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Ldev/inmo/tgbotapi/types/IdChatIdentifier; public final fun component2-KVV53SM ()Ljava/lang/String; public final fun component3 ()Ljava/lang/String; public final fun component4 ()Ljava/util/List; @@ -8051,7 +8280,7 @@ public final class dev/inmo/tgbotapi/requests/stickers/CreateNewStickerSet$Surro public final fun getStickerType ()Ldev/inmo/tgbotapi/types/StickerType; public final fun getStickers ()Ljava/util/List; public fun getTitle ()Ljava/lang/String; - public fun getUserId-tHkBKVM ()J + public fun getUserId ()Ldev/inmo/tgbotapi/types/IdChatIdentifier; public fun hashCode ()I public fun method ()Ljava/lang/String; public fun toString ()Ljava/lang/String; @@ -8073,10 +8302,10 @@ public final class dev/inmo/tgbotapi/requests/stickers/CreateNewStickerSet$Surro } public final class dev/inmo/tgbotapi/requests/stickers/CreateNewStickerSetKt { - public static final fun CreateNewStickerSet-5pON0JU (JLjava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/lang/Boolean;)Ldev/inmo/tgbotapi/requests/abstracts/Request; - public static synthetic fun CreateNewStickerSet-5pON0JU$default (JLjava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/lang/Boolean;ILjava/lang/Object;)Ldev/inmo/tgbotapi/requests/abstracts/Request; - public static final fun CreateNewStickerSet-Gi-IyR8 (JLjava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/lang/Boolean;)Ldev/inmo/tgbotapi/requests/abstracts/Request; - public static synthetic fun CreateNewStickerSet-Gi-IyR8$default (JLjava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/lang/Boolean;ILjava/lang/Object;)Ldev/inmo/tgbotapi/requests/abstracts/Request; + public static final fun CreateNewStickerSet (Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/lang/Boolean;)Ldev/inmo/tgbotapi/requests/abstracts/Request; + public static synthetic fun CreateNewStickerSet$default (Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/lang/Boolean;ILjava/lang/Object;)Ldev/inmo/tgbotapi/requests/abstracts/Request; + public static final fun CreateNewStickerSet--wqnU0w (Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/lang/Boolean;)Ldev/inmo/tgbotapi/requests/abstracts/Request; + public static synthetic fun CreateNewStickerSet--wqnU0w$default (Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/lang/Boolean;ILjava/lang/Object;)Ldev/inmo/tgbotapi/requests/abstracts/Request; } public final class dev/inmo/tgbotapi/requests/stickers/CreateNewStickerSetSerializer : dev/inmo/micro_utils/serialization/mapper/MapperSerializer, kotlinx/serialization/KSerializer { @@ -8301,7 +8530,7 @@ public final class dev/inmo/tgbotapi/requests/stickers/InputStickerSerializer$Su public final class dev/inmo/tgbotapi/requests/stickers/ReplaceStickerInSetData : dev/inmo/tgbotapi/requests/stickers/abstracts/StandardStickerSetAction { public static final field Companion Ldev/inmo/tgbotapi/requests/stickers/ReplaceStickerInSetData$Companion; - public final fun component1-tHkBKVM ()J + public final fun component1 ()Ldev/inmo/tgbotapi/types/IdChatIdentifier; public final fun component2-KVV53SM ()Ljava/lang/String; public final fun component3 ()Ldev/inmo/tgbotapi/requests/abstracts/FileId; public final fun component4 ()Ldev/inmo/tgbotapi/requests/stickers/InputSticker; @@ -8312,7 +8541,7 @@ public final class dev/inmo/tgbotapi/requests/stickers/ReplaceStickerInSetData : public fun getRequestSerializer ()Lkotlinx/serialization/SerializationStrategy; public synthetic fun getResultDeserializer ()Lkotlinx/serialization/DeserializationStrategy; public fun getResultDeserializer ()Lkotlinx/serialization/KSerializer; - public fun getUserId-tHkBKVM ()J + public fun getUserId ()Ldev/inmo/tgbotapi/types/IdChatIdentifier; public fun hashCode ()I public fun method ()Ljava/lang/String; public fun toString ()Ljava/lang/String; @@ -8334,8 +8563,8 @@ public final class dev/inmo/tgbotapi/requests/stickers/ReplaceStickerInSetData$C } public final class dev/inmo/tgbotapi/requests/stickers/ReplaceStickerInSetKt { - public static final fun ReplaceStickerInSet-OJAeTto (JLjava/lang/String;Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ldev/inmo/tgbotapi/requests/stickers/InputSticker;)Ldev/inmo/tgbotapi/requests/abstracts/Request; - public static final fun ReplaceStickerInSet-ekB4Uzg (JLjava/lang/String;Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ldev/inmo/tgbotapi/requests/stickers/InputSticker;)Ldev/inmo/tgbotapi/requests/abstracts/Request; + public static final fun ReplaceStickerInSet (Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ldev/inmo/tgbotapi/requests/stickers/InputSticker;)Ldev/inmo/tgbotapi/requests/abstracts/Request; + public static final fun ReplaceStickerInSet-lAFa-4c (Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ldev/inmo/tgbotapi/requests/stickers/InputSticker;)Ldev/inmo/tgbotapi/requests/abstracts/Request; } public final class dev/inmo/tgbotapi/requests/stickers/SetCustomEmojiStickerSetThumbnail : dev/inmo/tgbotapi/requests/stickers/abstracts/StickerSetAction { @@ -8503,14 +8732,14 @@ public final class dev/inmo/tgbotapi/requests/stickers/SetStickerPositionInSet$C public final class dev/inmo/tgbotapi/requests/stickers/SetStickerSetThumbnail : dev/inmo/tgbotapi/requests/stickers/abstracts/OwnerStickerSetAction { public static final field Companion Ldev/inmo/tgbotapi/requests/stickers/SetStickerSetThumbnail$Companion; - public synthetic fun (JLjava/lang/String;Ldev/inmo/tgbotapi/types/StickerFormat;Ldev/inmo/tgbotapi/requests/abstracts/FileId;ILkotlin/jvm/internal/DefaultConstructorMarker;)V - public synthetic fun (JLjava/lang/String;Ldev/inmo/tgbotapi/types/StickerFormat;Ldev/inmo/tgbotapi/requests/abstracts/FileId;Lkotlin/jvm/internal/DefaultConstructorMarker;)V - public final fun component1-tHkBKVM ()J + public synthetic fun (Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;Ldev/inmo/tgbotapi/types/StickerFormat;Ldev/inmo/tgbotapi/requests/abstracts/FileId;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;Ldev/inmo/tgbotapi/types/StickerFormat;Ldev/inmo/tgbotapi/requests/abstracts/FileId;Lkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Ldev/inmo/tgbotapi/types/IdChatIdentifier; public final fun component2-KVV53SM ()Ljava/lang/String; public final fun component3 ()Ldev/inmo/tgbotapi/types/StickerFormat; public final fun component4 ()Ldev/inmo/tgbotapi/requests/abstracts/FileId; - public final fun copy-ekB4Uzg (JLjava/lang/String;Ldev/inmo/tgbotapi/types/StickerFormat;Ldev/inmo/tgbotapi/requests/abstracts/FileId;)Ldev/inmo/tgbotapi/requests/stickers/SetStickerSetThumbnail; - public static synthetic fun copy-ekB4Uzg$default (Ldev/inmo/tgbotapi/requests/stickers/SetStickerSetThumbnail;JLjava/lang/String;Ldev/inmo/tgbotapi/types/StickerFormat;Ldev/inmo/tgbotapi/requests/abstracts/FileId;ILjava/lang/Object;)Ldev/inmo/tgbotapi/requests/stickers/SetStickerSetThumbnail; + public final fun copy-lAFa-4c (Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;Ldev/inmo/tgbotapi/types/StickerFormat;Ldev/inmo/tgbotapi/requests/abstracts/FileId;)Ldev/inmo/tgbotapi/requests/stickers/SetStickerSetThumbnail; + public static synthetic fun copy-lAFa-4c$default (Ldev/inmo/tgbotapi/requests/stickers/SetStickerSetThumbnail;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;Ldev/inmo/tgbotapi/types/StickerFormat;Ldev/inmo/tgbotapi/requests/abstracts/FileId;ILjava/lang/Object;)Ldev/inmo/tgbotapi/requests/stickers/SetStickerSetThumbnail; public fun equals (Ljava/lang/Object;)Z public final fun getFormat ()Ldev/inmo/tgbotapi/types/StickerFormat; public fun getName-KVV53SM ()Ljava/lang/String; @@ -8518,7 +8747,7 @@ public final class dev/inmo/tgbotapi/requests/stickers/SetStickerSetThumbnail : public synthetic fun getResultDeserializer ()Lkotlinx/serialization/DeserializationStrategy; public fun getResultDeserializer ()Lkotlinx/serialization/KSerializer; public final fun getThumbnail ()Ldev/inmo/tgbotapi/requests/abstracts/FileId; - public fun getUserId-tHkBKVM ()J + public fun getUserId ()Ldev/inmo/tgbotapi/types/IdChatIdentifier; public fun hashCode ()I public fun method ()Ljava/lang/String; public fun toString ()Ljava/lang/String; @@ -8540,8 +8769,8 @@ public final class dev/inmo/tgbotapi/requests/stickers/SetStickerSetThumbnail$Co } public final class dev/inmo/tgbotapi/requests/stickers/SetStickerSetThumbnailKt { - public static final fun SetStickerSetThumbnail-OJAeTto (JLjava/lang/String;Ldev/inmo/tgbotapi/types/StickerFormat;Ldev/inmo/tgbotapi/requests/abstracts/MultipartFile;)Ldev/inmo/tgbotapi/requests/abstracts/Request; - public static final fun SetStickerSetThumbnail-ekB4Uzg (JLjava/lang/String;Ldev/inmo/tgbotapi/types/StickerFormat;Ldev/inmo/tgbotapi/requests/abstracts/MultipartFile;)Ldev/inmo/tgbotapi/requests/abstracts/Request; + public static final fun SetStickerSetThumbnail (Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;Ldev/inmo/tgbotapi/types/StickerFormat;Ldev/inmo/tgbotapi/requests/abstracts/MultipartFile;)Ldev/inmo/tgbotapi/requests/abstracts/Request; + public static final fun SetStickerSetThumbnail-lAFa-4c (Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;Ldev/inmo/tgbotapi/types/StickerFormat;Ldev/inmo/tgbotapi/requests/abstracts/MultipartFile;)Ldev/inmo/tgbotapi/requests/abstracts/Request; } public final class dev/inmo/tgbotapi/requests/stickers/SetStickerSetTitle : dev/inmo/tgbotapi/requests/stickers/abstracts/StickerSetAction { @@ -8579,20 +8808,20 @@ public final class dev/inmo/tgbotapi/requests/stickers/SetStickerSetTitle$Compan public final class dev/inmo/tgbotapi/requests/stickers/UploadStickerFile : dev/inmo/tgbotapi/requests/abstracts/MultipartRequest { public static final field Companion Ldev/inmo/tgbotapi/requests/stickers/UploadStickerFile$Companion; - public synthetic fun (JLdev/inmo/tgbotapi/requests/abstracts/MultipartFile;Ldev/inmo/tgbotapi/types/StickerFormat;ILkotlin/jvm/internal/DefaultConstructorMarker;)V - public synthetic fun (JLdev/inmo/tgbotapi/requests/abstracts/MultipartFile;Ldev/inmo/tgbotapi/types/StickerFormat;Lkotlin/jvm/internal/DefaultConstructorMarker;)V - public final fun component1-tHkBKVM ()J + public fun (Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/requests/abstracts/MultipartFile;Ldev/inmo/tgbotapi/types/StickerFormat;)V + public synthetic fun (Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/requests/abstracts/MultipartFile;Ldev/inmo/tgbotapi/types/StickerFormat;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Ldev/inmo/tgbotapi/types/IdChatIdentifier; public final fun component2 ()Ldev/inmo/tgbotapi/requests/abstracts/MultipartFile; public final fun component3 ()Ldev/inmo/tgbotapi/types/StickerFormat; - public final fun copy-pU7KfLc (JLdev/inmo/tgbotapi/requests/abstracts/MultipartFile;Ldev/inmo/tgbotapi/types/StickerFormat;)Ldev/inmo/tgbotapi/requests/stickers/UploadStickerFile; - public static synthetic fun copy-pU7KfLc$default (Ldev/inmo/tgbotapi/requests/stickers/UploadStickerFile;JLdev/inmo/tgbotapi/requests/abstracts/MultipartFile;Ldev/inmo/tgbotapi/types/StickerFormat;ILjava/lang/Object;)Ldev/inmo/tgbotapi/requests/stickers/UploadStickerFile; + public final fun copy (Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/requests/abstracts/MultipartFile;Ldev/inmo/tgbotapi/types/StickerFormat;)Ldev/inmo/tgbotapi/requests/stickers/UploadStickerFile; + public static synthetic fun copy$default (Ldev/inmo/tgbotapi/requests/stickers/UploadStickerFile;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/requests/abstracts/MultipartFile;Ldev/inmo/tgbotapi/types/StickerFormat;ILjava/lang/Object;)Ldev/inmo/tgbotapi/requests/stickers/UploadStickerFile; public fun equals (Ljava/lang/Object;)Z public fun getMediaMap ()Ljava/util/Map; public fun getParamsJson ()Lkotlinx/serialization/json/JsonObject; public fun getResultDeserializer ()Lkotlinx/serialization/DeserializationStrategy; public final fun getSticker ()Ldev/inmo/tgbotapi/requests/abstracts/MultipartFile; public final fun getStickerFormat ()Ldev/inmo/tgbotapi/types/StickerFormat; - public final fun getUserId-tHkBKVM ()J + public final fun getUserId ()Ldev/inmo/tgbotapi/types/IdChatIdentifier; public fun hashCode ()I public fun method ()Ljava/lang/String; public fun toString ()Ljava/lang/String; @@ -8622,7 +8851,7 @@ public final class dev/inmo/tgbotapi/requests/stickers/abstracts/CreateStickerSe } public abstract interface class dev/inmo/tgbotapi/requests/stickers/abstracts/OwnerStickerSetAction : dev/inmo/tgbotapi/requests/stickers/abstracts/StickerSetAction { - public abstract fun getUserId-tHkBKVM ()J + public abstract fun getUserId ()Ldev/inmo/tgbotapi/types/IdChatIdentifier; } public final class dev/inmo/tgbotapi/requests/stickers/abstracts/OwnerStickerSetAction$DefaultImpls { @@ -8790,6 +9019,48 @@ public final class dev/inmo/tgbotapi/requests/stories/PostStory$Companion { public final fun serializer ()Lkotlinx/serialization/KSerializer; } +public final class dev/inmo/tgbotapi/requests/stories/RepostStory : dev/inmo/tgbotapi/abstracts/types/WithBusinessConnectionId, dev/inmo/tgbotapi/requests/abstracts/SimpleRequest { + public static final field Companion Ldev/inmo/tgbotapi/requests/stories/RepostStory$Companion; + public synthetic fun (Ljava/lang/String;Ldev/inmo/tgbotapi/types/IdChatIdentifier;JIZZILkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (Ljava/lang/String;Ldev/inmo/tgbotapi/types/IdChatIdentifier;JIZZLkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1-T-_HSQI ()Ljava/lang/String; + public final fun component2 ()Ldev/inmo/tgbotapi/types/IdChatIdentifier; + public final fun component3-zjviAWM ()J + public final fun component4 ()I + public final fun component5 ()Z + public final fun component6 ()Z + public final fun copy-oUZ5JEU (Ljava/lang/String;Ldev/inmo/tgbotapi/types/IdChatIdentifier;JIZZ)Ldev/inmo/tgbotapi/requests/stories/RepostStory; + public static synthetic fun copy-oUZ5JEU$default (Ldev/inmo/tgbotapi/requests/stories/RepostStory;Ljava/lang/String;Ldev/inmo/tgbotapi/types/IdChatIdentifier;JIZZILjava/lang/Object;)Ldev/inmo/tgbotapi/requests/stories/RepostStory; + public fun equals (Ljava/lang/Object;)Z + public final fun getActivePeriod ()I + public fun getBusinessConnectionId-T-_HSQI ()Ljava/lang/String; + public synthetic fun getBusinessConnectionId-nXr5wdE ()Ljava/lang/String; + public final fun getFromChatId ()Ldev/inmo/tgbotapi/types/IdChatIdentifier; + public final fun getPostToChatPage ()Z + public final fun getProtectContent ()Z + public fun getRequestSerializer ()Lkotlinx/serialization/SerializationStrategy; + public fun getResultDeserializer ()Lkotlinx/serialization/DeserializationStrategy; + public final fun getStoryId-zjviAWM ()J + public fun hashCode ()I + public fun method ()Ljava/lang/String; + public fun toString ()Ljava/lang/String; +} + +public final synthetic class dev/inmo/tgbotapi/requests/stories/RepostStory$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Ldev/inmo/tgbotapi/requests/stories/RepostStory$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/inmo/tgbotapi/requests/stories/RepostStory; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Ldev/inmo/tgbotapi/requests/stories/RepostStory;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class dev/inmo/tgbotapi/requests/stories/RepostStory$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + public final class dev/inmo/tgbotapi/requests/suggested/ApproveSuggestedPost : dev/inmo/tgbotapi/abstracts/types/ChatRequest, dev/inmo/tgbotapi/requests/abstracts/SimpleRequest { public static final field Companion Ldev/inmo/tgbotapi/requests/suggested/ApproveSuggestedPost$Companion; public synthetic fun (Ldev/inmo/tgbotapi/types/IdChatIdentifier;JLdev/inmo/tgbotapi/types/TelegramDate;ILkotlin/jvm/internal/DefaultConstructorMarker;)V @@ -8894,14 +9165,14 @@ public final class dev/inmo/tgbotapi/requests/verifications/RemoveChatVerificati public final class dev/inmo/tgbotapi/requests/verifications/RemoveUserVerification : dev/inmo/tgbotapi/requests/abstracts/SimpleRequest { public static final field Companion Ldev/inmo/tgbotapi/requests/verifications/RemoveUserVerification$Companion; - public synthetic fun (JLkotlin/jvm/internal/DefaultConstructorMarker;)V - public final fun component1-tHkBKVM ()J - public final fun copy-HZVsHAI (J)Ldev/inmo/tgbotapi/requests/verifications/RemoveUserVerification; - public static synthetic fun copy-HZVsHAI$default (Ldev/inmo/tgbotapi/requests/verifications/RemoveUserVerification;JILjava/lang/Object;)Ldev/inmo/tgbotapi/requests/verifications/RemoveUserVerification; + public fun (Ldev/inmo/tgbotapi/types/IdChatIdentifier;)V + public final fun component1 ()Ldev/inmo/tgbotapi/types/IdChatIdentifier; + public final fun copy (Ldev/inmo/tgbotapi/types/IdChatIdentifier;)Ldev/inmo/tgbotapi/requests/verifications/RemoveUserVerification; + public static synthetic fun copy$default (Ldev/inmo/tgbotapi/requests/verifications/RemoveUserVerification;Ldev/inmo/tgbotapi/types/IdChatIdentifier;ILjava/lang/Object;)Ldev/inmo/tgbotapi/requests/verifications/RemoveUserVerification; public fun equals (Ljava/lang/Object;)Z public fun getRequestSerializer ()Lkotlinx/serialization/SerializationStrategy; public fun getResultDeserializer ()Lkotlinx/serialization/DeserializationStrategy; - public final fun getUserId-tHkBKVM ()J + public final fun getUserId ()Ldev/inmo/tgbotapi/types/IdChatIdentifier; public fun hashCode ()I public fun method ()Ljava/lang/String; public fun toString ()Ljava/lang/String; @@ -8957,17 +9228,17 @@ public final class dev/inmo/tgbotapi/requests/verifications/VerifyChat$Companion public final class dev/inmo/tgbotapi/requests/verifications/VerifyUser : dev/inmo/tgbotapi/requests/abstracts/SimpleRequest { public static final field Companion Ldev/inmo/tgbotapi/requests/verifications/VerifyUser$Companion; - public synthetic fun (JLjava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V - public synthetic fun (JLjava/lang/String;Lkotlin/jvm/internal/DefaultConstructorMarker;)V - public final fun component1-tHkBKVM ()J + public fun (Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;)V + public synthetic fun (Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Ldev/inmo/tgbotapi/types/IdChatIdentifier; public final fun component2 ()Ljava/lang/String; - public final fun copy-zv9neSE (JLjava/lang/String;)Ldev/inmo/tgbotapi/requests/verifications/VerifyUser; - public static synthetic fun copy-zv9neSE$default (Ldev/inmo/tgbotapi/requests/verifications/VerifyUser;JLjava/lang/String;ILjava/lang/Object;)Ldev/inmo/tgbotapi/requests/verifications/VerifyUser; + public final fun copy (Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;)Ldev/inmo/tgbotapi/requests/verifications/VerifyUser; + public static synthetic fun copy$default (Ldev/inmo/tgbotapi/requests/verifications/VerifyUser;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;ILjava/lang/Object;)Ldev/inmo/tgbotapi/requests/verifications/VerifyUser; public fun equals (Ljava/lang/Object;)Z public final fun getDescription ()Ljava/lang/String; public fun getRequestSerializer ()Lkotlinx/serialization/SerializationStrategy; public fun getResultDeserializer ()Lkotlinx/serialization/DeserializationStrategy; - public final fun getUserId-tHkBKVM ()J + public final fun getUserId ()Ldev/inmo/tgbotapi/types/IdChatIdentifier; public fun hashCode ()I public fun method ()Ljava/lang/String; public fun toString ()Ljava/lang/String; @@ -9800,9 +10071,9 @@ public final class dev/inmo/tgbotapi/types/ChatIdentifierKt { public static final fun getBusinessConnectionId (Ldev/inmo/tgbotapi/types/ChatIdentifier;)Ljava/lang/String; public static final fun getDirectMessageThreadId (Ldev/inmo/tgbotapi/types/ChatIdentifier;)Ldev/inmo/tgbotapi/types/DirectMessageThreadId; public static final fun getThreadId (Ldev/inmo/tgbotapi/types/ChatIdentifier;)Ldev/inmo/tgbotapi/types/MessageThreadId; + public static final fun getUserLink (Ldev/inmo/tgbotapi/types/IdChatIdentifier;)Ljava/lang/String; public static final fun getUserLink (Ldev/inmo/tgbotapi/types/chat/User;)Ljava/lang/String; public static final fun getUserLink-0218hRU (J)Ljava/lang/String; - public static final fun getUserLink-HZVsHAI (J)Ljava/lang/String; public static final fun toBusinessChatId-X6RVWW0 (Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;)Lkotlin/Pair; public static final fun toChatId (B)Ldev/inmo/tgbotapi/types/IdChatIdentifier; public static final fun toChatId (I)Ldev/inmo/tgbotapi/types/IdChatIdentifier; @@ -10061,6 +10332,7 @@ public final class dev/inmo/tgbotapi/types/CommonKt { public static final field allowPaidBroadcastField Ljava/lang/String; public static final field allowSendingWithoutReplyField Ljava/lang/String; public static final field allowUserChatsField Ljava/lang/String; + public static final field allowUsersToCreateTopicsField Ljava/lang/String; public static final field allowedUpdatesField Ljava/lang/String; public static final field allowsMultipleAnswersField Ljava/lang/String; public static final field allowsWriteToPMField Ljava/lang/String; @@ -10071,12 +10343,15 @@ public final class dev/inmo/tgbotapi/types/CommonKt { public static final field audioField Ljava/lang/String; public static final field audioFileIdField Ljava/lang/String; public static final field audioUrlField Ljava/lang/String; + public static final field audiosField Ljava/lang/String; public static final field authorSignatureField Ljava/lang/String; public static final field availableReactionsField Ljava/lang/String; public static final field backdropField Ljava/lang/String; public static final field backgroundColorField Ljava/lang/String; public static final field backgroundCustomEmojiIdField Ljava/lang/String; + public static final field backgroundField Ljava/lang/String; public static final field bankStatementField Ljava/lang/String; + public static final field baseColorField Ljava/lang/String; public static final field baseNameField Ljava/lang/String; public static final field bigFileIdField Ljava/lang/String; public static final field bigFileUniqueIdField Ljava/lang/String; @@ -10105,6 +10380,7 @@ public final class dev/inmo/tgbotapi/types/CommonKt { public static final field callbackQueryIdField Ljava/lang/String; public static final field canAddWebPagePreviewsField Ljava/lang/String; public static final field canBeEditedField Ljava/lang/String; + public static final field canBeTransferredField Ljava/lang/String; public static final field canBeUpgradedField Ljava/lang/String; public static final field canChangeGiftSettingsField Ljava/lang/String; public static final field canChangeInfoField Ljava/lang/String; @@ -10169,10 +10445,12 @@ public final class dev/inmo/tgbotapi/types/CommonKt { public static final field cityField Ljava/lang/String; public static final field closeDateField Ljava/lang/String; public static final field closingMinuteField Ljava/lang/String; + public static final field codecField Ljava/lang/String; public static final field colorField Ljava/lang/String; public static final field colorsField Ljava/lang/String; public static final field commentField Ljava/lang/String; public static final field commissionPerMilleField Ljava/lang/String; + public static final field completedByChatField Ljava/lang/String; public static final field completedByUserField Ljava/lang/String; public static final field completionDateField Ljava/lang/String; public static final field containsMasksField Ljava/lang/String; @@ -10181,6 +10459,7 @@ public final class dev/inmo/tgbotapi/types/CommonKt { public static final field copyTextField Ljava/lang/String; public static final field cornerRadiusPercentageField Ljava/lang/String; public static final field correctOptionIdField Ljava/lang/String; + public static final field countField Ljava/lang/String; public static final field countryCodeField Ljava/lang/String; public static final field countryCodesField Ljava/lang/String; public static final field coverField Ljava/lang/String; @@ -10189,6 +10468,7 @@ public final class dev/inmo/tgbotapi/types/CommonKt { public static final field creatorField Ljava/lang/String; public static final field credentialsField Ljava/lang/String; public static final field currencyField Ljava/lang/String; + public static final field currentLevelRatingField Ljava/lang/String; public static final field customDescriptionField Ljava/lang/String; public static final field customEmojiField Ljava/lang/String; public static final field customEmojiIdField Ljava/lang/String; @@ -10196,6 +10476,8 @@ public final class dev/inmo/tgbotapi/types/CommonKt { public static final field customEmojiStickerSetNameField Ljava/lang/String; public static final field customTitleField Ljava/lang/String; public static final field darkThemeDimmingField Ljava/lang/String; + public static final field darkThemeMainColorField Ljava/lang/String; + public static final field darkThemeOtherColorsField Ljava/lang/String; public static final field dataField Ljava/lang/String; public static final field dataHashField Ljava/lang/String; public static final field dateField Ljava/lang/String; @@ -10209,6 +10491,7 @@ public final class dev/inmo/tgbotapi/types/CommonKt { public static final field documentField Ljava/lang/String; public static final field documentFileIdField Ljava/lang/String; public static final field documentUrlField Ljava/lang/String; + public static final field draftIdField Ljava/lang/String; public static final field driverLicenseField Ljava/lang/String; public static final field dropPendingUpdatesField Ljava/lang/String; public static final field durationField Ljava/lang/String; @@ -10222,7 +10505,10 @@ public final class dev/inmo/tgbotapi/types/CommonKt { public static final field entitiesField Ljava/lang/String; public static final field errorMessageField Ljava/lang/String; public static final field errorsField Ljava/lang/String; + public static final field excludeFromBlockchainField Ljava/lang/String; public static final field excludeLimitedField Ljava/lang/String; + public static final field excludeLimitedNonUpgradableField Ljava/lang/String; + public static final field excludeLimitedUpgradableField Ljava/lang/String; public static final field excludeSavedField Ljava/lang/String; public static final field excludeUniqueField Ljava/lang/String; public static final field excludeUnlimitedField Ljava/lang/String; @@ -10245,6 +10531,7 @@ public final class dev/inmo/tgbotapi/types/CommonKt { public static final field filesField Ljava/lang/String; public static final field fillField Ljava/lang/String; public static final field firstNameField Ljava/lang/String; + public static final field firstProfileAudioField Ljava/lang/String; public static final field firstStreetLineField Ljava/lang/String; public static final field forChannelsField Ljava/lang/String; public static final field forceField Ljava/lang/String; @@ -10253,8 +10540,10 @@ public final class dev/inmo/tgbotapi/types/CommonKt { public static final field forwardTextField Ljava/lang/String; public static final field foursquareIdField Ljava/lang/String; public static final field foursquareTypeField Ljava/lang/String; + public static final field fromBusinessConnectionIdField Ljava/lang/String; public static final field fromChatIdField Ljava/lang/String; public static final field fromField Ljava/lang/String; + public static final field fromStoryIdField Ljava/lang/String; public static final field frontSideField Ljava/lang/String; public static final field gameShortNameField Ljava/lang/String; public static final field gifDurationField Ljava/lang/String; @@ -10264,12 +10553,15 @@ public final class dev/inmo/tgbotapi/types/CommonKt { public static final field gifWidthField Ljava/lang/String; public static final field giftField Ljava/lang/String; public static final field giftIdField Ljava/lang/String; + public static final field giftUpgradeSentField Ljava/lang/String; public static final field giftsField Ljava/lang/String; + public static final field giftsFromChannelsField Ljava/lang/String; public static final field giveawayMessageField Ljava/lang/String; public static final field giveawayMessageIdField Ljava/lang/String; public static final field googlePlaceIdField Ljava/lang/String; public static final field googlePlaceTypeField Ljava/lang/String; public static final field hasAggressiveAntiSpamEnabledField Ljava/lang/String; + public static final field hasColorsField Ljava/lang/String; public static final field hasCustomCertificateField Ljava/lang/String; public static final field hasHiddenMembersField Ljava/lang/String; public static final field hasMainWebAppField Ljava/lang/String; @@ -10277,6 +10569,7 @@ public final class dev/inmo/tgbotapi/types/CommonKt { public static final field hasPublicWinnersField Ljava/lang/String; public static final field hasRestrictedVoiceAndVideoMessagesField Ljava/lang/String; public static final field hasSpoilerField Ljava/lang/String; + public static final field hasTopicsEnabledField Ljava/lang/String; public static final field hasVisibleHistoryField Ljava/lang/String; public static final field hashField Ljava/lang/String; public static final field headingField Ljava/lang/String; @@ -10304,6 +10597,7 @@ public final class dev/inmo/tgbotapi/types/CommonKt { public static final field isBigField Ljava/lang/String; public static final field isBlurredField Ljava/lang/String; public static final field isBotField Ljava/lang/String; + public static final field isBurnedField Ljava/lang/String; public static final field isCanceledField Ljava/lang/String; public static final field isClosedField Ljava/lang/String; public static final field isDarkField Ljava/lang/String; @@ -10313,10 +10607,12 @@ public final class dev/inmo/tgbotapi/types/CommonKt { public static final field isFirstRecurringField Ljava/lang/String; public static final field isFlippedField Ljava/lang/String; public static final field isForumField Ljava/lang/String; + public static final field isFromBlockchainField Ljava/lang/String; public static final field isInvertedField Ljava/lang/String; public static final field isManualField Ljava/lang/String; public static final field isMemberField Ljava/lang/String; public static final field isMovingField Ljava/lang/String; + public static final field isNameImplicitField Ljava/lang/String; public static final field isPaidPostField Ljava/lang/String; public static final field isPersistentField Ljava/lang/String; public static final field isPersonalField Ljava/lang/String; @@ -10326,8 +10622,10 @@ public final class dev/inmo/tgbotapi/types/CommonKt { public static final field isPublicField Ljava/lang/String; public static final field isRecurringField Ljava/lang/String; public static final field isRevokedField Ljava/lang/String; + public static final field isSavedField Ljava/lang/String; public static final field isStarGiveawayField Ljava/lang/String; public static final field isUnclaimedField Ljava/lang/String; + public static final field isUpgradeSeparateField Ljava/lang/String; public static final field isVideoField Ljava/lang/String; public static final field joinByRequestField Ljava/lang/String; public static final field joinToSendMessagesField Ljava/lang/String; @@ -10338,12 +10636,18 @@ public final class dev/inmo/tgbotapi/types/CommonKt { public static final field lastErrorDateField Ljava/lang/String; public static final field lastErrorMessageField Ljava/lang/String; public static final field lastNameField Ljava/lang/String; + public static final field lastResaleAmountField Ljava/lang/String; + public static final field lastResaleCurrencyField Ljava/lang/String; public static final field lastResaleStarCountField Ljava/lang/String; public static final field lastSynchronizationErrorDateField Ljava/lang/String; public static final field latitudeField Ljava/lang/String; public static final field lengthField Ljava/lang/String; + public static final field levelField Ljava/lang/String; + public static final field lightThemeMainColorField Ljava/lang/String; + public static final field lightThemeOtherColorsField Ljava/lang/String; public static final field limitField Ljava/lang/String; public static final field limitedGiftsField Ljava/lang/String; + public static final field linkColorField Ljava/lang/String; public static final field linkPreviewOptionsField Ljava/lang/String; public static final field linkedChatIdField Ljava/lang/String; public static final field livePeriodField Ljava/lang/String; @@ -10370,6 +10674,7 @@ public final class dev/inmo/tgbotapi/types/CommonKt { public static final field messageTextField Ljava/lang/String; public static final field messageThreadIdField Ljava/lang/String; public static final field mimeTypeField Ljava/lang/String; + public static final field modelCustomEmojiIdField Ljava/lang/String; public static final field modelField Ljava/lang/String; public static final field monthCountField Ljava/lang/String; public static final field monthField Ljava/lang/String; @@ -10378,12 +10683,15 @@ public final class dev/inmo/tgbotapi/types/CommonKt { public static final field mpeg4GifHeightField Ljava/lang/String; public static final field mpeg4GifUrlField Ljava/lang/String; public static final field mpeg4GifWidthField Ljava/lang/String; + public static final field nameColorField Ljava/lang/String; public static final field nameField Ljava/lang/String; public static final field nanostarAmountField Ljava/lang/String; public static final field needsRepaintingField Ljava/lang/String; public static final field newChatMemberField Ljava/lang/String; public static final field newOwnerChatIdField Ljava/lang/String; + public static final field newOwnerField Ljava/lang/String; public static final field newReactionField Ljava/lang/String; + public static final field nextLevelRatingField Ljava/lang/String; public static final field nextOffsetField Ljava/lang/String; public static final field nextTransferDateField Ljava/lang/String; public static final field nonceField Ljava/lang/String; @@ -10422,6 +10730,8 @@ public final class dev/inmo/tgbotapi/types/CommonKt { public static final field permissionsField Ljava/lang/String; public static final field personalChatField Ljava/lang/String; public static final field personalDetailsField Ljava/lang/String; + public static final field personalRemainingCountField Ljava/lang/String; + public static final field personalTotalCountField Ljava/lang/String; public static final field phoneNumberField Ljava/lang/String; public static final field photoField Ljava/lang/String; public static final field photoFileIdField Ljava/lang/String; @@ -10457,6 +10767,7 @@ public final class dev/inmo/tgbotapi/types/CommonKt { public static final field providerTokenField Ljava/lang/String; public static final field proximityAlertRadiusField Ljava/lang/String; public static final field publisherChatField Ljava/lang/String; + public static final field qualitiesField Ljava/lang/String; public static final field queryField Ljava/lang/String; public static final field questionEntitiesField Ljava/lang/String; public static final field questionField Ljava/lang/String; @@ -10466,7 +10777,9 @@ public final class dev/inmo/tgbotapi/types/CommonKt { public static final field quoteField Ljava/lang/String; public static final field quoteParseModeField Ljava/lang/String; public static final field quotePositionField Ljava/lang/String; + public static final field rarityField Ljava/lang/String; public static final field rarityPerMilleField Ljava/lang/String; + public static final field ratingField Ljava/lang/String; public static final field rawField Ljava/lang/String; public static final field reactionField Ljava/lang/String; public static final field reactionTypeField Ljava/lang/String; @@ -10552,6 +10865,7 @@ public final class dev/inmo/tgbotapi/types/CommonKt { public static final field stickersField Ljava/lang/String; public static final field storyIdField Ljava/lang/String; public static final field streetField Ljava/lang/String; + public static final field styleField Ljava/lang/String; public static final field subscriptionExpirationDateField Ljava/lang/String; public static final field subscriptionPeriodField Ljava/lang/String; public static final field subscriptionPriceField Ljava/lang/String; @@ -10567,6 +10881,7 @@ public final class dev/inmo/tgbotapi/types/CommonKt { public static final field switchPmParameterField Ljava/lang/String; public static final field switchPmTextField Ljava/lang/String; public static final field symbolColorField Ljava/lang/String; + public static final field symbolCustomEmojiIdField Ljava/lang/String; public static final field symbolField Ljava/lang/String; public static final field tasksField Ljava/lang/String; public static final field telegramPaymentChargeIdField Ljava/lang/String; @@ -10600,6 +10915,9 @@ public final class dev/inmo/tgbotapi/types/CommonKt { public static final field translationFilesField Ljava/lang/String; public static final field typeField Ljava/lang/String; public static final field unclaimedPrizeCountField Ljava/lang/String; + public static final field uniqueGiftColorsField Ljava/lang/String; + public static final field uniqueGiftNumberField Ljava/lang/String; + public static final field uniqueGiftVariantCountField Ljava/lang/String; public static final field uniqueGiftsField Ljava/lang/String; public static final field unlimitedGiftsField Ljava/lang/String; public static final field unrestrictBoostsCountField Ljava/lang/String; @@ -10700,26 +11018,27 @@ public final class dev/inmo/tgbotapi/types/CommonKt { public static final fun getTelegramInlineModeGifPermittedMimeTypes ()Ljava/util/List; public static final fun getTextLength ()Lkotlin/ranges/IntRange; public static final fun getThreadNameLength ()Lkotlin/ranges/IntRange; + public static final fun getUserProfileAudiosRequestLimit ()Lkotlin/ranges/IntRange; public static final fun getUserProfilePhotosRequestLimit ()Lkotlin/ranges/IntRange; public static final fun getUsernameRegex ()Lkotlin/text/Regex; } public final class dev/inmo/tgbotapi/types/Contact : dev/inmo/tgbotapi/abstracts/CommonContactData, dev/inmo/tgbotapi/types/ReplyInfo$External$ContentVariant { public static final field Companion Ldev/inmo/tgbotapi/types/Contact$Companion; - public synthetic fun (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/ChatId;Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V - public synthetic fun (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/ChatId;Ljava/lang/String;Lkotlin/jvm/internal/DefaultConstructorMarker;)V + public fun (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;)V + public synthetic fun (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V public final fun component1 ()Ljava/lang/String; public final fun component2 ()Ljava/lang/String; public final fun component3 ()Ljava/lang/String; - public final fun component4-_eYXl24 ()Ldev/inmo/tgbotapi/types/ChatId; + public final fun component4 ()Ldev/inmo/tgbotapi/types/IdChatIdentifier; public final fun component5 ()Ljava/lang/String; - public final fun copy-wphRsds (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/ChatId;Ljava/lang/String;)Ldev/inmo/tgbotapi/types/Contact; - public static synthetic fun copy-wphRsds$default (Ldev/inmo/tgbotapi/types/Contact;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/ChatId;Ljava/lang/String;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/Contact; + public final fun copy (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;)Ldev/inmo/tgbotapi/types/Contact; + public static synthetic fun copy$default (Ldev/inmo/tgbotapi/types/Contact;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/Contact; public fun equals (Ljava/lang/Object;)Z public fun getFirstName ()Ljava/lang/String; public fun getLastName ()Ljava/lang/String; public fun getPhoneNumber ()Ljava/lang/String; - public final fun getUserId-_eYXl24 ()Ldev/inmo/tgbotapi/types/ChatId; + public final fun getUserId ()Ldev/inmo/tgbotapi/types/IdChatIdentifier; public fun getVcard ()Ljava/lang/String; public fun hashCode ()I public fun toString ()Ljava/lang/String; @@ -10853,6 +11172,36 @@ public final class dev/inmo/tgbotapi/types/DirectMessagesConfigurationChanged$Pa public final fun serializer ()Lkotlinx/serialization/KSerializer; } +public final class dev/inmo/tgbotapi/types/DraftId { + public static final field Companion Ldev/inmo/tgbotapi/types/DraftId$Companion; + public static final synthetic fun box-impl (J)Ldev/inmo/tgbotapi/types/DraftId; + public static fun constructor-impl (J)J + public fun equals (Ljava/lang/Object;)Z + public static fun equals-impl (JLjava/lang/Object;)Z + public static final fun equals-impl0 (JJ)Z + public final fun getLong ()J + public fun hashCode ()I + public static fun hashCode-impl (J)I + public fun toString ()Ljava/lang/String; + public static fun toString-impl (J)Ljava/lang/String; + public final synthetic fun unbox-impl ()J +} + +public final synthetic class dev/inmo/tgbotapi/types/DraftId$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Ldev/inmo/tgbotapi/types/DraftId$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun deserialize-2sDQ-Rg (Lkotlinx/serialization/encoding/Decoder;)J + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public final fun serialize-hUXZVL4 (Lkotlinx/serialization/encoding/Encoder;J)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class dev/inmo/tgbotapi/types/DraftId$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + public final class dev/inmo/tgbotapi/types/EffectId { public static final field Companion Ldev/inmo/tgbotapi/types/EffectId$Companion; public static final synthetic fun box-impl (Ljava/lang/String;)Ldev/inmo/tgbotapi/types/EffectId; @@ -10885,20 +11234,22 @@ public final class dev/inmo/tgbotapi/types/EffectId$Companion { public final class dev/inmo/tgbotapi/types/ForumTopic { public static final field Companion Ldev/inmo/tgbotapi/types/ForumTopic$Companion; - public synthetic fun (JLjava/lang/String;ILjava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V - public synthetic fun (JLjava/lang/String;ILjava/lang/String;Lkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (JLjava/lang/String;ILjava/lang/String;ZILkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (JLjava/lang/String;ILjava/lang/String;ZLkotlin/jvm/internal/DefaultConstructorMarker;)V public final fun component1-hDmiKeI ()J public final fun component2 ()Ljava/lang/String; public final fun component3-m7U56J0 ()I public final fun component4-GbmMWyQ ()Ljava/lang/String; - public final fun copy-xMhxNdU (JLjava/lang/String;ILjava/lang/String;)Ldev/inmo/tgbotapi/types/ForumTopic; - public static synthetic fun copy-xMhxNdU$default (Ldev/inmo/tgbotapi/types/ForumTopic;JLjava/lang/String;ILjava/lang/String;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/ForumTopic; + public final fun component5 ()Z + public final fun copy-gc403nk (JLjava/lang/String;ILjava/lang/String;Z)Ldev/inmo/tgbotapi/types/ForumTopic; + public static synthetic fun copy-gc403nk$default (Ldev/inmo/tgbotapi/types/ForumTopic;JLjava/lang/String;ILjava/lang/String;ZILjava/lang/Object;)Ldev/inmo/tgbotapi/types/ForumTopic; public fun equals (Ljava/lang/Object;)Z public final fun getColor-m7U56J0 ()I public final fun getIconEmojiId-GbmMWyQ ()Ljava/lang/String; public final fun getMessageThreadId-hDmiKeI ()J public final fun getName ()Ljava/lang/String; public fun hashCode ()I + public final fun isNameImplicit ()Z public fun toString ()Ljava/lang/String; } @@ -12661,6 +13012,36 @@ public final class dev/inmo/tgbotapi/types/InlineQueryId$Companion { public final fun serializer ()Lkotlinx/serialization/KSerializer; } +public final class dev/inmo/tgbotapi/types/Level { + public static final field Companion Ldev/inmo/tgbotapi/types/Level$Companion; + public static final synthetic fun box-impl (I)Ldev/inmo/tgbotapi/types/Level; + public static fun constructor-impl (I)I + public fun equals (Ljava/lang/Object;)Z + public static fun equals-impl (ILjava/lang/Object;)Z + public static final fun equals-impl0 (II)Z + public final fun getInt ()I + public fun hashCode ()I + public static fun hashCode-impl (I)I + public fun toString ()Ljava/lang/String; + public static fun toString-impl (I)Ljava/lang/String; + public final synthetic fun unbox-impl ()I +} + +public final synthetic class dev/inmo/tgbotapi/types/Level$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Ldev/inmo/tgbotapi/types/Level$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun deserialize-o8Fmc-8 (Lkotlinx/serialization/encoding/Decoder;)I + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public final fun serialize-eycgCq4 (Lkotlinx/serialization/encoding/Encoder;I)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class dev/inmo/tgbotapi/types/Level$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + public abstract interface class dev/inmo/tgbotapi/types/LinkPreviewOptions { public static final field Companion Ldev/inmo/tgbotapi/types/LinkPreviewOptions$Companion; public abstract fun getPreferLargeMedia ()Z @@ -13208,6 +13589,36 @@ public final class dev/inmo/tgbotapi/types/PrimaryInviteLink$Companion { public final fun serializer ()Lkotlinx/serialization/KSerializer; } +public final class dev/inmo/tgbotapi/types/Rating { + public static final field Companion Ldev/inmo/tgbotapi/types/Rating$Companion; + public static final synthetic fun box-impl (I)Ldev/inmo/tgbotapi/types/Rating; + public static fun constructor-impl (I)I + public fun equals (Ljava/lang/Object;)Z + public static fun equals-impl (ILjava/lang/Object;)Z + public static final fun equals-impl0 (II)Z + public final fun getInt ()I + public fun hashCode ()I + public static fun hashCode-impl (I)I + public fun toString ()Ljava/lang/String; + public static fun toString-impl (I)Ljava/lang/String; + public final synthetic fun unbox-impl ()I +} + +public final synthetic class dev/inmo/tgbotapi/types/Rating$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Ldev/inmo/tgbotapi/types/Rating$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun deserialize-xp7shNk (Lkotlinx/serialization/encoding/Decoder;)I + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public final fun serialize-2KgQcVw (Lkotlinx/serialization/encoding/Encoder;I)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class dev/inmo/tgbotapi/types/Rating$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + public final class dev/inmo/tgbotapi/types/RawChatId { public static final field Companion Ldev/inmo/tgbotapi/types/RawChatId$Companion; public static final synthetic fun box-impl (J)Ldev/inmo/tgbotapi/types/RawChatId; @@ -13875,6 +14286,7 @@ public final class dev/inmo/tgbotapi/types/TelegramDate { } public final class dev/inmo/tgbotapi/types/TelegramDate$Companion { + public final fun getStart ()Ldev/inmo/tgbotapi/types/TelegramDate; public final fun serializer ()Lkotlinx/serialization/KSerializer; } @@ -14009,6 +14421,7 @@ public final class dev/inmo/tgbotapi/types/UpdateTypesKt { public static final field UPDATE_POLL Ljava/lang/String; public static final field UPDATE_POLL_ANSWER Ljava/lang/String; public static final field UPDATE_PRE_CHECKOUT_QUERY Ljava/lang/String; + public static final field UPDATE_PURCHASED_PAID_MEDIA Ljava/lang/String; public static final field UPDATE_REMOVE_CHAT_BOOST Ljava/lang/String; public static final field UPDATE_SHIPPING_QUERY Ljava/lang/String; public static final fun getALL_UPDATES_LIST ()Ljava/util/List; @@ -14020,6 +14433,35 @@ public final class dev/inmo/tgbotapi/types/UserLocaleKt { public static final fun javaLocale (Ldev/inmo/tgbotapi/types/abstracts/WithOptionalLanguageCode;)Ljava/util/Locale; } +public final class dev/inmo/tgbotapi/types/UserProfileAudios { + public static final field Companion Ldev/inmo/tgbotapi/types/UserProfileAudios$Companion; + public fun (ILjava/util/List;)V + public final fun component1 ()I + public final fun component2 ()Ljava/util/List; + public final fun copy (ILjava/util/List;)Ldev/inmo/tgbotapi/types/UserProfileAudios; + public static synthetic fun copy$default (Ldev/inmo/tgbotapi/types/UserProfileAudios;ILjava/util/List;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/UserProfileAudios; + public fun equals (Ljava/lang/Object;)Z + public final fun getAudios ()Ljava/util/List; + public final fun getTotalCount ()I + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public final synthetic class dev/inmo/tgbotapi/types/UserProfileAudios$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Ldev/inmo/tgbotapi/types/UserProfileAudios$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/inmo/tgbotapi/types/UserProfileAudios; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Ldev/inmo/tgbotapi/types/UserProfileAudios;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class dev/inmo/tgbotapi/types/UserProfileAudios$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + public final class dev/inmo/tgbotapi/types/UserProfilePhotos { public static final field Companion Ldev/inmo/tgbotapi/types/UserProfilePhotos$Companion; public fun (ILjava/util/List;)V @@ -14172,6 +14614,10 @@ public final class dev/inmo/tgbotapi/types/abstracts/WithOptionalLanguageCode$De public static fun getLanguageCode (Ldev/inmo/tgbotapi/types/abstracts/WithOptionalLanguageCode;)Ljava/lang/String; } +public abstract interface class dev/inmo/tgbotapi/types/abstracts/WithOptionalPaidMessageStarCount { + public abstract fun getPaidMessageStarCount ()Ljava/lang/Integer; +} + public abstract interface class dev/inmo/tgbotapi/types/abstracts/WithOptionalQuoteInfo { public abstract fun getQuote ()Ldev/inmo/tgbotapi/types/TextQuote; } @@ -14984,13 +15430,18 @@ public final class dev/inmo/tgbotapi/types/business_connection/MinutesInterval$C public final class dev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/CallbackDataInlineKeyboardButton : dev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/InlineKeyboardButton { public static final field Companion Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/CallbackDataInlineKeyboardButton$Companion; - public fun (Ljava/lang/String;Ljava/lang/String;)V + public synthetic fun (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;Lkotlin/jvm/internal/DefaultConstructorMarker;)V public final fun component1 ()Ljava/lang/String; public final fun component2 ()Ljava/lang/String; - public final fun copy (Ljava/lang/String;Ljava/lang/String;)Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/CallbackDataInlineKeyboardButton; - public static synthetic fun copy$default (Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/CallbackDataInlineKeyboardButton;Ljava/lang/String;Ljava/lang/String;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/CallbackDataInlineKeyboardButton; + public final fun component3-GbmMWyQ ()Ljava/lang/String; + public final fun component4 ()Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle; + public final fun copy-peVxY-Q (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;)Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/CallbackDataInlineKeyboardButton; + public static synthetic fun copy-peVxY-Q$default (Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/CallbackDataInlineKeyboardButton;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/CallbackDataInlineKeyboardButton; public fun equals (Ljava/lang/Object;)Z public final fun getCallbackData ()Ljava/lang/String; + public fun getIconCustomEmojiId-GbmMWyQ ()Ljava/lang/String; + public fun getStyle ()Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle; public fun getText ()Ljava/lang/String; public fun hashCode ()I public fun toString ()Ljava/lang/String; @@ -15013,11 +15464,16 @@ public final class dev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/Callbac public final class dev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/CallbackGameInlineKeyboardButton : dev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/InlineKeyboardButton { public static final field Companion Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/CallbackGameInlineKeyboardButton$Companion; - public fun (Ljava/lang/String;)V + public synthetic fun (Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;Lkotlin/jvm/internal/DefaultConstructorMarker;)V public final fun component1 ()Ljava/lang/String; - public final fun copy (Ljava/lang/String;)Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/CallbackGameInlineKeyboardButton; - public static synthetic fun copy$default (Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/CallbackGameInlineKeyboardButton;Ljava/lang/String;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/CallbackGameInlineKeyboardButton; + public final fun component2-GbmMWyQ ()Ljava/lang/String; + public final fun component3 ()Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle; + public final fun copy-A-saiJc (Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;)Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/CallbackGameInlineKeyboardButton; + public static synthetic fun copy-A-saiJc$default (Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/CallbackGameInlineKeyboardButton;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/CallbackGameInlineKeyboardButton; public fun equals (Ljava/lang/Object;)Z + public fun getIconCustomEmojiId-GbmMWyQ ()Ljava/lang/String; + public fun getStyle ()Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle; public fun getText ()Ljava/lang/String; public fun hashCode ()I public fun toString ()Ljava/lang/String; @@ -15040,13 +15496,18 @@ public final class dev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/Callbac public final class dev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/CopyTextButton : dev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/InlineKeyboardButton { public static final field Companion Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/CopyTextButton$Companion; - public fun (Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/CopyTextButtonData;)V + public synthetic fun (Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/CopyTextButtonData;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/CopyTextButtonData;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;Lkotlin/jvm/internal/DefaultConstructorMarker;)V public final fun component1 ()Ljava/lang/String; public final fun component2 ()Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/CopyTextButtonData; - public final fun copy (Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/CopyTextButtonData;)Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/CopyTextButton; - public static synthetic fun copy$default (Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/CopyTextButton;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/CopyTextButtonData;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/CopyTextButton; + public final fun component3-GbmMWyQ ()Ljava/lang/String; + public final fun component4 ()Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle; + public final fun copy-peVxY-Q (Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/CopyTextButtonData;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;)Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/CopyTextButton; + public static synthetic fun copy-peVxY-Q$default (Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/CopyTextButton;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/CopyTextButtonData;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/CopyTextButton; public fun equals (Ljava/lang/Object;)Z public final fun getData ()Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/CopyTextButtonData; + public fun getIconCustomEmojiId-GbmMWyQ ()Ljava/lang/String; + public fun getStyle ()Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle; public fun getText ()Ljava/lang/String; public fun hashCode ()I public fun toString ()Ljava/lang/String; @@ -15096,6 +15557,8 @@ public final class dev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/CopyTex public abstract interface class dev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/InlineKeyboardButton { public static final field Companion Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/InlineKeyboardButton$Companion; + public abstract fun getIconCustomEmojiId-GbmMWyQ ()Ljava/lang/String; + public abstract fun getStyle ()Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle; public abstract fun getText ()Ljava/lang/String; } @@ -15114,13 +15577,18 @@ public final class dev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/InlineK public final class dev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/LoginURLInlineKeyboardButton : dev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/InlineKeyboardButton { public static final field Companion Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/LoginURLInlineKeyboardButton$Companion; - public fun (Ljava/lang/String;Ldev/inmo/tgbotapi/types/LoginURL;)V + public synthetic fun (Ljava/lang/String;Ldev/inmo/tgbotapi/types/LoginURL;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (Ljava/lang/String;Ldev/inmo/tgbotapi/types/LoginURL;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;Lkotlin/jvm/internal/DefaultConstructorMarker;)V public final fun component1 ()Ljava/lang/String; public final fun component2 ()Ldev/inmo/tgbotapi/types/LoginURL; - public final fun copy (Ljava/lang/String;Ldev/inmo/tgbotapi/types/LoginURL;)Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/LoginURLInlineKeyboardButton; - public static synthetic fun copy$default (Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/LoginURLInlineKeyboardButton;Ljava/lang/String;Ldev/inmo/tgbotapi/types/LoginURL;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/LoginURLInlineKeyboardButton; + public final fun component3-GbmMWyQ ()Ljava/lang/String; + public final fun component4 ()Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle; + public final fun copy-peVxY-Q (Ljava/lang/String;Ldev/inmo/tgbotapi/types/LoginURL;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;)Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/LoginURLInlineKeyboardButton; + public static synthetic fun copy-peVxY-Q$default (Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/LoginURLInlineKeyboardButton;Ljava/lang/String;Ldev/inmo/tgbotapi/types/LoginURL;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/LoginURLInlineKeyboardButton; public fun equals (Ljava/lang/Object;)Z + public fun getIconCustomEmojiId-GbmMWyQ ()Ljava/lang/String; public final fun getLoginUrl ()Ldev/inmo/tgbotapi/types/LoginURL; + public fun getStyle ()Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle; public fun getText ()Ljava/lang/String; public fun hashCode ()I public fun toString ()Ljava/lang/String; @@ -15143,11 +15611,16 @@ public final class dev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/LoginUR public final class dev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/PayInlineKeyboardButton : dev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/InlineKeyboardButton { public static final field Companion Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/PayInlineKeyboardButton$Companion; - public fun (Ljava/lang/String;)V + public synthetic fun (Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;Lkotlin/jvm/internal/DefaultConstructorMarker;)V public final fun component1 ()Ljava/lang/String; - public final fun copy (Ljava/lang/String;)Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/PayInlineKeyboardButton; - public static synthetic fun copy$default (Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/PayInlineKeyboardButton;Ljava/lang/String;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/PayInlineKeyboardButton; + public final fun component2-GbmMWyQ ()Ljava/lang/String; + public final fun component3 ()Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle; + public final fun copy-A-saiJc (Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;)Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/PayInlineKeyboardButton; + public static synthetic fun copy-A-saiJc$default (Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/PayInlineKeyboardButton;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/PayInlineKeyboardButton; public fun equals (Ljava/lang/Object;)Z + public fun getIconCustomEmojiId-GbmMWyQ ()Ljava/lang/String; + public fun getStyle ()Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle; public fun getText ()Ljava/lang/String; public fun hashCode ()I public fun toString ()Ljava/lang/String; @@ -15207,13 +15680,18 @@ public final class dev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/SwitchI public final class dev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/SwitchInlineQueryChosenChatInlineKeyboardButton : dev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/InlineKeyboardButton { public static final field Companion Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/SwitchInlineQueryChosenChatInlineKeyboardButton$Companion; - public fun (Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/SwitchInlineQueryChosenChat;)V + public synthetic fun (Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/SwitchInlineQueryChosenChat;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/SwitchInlineQueryChosenChat;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;Lkotlin/jvm/internal/DefaultConstructorMarker;)V public final fun component1 ()Ljava/lang/String; public final fun component2 ()Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/SwitchInlineQueryChosenChat; - public final fun copy (Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/SwitchInlineQueryChosenChat;)Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/SwitchInlineQueryChosenChatInlineKeyboardButton; - public static synthetic fun copy$default (Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/SwitchInlineQueryChosenChatInlineKeyboardButton;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/SwitchInlineQueryChosenChat;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/SwitchInlineQueryChosenChatInlineKeyboardButton; + public final fun component3-GbmMWyQ ()Ljava/lang/String; + public final fun component4 ()Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle; + public final fun copy-peVxY-Q (Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/SwitchInlineQueryChosenChat;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;)Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/SwitchInlineQueryChosenChatInlineKeyboardButton; + public static synthetic fun copy-peVxY-Q$default (Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/SwitchInlineQueryChosenChatInlineKeyboardButton;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/SwitchInlineQueryChosenChat;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/SwitchInlineQueryChosenChatInlineKeyboardButton; public fun equals (Ljava/lang/Object;)Z + public fun getIconCustomEmojiId-GbmMWyQ ()Ljava/lang/String; public final fun getParameters ()Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/SwitchInlineQueryChosenChat; + public fun getStyle ()Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle; public fun getText ()Ljava/lang/String; public fun hashCode ()I public fun toString ()Ljava/lang/String; @@ -15236,12 +15714,17 @@ public final class dev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/SwitchI public final class dev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/SwitchInlineQueryCurrentChatInlineKeyboardButton : dev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/InlineKeyboardButton { public static final field Companion Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/SwitchInlineQueryCurrentChatInlineKeyboardButton$Companion; - public fun (Ljava/lang/String;Ljava/lang/String;)V + public synthetic fun (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;Lkotlin/jvm/internal/DefaultConstructorMarker;)V public final fun component1 ()Ljava/lang/String; public final fun component2 ()Ljava/lang/String; - public final fun copy (Ljava/lang/String;Ljava/lang/String;)Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/SwitchInlineQueryCurrentChatInlineKeyboardButton; - public static synthetic fun copy$default (Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/SwitchInlineQueryCurrentChatInlineKeyboardButton;Ljava/lang/String;Ljava/lang/String;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/SwitchInlineQueryCurrentChatInlineKeyboardButton; + public final fun component3-GbmMWyQ ()Ljava/lang/String; + public final fun component4 ()Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle; + public final fun copy-peVxY-Q (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;)Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/SwitchInlineQueryCurrentChatInlineKeyboardButton; + public static synthetic fun copy-peVxY-Q$default (Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/SwitchInlineQueryCurrentChatInlineKeyboardButton;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/SwitchInlineQueryCurrentChatInlineKeyboardButton; public fun equals (Ljava/lang/Object;)Z + public fun getIconCustomEmojiId-GbmMWyQ ()Ljava/lang/String; + public fun getStyle ()Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle; public final fun getSwitchInlineQueryCurrentChat ()Ljava/lang/String; public fun getText ()Ljava/lang/String; public fun hashCode ()I @@ -15265,12 +15748,17 @@ public final class dev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/SwitchI public final class dev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/SwitchInlineQueryInlineKeyboardButton : dev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/InlineKeyboardButton { public static final field Companion Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/SwitchInlineQueryInlineKeyboardButton$Companion; - public fun (Ljava/lang/String;Ljava/lang/String;)V + public synthetic fun (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;Lkotlin/jvm/internal/DefaultConstructorMarker;)V public final fun component1 ()Ljava/lang/String; public final fun component2 ()Ljava/lang/String; - public final fun copy (Ljava/lang/String;Ljava/lang/String;)Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/SwitchInlineQueryInlineKeyboardButton; - public static synthetic fun copy$default (Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/SwitchInlineQueryInlineKeyboardButton;Ljava/lang/String;Ljava/lang/String;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/SwitchInlineQueryInlineKeyboardButton; + public final fun component3-GbmMWyQ ()Ljava/lang/String; + public final fun component4 ()Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle; + public final fun copy-peVxY-Q (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;)Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/SwitchInlineQueryInlineKeyboardButton; + public static synthetic fun copy-peVxY-Q$default (Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/SwitchInlineQueryInlineKeyboardButton;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/SwitchInlineQueryInlineKeyboardButton; public fun equals (Ljava/lang/Object;)Z + public fun getIconCustomEmojiId-GbmMWyQ ()Ljava/lang/String; + public fun getStyle ()Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle; public final fun getSwitchInlineQuery ()Ljava/lang/String; public fun getText ()Ljava/lang/String; public fun hashCode ()I @@ -15294,12 +15782,17 @@ public final class dev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/SwitchI public final class dev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/URLInlineKeyboardButton : dev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/InlineKeyboardButton { public static final field Companion Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/URLInlineKeyboardButton$Companion; - public fun (Ljava/lang/String;Ljava/lang/String;)V + public synthetic fun (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;Lkotlin/jvm/internal/DefaultConstructorMarker;)V public final fun component1 ()Ljava/lang/String; public final fun component2 ()Ljava/lang/String; - public final fun copy (Ljava/lang/String;Ljava/lang/String;)Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/URLInlineKeyboardButton; - public static synthetic fun copy$default (Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/URLInlineKeyboardButton;Ljava/lang/String;Ljava/lang/String;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/URLInlineKeyboardButton; + public final fun component3-GbmMWyQ ()Ljava/lang/String; + public final fun component4 ()Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle; + public final fun copy-peVxY-Q (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;)Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/URLInlineKeyboardButton; + public static synthetic fun copy-peVxY-Q$default (Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/URLInlineKeyboardButton;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/URLInlineKeyboardButton; public fun equals (Ljava/lang/Object;)Z + public fun getIconCustomEmojiId-GbmMWyQ ()Ljava/lang/String; + public fun getStyle ()Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle; public fun getText ()Ljava/lang/String; public final fun getUrl ()Ljava/lang/String; public fun hashCode ()I @@ -15328,7 +15821,9 @@ public final class dev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/Unknown public final fun copy (Lkotlinx/serialization/json/JsonElement;)Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/UnknownInlineKeyboardButton; public static synthetic fun copy$default (Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/UnknownInlineKeyboardButton;Lkotlinx/serialization/json/JsonElement;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/UnknownInlineKeyboardButton; public fun equals (Ljava/lang/Object;)Z + public fun getIconCustomEmojiId-GbmMWyQ ()Ljava/lang/String; public final fun getRawData ()Lkotlinx/serialization/json/JsonElement; + public fun getStyle ()Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle; public fun getText ()Ljava/lang/String; public fun hashCode ()I public fun toString ()Ljava/lang/String; @@ -15351,12 +15846,17 @@ public final class dev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/Unknown public final class dev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/WebAppInlineKeyboardButton : dev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/InlineKeyboardButton { public static final field Companion Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/WebAppInlineKeyboardButton$Companion; - public fun (Ljava/lang/String;Ldev/inmo/tgbotapi/types/webapps/WebAppInfo;)V + public synthetic fun (Ljava/lang/String;Ldev/inmo/tgbotapi/types/webapps/WebAppInfo;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (Ljava/lang/String;Ldev/inmo/tgbotapi/types/webapps/WebAppInfo;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;Lkotlin/jvm/internal/DefaultConstructorMarker;)V public final fun component1 ()Ljava/lang/String; public final fun component2 ()Ldev/inmo/tgbotapi/types/webapps/WebAppInfo; - public final fun copy (Ljava/lang/String;Ldev/inmo/tgbotapi/types/webapps/WebAppInfo;)Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/WebAppInlineKeyboardButton; - public static synthetic fun copy$default (Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/WebAppInlineKeyboardButton;Ljava/lang/String;Ldev/inmo/tgbotapi/types/webapps/WebAppInfo;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/WebAppInlineKeyboardButton; + public final fun component3-GbmMWyQ ()Ljava/lang/String; + public final fun component4 ()Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle; + public final fun copy-peVxY-Q (Ljava/lang/String;Ldev/inmo/tgbotapi/types/webapps/WebAppInfo;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;)Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/WebAppInlineKeyboardButton; + public static synthetic fun copy-peVxY-Q$default (Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/WebAppInlineKeyboardButton;Ljava/lang/String;Ldev/inmo/tgbotapi/types/webapps/WebAppInfo;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/WebAppInlineKeyboardButton; public fun equals (Ljava/lang/Object;)Z + public fun getIconCustomEmojiId-GbmMWyQ ()Ljava/lang/String; + public fun getStyle ()Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle; public fun getText ()Ljava/lang/String; public final fun getWebApp ()Ldev/inmo/tgbotapi/types/webapps/WebAppInfo; public fun hashCode ()I @@ -15409,6 +15909,8 @@ public final class dev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup$Companio public abstract interface class dev/inmo/tgbotapi/types/buttons/KeyboardButton { public static final field Companion Ldev/inmo/tgbotapi/types/buttons/KeyboardButton$Companion; + public abstract fun getIconCustomEmojiId-GbmMWyQ ()Ljava/lang/String; + public abstract fun getStyle ()Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle; public abstract fun getText ()Ljava/lang/String; } @@ -15631,6 +16133,69 @@ public final class dev/inmo/tgbotapi/types/buttons/KeyboardButtonSerializer : ko public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V } +public abstract interface class dev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle { + public static final field Companion Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle$Companion; + public abstract fun getName ()Ljava/lang/String; +} + +public final class dev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class dev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle$Custom : dev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle { + public static final field Companion Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle$Custom$Companion; + public fun ()V + public fun (Ljava/lang/String;)V + public synthetic fun (Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Ljava/lang/String; + public final fun copy (Ljava/lang/String;)Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle$Custom; + public static synthetic fun copy$default (Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle$Custom;Ljava/lang/String;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle$Custom; + public fun equals (Ljava/lang/Object;)Z + public fun getName ()Ljava/lang/String; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public final class dev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle$Custom$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class dev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle$Danger : dev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle { + public static final field INSTANCE Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle$Danger; + public fun equals (Ljava/lang/Object;)Z + public fun getName ()Ljava/lang/String; + public fun hashCode ()I + public final fun serializer ()Lkotlinx/serialization/KSerializer; + public fun toString ()Ljava/lang/String; +} + +public final class dev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle$Primary : dev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle { + public static final field INSTANCE Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle$Primary; + public fun equals (Ljava/lang/Object;)Z + public fun getName ()Ljava/lang/String; + public fun hashCode ()I + public final fun serializer ()Lkotlinx/serialization/KSerializer; + public fun toString ()Ljava/lang/String; +} + +public final class dev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle$Serializer : kotlinx/serialization/KSerializer { + public static final field INSTANCE Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle$Serializer; + public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public fun serialize (Lkotlinx/serialization/encoding/Encoder;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V +} + +public final class dev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle$Success : dev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle { + public static final field INSTANCE Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle$Success; + public fun equals (Ljava/lang/Object;)Z + public fun getName ()Ljava/lang/String; + public fun hashCode ()I + public final fun serializer ()Lkotlinx/serialization/KSerializer; + public fun toString ()Ljava/lang/String; +} + public abstract interface class dev/inmo/tgbotapi/types/buttons/KeyboardMarkup { public static final field Companion Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup$Companion; } @@ -15773,13 +16338,18 @@ public final class dev/inmo/tgbotapi/types/buttons/ReplyKeyboardRemove$Companion public final class dev/inmo/tgbotapi/types/buttons/RequestChatKeyboardButton : dev/inmo/tgbotapi/types/buttons/KeyboardButton { public static final field Companion Ldev/inmo/tgbotapi/types/buttons/RequestChatKeyboardButton$Companion; - public fun (Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonRequestChat;)V + public synthetic fun (Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonRequestChat;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonRequestChat;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;Lkotlin/jvm/internal/DefaultConstructorMarker;)V public final fun component1 ()Ljava/lang/String; public final fun component2 ()Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonRequestChat; - public final fun copy (Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonRequestChat;)Ldev/inmo/tgbotapi/types/buttons/RequestChatKeyboardButton; - public static synthetic fun copy$default (Ldev/inmo/tgbotapi/types/buttons/RequestChatKeyboardButton;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonRequestChat;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/buttons/RequestChatKeyboardButton; + public final fun component3-GbmMWyQ ()Ljava/lang/String; + public final fun component4 ()Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle; + public final fun copy-peVxY-Q (Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonRequestChat;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;)Ldev/inmo/tgbotapi/types/buttons/RequestChatKeyboardButton; + public static synthetic fun copy-peVxY-Q$default (Ldev/inmo/tgbotapi/types/buttons/RequestChatKeyboardButton;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonRequestChat;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/buttons/RequestChatKeyboardButton; public fun equals (Ljava/lang/Object;)Z + public fun getIconCustomEmojiId-GbmMWyQ ()Ljava/lang/String; public final fun getRequestChat ()Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonRequestChat; + public fun getStyle ()Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle; public fun getText ()Ljava/lang/String; public fun hashCode ()I public fun toString ()Ljava/lang/String; @@ -15802,12 +16372,17 @@ public final class dev/inmo/tgbotapi/types/buttons/RequestChatKeyboardButton$Com public final class dev/inmo/tgbotapi/types/buttons/RequestContactKeyboardButton : dev/inmo/tgbotapi/types/buttons/KeyboardButton { public static final field Companion Ldev/inmo/tgbotapi/types/buttons/RequestContactKeyboardButton$Companion; - public fun (Ljava/lang/String;)V + public synthetic fun (Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;Lkotlin/jvm/internal/DefaultConstructorMarker;)V public final fun component1 ()Ljava/lang/String; - public final fun copy (Ljava/lang/String;)Ldev/inmo/tgbotapi/types/buttons/RequestContactKeyboardButton; - public static synthetic fun copy$default (Ldev/inmo/tgbotapi/types/buttons/RequestContactKeyboardButton;Ljava/lang/String;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/buttons/RequestContactKeyboardButton; + public final fun component2-GbmMWyQ ()Ljava/lang/String; + public final fun component3 ()Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle; + public final fun copy-A-saiJc (Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;)Ldev/inmo/tgbotapi/types/buttons/RequestContactKeyboardButton; + public static synthetic fun copy-A-saiJc$default (Ldev/inmo/tgbotapi/types/buttons/RequestContactKeyboardButton;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/buttons/RequestContactKeyboardButton; public fun equals (Ljava/lang/Object;)Z + public fun getIconCustomEmojiId-GbmMWyQ ()Ljava/lang/String; public final fun getRequestContact ()Z + public fun getStyle ()Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle; public fun getText ()Ljava/lang/String; public fun hashCode ()I public fun toString ()Ljava/lang/String; @@ -15830,12 +16405,17 @@ public final class dev/inmo/tgbotapi/types/buttons/RequestContactKeyboardButton$ public final class dev/inmo/tgbotapi/types/buttons/RequestLocationKeyboardButton : dev/inmo/tgbotapi/types/buttons/KeyboardButton { public static final field Companion Ldev/inmo/tgbotapi/types/buttons/RequestLocationKeyboardButton$Companion; - public fun (Ljava/lang/String;)V + public synthetic fun (Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;Lkotlin/jvm/internal/DefaultConstructorMarker;)V public final fun component1 ()Ljava/lang/String; - public final fun copy (Ljava/lang/String;)Ldev/inmo/tgbotapi/types/buttons/RequestLocationKeyboardButton; - public static synthetic fun copy$default (Ldev/inmo/tgbotapi/types/buttons/RequestLocationKeyboardButton;Ljava/lang/String;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/buttons/RequestLocationKeyboardButton; + public final fun component2-GbmMWyQ ()Ljava/lang/String; + public final fun component3 ()Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle; + public final fun copy-A-saiJc (Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;)Ldev/inmo/tgbotapi/types/buttons/RequestLocationKeyboardButton; + public static synthetic fun copy-A-saiJc$default (Ldev/inmo/tgbotapi/types/buttons/RequestLocationKeyboardButton;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/buttons/RequestLocationKeyboardButton; public fun equals (Ljava/lang/Object;)Z + public fun getIconCustomEmojiId-GbmMWyQ ()Ljava/lang/String; public final fun getRequestLocation ()Z + public fun getStyle ()Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle; public fun getText ()Ljava/lang/String; public fun hashCode ()I public fun toString ()Ljava/lang/String; @@ -15858,13 +16438,18 @@ public final class dev/inmo/tgbotapi/types/buttons/RequestLocationKeyboardButton public final class dev/inmo/tgbotapi/types/buttons/RequestPollKeyboardButton : dev/inmo/tgbotapi/types/buttons/KeyboardButton { public static final field Companion Ldev/inmo/tgbotapi/types/buttons/RequestPollKeyboardButton$Companion; - public fun (Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonPollType;)V + public synthetic fun (Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonPollType;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonPollType;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;Lkotlin/jvm/internal/DefaultConstructorMarker;)V public final fun component1 ()Ljava/lang/String; public final fun component2 ()Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonPollType; - public final fun copy (Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonPollType;)Ldev/inmo/tgbotapi/types/buttons/RequestPollKeyboardButton; - public static synthetic fun copy$default (Ldev/inmo/tgbotapi/types/buttons/RequestPollKeyboardButton;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonPollType;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/buttons/RequestPollKeyboardButton; + public final fun component3-GbmMWyQ ()Ljava/lang/String; + public final fun component4 ()Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle; + public final fun copy-peVxY-Q (Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonPollType;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;)Ldev/inmo/tgbotapi/types/buttons/RequestPollKeyboardButton; + public static synthetic fun copy-peVxY-Q$default (Ldev/inmo/tgbotapi/types/buttons/RequestPollKeyboardButton;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonPollType;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/buttons/RequestPollKeyboardButton; public fun equals (Ljava/lang/Object;)Z + public fun getIconCustomEmojiId-GbmMWyQ ()Ljava/lang/String; public final fun getRequestPoll ()Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonPollType; + public fun getStyle ()Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle; public fun getText ()Ljava/lang/String; public fun hashCode ()I public fun toString ()Ljava/lang/String; @@ -15887,13 +16472,18 @@ public final class dev/inmo/tgbotapi/types/buttons/RequestPollKeyboardButton$Com public final class dev/inmo/tgbotapi/types/buttons/RequestUserKeyboardButton : dev/inmo/tgbotapi/types/buttons/KeyboardButton { public static final field Companion Ldev/inmo/tgbotapi/types/buttons/RequestUserKeyboardButton$Companion; - public fun (Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonRequestUsers;)V + public synthetic fun (Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonRequestUsers;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonRequestUsers;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;Lkotlin/jvm/internal/DefaultConstructorMarker;)V public final fun component1 ()Ljava/lang/String; public final fun component2 ()Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonRequestUsers; - public final fun copy (Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonRequestUsers;)Ldev/inmo/tgbotapi/types/buttons/RequestUserKeyboardButton; - public static synthetic fun copy$default (Ldev/inmo/tgbotapi/types/buttons/RequestUserKeyboardButton;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonRequestUsers;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/buttons/RequestUserKeyboardButton; + public final fun component3-GbmMWyQ ()Ljava/lang/String; + public final fun component4 ()Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle; + public final fun copy-peVxY-Q (Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonRequestUsers;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;)Ldev/inmo/tgbotapi/types/buttons/RequestUserKeyboardButton; + public static synthetic fun copy-peVxY-Q$default (Ldev/inmo/tgbotapi/types/buttons/RequestUserKeyboardButton;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonRequestUsers;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/buttons/RequestUserKeyboardButton; public fun equals (Ljava/lang/Object;)Z + public fun getIconCustomEmojiId-GbmMWyQ ()Ljava/lang/String; public final fun getRequestUsers ()Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonRequestUsers; + public fun getStyle ()Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle; public fun getText ()Ljava/lang/String; public fun hashCode ()I public fun toString ()Ljava/lang/String; @@ -15916,11 +16506,16 @@ public final class dev/inmo/tgbotapi/types/buttons/RequestUserKeyboardButton$Com public final class dev/inmo/tgbotapi/types/buttons/SimpleKeyboardButton : dev/inmo/tgbotapi/types/buttons/KeyboardButton { public static final field Companion Ldev/inmo/tgbotapi/types/buttons/SimpleKeyboardButton$Companion; - public fun (Ljava/lang/String;)V + public synthetic fun (Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;Lkotlin/jvm/internal/DefaultConstructorMarker;)V public final fun component1 ()Ljava/lang/String; - public final fun copy (Ljava/lang/String;)Ldev/inmo/tgbotapi/types/buttons/SimpleKeyboardButton; - public static synthetic fun copy$default (Ldev/inmo/tgbotapi/types/buttons/SimpleKeyboardButton;Ljava/lang/String;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/buttons/SimpleKeyboardButton; + public final fun component2-GbmMWyQ ()Ljava/lang/String; + public final fun component3 ()Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle; + public final fun copy-A-saiJc (Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;)Ldev/inmo/tgbotapi/types/buttons/SimpleKeyboardButton; + public static synthetic fun copy-A-saiJc$default (Ldev/inmo/tgbotapi/types/buttons/SimpleKeyboardButton;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/buttons/SimpleKeyboardButton; public fun equals (Ljava/lang/Object;)Z + public fun getIconCustomEmojiId-GbmMWyQ ()Ljava/lang/String; + public fun getStyle ()Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle; public fun getText ()Ljava/lang/String; public fun hashCode ()I public fun toString ()Ljava/lang/String; @@ -15946,7 +16541,9 @@ public final class dev/inmo/tgbotapi/types/buttons/UnknownKeyboardButton : dev/i public final fun component1 ()Ljava/lang/String; public final fun component2 ()Ljava/lang/String; public fun equals (Ljava/lang/Object;)Z + public fun getIconCustomEmojiId-GbmMWyQ ()Ljava/lang/String; public final fun getRaw ()Ljava/lang/String; + public fun getStyle ()Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle; public fun getText ()Ljava/lang/String; public fun hashCode ()I public fun toString ()Ljava/lang/String; @@ -15989,12 +16586,17 @@ public final class dev/inmo/tgbotapi/types/buttons/UnknownKeyboardButtonPollType public final class dev/inmo/tgbotapi/types/buttons/WebAppKeyboardButton : dev/inmo/tgbotapi/types/buttons/KeyboardButton { public static final field Companion Ldev/inmo/tgbotapi/types/buttons/WebAppKeyboardButton$Companion; - public fun (Ljava/lang/String;Ldev/inmo/tgbotapi/types/webapps/WebAppInfo;)V + public synthetic fun (Ljava/lang/String;Ldev/inmo/tgbotapi/types/webapps/WebAppInfo;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (Ljava/lang/String;Ldev/inmo/tgbotapi/types/webapps/WebAppInfo;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;Lkotlin/jvm/internal/DefaultConstructorMarker;)V public final fun component1 ()Ljava/lang/String; public final fun component2 ()Ldev/inmo/tgbotapi/types/webapps/WebAppInfo; - public final fun copy (Ljava/lang/String;Ldev/inmo/tgbotapi/types/webapps/WebAppInfo;)Ldev/inmo/tgbotapi/types/buttons/WebAppKeyboardButton; - public static synthetic fun copy$default (Ldev/inmo/tgbotapi/types/buttons/WebAppKeyboardButton;Ljava/lang/String;Ldev/inmo/tgbotapi/types/webapps/WebAppInfo;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/buttons/WebAppKeyboardButton; + public final fun component3-GbmMWyQ ()Ljava/lang/String; + public final fun component4 ()Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle; + public final fun copy-peVxY-Q (Ljava/lang/String;Ldev/inmo/tgbotapi/types/webapps/WebAppInfo;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;)Ldev/inmo/tgbotapi/types/buttons/WebAppKeyboardButton; + public static synthetic fun copy-peVxY-Q$default (Ldev/inmo/tgbotapi/types/buttons/WebAppKeyboardButton;Ljava/lang/String;Ldev/inmo/tgbotapi/types/webapps/WebAppInfo;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/buttons/WebAppKeyboardButton; public fun equals (Ljava/lang/Object;)Z + public fun getIconCustomEmojiId-GbmMWyQ ()Ljava/lang/String; + public fun getStyle ()Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle; public fun getText ()Ljava/lang/String; public final fun getWebApp ()Ldev/inmo/tgbotapi/types/webapps/WebAppInfo; public fun hashCode ()I @@ -16017,49 +16619,69 @@ public final class dev/inmo/tgbotapi/types/buttons/WebAppKeyboardButton$Companio } public final class dev/inmo/tgbotapi/types/buttons/inline/InlineKeyboardButtonsShortcutsKt { - public static final fun copyTextButton (Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/CopyTextButtonData;)Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/CopyTextButton; - public static final fun copyTextButton (Ljava/lang/String;Ljava/lang/String;)Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/CopyTextButton; - public static final fun dataInlineButton (Ljava/lang/String;Ljava/lang/String;)Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/CallbackDataInlineKeyboardButton; - public static final fun gameInlineButton (Ljava/lang/String;)Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/CallbackGameInlineKeyboardButton; - public static final fun inlineQueryInAnyCurrentChatInlineButton (Ljava/lang/String;Ljava/lang/String;)Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/SwitchInlineQueryChosenChatInlineKeyboardButton; - public static synthetic fun inlineQueryInAnyCurrentChatInlineButton$default (Ljava/lang/String;Ljava/lang/String;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/SwitchInlineQueryChosenChatInlineKeyboardButton; - public static final fun inlineQueryInCurrentChatInlineButton (Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/SwitchInlineQueryChosenChat;)Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/SwitchInlineQueryChosenChatInlineKeyboardButton; - public static final fun inlineQueryInCurrentChatInlineButton (Ljava/lang/String;Ljava/lang/String;)Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/SwitchInlineQueryCurrentChatInlineKeyboardButton; - public static final fun inlineQueryInCurrentChatInlineButton (Ljava/lang/String;Ljava/lang/String;ZZZZ)Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/SwitchInlineQueryChosenChatInlineKeyboardButton; - public static synthetic fun inlineQueryInCurrentChatInlineButton$default (Ljava/lang/String;Ljava/lang/String;ZZZZILjava/lang/Object;)Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/SwitchInlineQueryChosenChatInlineKeyboardButton; - public static final fun inlineQueryInlineButton (Ljava/lang/String;Ljava/lang/String;)Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/SwitchInlineQueryInlineKeyboardButton; - public static final fun loginInlineButton (Ljava/lang/String;Ldev/inmo/tgbotapi/types/LoginURL;)Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/LoginURLInlineKeyboardButton; - public static final fun payInlineButton (Ljava/lang/String;)Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/PayInlineKeyboardButton; - public static final fun urlInlineButton (Ljava/lang/String;Ljava/lang/String;)Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/URLInlineKeyboardButton; - public static final fun webAppInlineButton (Ljava/lang/String;Ldev/inmo/tgbotapi/types/webapps/WebAppInfo;)Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/WebAppInlineKeyboardButton; - public static final fun webAppInlineButton (Ljava/lang/String;Ljava/lang/String;)Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/WebAppInlineKeyboardButton; + public static final fun copyTextButton-peVxY-Q (Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/CopyTextButtonData;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;)Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/CopyTextButton; + public static final fun copyTextButton-peVxY-Q (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;)Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/CopyTextButton; + public static synthetic fun copyTextButton-peVxY-Q$default (Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/CopyTextButtonData;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/CopyTextButton; + public static synthetic fun copyTextButton-peVxY-Q$default (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/CopyTextButton; + public static final fun dataInlineButton-peVxY-Q (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;)Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/CallbackDataInlineKeyboardButton; + public static synthetic fun dataInlineButton-peVxY-Q$default (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/CallbackDataInlineKeyboardButton; + public static final fun gameInlineButton-A-saiJc (Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;)Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/CallbackGameInlineKeyboardButton; + public static synthetic fun gameInlineButton-A-saiJc$default (Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/CallbackGameInlineKeyboardButton; + public static final fun inlineQueryInAnyCurrentChatInlineButton-peVxY-Q (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;)Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/SwitchInlineQueryChosenChatInlineKeyboardButton; + public static synthetic fun inlineQueryInAnyCurrentChatInlineButton-peVxY-Q$default (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/SwitchInlineQueryChosenChatInlineKeyboardButton; + public static final fun inlineQueryInCurrentChatInlineButton-A1Pr82Y (Ljava/lang/String;Ljava/lang/String;ZZZZLjava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;)Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/SwitchInlineQueryChosenChatInlineKeyboardButton; + public static synthetic fun inlineQueryInCurrentChatInlineButton-A1Pr82Y$default (Ljava/lang/String;Ljava/lang/String;ZZZZLjava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/SwitchInlineQueryChosenChatInlineKeyboardButton; + public static final fun inlineQueryInCurrentChatInlineButton-peVxY-Q (Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/SwitchInlineQueryChosenChat;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;)Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/SwitchInlineQueryChosenChatInlineKeyboardButton; + public static final fun inlineQueryInCurrentChatInlineButton-peVxY-Q (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;)Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/SwitchInlineQueryCurrentChatInlineKeyboardButton; + public static synthetic fun inlineQueryInCurrentChatInlineButton-peVxY-Q$default (Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/SwitchInlineQueryChosenChat;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/SwitchInlineQueryChosenChatInlineKeyboardButton; + public static synthetic fun inlineQueryInCurrentChatInlineButton-peVxY-Q$default (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/SwitchInlineQueryCurrentChatInlineKeyboardButton; + public static final fun inlineQueryInlineButton-peVxY-Q (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;)Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/SwitchInlineQueryInlineKeyboardButton; + public static synthetic fun inlineQueryInlineButton-peVxY-Q$default (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/SwitchInlineQueryInlineKeyboardButton; + public static final fun loginInlineButton-peVxY-Q (Ljava/lang/String;Ldev/inmo/tgbotapi/types/LoginURL;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;)Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/LoginURLInlineKeyboardButton; + public static synthetic fun loginInlineButton-peVxY-Q$default (Ljava/lang/String;Ldev/inmo/tgbotapi/types/LoginURL;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/LoginURLInlineKeyboardButton; + public static final fun payInlineButton-A-saiJc (Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;)Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/PayInlineKeyboardButton; + public static synthetic fun payInlineButton-A-saiJc$default (Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/PayInlineKeyboardButton; + public static final fun urlInlineButton-peVxY-Q (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;)Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/URLInlineKeyboardButton; + public static synthetic fun urlInlineButton-peVxY-Q$default (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/URLInlineKeyboardButton; + public static final fun webAppInlineButton-peVxY-Q (Ljava/lang/String;Ldev/inmo/tgbotapi/types/webapps/WebAppInfo;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;)Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/WebAppInlineKeyboardButton; + public static final fun webAppInlineButton-peVxY-Q (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;)Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/WebAppInlineKeyboardButton; + public static synthetic fun webAppInlineButton-peVxY-Q$default (Ljava/lang/String;Ldev/inmo/tgbotapi/types/webapps/WebAppInfo;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/WebAppInlineKeyboardButton; + public static synthetic fun webAppInlineButton-peVxY-Q$default (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/WebAppInlineKeyboardButton; } public final class dev/inmo/tgbotapi/types/buttons/reply/ReplyKeyboardButtonsShortcutsKt { - public static final fun requestBotsReplyButton-DMiTggw (Ljava/lang/String;SILjava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;)Ldev/inmo/tgbotapi/types/buttons/RequestUserKeyboardButton; - public static synthetic fun requestBotsReplyButton-DMiTggw$default (Ljava/lang/String;SILjava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/buttons/RequestUserKeyboardButton; - public static final fun requestChannelReplyButton-48zEUc8 (Ljava/lang/String;SLjava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ldev/inmo/tgbotapi/types/chat/member/ChatCommonAdministratorRights;Ldev/inmo/tgbotapi/types/chat/member/ChatCommonAdministratorRights;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;)Ldev/inmo/tgbotapi/types/buttons/RequestChatKeyboardButton; - public static synthetic fun requestChannelReplyButton-48zEUc8$default (Ljava/lang/String;SLjava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ldev/inmo/tgbotapi/types/chat/member/ChatCommonAdministratorRights;Ldev/inmo/tgbotapi/types/chat/member/ChatCommonAdministratorRights;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/buttons/RequestChatKeyboardButton; - public static final fun requestChannelReplyButton-x7olw_Q (Ljava/lang/String;SLjava/lang/Boolean;Ljava/lang/Boolean;Ldev/inmo/tgbotapi/types/chat/member/ChatCommonAdministratorRights;Ldev/inmo/tgbotapi/types/chat/member/ChatCommonAdministratorRights;ZLjava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;)Ldev/inmo/tgbotapi/types/buttons/RequestChatKeyboardButton; - public static synthetic fun requestChannelReplyButton-x7olw_Q$default (Ljava/lang/String;SLjava/lang/Boolean;Ljava/lang/Boolean;Ldev/inmo/tgbotapi/types/chat/member/ChatCommonAdministratorRights;Ldev/inmo/tgbotapi/types/chat/member/ChatCommonAdministratorRights;ZLjava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/buttons/RequestChatKeyboardButton; - public static final fun requestChatReplyButton (Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonRequestChat;)Ldev/inmo/tgbotapi/types/buttons/RequestChatKeyboardButton; - public static final fun requestChatReplyButton-Q8_HZNU (Ljava/lang/String;SLjava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ldev/inmo/tgbotapi/types/chat/member/ChatCommonAdministratorRights;Ldev/inmo/tgbotapi/types/chat/member/ChatCommonAdministratorRights;ZLjava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;)Ldev/inmo/tgbotapi/types/buttons/RequestChatKeyboardButton; - public static synthetic fun requestChatReplyButton-Q8_HZNU$default (Ljava/lang/String;SLjava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ldev/inmo/tgbotapi/types/chat/member/ChatCommonAdministratorRights;Ldev/inmo/tgbotapi/types/chat/member/ChatCommonAdministratorRights;ZLjava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/buttons/RequestChatKeyboardButton; - public static final fun requestContactReplyButton (Ljava/lang/String;)Ldev/inmo/tgbotapi/types/buttons/RequestContactKeyboardButton; - public static final fun requestLocationReplyButton (Ljava/lang/String;)Ldev/inmo/tgbotapi/types/buttons/RequestLocationKeyboardButton; - public static final fun requestPollReplyButton (Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonPollType;)Ldev/inmo/tgbotapi/types/buttons/RequestPollKeyboardButton; - public static final fun requestUserOrBotReplyButton-L4bH-_U (Ljava/lang/String;SLjava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;)Ldev/inmo/tgbotapi/types/buttons/RequestUserKeyboardButton; - public static synthetic fun requestUserOrBotReplyButton-L4bH-_U$default (Ljava/lang/String;SLjava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/buttons/RequestUserKeyboardButton; - public static final fun requestUserReplyButton-DwHZ6rQ (Ljava/lang/String;SLjava/lang/Boolean;ILjava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;)Ldev/inmo/tgbotapi/types/buttons/RequestUserKeyboardButton; - public static synthetic fun requestUserReplyButton-DwHZ6rQ$default (Ljava/lang/String;SLjava/lang/Boolean;ILjava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/buttons/RequestUserKeyboardButton; - public static final fun requestUsersOrBotsReplyButton-DwHZ6rQ (Ljava/lang/String;SLjava/lang/Boolean;ILjava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;)Ldev/inmo/tgbotapi/types/buttons/RequestUserKeyboardButton; - public static synthetic fun requestUsersOrBotsReplyButton-DwHZ6rQ$default (Ljava/lang/String;SLjava/lang/Boolean;ILjava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/buttons/RequestUserKeyboardButton; - public static final fun requestUsersReplyButton (Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonRequestUsers;)Ldev/inmo/tgbotapi/types/buttons/RequestUserKeyboardButton; - public static final fun requestUsersReplyButton-DwHZ6rQ (Ljava/lang/String;SLjava/lang/Boolean;ILjava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;)Ldev/inmo/tgbotapi/types/buttons/RequestUserKeyboardButton; - public static synthetic fun requestUsersReplyButton-DwHZ6rQ$default (Ljava/lang/String;SLjava/lang/Boolean;ILjava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/buttons/RequestUserKeyboardButton; - public static final fun simpleReplyButton (Ljava/lang/String;)Ldev/inmo/tgbotapi/types/buttons/SimpleKeyboardButton; - public static final fun webAppReplyButton (Ljava/lang/String;Ldev/inmo/tgbotapi/types/webapps/WebAppInfo;)Ldev/inmo/tgbotapi/types/buttons/WebAppKeyboardButton; - public static final fun webAppReplyButton (Ljava/lang/String;Ljava/lang/String;)Ldev/inmo/tgbotapi/types/buttons/WebAppKeyboardButton; + public static final fun requestBotsReplyButton-fwDdwSU (Ljava/lang/String;SILjava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;)Ldev/inmo/tgbotapi/types/buttons/RequestUserKeyboardButton; + public static synthetic fun requestBotsReplyButton-fwDdwSU$default (Ljava/lang/String;SILjava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/buttons/RequestUserKeyboardButton; + public static final fun requestChannelReplyButton-EhOUbjc (Ljava/lang/String;SLjava/lang/Boolean;Ljava/lang/Boolean;Ldev/inmo/tgbotapi/types/chat/member/ChatCommonAdministratorRights;Ldev/inmo/tgbotapi/types/chat/member/ChatCommonAdministratorRights;ZLjava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;)Ldev/inmo/tgbotapi/types/buttons/RequestChatKeyboardButton; + public static synthetic fun requestChannelReplyButton-EhOUbjc$default (Ljava/lang/String;SLjava/lang/Boolean;Ljava/lang/Boolean;Ldev/inmo/tgbotapi/types/chat/member/ChatCommonAdministratorRights;Ldev/inmo/tgbotapi/types/chat/member/ChatCommonAdministratorRights;ZLjava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/buttons/RequestChatKeyboardButton; + public static final fun requestChannelReplyButton-ODUf-pc (Ljava/lang/String;SLjava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ldev/inmo/tgbotapi/types/chat/member/ChatCommonAdministratorRights;Ldev/inmo/tgbotapi/types/chat/member/ChatCommonAdministratorRights;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;)Ldev/inmo/tgbotapi/types/buttons/RequestChatKeyboardButton; + public static synthetic fun requestChannelReplyButton-ODUf-pc$default (Ljava/lang/String;SLjava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ldev/inmo/tgbotapi/types/chat/member/ChatCommonAdministratorRights;Ldev/inmo/tgbotapi/types/chat/member/ChatCommonAdministratorRights;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/buttons/RequestChatKeyboardButton; + public static final fun requestChatReplyButton-TQHSzjY (Ljava/lang/String;SLjava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ldev/inmo/tgbotapi/types/chat/member/ChatCommonAdministratorRights;Ldev/inmo/tgbotapi/types/chat/member/ChatCommonAdministratorRights;ZLjava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;)Ldev/inmo/tgbotapi/types/buttons/RequestChatKeyboardButton; + public static synthetic fun requestChatReplyButton-TQHSzjY$default (Ljava/lang/String;SLjava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ldev/inmo/tgbotapi/types/chat/member/ChatCommonAdministratorRights;Ldev/inmo/tgbotapi/types/chat/member/ChatCommonAdministratorRights;ZLjava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/buttons/RequestChatKeyboardButton; + public static final fun requestChatReplyButton-peVxY-Q (Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonRequestChat;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;)Ldev/inmo/tgbotapi/types/buttons/RequestChatKeyboardButton; + public static synthetic fun requestChatReplyButton-peVxY-Q$default (Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonRequestChat;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/buttons/RequestChatKeyboardButton; + public static final fun requestContactReplyButton-A-saiJc (Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;)Ldev/inmo/tgbotapi/types/buttons/RequestContactKeyboardButton; + public static synthetic fun requestContactReplyButton-A-saiJc$default (Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/buttons/RequestContactKeyboardButton; + public static final fun requestLocationReplyButton-A-saiJc (Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;)Ldev/inmo/tgbotapi/types/buttons/RequestLocationKeyboardButton; + public static synthetic fun requestLocationReplyButton-A-saiJc$default (Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/buttons/RequestLocationKeyboardButton; + public static final fun requestPollReplyButton-peVxY-Q (Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonPollType;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;)Ldev/inmo/tgbotapi/types/buttons/RequestPollKeyboardButton; + public static synthetic fun requestPollReplyButton-peVxY-Q$default (Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonPollType;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/buttons/RequestPollKeyboardButton; + public static final fun requestUserOrBotReplyButton-ITD0VF0 (Ljava/lang/String;SLjava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;)Ldev/inmo/tgbotapi/types/buttons/RequestUserKeyboardButton; + public static synthetic fun requestUserOrBotReplyButton-ITD0VF0$default (Ljava/lang/String;SLjava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/buttons/RequestUserKeyboardButton; + public static final fun requestUserReplyButton-UgoT3Nw (Ljava/lang/String;SLjava/lang/Boolean;ILjava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;)Ldev/inmo/tgbotapi/types/buttons/RequestUserKeyboardButton; + public static synthetic fun requestUserReplyButton-UgoT3Nw$default (Ljava/lang/String;SLjava/lang/Boolean;ILjava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/buttons/RequestUserKeyboardButton; + public static final fun requestUsersOrBotsReplyButton-UgoT3Nw (Ljava/lang/String;SLjava/lang/Boolean;ILjava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;)Ldev/inmo/tgbotapi/types/buttons/RequestUserKeyboardButton; + public static synthetic fun requestUsersOrBotsReplyButton-UgoT3Nw$default (Ljava/lang/String;SLjava/lang/Boolean;ILjava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/buttons/RequestUserKeyboardButton; + public static final fun requestUsersReplyButton-UgoT3Nw (Ljava/lang/String;SLjava/lang/Boolean;ILjava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;)Ldev/inmo/tgbotapi/types/buttons/RequestUserKeyboardButton; + public static synthetic fun requestUsersReplyButton-UgoT3Nw$default (Ljava/lang/String;SLjava/lang/Boolean;ILjava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/buttons/RequestUserKeyboardButton; + public static final fun requestUsersReplyButton-peVxY-Q (Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonRequestUsers;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;)Ldev/inmo/tgbotapi/types/buttons/RequestUserKeyboardButton; + public static synthetic fun requestUsersReplyButton-peVxY-Q$default (Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonRequestUsers;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/buttons/RequestUserKeyboardButton; + public static final fun simpleReplyButton-A-saiJc (Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;)Ldev/inmo/tgbotapi/types/buttons/SimpleKeyboardButton; + public static synthetic fun simpleReplyButton-A-saiJc$default (Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/buttons/SimpleKeyboardButton; + public static final fun webAppReplyButton-peVxY-Q (Ljava/lang/String;Ldev/inmo/tgbotapi/types/webapps/WebAppInfo;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;)Ldev/inmo/tgbotapi/types/buttons/WebAppKeyboardButton; + public static final fun webAppReplyButton-peVxY-Q (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;)Ldev/inmo/tgbotapi/types/buttons/WebAppKeyboardButton; + public static synthetic fun webAppReplyButton-peVxY-Q$default (Ljava/lang/String;Ldev/inmo/tgbotapi/types/webapps/WebAppInfo;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/buttons/WebAppKeyboardButton; + public static synthetic fun webAppReplyButton-peVxY-Q$default (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/buttons/WebAppKeyboardButton; } public abstract interface class dev/inmo/tgbotapi/types/chat/AbleToAddInAttachmentMenuChat : dev/inmo/tgbotapi/types/chat/Chat { @@ -16265,16 +16887,16 @@ public final class dev/inmo/tgbotapi/types/chat/ChatBackground$Companion { public final class dev/inmo/tgbotapi/types/chat/ChatJoinRequest : dev/inmo/tgbotapi/abstracts/FromUser { public static final field Companion Ldev/inmo/tgbotapi/types/chat/ChatJoinRequest$Companion; - public synthetic fun (Ldev/inmo/tgbotapi/types/chat/PublicChat;Ldev/inmo/tgbotapi/types/chat/User;JLdev/inmo/tgbotapi/types/TelegramDate;Ldev/inmo/tgbotapi/types/ChatInviteLink;Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V - public synthetic fun (Ldev/inmo/tgbotapi/types/chat/PublicChat;Ldev/inmo/tgbotapi/types/chat/User;JLdev/inmo/tgbotapi/types/TelegramDate;Ldev/inmo/tgbotapi/types/ChatInviteLink;Ljava/lang/String;Lkotlin/jvm/internal/DefaultConstructorMarker;)V + public fun (Ldev/inmo/tgbotapi/types/chat/PublicChat;Ldev/inmo/tgbotapi/types/chat/User;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/TelegramDate;Ldev/inmo/tgbotapi/types/ChatInviteLink;Ljava/lang/String;)V + public synthetic fun (Ldev/inmo/tgbotapi/types/chat/PublicChat;Ldev/inmo/tgbotapi/types/chat/User;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/TelegramDate;Ldev/inmo/tgbotapi/types/ChatInviteLink;Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V public final fun component1 ()Ldev/inmo/tgbotapi/types/chat/PublicChat; public final fun component2 ()Ldev/inmo/tgbotapi/types/chat/User; - public final fun component3-tHkBKVM ()J + public final fun component3 ()Ldev/inmo/tgbotapi/types/IdChatIdentifier; public final fun component4 ()Ldev/inmo/tgbotapi/types/TelegramDate; public final fun component5 ()Ldev/inmo/tgbotapi/types/ChatInviteLink; public final fun component6 ()Ljava/lang/String; - public final fun copy-mITkJfk (Ldev/inmo/tgbotapi/types/chat/PublicChat;Ldev/inmo/tgbotapi/types/chat/User;JLdev/inmo/tgbotapi/types/TelegramDate;Ldev/inmo/tgbotapi/types/ChatInviteLink;Ljava/lang/String;)Ldev/inmo/tgbotapi/types/chat/ChatJoinRequest; - public static synthetic fun copy-mITkJfk$default (Ldev/inmo/tgbotapi/types/chat/ChatJoinRequest;Ldev/inmo/tgbotapi/types/chat/PublicChat;Ldev/inmo/tgbotapi/types/chat/User;JLdev/inmo/tgbotapi/types/TelegramDate;Ldev/inmo/tgbotapi/types/ChatInviteLink;Ljava/lang/String;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/chat/ChatJoinRequest; + public final fun copy (Ldev/inmo/tgbotapi/types/chat/PublicChat;Ldev/inmo/tgbotapi/types/chat/User;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/TelegramDate;Ldev/inmo/tgbotapi/types/ChatInviteLink;Ljava/lang/String;)Ldev/inmo/tgbotapi/types/chat/ChatJoinRequest; + public static synthetic fun copy$default (Ldev/inmo/tgbotapi/types/chat/ChatJoinRequest;Ldev/inmo/tgbotapi/types/chat/PublicChat;Ldev/inmo/tgbotapi/types/chat/User;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/TelegramDate;Ldev/inmo/tgbotapi/types/ChatInviteLink;Ljava/lang/String;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/chat/ChatJoinRequest; public fun equals (Ljava/lang/Object;)Z public final fun getBio ()Ljava/lang/String; public final fun getChat ()Ldev/inmo/tgbotapi/types/chat/PublicChat; @@ -16283,7 +16905,7 @@ public final class dev/inmo/tgbotapi/types/chat/ChatJoinRequest : dev/inmo/tgbot public fun getFrom ()Ldev/inmo/tgbotapi/types/chat/User; public final fun getInviteLink ()Ldev/inmo/tgbotapi/types/ChatInviteLink; public fun getUser ()Ldev/inmo/tgbotapi/types/chat/User; - public final fun getUserChatId-tHkBKVM ()J + public final fun getUserChatId ()Ldev/inmo/tgbotapi/types/IdChatIdentifier; public fun hashCode ()I public fun toString ()Ljava/lang/String; } @@ -16729,18 +17351,17 @@ public final class dev/inmo/tgbotapi/types/chat/ChatTypeSerializer : kotlinx/ser public final class dev/inmo/tgbotapi/types/chat/CommonBot : dev/inmo/tgbotapi/types/chat/PreviewBot { public static final field Companion Ldev/inmo/tgbotapi/types/chat/CommonBot$Companion; - public synthetic fun (JLjava/lang/String;Ljava/lang/String;Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V - public synthetic fun (JLjava/lang/String;Ljava/lang/String;Ljava/lang/String;Lkotlin/jvm/internal/DefaultConstructorMarker;)V - public final fun component1-tHkBKVM ()J + public synthetic fun (Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Ldev/inmo/tgbotapi/types/IdChatIdentifier; public final fun component2 ()Ljava/lang/String; public final fun component3 ()Ljava/lang/String; public final fun component4-san03mo ()Ljava/lang/String; - public final fun copy-7wGo8UQ (JLjava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ldev/inmo/tgbotapi/types/chat/CommonBot; - public static synthetic fun copy-7wGo8UQ$default (Ldev/inmo/tgbotapi/types/chat/CommonBot;JLjava/lang/String;Ljava/lang/String;Ljava/lang/String;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/chat/CommonBot; + public final fun copy-ph6izcI (Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ldev/inmo/tgbotapi/types/chat/CommonBot; + public static synthetic fun copy-ph6izcI$default (Ldev/inmo/tgbotapi/types/chat/CommonBot;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/chat/CommonBot; public fun equals (Ljava/lang/Object;)Z public fun getFirstName ()Ljava/lang/String; - public synthetic fun getId ()Ldev/inmo/tgbotapi/types/IdChatIdentifier; - public fun getId-tHkBKVM ()J + public fun getId ()Ldev/inmo/tgbotapi/types/IdChatIdentifier; public fun getLastName ()Ljava/lang/String; public fun getUsername-san03mo ()Ljava/lang/String; public fun hashCode ()I @@ -16764,24 +17385,23 @@ public final class dev/inmo/tgbotapi/types/chat/CommonBot$Companion { public final class dev/inmo/tgbotapi/types/chat/CommonUser : dev/inmo/tgbotapi/types/chat/PreviewUser, dev/inmo/tgbotapi/types/abstracts/WithOptionalLanguageCode, dev/inmo/tgbotapi/types/chat/AbleToAddInAttachmentMenuChat, dev/inmo/tgbotapi/types/chat/PossiblyPremiumChat { public static final field Companion Ldev/inmo/tgbotapi/types/chat/CommonUser$Companion; - public synthetic fun (JLjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/micro_utils/language_codes/IetfLang;ZZILkotlin/jvm/internal/DefaultConstructorMarker;)V - public synthetic fun (JLjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/micro_utils/language_codes/IetfLang;ZZLkotlin/jvm/internal/DefaultConstructorMarker;)V - public synthetic fun (JLjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V - public synthetic fun (JLjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lkotlin/jvm/internal/DefaultConstructorMarker;)V - public final fun component1-tHkBKVM ()J + public synthetic fun (Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/micro_utils/language_codes/IetfLang;ZZILkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/micro_utils/language_codes/IetfLang;ZZLkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Ldev/inmo/tgbotapi/types/IdChatIdentifier; public final fun component2 ()Ljava/lang/String; public final fun component3 ()Ljava/lang/String; public final fun component4-san03mo ()Ljava/lang/String; public final fun component5 ()Ldev/inmo/micro_utils/language_codes/IetfLang; public final fun component6 ()Z public final fun component7 ()Z - public final fun copy--c4SWi8 (JLjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/micro_utils/language_codes/IetfLang;ZZ)Ldev/inmo/tgbotapi/types/chat/CommonUser; - public static synthetic fun copy--c4SWi8$default (Ldev/inmo/tgbotapi/types/chat/CommonUser;JLjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/micro_utils/language_codes/IetfLang;ZZILjava/lang/Object;)Ldev/inmo/tgbotapi/types/chat/CommonUser; + public final fun copy-cUFFZzw (Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/micro_utils/language_codes/IetfLang;ZZ)Ldev/inmo/tgbotapi/types/chat/CommonUser; + public static synthetic fun copy-cUFFZzw$default (Ldev/inmo/tgbotapi/types/chat/CommonUser;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/micro_utils/language_codes/IetfLang;ZZILjava/lang/Object;)Ldev/inmo/tgbotapi/types/chat/CommonUser; public fun equals (Ljava/lang/Object;)Z public fun getAddedToAttachmentMenu ()Z public fun getFirstName ()Ljava/lang/String; - public synthetic fun getId ()Ldev/inmo/tgbotapi/types/IdChatIdentifier; - public fun getId-tHkBKVM ()J + public fun getId ()Ldev/inmo/tgbotapi/types/IdChatIdentifier; public fun getIetfLanguageCode ()Ldev/inmo/micro_utils/language_codes/IetfLang; public fun getLanguageCode ()Ljava/lang/String; public fun getLastName ()Ljava/lang/String; @@ -16839,16 +17459,19 @@ public final class dev/inmo/tgbotapi/types/chat/DirectMessagesTopic$Companion { public final class dev/inmo/tgbotapi/types/chat/ExtendedBot : dev/inmo/tgbotapi/types/chat/Bot, dev/inmo/tgbotapi/types/chat/ExtendedChat { public static final field Companion Ldev/inmo/tgbotapi/types/chat/ExtendedBot$Companion; - public synthetic fun (JLjava/lang/String;Ljava/lang/String;Ljava/lang/String;ZZZZLdev/inmo/tgbotapi/types/ChatPhoto;ILdev/inmo/tgbotapi/types/colors/ColorId;Ljava/lang/String;Ljava/lang/String;IZLdev/inmo/tgbotapi/types/gifts/AcceptedGiftTypes;ILkotlin/jvm/internal/DefaultConstructorMarker;)V - public synthetic fun (JLjava/lang/String;Ljava/lang/String;Ljava/lang/String;ZZZZLdev/inmo/tgbotapi/types/ChatPhoto;ILdev/inmo/tgbotapi/types/colors/ColorId;Ljava/lang/String;Ljava/lang/String;IZLdev/inmo/tgbotapi/types/gifts/AcceptedGiftTypes;Lkotlin/jvm/internal/DefaultConstructorMarker;)V - public final fun component1-tHkBKVM ()J + public synthetic fun (Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZZZZLdev/inmo/tgbotapi/types/ChatPhoto;ILdev/inmo/tgbotapi/types/colors/ColorId;Ljava/lang/String;Ljava/lang/String;IZZZLdev/inmo/tgbotapi/types/gifts/AcceptedGiftTypes;Ldev/inmo/tgbotapi/types/gifts/unique/UniqueGiftColors;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZZZZLdev/inmo/tgbotapi/types/ChatPhoto;ILdev/inmo/tgbotapi/types/colors/ColorId;Ljava/lang/String;Ljava/lang/String;IZZZLdev/inmo/tgbotapi/types/gifts/AcceptedGiftTypes;Ldev/inmo/tgbotapi/types/gifts/unique/UniqueGiftColors;Lkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Ldev/inmo/tgbotapi/types/IdChatIdentifier; public final fun component10-f3WtEc0 ()I public final fun component11-mg_h9nU ()Ldev/inmo/tgbotapi/types/colors/ColorId; public final fun component12-GbmMWyQ ()Ljava/lang/String; public final fun component13-GbmMWyQ ()Ljava/lang/String; public final fun component14 ()I public final fun component15 ()Z - public final fun component16 ()Ldev/inmo/tgbotapi/types/gifts/AcceptedGiftTypes; + public final fun component16 ()Z + public final fun component17 ()Z + public final fun component18 ()Ldev/inmo/tgbotapi/types/gifts/AcceptedGiftTypes; + public final fun component19 ()Ldev/inmo/tgbotapi/types/gifts/unique/UniqueGiftColors; public final fun component2 ()Ljava/lang/String; public final fun component3 ()Ljava/lang/String; public final fun component4-san03mo ()Ljava/lang/String; @@ -16857,11 +17480,12 @@ public final class dev/inmo/tgbotapi/types/chat/ExtendedBot : dev/inmo/tgbotapi/ public final fun component7 ()Z public final fun component8 ()Z public final fun component9 ()Ldev/inmo/tgbotapi/types/ChatPhoto; - public final fun copy-NtAqVms (JLjava/lang/String;Ljava/lang/String;Ljava/lang/String;ZZZZLdev/inmo/tgbotapi/types/ChatPhoto;ILdev/inmo/tgbotapi/types/colors/ColorId;Ljava/lang/String;Ljava/lang/String;IZLdev/inmo/tgbotapi/types/gifts/AcceptedGiftTypes;)Ldev/inmo/tgbotapi/types/chat/ExtendedBot; - public static synthetic fun copy-NtAqVms$default (Ldev/inmo/tgbotapi/types/chat/ExtendedBot;JLjava/lang/String;Ljava/lang/String;Ljava/lang/String;ZZZZLdev/inmo/tgbotapi/types/ChatPhoto;ILdev/inmo/tgbotapi/types/colors/ColorId;Ljava/lang/String;Ljava/lang/String;IZLdev/inmo/tgbotapi/types/gifts/AcceptedGiftTypes;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/chat/ExtendedBot; + public final fun copy-vPF16Gs (Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZZZZLdev/inmo/tgbotapi/types/ChatPhoto;ILdev/inmo/tgbotapi/types/colors/ColorId;Ljava/lang/String;Ljava/lang/String;IZZZLdev/inmo/tgbotapi/types/gifts/AcceptedGiftTypes;Ldev/inmo/tgbotapi/types/gifts/unique/UniqueGiftColors;)Ldev/inmo/tgbotapi/types/chat/ExtendedBot; + public static synthetic fun copy-vPF16Gs$default (Ldev/inmo/tgbotapi/types/chat/ExtendedBot;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZZZZLdev/inmo/tgbotapi/types/ChatPhoto;ILdev/inmo/tgbotapi/types/colors/ColorId;Ljava/lang/String;Ljava/lang/String;IZZZLdev/inmo/tgbotapi/types/gifts/AcceptedGiftTypes;Ldev/inmo/tgbotapi/types/gifts/unique/UniqueGiftColors;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/chat/ExtendedBot; public fun equals (Ljava/lang/Object;)Z public fun getAccentColorId-f3WtEc0 ()I public fun getAcceptedGiftTypes ()Ldev/inmo/tgbotapi/types/gifts/AcceptedGiftTypes; + public final fun getAllowUsersToCreateTopics ()Z public fun getBackgroundCustomEmojiId-GbmMWyQ ()Ljava/lang/String; public final fun getCanConnectToBusiness ()Z public final fun getCanJoinGroups ()Z @@ -16870,13 +17494,14 @@ public final class dev/inmo/tgbotapi/types/chat/ExtendedBot : dev/inmo/tgbotapi/ public fun getChatPhoto ()Ldev/inmo/tgbotapi/types/ChatPhoto; public fun getFirstName ()Ljava/lang/String; public final fun getHasMainWebApp ()Z - public synthetic fun getId ()Ldev/inmo/tgbotapi/types/IdChatIdentifier; - public fun getId-tHkBKVM ()J + public final fun getHasTopicsEnabled ()Z + public fun getId ()Ldev/inmo/tgbotapi/types/IdChatIdentifier; public fun getLastName ()Ljava/lang/String; public fun getMaxReactionsCount ()I public fun getProfileAccentColorId-mg_h9nU ()Ldev/inmo/tgbotapi/types/colors/ColorId; public fun getProfileBackgroundCustomEmojiId-GbmMWyQ ()Ljava/lang/String; public final fun getSupportsInlineQueries ()Z + public fun getUniqueGiftColors ()Ldev/inmo/tgbotapi/types/gifts/unique/UniqueGiftColors; public fun getUsername-san03mo ()Ljava/lang/String; public fun hashCode ()I public fun toString ()Ljava/lang/String; @@ -16931,6 +17556,7 @@ public final class dev/inmo/tgbotapi/types/chat/ExtendedBusinessChatImpl : dev/i public synthetic fun getOriginal ()Ldev/inmo/tgbotapi/types/chat/PrivateChat; public fun getProfileAccentColorId-mg_h9nU ()Ldev/inmo/tgbotapi/types/colors/ColorId; public fun getProfileBackgroundCustomEmojiId-GbmMWyQ ()Ljava/lang/String; + public fun getUniqueGiftColors ()Ldev/inmo/tgbotapi/types/gifts/unique/UniqueGiftColors; public fun hashCode ()I public fun isDirectMessages ()Z public fun toString ()Ljava/lang/String; @@ -16968,8 +17594,8 @@ public final class dev/inmo/tgbotapi/types/chat/ExtendedChannelChat$DefaultImpls public final class dev/inmo/tgbotapi/types/chat/ExtendedChannelChatImpl : dev/inmo/tgbotapi/types/chat/ExtendedChannelChat { public static final field Companion Ldev/inmo/tgbotapi/types/chat/ExtendedChannelChatImpl$Companion; - public synthetic fun (JLjava/lang/String;Ldev/inmo/tgbotapi/types/gifts/AcceptedGiftTypes;Ljava/lang/String;Ljava/util/List;Ldev/inmo/tgbotapi/types/ChatPhoto;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/abstracts/Message;ZLdev/inmo/tgbotapi/types/IdChatIdentifier;ZLjava/util/List;Ljava/lang/String;Ldev/inmo/tgbotapi/types/TelegramDate;ILdev/inmo/tgbotapi/types/colors/ColorId;Ljava/lang/String;Ljava/lang/String;ZIILkotlin/jvm/internal/DefaultConstructorMarker;)V - public synthetic fun (JLjava/lang/String;Ldev/inmo/tgbotapi/types/gifts/AcceptedGiftTypes;Ljava/lang/String;Ljava/util/List;Ldev/inmo/tgbotapi/types/ChatPhoto;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/abstracts/Message;ZLdev/inmo/tgbotapi/types/IdChatIdentifier;ZLjava/util/List;Ljava/lang/String;Ldev/inmo/tgbotapi/types/TelegramDate;ILdev/inmo/tgbotapi/types/colors/ColorId;Ljava/lang/String;Ljava/lang/String;ZILkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (JLjava/lang/String;Ldev/inmo/tgbotapi/types/gifts/AcceptedGiftTypes;Ljava/lang/String;Ljava/util/List;Ldev/inmo/tgbotapi/types/ChatPhoto;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/abstracts/Message;ZLdev/inmo/tgbotapi/types/IdChatIdentifier;ZLjava/util/List;Ljava/lang/String;Ldev/inmo/tgbotapi/types/TelegramDate;ILdev/inmo/tgbotapi/types/colors/ColorId;Ljava/lang/String;Ljava/lang/String;ZILdev/inmo/tgbotapi/types/gifts/unique/UniqueGiftColors;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (JLjava/lang/String;Ldev/inmo/tgbotapi/types/gifts/AcceptedGiftTypes;Ljava/lang/String;Ljava/util/List;Ldev/inmo/tgbotapi/types/ChatPhoto;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/abstracts/Message;ZLdev/inmo/tgbotapi/types/IdChatIdentifier;ZLjava/util/List;Ljava/lang/String;Ldev/inmo/tgbotapi/types/TelegramDate;ILdev/inmo/tgbotapi/types/colors/ColorId;Ljava/lang/String;Ljava/lang/String;ZILdev/inmo/tgbotapi/types/gifts/unique/UniqueGiftColors;Lkotlin/jvm/internal/DefaultConstructorMarker;)V public final fun component1-tHkBKVM ()J public final fun component10 ()Z public final fun component11 ()Ldev/inmo/tgbotapi/types/IdChatIdentifier; @@ -16984,6 +17610,7 @@ public final class dev/inmo/tgbotapi/types/chat/ExtendedChannelChatImpl : dev/in public final fun component2 ()Ljava/lang/String; public final fun component20 ()Z public final fun component21 ()I + public final fun component22 ()Ldev/inmo/tgbotapi/types/gifts/unique/UniqueGiftColors; public final fun component3 ()Ldev/inmo/tgbotapi/types/gifts/AcceptedGiftTypes; public final fun component4-san03mo ()Ljava/lang/String; public final fun component5 ()Ljava/util/List; @@ -16991,8 +17618,8 @@ public final class dev/inmo/tgbotapi/types/chat/ExtendedChannelChatImpl : dev/in public final fun component7 ()Ljava/lang/String; public final fun component8 ()Ljava/lang/String; public final fun component9 ()Ldev/inmo/tgbotapi/types/message/abstracts/Message; - public final fun copy-wEHGSAw (JLjava/lang/String;Ldev/inmo/tgbotapi/types/gifts/AcceptedGiftTypes;Ljava/lang/String;Ljava/util/List;Ldev/inmo/tgbotapi/types/ChatPhoto;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/abstracts/Message;ZLdev/inmo/tgbotapi/types/IdChatIdentifier;ZLjava/util/List;Ljava/lang/String;Ldev/inmo/tgbotapi/types/TelegramDate;ILdev/inmo/tgbotapi/types/colors/ColorId;Ljava/lang/String;Ljava/lang/String;ZI)Ldev/inmo/tgbotapi/types/chat/ExtendedChannelChatImpl; - public static synthetic fun copy-wEHGSAw$default (Ldev/inmo/tgbotapi/types/chat/ExtendedChannelChatImpl;JLjava/lang/String;Ldev/inmo/tgbotapi/types/gifts/AcceptedGiftTypes;Ljava/lang/String;Ljava/util/List;Ldev/inmo/tgbotapi/types/ChatPhoto;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/abstracts/Message;ZLdev/inmo/tgbotapi/types/IdChatIdentifier;ZLjava/util/List;Ljava/lang/String;Ldev/inmo/tgbotapi/types/TelegramDate;ILdev/inmo/tgbotapi/types/colors/ColorId;Ljava/lang/String;Ljava/lang/String;ZIILjava/lang/Object;)Ldev/inmo/tgbotapi/types/chat/ExtendedChannelChatImpl; + public final fun copy-3EBDVfg (JLjava/lang/String;Ldev/inmo/tgbotapi/types/gifts/AcceptedGiftTypes;Ljava/lang/String;Ljava/util/List;Ldev/inmo/tgbotapi/types/ChatPhoto;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/abstracts/Message;ZLdev/inmo/tgbotapi/types/IdChatIdentifier;ZLjava/util/List;Ljava/lang/String;Ldev/inmo/tgbotapi/types/TelegramDate;ILdev/inmo/tgbotapi/types/colors/ColorId;Ljava/lang/String;Ljava/lang/String;ZILdev/inmo/tgbotapi/types/gifts/unique/UniqueGiftColors;)Ldev/inmo/tgbotapi/types/chat/ExtendedChannelChatImpl; + public static synthetic fun copy-3EBDVfg$default (Ldev/inmo/tgbotapi/types/chat/ExtendedChannelChatImpl;JLjava/lang/String;Ldev/inmo/tgbotapi/types/gifts/AcceptedGiftTypes;Ljava/lang/String;Ljava/util/List;Ldev/inmo/tgbotapi/types/ChatPhoto;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/abstracts/Message;ZLdev/inmo/tgbotapi/types/IdChatIdentifier;ZLjava/util/List;Ljava/lang/String;Ldev/inmo/tgbotapi/types/TelegramDate;ILdev/inmo/tgbotapi/types/colors/ColorId;Ljava/lang/String;Ljava/lang/String;ZILdev/inmo/tgbotapi/types/gifts/unique/UniqueGiftColors;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/chat/ExtendedChannelChatImpl; public fun equals (Ljava/lang/Object;)Z public fun getAccentColorId-f3WtEc0 ()I public fun getAcceptedGiftTypes ()Ldev/inmo/tgbotapi/types/gifts/AcceptedGiftTypes; @@ -17016,6 +17643,7 @@ public final class dev/inmo/tgbotapi/types/chat/ExtendedChannelChatImpl : dev/in public fun getStatusEmojiExpiration ()Ldev/inmo/tgbotapi/types/TelegramDate; public fun getStatusEmojiId-GbmMWyQ ()Ljava/lang/String; public fun getTitle ()Ljava/lang/String; + public fun getUniqueGiftColors ()Ldev/inmo/tgbotapi/types/gifts/unique/UniqueGiftColors; public fun getUsername-san03mo ()Ljava/lang/String; public fun hashCode ()I public fun isDirectMessages ()Z @@ -17053,8 +17681,8 @@ public final class dev/inmo/tgbotapi/types/chat/ExtendedChannelDirectMessagesCha public final class dev/inmo/tgbotapi/types/chat/ExtendedChannelDirectMessagesChatImpl : dev/inmo/tgbotapi/types/chat/ExtendedChannelDirectMessagesChat { public static final field Companion Ldev/inmo/tgbotapi/types/chat/ExtendedChannelDirectMessagesChatImpl$Companion; - public synthetic fun (Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;Ldev/inmo/tgbotapi/types/chat/PreviewChannelChat;Ljava/lang/String;Ljava/util/List;Ldev/inmo/tgbotapi/types/ChatPhoto;Ldev/inmo/tgbotapi/types/chat/ChatPermissions;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/abstracts/Message;Ljava/lang/String;Ljava/lang/Long;ZLdev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/ChatLocation;ZZZZLjava/util/List;Ljava/lang/String;Ldev/inmo/tgbotapi/types/TelegramDate;ILdev/inmo/tgbotapi/types/colors/ColorId;Ljava/lang/String;Ljava/lang/String;ZLjava/lang/Integer;Ljava/lang/String;ILdev/inmo/tgbotapi/types/gifts/AcceptedGiftTypes;ILkotlin/jvm/internal/DefaultConstructorMarker;)V - public synthetic fun (Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;Ldev/inmo/tgbotapi/types/chat/PreviewChannelChat;Ljava/lang/String;Ljava/util/List;Ldev/inmo/tgbotapi/types/ChatPhoto;Ldev/inmo/tgbotapi/types/chat/ChatPermissions;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/abstracts/Message;Ljava/lang/String;Ljava/lang/Long;ZLdev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/ChatLocation;ZZZZLjava/util/List;Ljava/lang/String;Ldev/inmo/tgbotapi/types/TelegramDate;ILdev/inmo/tgbotapi/types/colors/ColorId;Ljava/lang/String;Ljava/lang/String;ZLjava/lang/Integer;Ljava/lang/String;ILdev/inmo/tgbotapi/types/gifts/AcceptedGiftTypes;Lkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;Ldev/inmo/tgbotapi/types/chat/PreviewChannelChat;Ljava/lang/String;Ljava/util/List;Ldev/inmo/tgbotapi/types/ChatPhoto;Ldev/inmo/tgbotapi/types/chat/ChatPermissions;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/abstracts/Message;Ljava/lang/String;Ljava/lang/Long;ZLdev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/ChatLocation;ZZZZLjava/util/List;Ljava/lang/String;Ldev/inmo/tgbotapi/types/TelegramDate;ILdev/inmo/tgbotapi/types/colors/ColorId;Ljava/lang/String;Ljava/lang/String;ZLjava/lang/Integer;Ljava/lang/String;ILdev/inmo/tgbotapi/types/gifts/AcceptedGiftTypes;Ljava/lang/Integer;Ldev/inmo/tgbotapi/types/gifts/unique/UniqueGiftColors;IILkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;Ldev/inmo/tgbotapi/types/chat/PreviewChannelChat;Ljava/lang/String;Ljava/util/List;Ldev/inmo/tgbotapi/types/ChatPhoto;Ldev/inmo/tgbotapi/types/chat/ChatPermissions;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/abstracts/Message;Ljava/lang/String;Ljava/lang/Long;ZLdev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/ChatLocation;ZZZZLjava/util/List;Ljava/lang/String;Ldev/inmo/tgbotapi/types/TelegramDate;ILdev/inmo/tgbotapi/types/colors/ColorId;Ljava/lang/String;Ljava/lang/String;ZLjava/lang/Integer;Ljava/lang/String;ILdev/inmo/tgbotapi/types/gifts/AcceptedGiftTypes;Ljava/lang/Integer;Ldev/inmo/tgbotapi/types/gifts/unique/UniqueGiftColors;Lkotlin/jvm/internal/DefaultConstructorMarker;)V public final fun component1 ()Ldev/inmo/tgbotapi/types/IdChatIdentifier; public final fun component10 ()Ldev/inmo/tgbotapi/types/message/abstracts/Message; public final fun component11-eaLzeK0 ()Ljava/lang/String; @@ -17080,14 +17708,16 @@ public final class dev/inmo/tgbotapi/types/chat/ExtendedChannelDirectMessagesCha public final fun component3 ()Ldev/inmo/tgbotapi/types/chat/PreviewChannelChat; public final fun component30 ()I public final fun component31 ()Ldev/inmo/tgbotapi/types/gifts/AcceptedGiftTypes; + public final fun component32 ()Ljava/lang/Integer; + public final fun component33 ()Ldev/inmo/tgbotapi/types/gifts/unique/UniqueGiftColors; public final fun component4-san03mo ()Ljava/lang/String; public final fun component5 ()Ljava/util/List; public final fun component6 ()Ldev/inmo/tgbotapi/types/ChatPhoto; public final fun component7 ()Ldev/inmo/tgbotapi/types/chat/ChatPermissions; public final fun component8 ()Ljava/lang/String; public final fun component9 ()Ljava/lang/String; - public final fun copy-Ana-3lw (Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;Ldev/inmo/tgbotapi/types/chat/PreviewChannelChat;Ljava/lang/String;Ljava/util/List;Ldev/inmo/tgbotapi/types/ChatPhoto;Ldev/inmo/tgbotapi/types/chat/ChatPermissions;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/abstracts/Message;Ljava/lang/String;Ljava/lang/Long;ZLdev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/ChatLocation;ZZZZLjava/util/List;Ljava/lang/String;Ldev/inmo/tgbotapi/types/TelegramDate;ILdev/inmo/tgbotapi/types/colors/ColorId;Ljava/lang/String;Ljava/lang/String;ZLjava/lang/Integer;Ljava/lang/String;ILdev/inmo/tgbotapi/types/gifts/AcceptedGiftTypes;)Ldev/inmo/tgbotapi/types/chat/ExtendedChannelDirectMessagesChatImpl; - public static synthetic fun copy-Ana-3lw$default (Ldev/inmo/tgbotapi/types/chat/ExtendedChannelDirectMessagesChatImpl;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;Ldev/inmo/tgbotapi/types/chat/PreviewChannelChat;Ljava/lang/String;Ljava/util/List;Ldev/inmo/tgbotapi/types/ChatPhoto;Ldev/inmo/tgbotapi/types/chat/ChatPermissions;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/abstracts/Message;Ljava/lang/String;Ljava/lang/Long;ZLdev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/ChatLocation;ZZZZLjava/util/List;Ljava/lang/String;Ldev/inmo/tgbotapi/types/TelegramDate;ILdev/inmo/tgbotapi/types/colors/ColorId;Ljava/lang/String;Ljava/lang/String;ZLjava/lang/Integer;Ljava/lang/String;ILdev/inmo/tgbotapi/types/gifts/AcceptedGiftTypes;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/chat/ExtendedChannelDirectMessagesChatImpl; + public final fun copy-9X6KYPg (Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;Ldev/inmo/tgbotapi/types/chat/PreviewChannelChat;Ljava/lang/String;Ljava/util/List;Ldev/inmo/tgbotapi/types/ChatPhoto;Ldev/inmo/tgbotapi/types/chat/ChatPermissions;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/abstracts/Message;Ljava/lang/String;Ljava/lang/Long;ZLdev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/ChatLocation;ZZZZLjava/util/List;Ljava/lang/String;Ldev/inmo/tgbotapi/types/TelegramDate;ILdev/inmo/tgbotapi/types/colors/ColorId;Ljava/lang/String;Ljava/lang/String;ZLjava/lang/Integer;Ljava/lang/String;ILdev/inmo/tgbotapi/types/gifts/AcceptedGiftTypes;Ljava/lang/Integer;Ldev/inmo/tgbotapi/types/gifts/unique/UniqueGiftColors;)Ldev/inmo/tgbotapi/types/chat/ExtendedChannelDirectMessagesChatImpl; + public static synthetic fun copy-9X6KYPg$default (Ldev/inmo/tgbotapi/types/chat/ExtendedChannelDirectMessagesChatImpl;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;Ldev/inmo/tgbotapi/types/chat/PreviewChannelChat;Ljava/lang/String;Ljava/util/List;Ldev/inmo/tgbotapi/types/ChatPhoto;Ldev/inmo/tgbotapi/types/chat/ChatPermissions;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/abstracts/Message;Ljava/lang/String;Ljava/lang/Long;ZLdev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/ChatLocation;ZZZZLjava/util/List;Ljava/lang/String;Ldev/inmo/tgbotapi/types/TelegramDate;ILdev/inmo/tgbotapi/types/colors/ColorId;Ljava/lang/String;Ljava/lang/String;ZLjava/lang/Integer;Ljava/lang/String;ILdev/inmo/tgbotapi/types/gifts/AcceptedGiftTypes;Ljava/lang/Integer;Ldev/inmo/tgbotapi/types/gifts/unique/UniqueGiftColors;IILjava/lang/Object;)Ldev/inmo/tgbotapi/types/chat/ExtendedChannelDirectMessagesChatImpl; public fun equals (Ljava/lang/Object;)Z public fun getAccentColorId-f3WtEc0 ()I public fun getAcceptedGiftTypes ()Ldev/inmo/tgbotapi/types/gifts/AcceptedGiftTypes; @@ -17107,6 +17737,7 @@ public final class dev/inmo/tgbotapi/types/chat/ExtendedChannelDirectMessagesCha public fun getMaxReactionsCount ()I public fun getMembersHidden ()Z public fun getNewMembersSeeHistory ()Z + public fun getPaidMessageStarCount ()Ljava/lang/Integer; public fun getPermissions ()Ldev/inmo/tgbotapi/types/chat/ChatPermissions; public fun getPinnedMessage ()Ldev/inmo/tgbotapi/types/message/abstracts/Message; public fun getProfileAccentColorId-mg_h9nU ()Ldev/inmo/tgbotapi/types/colors/ColorId; @@ -17118,6 +17749,7 @@ public final class dev/inmo/tgbotapi/types/chat/ExtendedChannelDirectMessagesCha public fun getStatusEmojiId-GbmMWyQ ()Ljava/lang/String; public fun getStickerSetName-eaLzeK0 ()Ljava/lang/String; public fun getTitle ()Ljava/lang/String; + public fun getUniqueGiftColors ()Ldev/inmo/tgbotapi/types/gifts/unique/UniqueGiftColors; public fun getUnrestrictBoostsCount ()Ljava/lang/Integer; public fun getUsername-san03mo ()Ljava/lang/String; public fun hashCode ()I @@ -17151,6 +17783,7 @@ public abstract interface class dev/inmo/tgbotapi/types/chat/ExtendedChat : dev/ public abstract fun getMaxReactionsCount ()I public abstract fun getProfileAccentColorId-mg_h9nU ()Ldev/inmo/tgbotapi/types/colors/ColorId; public abstract fun getProfileBackgroundCustomEmojiId-GbmMWyQ ()Ljava/lang/String; + public abstract fun getUniqueGiftColors ()Ldev/inmo/tgbotapi/types/gifts/unique/UniqueGiftColors; } public final class dev/inmo/tgbotapi/types/chat/ExtendedChat$Companion { @@ -17200,7 +17833,7 @@ public final class dev/inmo/tgbotapi/types/chat/ExtendedChatWithUsername$Default public static fun isDirectMessages (Ldev/inmo/tgbotapi/types/chat/ExtendedChatWithUsername;)Z } -public abstract interface class dev/inmo/tgbotapi/types/chat/ExtendedForumChat : dev/inmo/tgbotapi/types/chat/ExtendedSupergroupChat, dev/inmo/tgbotapi/types/chat/ForumChat { +public abstract interface class dev/inmo/tgbotapi/types/chat/ExtendedForumChat : dev/inmo/tgbotapi/types/chat/ExtendedSupergroupChat, dev/inmo/tgbotapi/types/chat/SupergroupForumChat { public static final field Companion Ldev/inmo/tgbotapi/types/chat/ExtendedForumChat$Companion; } @@ -17215,8 +17848,8 @@ public final class dev/inmo/tgbotapi/types/chat/ExtendedForumChat$DefaultImpls { public final class dev/inmo/tgbotapi/types/chat/ExtendedForumChatImpl : dev/inmo/tgbotapi/types/chat/ExtendedForumChat { public static final field Companion Ldev/inmo/tgbotapi/types/chat/ExtendedForumChatImpl$Companion; - public synthetic fun (Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ldev/inmo/tgbotapi/types/ChatPhoto;Ldev/inmo/tgbotapi/types/chat/ChatPermissions;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/abstracts/Message;Ljava/lang/String;Ljava/lang/Long;ZLdev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/ChatLocation;ZZZZLjava/util/List;Ljava/lang/String;Ldev/inmo/tgbotapi/types/TelegramDate;ILdev/inmo/tgbotapi/types/colors/ColorId;Ljava/lang/String;Ljava/lang/String;ZLjava/lang/Integer;Ljava/lang/String;ILdev/inmo/tgbotapi/types/gifts/AcceptedGiftTypes;ILkotlin/jvm/internal/DefaultConstructorMarker;)V - public synthetic fun (Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ldev/inmo/tgbotapi/types/ChatPhoto;Ldev/inmo/tgbotapi/types/chat/ChatPermissions;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/abstracts/Message;Ljava/lang/String;Ljava/lang/Long;ZLdev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/ChatLocation;ZZZZLjava/util/List;Ljava/lang/String;Ldev/inmo/tgbotapi/types/TelegramDate;ILdev/inmo/tgbotapi/types/colors/ColorId;Ljava/lang/String;Ljava/lang/String;ZLjava/lang/Integer;Ljava/lang/String;ILdev/inmo/tgbotapi/types/gifts/AcceptedGiftTypes;Lkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ldev/inmo/tgbotapi/types/ChatPhoto;Ldev/inmo/tgbotapi/types/chat/ChatPermissions;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/abstracts/Message;Ljava/lang/String;Ljava/lang/Long;ZLdev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/ChatLocation;ZZZZLjava/util/List;Ljava/lang/String;Ldev/inmo/tgbotapi/types/TelegramDate;ILdev/inmo/tgbotapi/types/colors/ColorId;Ljava/lang/String;Ljava/lang/String;ZLjava/lang/Integer;Ljava/lang/String;ILdev/inmo/tgbotapi/types/gifts/AcceptedGiftTypes;Ljava/lang/Integer;Ldev/inmo/tgbotapi/types/gifts/unique/UniqueGiftColors;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ldev/inmo/tgbotapi/types/ChatPhoto;Ldev/inmo/tgbotapi/types/chat/ChatPermissions;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/abstracts/Message;Ljava/lang/String;Ljava/lang/Long;ZLdev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/ChatLocation;ZZZZLjava/util/List;Ljava/lang/String;Ldev/inmo/tgbotapi/types/TelegramDate;ILdev/inmo/tgbotapi/types/colors/ColorId;Ljava/lang/String;Ljava/lang/String;ZLjava/lang/Integer;Ljava/lang/String;ILdev/inmo/tgbotapi/types/gifts/AcceptedGiftTypes;Ljava/lang/Integer;Ldev/inmo/tgbotapi/types/gifts/unique/UniqueGiftColors;Lkotlin/jvm/internal/DefaultConstructorMarker;)V public final fun component1 ()Ldev/inmo/tgbotapi/types/IdChatIdentifier; public final fun component10-eaLzeK0 ()Ljava/lang/String; public final fun component11 ()Ljava/lang/Long; @@ -17241,14 +17874,16 @@ public final class dev/inmo/tgbotapi/types/chat/ExtendedForumChatImpl : dev/inmo public final fun component29 ()I public final fun component3-san03mo ()Ljava/lang/String; public final fun component30 ()Ldev/inmo/tgbotapi/types/gifts/AcceptedGiftTypes; + public final fun component31 ()Ljava/lang/Integer; + public final fun component32 ()Ldev/inmo/tgbotapi/types/gifts/unique/UniqueGiftColors; public final fun component4 ()Ljava/util/List; public final fun component5 ()Ldev/inmo/tgbotapi/types/ChatPhoto; public final fun component6 ()Ldev/inmo/tgbotapi/types/chat/ChatPermissions; public final fun component7 ()Ljava/lang/String; public final fun component8 ()Ljava/lang/String; public final fun component9 ()Ldev/inmo/tgbotapi/types/message/abstracts/Message; - public final fun copy-reSXiMQ (Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ldev/inmo/tgbotapi/types/ChatPhoto;Ldev/inmo/tgbotapi/types/chat/ChatPermissions;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/abstracts/Message;Ljava/lang/String;Ljava/lang/Long;ZLdev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/ChatLocation;ZZZZLjava/util/List;Ljava/lang/String;Ldev/inmo/tgbotapi/types/TelegramDate;ILdev/inmo/tgbotapi/types/colors/ColorId;Ljava/lang/String;Ljava/lang/String;ZLjava/lang/Integer;Ljava/lang/String;ILdev/inmo/tgbotapi/types/gifts/AcceptedGiftTypes;)Ldev/inmo/tgbotapi/types/chat/ExtendedForumChatImpl; - public static synthetic fun copy-reSXiMQ$default (Ldev/inmo/tgbotapi/types/chat/ExtendedForumChatImpl;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ldev/inmo/tgbotapi/types/ChatPhoto;Ldev/inmo/tgbotapi/types/chat/ChatPermissions;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/abstracts/Message;Ljava/lang/String;Ljava/lang/Long;ZLdev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/ChatLocation;ZZZZLjava/util/List;Ljava/lang/String;Ldev/inmo/tgbotapi/types/TelegramDate;ILdev/inmo/tgbotapi/types/colors/ColorId;Ljava/lang/String;Ljava/lang/String;ZLjava/lang/Integer;Ljava/lang/String;ILdev/inmo/tgbotapi/types/gifts/AcceptedGiftTypes;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/chat/ExtendedForumChatImpl; + public final fun copy-UyUmtDw (Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ldev/inmo/tgbotapi/types/ChatPhoto;Ldev/inmo/tgbotapi/types/chat/ChatPermissions;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/abstracts/Message;Ljava/lang/String;Ljava/lang/Long;ZLdev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/ChatLocation;ZZZZLjava/util/List;Ljava/lang/String;Ldev/inmo/tgbotapi/types/TelegramDate;ILdev/inmo/tgbotapi/types/colors/ColorId;Ljava/lang/String;Ljava/lang/String;ZLjava/lang/Integer;Ljava/lang/String;ILdev/inmo/tgbotapi/types/gifts/AcceptedGiftTypes;Ljava/lang/Integer;Ldev/inmo/tgbotapi/types/gifts/unique/UniqueGiftColors;)Ldev/inmo/tgbotapi/types/chat/ExtendedForumChatImpl; + public static synthetic fun copy-UyUmtDw$default (Ldev/inmo/tgbotapi/types/chat/ExtendedForumChatImpl;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ldev/inmo/tgbotapi/types/ChatPhoto;Ldev/inmo/tgbotapi/types/chat/ChatPermissions;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/abstracts/Message;Ljava/lang/String;Ljava/lang/Long;ZLdev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/ChatLocation;ZZZZLjava/util/List;Ljava/lang/String;Ldev/inmo/tgbotapi/types/TelegramDate;ILdev/inmo/tgbotapi/types/colors/ColorId;Ljava/lang/String;Ljava/lang/String;ZLjava/lang/Integer;Ljava/lang/String;ILdev/inmo/tgbotapi/types/gifts/AcceptedGiftTypes;Ljava/lang/Integer;Ldev/inmo/tgbotapi/types/gifts/unique/UniqueGiftColors;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/chat/ExtendedForumChatImpl; public fun equals (Ljava/lang/Object;)Z public fun getAccentColorId-f3WtEc0 ()I public fun getAcceptedGiftTypes ()Ldev/inmo/tgbotapi/types/gifts/AcceptedGiftTypes; @@ -17267,6 +17902,7 @@ public final class dev/inmo/tgbotapi/types/chat/ExtendedForumChatImpl : dev/inmo public fun getMaxReactionsCount ()I public fun getMembersHidden ()Z public fun getNewMembersSeeHistory ()Z + public fun getPaidMessageStarCount ()Ljava/lang/Integer; public fun getPermissions ()Ldev/inmo/tgbotapi/types/chat/ChatPermissions; public fun getPinnedMessage ()Ldev/inmo/tgbotapi/types/message/abstracts/Message; public fun getProfileAccentColorId-mg_h9nU ()Ldev/inmo/tgbotapi/types/colors/ColorId; @@ -17278,6 +17914,7 @@ public final class dev/inmo/tgbotapi/types/chat/ExtendedForumChatImpl : dev/inmo public fun getStatusEmojiId-GbmMWyQ ()Ljava/lang/String; public fun getStickerSetName-eaLzeK0 ()Ljava/lang/String; public fun getTitle ()Ljava/lang/String; + public fun getUniqueGiftColors ()Ldev/inmo/tgbotapi/types/gifts/unique/UniqueGiftColors; public fun getUnrestrictBoostsCount ()Ljava/lang/Integer; public fun getUsername-san03mo ()Ljava/lang/String; public fun hashCode ()I @@ -17301,7 +17938,7 @@ public final class dev/inmo/tgbotapi/types/chat/ExtendedForumChatImpl$Companion public final fun serializer ()Lkotlinx/serialization/KSerializer; } -public abstract interface class dev/inmo/tgbotapi/types/chat/ExtendedGroupChat : dev/inmo/tgbotapi/types/chat/ExtendedPublicChat, dev/inmo/tgbotapi/types/chat/GroupChat { +public abstract interface class dev/inmo/tgbotapi/types/chat/ExtendedGroupChat : dev/inmo/tgbotapi/types/abstracts/WithOptionalPaidMessageStarCount, dev/inmo/tgbotapi/types/chat/ExtendedPublicChat, dev/inmo/tgbotapi/types/chat/GroupChat { public static final field Companion Ldev/inmo/tgbotapi/types/chat/ExtendedGroupChat$Companion; public abstract fun getPermissions ()Ldev/inmo/tgbotapi/types/chat/ChatPermissions; } @@ -17317,8 +17954,8 @@ public final class dev/inmo/tgbotapi/types/chat/ExtendedGroupChat$DefaultImpls { public final class dev/inmo/tgbotapi/types/chat/ExtendedGroupChatImpl : dev/inmo/tgbotapi/types/chat/ExtendedGroupChat { public static final field Companion Ldev/inmo/tgbotapi/types/chat/ExtendedGroupChatImpl$Companion; - public synthetic fun (JLjava/lang/String;Ldev/inmo/tgbotapi/types/ChatPhoto;Ldev/inmo/tgbotapi/types/chat/ChatPermissions;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/abstracts/Message;ZLjava/util/List;Ljava/lang/String;Ldev/inmo/tgbotapi/types/TelegramDate;ILdev/inmo/tgbotapi/types/colors/ColorId;Ljava/lang/String;Ljava/lang/String;ZILdev/inmo/tgbotapi/types/gifts/AcceptedGiftTypes;ILkotlin/jvm/internal/DefaultConstructorMarker;)V - public synthetic fun (JLjava/lang/String;Ldev/inmo/tgbotapi/types/ChatPhoto;Ldev/inmo/tgbotapi/types/chat/ChatPermissions;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/abstracts/Message;ZLjava/util/List;Ljava/lang/String;Ldev/inmo/tgbotapi/types/TelegramDate;ILdev/inmo/tgbotapi/types/colors/ColorId;Ljava/lang/String;Ljava/lang/String;ZILdev/inmo/tgbotapi/types/gifts/AcceptedGiftTypes;Lkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (JLjava/lang/String;Ldev/inmo/tgbotapi/types/ChatPhoto;Ldev/inmo/tgbotapi/types/chat/ChatPermissions;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/abstracts/Message;ZLjava/util/List;Ljava/lang/String;Ldev/inmo/tgbotapi/types/TelegramDate;ILdev/inmo/tgbotapi/types/colors/ColorId;Ljava/lang/String;Ljava/lang/String;ZILdev/inmo/tgbotapi/types/gifts/AcceptedGiftTypes;Ljava/lang/Integer;Ldev/inmo/tgbotapi/types/gifts/unique/UniqueGiftColors;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (JLjava/lang/String;Ldev/inmo/tgbotapi/types/ChatPhoto;Ldev/inmo/tgbotapi/types/chat/ChatPermissions;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/abstracts/Message;ZLjava/util/List;Ljava/lang/String;Ldev/inmo/tgbotapi/types/TelegramDate;ILdev/inmo/tgbotapi/types/colors/ColorId;Ljava/lang/String;Ljava/lang/String;ZILdev/inmo/tgbotapi/types/gifts/AcceptedGiftTypes;Ljava/lang/Integer;Ldev/inmo/tgbotapi/types/gifts/unique/UniqueGiftColors;Lkotlin/jvm/internal/DefaultConstructorMarker;)V public final fun component1-tHkBKVM ()J public final fun component10-GbmMWyQ ()Ljava/lang/String; public final fun component11 ()Ldev/inmo/tgbotapi/types/TelegramDate; @@ -17329,7 +17966,9 @@ public final class dev/inmo/tgbotapi/types/chat/ExtendedGroupChatImpl : dev/inmo public final fun component16 ()Z public final fun component17 ()I public final fun component18 ()Ldev/inmo/tgbotapi/types/gifts/AcceptedGiftTypes; + public final fun component19 ()Ljava/lang/Integer; public final fun component2 ()Ljava/lang/String; + public final fun component20 ()Ldev/inmo/tgbotapi/types/gifts/unique/UniqueGiftColors; public final fun component3 ()Ldev/inmo/tgbotapi/types/ChatPhoto; public final fun component4 ()Ldev/inmo/tgbotapi/types/chat/ChatPermissions; public final fun component5 ()Ljava/lang/String; @@ -17337,8 +17976,8 @@ public final class dev/inmo/tgbotapi/types/chat/ExtendedGroupChatImpl : dev/inmo public final fun component7 ()Ldev/inmo/tgbotapi/types/message/abstracts/Message; public final fun component8 ()Z public final fun component9 ()Ljava/util/List; - public final fun copy-S0sfXWc (JLjava/lang/String;Ldev/inmo/tgbotapi/types/ChatPhoto;Ldev/inmo/tgbotapi/types/chat/ChatPermissions;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/abstracts/Message;ZLjava/util/List;Ljava/lang/String;Ldev/inmo/tgbotapi/types/TelegramDate;ILdev/inmo/tgbotapi/types/colors/ColorId;Ljava/lang/String;Ljava/lang/String;ZILdev/inmo/tgbotapi/types/gifts/AcceptedGiftTypes;)Ldev/inmo/tgbotapi/types/chat/ExtendedGroupChatImpl; - public static synthetic fun copy-S0sfXWc$default (Ldev/inmo/tgbotapi/types/chat/ExtendedGroupChatImpl;JLjava/lang/String;Ldev/inmo/tgbotapi/types/ChatPhoto;Ldev/inmo/tgbotapi/types/chat/ChatPermissions;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/abstracts/Message;ZLjava/util/List;Ljava/lang/String;Ldev/inmo/tgbotapi/types/TelegramDate;ILdev/inmo/tgbotapi/types/colors/ColorId;Ljava/lang/String;Ljava/lang/String;ZILdev/inmo/tgbotapi/types/gifts/AcceptedGiftTypes;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/chat/ExtendedGroupChatImpl; + public final fun copy-aMIY_bc (JLjava/lang/String;Ldev/inmo/tgbotapi/types/ChatPhoto;Ldev/inmo/tgbotapi/types/chat/ChatPermissions;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/abstracts/Message;ZLjava/util/List;Ljava/lang/String;Ldev/inmo/tgbotapi/types/TelegramDate;ILdev/inmo/tgbotapi/types/colors/ColorId;Ljava/lang/String;Ljava/lang/String;ZILdev/inmo/tgbotapi/types/gifts/AcceptedGiftTypes;Ljava/lang/Integer;Ldev/inmo/tgbotapi/types/gifts/unique/UniqueGiftColors;)Ldev/inmo/tgbotapi/types/chat/ExtendedGroupChatImpl; + public static synthetic fun copy-aMIY_bc$default (Ldev/inmo/tgbotapi/types/chat/ExtendedGroupChatImpl;JLjava/lang/String;Ldev/inmo/tgbotapi/types/ChatPhoto;Ldev/inmo/tgbotapi/types/chat/ChatPermissions;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/abstracts/Message;ZLjava/util/List;Ljava/lang/String;Ldev/inmo/tgbotapi/types/TelegramDate;ILdev/inmo/tgbotapi/types/colors/ColorId;Ljava/lang/String;Ljava/lang/String;ZILdev/inmo/tgbotapi/types/gifts/AcceptedGiftTypes;Ljava/lang/Integer;Ldev/inmo/tgbotapi/types/gifts/unique/UniqueGiftColors;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/chat/ExtendedGroupChatImpl; public fun equals (Ljava/lang/Object;)Z public fun getAccentColorId-f3WtEc0 ()I public fun getAcceptedGiftTypes ()Ldev/inmo/tgbotapi/types/gifts/AcceptedGiftTypes; @@ -17353,6 +17992,7 @@ public final class dev/inmo/tgbotapi/types/chat/ExtendedGroupChatImpl : dev/inmo public fun getMaxReactionsCount ()I public fun getMembersHidden ()Z public fun getNewMembersSeeHistory ()Z + public fun getPaidMessageStarCount ()Ljava/lang/Integer; public fun getPermissions ()Ldev/inmo/tgbotapi/types/chat/ChatPermissions; public fun getPinnedMessage ()Ldev/inmo/tgbotapi/types/message/abstracts/Message; public fun getProfileAccentColorId-mg_h9nU ()Ldev/inmo/tgbotapi/types/colors/ColorId; @@ -17360,6 +18000,7 @@ public final class dev/inmo/tgbotapi/types/chat/ExtendedGroupChatImpl : dev/inmo public fun getStatusEmojiExpiration ()Ldev/inmo/tgbotapi/types/TelegramDate; public fun getStatusEmojiId-GbmMWyQ ()Ljava/lang/String; public fun getTitle ()Ljava/lang/String; + public fun getUniqueGiftColors ()Ldev/inmo/tgbotapi/types/gifts/unique/UniqueGiftColors; public fun hashCode ()I public fun isDirectMessages ()Z public fun toString ()Ljava/lang/String; @@ -17395,7 +18036,7 @@ public final class dev/inmo/tgbotapi/types/chat/ExtendedNonBotChat$DefaultImpls public static fun isDirectMessages (Ldev/inmo/tgbotapi/types/chat/ExtendedNonBotChat;)Z } -public abstract interface class dev/inmo/tgbotapi/types/chat/ExtendedPrivateChat : dev/inmo/tgbotapi/types/chat/ExtendedChatWithUsername, dev/inmo/tgbotapi/types/chat/ExtendedNonBotChat, dev/inmo/tgbotapi/types/chat/PrivateChat { +public abstract interface class dev/inmo/tgbotapi/types/chat/ExtendedPrivateChat : dev/inmo/tgbotapi/types/abstracts/WithOptionalPaidMessageStarCount, dev/inmo/tgbotapi/types/chat/ExtendedChatWithUsername, dev/inmo/tgbotapi/types/chat/ExtendedNonBotChat, dev/inmo/tgbotapi/types/chat/PrivateUserChat { public static final field Companion Ldev/inmo/tgbotapi/types/chat/ExtendedPrivateChat$Companion; public fun getAllowCreateUserIdLink ()Z public abstract fun getBio ()Ljava/lang/String; @@ -17403,9 +18044,11 @@ public abstract interface class dev/inmo/tgbotapi/types/chat/ExtendedPrivateChat public abstract fun getBusinessIntro ()Ldev/inmo/tgbotapi/types/business_connection/BusinessIntro; public abstract fun getBusinessLocation ()Ldev/inmo/tgbotapi/types/business_connection/BusinessLocation; public abstract fun getBusinessOpeningHours ()Ldev/inmo/tgbotapi/types/business_connection/BusinessOpeningHours; + public abstract fun getFirstProfileAudio ()Ldev/inmo/tgbotapi/types/files/AudioFile; public abstract fun getHasPrivateForwards ()Z public abstract fun getHasRestrictedVoiceAndVideoMessages ()Z public abstract fun getPersonalChat ()Ldev/inmo/tgbotapi/types/chat/PreviewChannelChat; + public abstract fun getRating ()Ldev/inmo/tgbotapi/types/chat/UserRating; } public final class dev/inmo/tgbotapi/types/chat/ExtendedPrivateChat$Companion { @@ -17420,9 +18063,9 @@ public final class dev/inmo/tgbotapi/types/chat/ExtendedPrivateChat$DefaultImpls public final class dev/inmo/tgbotapi/types/chat/ExtendedPrivateChatImpl : dev/inmo/tgbotapi/types/chat/ExtendedPrivateChat { public static final field Companion Ldev/inmo/tgbotapi/types/chat/ExtendedPrivateChatImpl$Companion; - public synthetic fun (JLdev/inmo/tgbotapi/types/ChatPhoto;Ljava/lang/String;Ljava/util/List;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZZLjava/lang/String;Ldev/inmo/tgbotapi/types/TelegramDate;ILdev/inmo/tgbotapi/types/colors/ColorId;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/business_connection/BusinessIntro;Ldev/inmo/tgbotapi/types/business_connection/BusinessLocation;Ldev/inmo/tgbotapi/types/business_connection/BusinessOpeningHours;Ldev/inmo/tgbotapi/types/Birthdate;Ldev/inmo/tgbotapi/types/chat/PreviewChannelChat;ILdev/inmo/tgbotapi/types/gifts/AcceptedGiftTypes;ILkotlin/jvm/internal/DefaultConstructorMarker;)V - public synthetic fun (JLdev/inmo/tgbotapi/types/ChatPhoto;Ljava/lang/String;Ljava/util/List;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZZLjava/lang/String;Ldev/inmo/tgbotapi/types/TelegramDate;ILdev/inmo/tgbotapi/types/colors/ColorId;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/business_connection/BusinessIntro;Ldev/inmo/tgbotapi/types/business_connection/BusinessLocation;Ldev/inmo/tgbotapi/types/business_connection/BusinessOpeningHours;Ldev/inmo/tgbotapi/types/Birthdate;Ldev/inmo/tgbotapi/types/chat/PreviewChannelChat;ILdev/inmo/tgbotapi/types/gifts/AcceptedGiftTypes;Lkotlin/jvm/internal/DefaultConstructorMarker;)V - public final fun component1-tHkBKVM ()J + public synthetic fun (Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/ChatPhoto;Ljava/lang/String;Ljava/util/List;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZZLjava/lang/String;Ldev/inmo/tgbotapi/types/TelegramDate;ILdev/inmo/tgbotapi/types/colors/ColorId;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/business_connection/BusinessIntro;Ldev/inmo/tgbotapi/types/business_connection/BusinessLocation;Ldev/inmo/tgbotapi/types/business_connection/BusinessOpeningHours;Ldev/inmo/tgbotapi/types/Birthdate;Ldev/inmo/tgbotapi/types/chat/PreviewChannelChat;ILdev/inmo/tgbotapi/types/gifts/AcceptedGiftTypes;Ljava/lang/Integer;Ldev/inmo/tgbotapi/types/files/AudioFile;Ldev/inmo/tgbotapi/types/chat/UserRating;Ldev/inmo/tgbotapi/types/gifts/unique/UniqueGiftColors;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/ChatPhoto;Ljava/lang/String;Ljava/util/List;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZZLjava/lang/String;Ldev/inmo/tgbotapi/types/TelegramDate;ILdev/inmo/tgbotapi/types/colors/ColorId;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/business_connection/BusinessIntro;Ldev/inmo/tgbotapi/types/business_connection/BusinessLocation;Ldev/inmo/tgbotapi/types/business_connection/BusinessOpeningHours;Ldev/inmo/tgbotapi/types/Birthdate;Ldev/inmo/tgbotapi/types/chat/PreviewChannelChat;ILdev/inmo/tgbotapi/types/gifts/AcceptedGiftTypes;Ljava/lang/Integer;Ldev/inmo/tgbotapi/types/files/AudioFile;Ldev/inmo/tgbotapi/types/chat/UserRating;Ldev/inmo/tgbotapi/types/gifts/unique/UniqueGiftColors;Lkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Ldev/inmo/tgbotapi/types/IdChatIdentifier; public final fun component10-GbmMWyQ ()Ljava/lang/String; public final fun component11 ()Ldev/inmo/tgbotapi/types/TelegramDate; public final fun component12-f3WtEc0 ()I @@ -17437,6 +18080,10 @@ public final class dev/inmo/tgbotapi/types/chat/ExtendedPrivateChatImpl : dev/in public final fun component20 ()Ldev/inmo/tgbotapi/types/chat/PreviewChannelChat; public final fun component21 ()I public final fun component22 ()Ldev/inmo/tgbotapi/types/gifts/AcceptedGiftTypes; + public final fun component23 ()Ljava/lang/Integer; + public final fun component24 ()Ldev/inmo/tgbotapi/types/files/AudioFile; + public final fun component25 ()Ldev/inmo/tgbotapi/types/chat/UserRating; + public final fun component26 ()Ldev/inmo/tgbotapi/types/gifts/unique/UniqueGiftColors; public final fun component3-san03mo ()Ljava/lang/String; public final fun component4 ()Ljava/util/List; public final fun component5 ()Ljava/lang/String; @@ -17444,8 +18091,8 @@ public final class dev/inmo/tgbotapi/types/chat/ExtendedPrivateChatImpl : dev/in public final fun component7 ()Ljava/lang/String; public final fun component8 ()Z public final fun component9 ()Z - public final fun copy-5RSODus (JLdev/inmo/tgbotapi/types/ChatPhoto;Ljava/lang/String;Ljava/util/List;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZZLjava/lang/String;Ldev/inmo/tgbotapi/types/TelegramDate;ILdev/inmo/tgbotapi/types/colors/ColorId;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/business_connection/BusinessIntro;Ldev/inmo/tgbotapi/types/business_connection/BusinessLocation;Ldev/inmo/tgbotapi/types/business_connection/BusinessOpeningHours;Ldev/inmo/tgbotapi/types/Birthdate;Ldev/inmo/tgbotapi/types/chat/PreviewChannelChat;ILdev/inmo/tgbotapi/types/gifts/AcceptedGiftTypes;)Ldev/inmo/tgbotapi/types/chat/ExtendedPrivateChatImpl; - public static synthetic fun copy-5RSODus$default (Ldev/inmo/tgbotapi/types/chat/ExtendedPrivateChatImpl;JLdev/inmo/tgbotapi/types/ChatPhoto;Ljava/lang/String;Ljava/util/List;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZZLjava/lang/String;Ldev/inmo/tgbotapi/types/TelegramDate;ILdev/inmo/tgbotapi/types/colors/ColorId;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/business_connection/BusinessIntro;Ldev/inmo/tgbotapi/types/business_connection/BusinessLocation;Ldev/inmo/tgbotapi/types/business_connection/BusinessOpeningHours;Ldev/inmo/tgbotapi/types/Birthdate;Ldev/inmo/tgbotapi/types/chat/PreviewChannelChat;ILdev/inmo/tgbotapi/types/gifts/AcceptedGiftTypes;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/chat/ExtendedPrivateChatImpl; + public final fun copy-S6I1JFI (Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/ChatPhoto;Ljava/lang/String;Ljava/util/List;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZZLjava/lang/String;Ldev/inmo/tgbotapi/types/TelegramDate;ILdev/inmo/tgbotapi/types/colors/ColorId;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/business_connection/BusinessIntro;Ldev/inmo/tgbotapi/types/business_connection/BusinessLocation;Ldev/inmo/tgbotapi/types/business_connection/BusinessOpeningHours;Ldev/inmo/tgbotapi/types/Birthdate;Ldev/inmo/tgbotapi/types/chat/PreviewChannelChat;ILdev/inmo/tgbotapi/types/gifts/AcceptedGiftTypes;Ljava/lang/Integer;Ldev/inmo/tgbotapi/types/files/AudioFile;Ldev/inmo/tgbotapi/types/chat/UserRating;Ldev/inmo/tgbotapi/types/gifts/unique/UniqueGiftColors;)Ldev/inmo/tgbotapi/types/chat/ExtendedPrivateChatImpl; + public static synthetic fun copy-S6I1JFI$default (Ldev/inmo/tgbotapi/types/chat/ExtendedPrivateChatImpl;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/ChatPhoto;Ljava/lang/String;Ljava/util/List;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZZLjava/lang/String;Ldev/inmo/tgbotapi/types/TelegramDate;ILdev/inmo/tgbotapi/types/colors/ColorId;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/business_connection/BusinessIntro;Ldev/inmo/tgbotapi/types/business_connection/BusinessLocation;Ldev/inmo/tgbotapi/types/business_connection/BusinessOpeningHours;Ldev/inmo/tgbotapi/types/Birthdate;Ldev/inmo/tgbotapi/types/chat/PreviewChannelChat;ILdev/inmo/tgbotapi/types/gifts/AcceptedGiftTypes;Ljava/lang/Integer;Ldev/inmo/tgbotapi/types/files/AudioFile;Ldev/inmo/tgbotapi/types/chat/UserRating;Ldev/inmo/tgbotapi/types/gifts/unique/UniqueGiftColors;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/chat/ExtendedPrivateChatImpl; public fun equals (Ljava/lang/Object;)Z public fun getAccentColorId-f3WtEc0 ()I public fun getAcceptedGiftTypes ()Ldev/inmo/tgbotapi/types/gifts/AcceptedGiftTypes; @@ -17460,17 +18107,20 @@ public final class dev/inmo/tgbotapi/types/chat/ExtendedPrivateChatImpl : dev/in public fun getCanReceiveGifts ()Z public fun getChatPhoto ()Ldev/inmo/tgbotapi/types/ChatPhoto; public fun getFirstName ()Ljava/lang/String; + public fun getFirstProfileAudio ()Ldev/inmo/tgbotapi/types/files/AudioFile; public fun getHasPrivateForwards ()Z public fun getHasRestrictedVoiceAndVideoMessages ()Z - public synthetic fun getId ()Ldev/inmo/tgbotapi/types/IdChatIdentifier; - public fun getId-tHkBKVM ()J + public fun getId ()Ldev/inmo/tgbotapi/types/IdChatIdentifier; public fun getLastName ()Ljava/lang/String; public fun getMaxReactionsCount ()I + public fun getPaidMessageStarCount ()Ljava/lang/Integer; public fun getPersonalChat ()Ldev/inmo/tgbotapi/types/chat/PreviewChannelChat; public fun getProfileAccentColorId-mg_h9nU ()Ldev/inmo/tgbotapi/types/colors/ColorId; public fun getProfileBackgroundCustomEmojiId-GbmMWyQ ()Ljava/lang/String; + public fun getRating ()Ldev/inmo/tgbotapi/types/chat/UserRating; public fun getStatusEmojiExpiration ()Ldev/inmo/tgbotapi/types/TelegramDate; public fun getStatusEmojiId-GbmMWyQ ()Ljava/lang/String; + public fun getUniqueGiftColors ()Ldev/inmo/tgbotapi/types/gifts/unique/UniqueGiftColors; public fun getUsername-san03mo ()Ljava/lang/String; public fun hashCode ()I public fun isDirectMessages ()Z @@ -17492,6 +18142,101 @@ public final class dev/inmo/tgbotapi/types/chat/ExtendedPrivateChatImpl$Companio public final fun serializer ()Lkotlinx/serialization/KSerializer; } +public abstract interface class dev/inmo/tgbotapi/types/chat/ExtendedPrivateForumChat : dev/inmo/tgbotapi/types/chat/ExtendedPrivateChat, dev/inmo/tgbotapi/types/chat/PrivateForumChat { + public static final field Companion Ldev/inmo/tgbotapi/types/chat/ExtendedPrivateForumChat$Companion; +} + +public final class dev/inmo/tgbotapi/types/chat/ExtendedPrivateForumChat$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class dev/inmo/tgbotapi/types/chat/ExtendedPrivateForumChat$DefaultImpls { + public static fun getAllowCreateUserIdLink (Ldev/inmo/tgbotapi/types/chat/ExtendedPrivateForumChat;)Z + public static fun getCanReceiveGifts (Ldev/inmo/tgbotapi/types/chat/ExtendedPrivateForumChat;)Z + public static fun isDirectMessages (Ldev/inmo/tgbotapi/types/chat/ExtendedPrivateForumChat;)Z +} + +public final class dev/inmo/tgbotapi/types/chat/ExtendedPrivateForumChatImpl : dev/inmo/tgbotapi/types/chat/ExtendedPrivateForumChat { + public static final field Companion Ldev/inmo/tgbotapi/types/chat/ExtendedPrivateForumChatImpl$Companion; + public synthetic fun (Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/ChatPhoto;Ljava/lang/String;Ljava/util/List;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZZLjava/lang/String;Ldev/inmo/tgbotapi/types/TelegramDate;ILdev/inmo/tgbotapi/types/colors/ColorId;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/business_connection/BusinessIntro;Ldev/inmo/tgbotapi/types/business_connection/BusinessLocation;Ldev/inmo/tgbotapi/types/business_connection/BusinessOpeningHours;Ldev/inmo/tgbotapi/types/Birthdate;Ldev/inmo/tgbotapi/types/chat/PreviewChannelChat;ILdev/inmo/tgbotapi/types/gifts/AcceptedGiftTypes;Ljava/lang/Integer;Ldev/inmo/tgbotapi/types/files/AudioFile;Ldev/inmo/tgbotapi/types/chat/UserRating;Ldev/inmo/tgbotapi/types/gifts/unique/UniqueGiftColors;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/ChatPhoto;Ljava/lang/String;Ljava/util/List;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZZLjava/lang/String;Ldev/inmo/tgbotapi/types/TelegramDate;ILdev/inmo/tgbotapi/types/colors/ColorId;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/business_connection/BusinessIntro;Ldev/inmo/tgbotapi/types/business_connection/BusinessLocation;Ldev/inmo/tgbotapi/types/business_connection/BusinessOpeningHours;Ldev/inmo/tgbotapi/types/Birthdate;Ldev/inmo/tgbotapi/types/chat/PreviewChannelChat;ILdev/inmo/tgbotapi/types/gifts/AcceptedGiftTypes;Ljava/lang/Integer;Ldev/inmo/tgbotapi/types/files/AudioFile;Ldev/inmo/tgbotapi/types/chat/UserRating;Ldev/inmo/tgbotapi/types/gifts/unique/UniqueGiftColors;Lkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Ldev/inmo/tgbotapi/types/IdChatIdentifier; + public final fun component10-GbmMWyQ ()Ljava/lang/String; + public final fun component11 ()Ldev/inmo/tgbotapi/types/TelegramDate; + public final fun component12-f3WtEc0 ()I + public final fun component13-mg_h9nU ()Ldev/inmo/tgbotapi/types/colors/ColorId; + public final fun component14-GbmMWyQ ()Ljava/lang/String; + public final fun component15-GbmMWyQ ()Ljava/lang/String; + public final fun component16 ()Ldev/inmo/tgbotapi/types/business_connection/BusinessIntro; + public final fun component17 ()Ldev/inmo/tgbotapi/types/business_connection/BusinessLocation; + public final fun component18 ()Ldev/inmo/tgbotapi/types/business_connection/BusinessOpeningHours; + public final fun component19 ()Ldev/inmo/tgbotapi/types/Birthdate; + public final fun component2 ()Ldev/inmo/tgbotapi/types/ChatPhoto; + public final fun component20 ()Ldev/inmo/tgbotapi/types/chat/PreviewChannelChat; + public final fun component21 ()I + public final fun component22 ()Ldev/inmo/tgbotapi/types/gifts/AcceptedGiftTypes; + public final fun component23 ()Ljava/lang/Integer; + public final fun component24 ()Ldev/inmo/tgbotapi/types/files/AudioFile; + public final fun component25 ()Ldev/inmo/tgbotapi/types/chat/UserRating; + public final fun component26 ()Ldev/inmo/tgbotapi/types/gifts/unique/UniqueGiftColors; + public final fun component3-san03mo ()Ljava/lang/String; + public final fun component4 ()Ljava/util/List; + public final fun component5 ()Ljava/lang/String; + public final fun component6 ()Ljava/lang/String; + public final fun component7 ()Ljava/lang/String; + public final fun component8 ()Z + public final fun component9 ()Z + public final fun copy-S6I1JFI (Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/ChatPhoto;Ljava/lang/String;Ljava/util/List;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZZLjava/lang/String;Ldev/inmo/tgbotapi/types/TelegramDate;ILdev/inmo/tgbotapi/types/colors/ColorId;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/business_connection/BusinessIntro;Ldev/inmo/tgbotapi/types/business_connection/BusinessLocation;Ldev/inmo/tgbotapi/types/business_connection/BusinessOpeningHours;Ldev/inmo/tgbotapi/types/Birthdate;Ldev/inmo/tgbotapi/types/chat/PreviewChannelChat;ILdev/inmo/tgbotapi/types/gifts/AcceptedGiftTypes;Ljava/lang/Integer;Ldev/inmo/tgbotapi/types/files/AudioFile;Ldev/inmo/tgbotapi/types/chat/UserRating;Ldev/inmo/tgbotapi/types/gifts/unique/UniqueGiftColors;)Ldev/inmo/tgbotapi/types/chat/ExtendedPrivateForumChatImpl; + public static synthetic fun copy-S6I1JFI$default (Ldev/inmo/tgbotapi/types/chat/ExtendedPrivateForumChatImpl;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/ChatPhoto;Ljava/lang/String;Ljava/util/List;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZZLjava/lang/String;Ldev/inmo/tgbotapi/types/TelegramDate;ILdev/inmo/tgbotapi/types/colors/ColorId;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/business_connection/BusinessIntro;Ldev/inmo/tgbotapi/types/business_connection/BusinessLocation;Ldev/inmo/tgbotapi/types/business_connection/BusinessOpeningHours;Ldev/inmo/tgbotapi/types/Birthdate;Ldev/inmo/tgbotapi/types/chat/PreviewChannelChat;ILdev/inmo/tgbotapi/types/gifts/AcceptedGiftTypes;Ljava/lang/Integer;Ldev/inmo/tgbotapi/types/files/AudioFile;Ldev/inmo/tgbotapi/types/chat/UserRating;Ldev/inmo/tgbotapi/types/gifts/unique/UniqueGiftColors;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/chat/ExtendedPrivateForumChatImpl; + public fun equals (Ljava/lang/Object;)Z + public fun getAccentColorId-f3WtEc0 ()I + public fun getAcceptedGiftTypes ()Ldev/inmo/tgbotapi/types/gifts/AcceptedGiftTypes; + public fun getActiveUsernames ()Ljava/util/List; + public fun getAllowCreateUserIdLink ()Z + public fun getBackgroundCustomEmojiId-GbmMWyQ ()Ljava/lang/String; + public fun getBio ()Ljava/lang/String; + public fun getBirthdate ()Ldev/inmo/tgbotapi/types/Birthdate; + public fun getBusinessIntro ()Ldev/inmo/tgbotapi/types/business_connection/BusinessIntro; + public fun getBusinessLocation ()Ldev/inmo/tgbotapi/types/business_connection/BusinessLocation; + public fun getBusinessOpeningHours ()Ldev/inmo/tgbotapi/types/business_connection/BusinessOpeningHours; + public fun getCanReceiveGifts ()Z + public fun getChatPhoto ()Ldev/inmo/tgbotapi/types/ChatPhoto; + public fun getFirstName ()Ljava/lang/String; + public fun getFirstProfileAudio ()Ldev/inmo/tgbotapi/types/files/AudioFile; + public fun getHasPrivateForwards ()Z + public fun getHasRestrictedVoiceAndVideoMessages ()Z + public fun getId ()Ldev/inmo/tgbotapi/types/IdChatIdentifier; + public fun getLastName ()Ljava/lang/String; + public fun getMaxReactionsCount ()I + public fun getPaidMessageStarCount ()Ljava/lang/Integer; + public fun getPersonalChat ()Ldev/inmo/tgbotapi/types/chat/PreviewChannelChat; + public fun getProfileAccentColorId-mg_h9nU ()Ldev/inmo/tgbotapi/types/colors/ColorId; + public fun getProfileBackgroundCustomEmojiId-GbmMWyQ ()Ljava/lang/String; + public fun getRating ()Ldev/inmo/tgbotapi/types/chat/UserRating; + public fun getStatusEmojiExpiration ()Ldev/inmo/tgbotapi/types/TelegramDate; + public fun getStatusEmojiId-GbmMWyQ ()Ljava/lang/String; + public fun getUniqueGiftColors ()Ldev/inmo/tgbotapi/types/gifts/unique/UniqueGiftColors; + public fun getUsername-san03mo ()Ljava/lang/String; + public fun hashCode ()I + public fun isDirectMessages ()Z + public fun toString ()Ljava/lang/String; +} + +public final synthetic class dev/inmo/tgbotapi/types/chat/ExtendedPrivateForumChatImpl$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Ldev/inmo/tgbotapi/types/chat/ExtendedPrivateForumChatImpl$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/inmo/tgbotapi/types/chat/ExtendedPrivateForumChatImpl; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Ldev/inmo/tgbotapi/types/chat/ExtendedPrivateForumChatImpl;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class dev/inmo/tgbotapi/types/chat/ExtendedPrivateForumChatImpl$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + public abstract interface class dev/inmo/tgbotapi/types/chat/ExtendedPublicChat : dev/inmo/tgbotapi/types/chat/ExtendedChat, dev/inmo/tgbotapi/types/chat/ExtendedNonBotChat, dev/inmo/tgbotapi/types/chat/PublicChat { public abstract fun getAvailableReactions ()Ljava/util/List; public abstract fun getDescription ()Ljava/lang/String; @@ -17531,8 +18276,8 @@ public final class dev/inmo/tgbotapi/types/chat/ExtendedSupergroupChat$DefaultIm public final class dev/inmo/tgbotapi/types/chat/ExtendedSupergroupChatImpl : dev/inmo/tgbotapi/types/chat/ExtendedSupergroupChat { public static final field Companion Ldev/inmo/tgbotapi/types/chat/ExtendedSupergroupChatImpl$Companion; - public synthetic fun (JLjava/lang/String;Ljava/lang/String;Ljava/util/List;Ldev/inmo/tgbotapi/types/ChatPhoto;Ldev/inmo/tgbotapi/types/chat/ChatPermissions;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/abstracts/Message;Ljava/lang/String;Ljava/lang/Long;ZLdev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/ChatLocation;ZZZZLjava/util/List;Ljava/lang/String;Ldev/inmo/tgbotapi/types/TelegramDate;ILdev/inmo/tgbotapi/types/colors/ColorId;Ljava/lang/String;Ljava/lang/String;ZLjava/lang/Integer;Ljava/lang/String;ILdev/inmo/tgbotapi/types/gifts/AcceptedGiftTypes;ILkotlin/jvm/internal/DefaultConstructorMarker;)V - public synthetic fun (JLjava/lang/String;Ljava/lang/String;Ljava/util/List;Ldev/inmo/tgbotapi/types/ChatPhoto;Ldev/inmo/tgbotapi/types/chat/ChatPermissions;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/abstracts/Message;Ljava/lang/String;Ljava/lang/Long;ZLdev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/ChatLocation;ZZZZLjava/util/List;Ljava/lang/String;Ldev/inmo/tgbotapi/types/TelegramDate;ILdev/inmo/tgbotapi/types/colors/ColorId;Ljava/lang/String;Ljava/lang/String;ZLjava/lang/Integer;Ljava/lang/String;ILdev/inmo/tgbotapi/types/gifts/AcceptedGiftTypes;Lkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (JLjava/lang/String;Ljava/lang/String;Ljava/util/List;Ldev/inmo/tgbotapi/types/ChatPhoto;Ldev/inmo/tgbotapi/types/chat/ChatPermissions;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/abstracts/Message;Ljava/lang/String;Ljava/lang/Long;ZLdev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/ChatLocation;ZZZZLjava/util/List;Ljava/lang/String;Ldev/inmo/tgbotapi/types/TelegramDate;ILdev/inmo/tgbotapi/types/colors/ColorId;Ljava/lang/String;Ljava/lang/String;ZLjava/lang/Integer;Ljava/lang/String;ILdev/inmo/tgbotapi/types/gifts/AcceptedGiftTypes;Ljava/lang/Integer;Ldev/inmo/tgbotapi/types/gifts/unique/UniqueGiftColors;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (JLjava/lang/String;Ljava/lang/String;Ljava/util/List;Ldev/inmo/tgbotapi/types/ChatPhoto;Ldev/inmo/tgbotapi/types/chat/ChatPermissions;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/abstracts/Message;Ljava/lang/String;Ljava/lang/Long;ZLdev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/ChatLocation;ZZZZLjava/util/List;Ljava/lang/String;Ldev/inmo/tgbotapi/types/TelegramDate;ILdev/inmo/tgbotapi/types/colors/ColorId;Ljava/lang/String;Ljava/lang/String;ZLjava/lang/Integer;Ljava/lang/String;ILdev/inmo/tgbotapi/types/gifts/AcceptedGiftTypes;Ljava/lang/Integer;Ldev/inmo/tgbotapi/types/gifts/unique/UniqueGiftColors;Lkotlin/jvm/internal/DefaultConstructorMarker;)V public final fun component1-tHkBKVM ()J public final fun component10-eaLzeK0 ()Ljava/lang/String; public final fun component11 ()Ljava/lang/Long; @@ -17557,14 +18302,16 @@ public final class dev/inmo/tgbotapi/types/chat/ExtendedSupergroupChatImpl : dev public final fun component29 ()I public final fun component3-san03mo ()Ljava/lang/String; public final fun component30 ()Ldev/inmo/tgbotapi/types/gifts/AcceptedGiftTypes; + public final fun component31 ()Ljava/lang/Integer; + public final fun component32 ()Ldev/inmo/tgbotapi/types/gifts/unique/UniqueGiftColors; public final fun component4 ()Ljava/util/List; public final fun component5 ()Ldev/inmo/tgbotapi/types/ChatPhoto; public final fun component6 ()Ldev/inmo/tgbotapi/types/chat/ChatPermissions; public final fun component7 ()Ljava/lang/String; public final fun component8 ()Ljava/lang/String; public final fun component9 ()Ldev/inmo/tgbotapi/types/message/abstracts/Message; - public final fun copy-HPKNO20 (JLjava/lang/String;Ljava/lang/String;Ljava/util/List;Ldev/inmo/tgbotapi/types/ChatPhoto;Ldev/inmo/tgbotapi/types/chat/ChatPermissions;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/abstracts/Message;Ljava/lang/String;Ljava/lang/Long;ZLdev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/ChatLocation;ZZZZLjava/util/List;Ljava/lang/String;Ldev/inmo/tgbotapi/types/TelegramDate;ILdev/inmo/tgbotapi/types/colors/ColorId;Ljava/lang/String;Ljava/lang/String;ZLjava/lang/Integer;Ljava/lang/String;ILdev/inmo/tgbotapi/types/gifts/AcceptedGiftTypes;)Ldev/inmo/tgbotapi/types/chat/ExtendedSupergroupChatImpl; - public static synthetic fun copy-HPKNO20$default (Ldev/inmo/tgbotapi/types/chat/ExtendedSupergroupChatImpl;JLjava/lang/String;Ljava/lang/String;Ljava/util/List;Ldev/inmo/tgbotapi/types/ChatPhoto;Ldev/inmo/tgbotapi/types/chat/ChatPermissions;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/abstracts/Message;Ljava/lang/String;Ljava/lang/Long;ZLdev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/ChatLocation;ZZZZLjava/util/List;Ljava/lang/String;Ldev/inmo/tgbotapi/types/TelegramDate;ILdev/inmo/tgbotapi/types/colors/ColorId;Ljava/lang/String;Ljava/lang/String;ZLjava/lang/Integer;Ljava/lang/String;ILdev/inmo/tgbotapi/types/gifts/AcceptedGiftTypes;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/chat/ExtendedSupergroupChatImpl; + public final fun copy-rfXQ_Kc (JLjava/lang/String;Ljava/lang/String;Ljava/util/List;Ldev/inmo/tgbotapi/types/ChatPhoto;Ldev/inmo/tgbotapi/types/chat/ChatPermissions;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/abstracts/Message;Ljava/lang/String;Ljava/lang/Long;ZLdev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/ChatLocation;ZZZZLjava/util/List;Ljava/lang/String;Ldev/inmo/tgbotapi/types/TelegramDate;ILdev/inmo/tgbotapi/types/colors/ColorId;Ljava/lang/String;Ljava/lang/String;ZLjava/lang/Integer;Ljava/lang/String;ILdev/inmo/tgbotapi/types/gifts/AcceptedGiftTypes;Ljava/lang/Integer;Ldev/inmo/tgbotapi/types/gifts/unique/UniqueGiftColors;)Ldev/inmo/tgbotapi/types/chat/ExtendedSupergroupChatImpl; + public static synthetic fun copy-rfXQ_Kc$default (Ldev/inmo/tgbotapi/types/chat/ExtendedSupergroupChatImpl;JLjava/lang/String;Ljava/lang/String;Ljava/util/List;Ldev/inmo/tgbotapi/types/ChatPhoto;Ldev/inmo/tgbotapi/types/chat/ChatPermissions;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/abstracts/Message;Ljava/lang/String;Ljava/lang/Long;ZLdev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/ChatLocation;ZZZZLjava/util/List;Ljava/lang/String;Ldev/inmo/tgbotapi/types/TelegramDate;ILdev/inmo/tgbotapi/types/colors/ColorId;Ljava/lang/String;Ljava/lang/String;ZLjava/lang/Integer;Ljava/lang/String;ILdev/inmo/tgbotapi/types/gifts/AcceptedGiftTypes;Ljava/lang/Integer;Ldev/inmo/tgbotapi/types/gifts/unique/UniqueGiftColors;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/chat/ExtendedSupergroupChatImpl; public fun equals (Ljava/lang/Object;)Z public fun getAccentColorId-f3WtEc0 ()I public fun getAcceptedGiftTypes ()Ldev/inmo/tgbotapi/types/gifts/AcceptedGiftTypes; @@ -17584,6 +18331,7 @@ public final class dev/inmo/tgbotapi/types/chat/ExtendedSupergroupChatImpl : dev public fun getMaxReactionsCount ()I public fun getMembersHidden ()Z public fun getNewMembersSeeHistory ()Z + public fun getPaidMessageStarCount ()Ljava/lang/Integer; public fun getPermissions ()Ldev/inmo/tgbotapi/types/chat/ChatPermissions; public fun getPinnedMessage ()Ldev/inmo/tgbotapi/types/message/abstracts/Message; public fun getProfileAccentColorId-mg_h9nU ()Ldev/inmo/tgbotapi/types/colors/ColorId; @@ -17595,6 +18343,7 @@ public final class dev/inmo/tgbotapi/types/chat/ExtendedSupergroupChatImpl : dev public fun getStatusEmojiId-GbmMWyQ ()Ljava/lang/String; public fun getStickerSetName-eaLzeK0 ()Ljava/lang/String; public fun getTitle ()Ljava/lang/String; + public fun getUniqueGiftColors ()Ldev/inmo/tgbotapi/types/gifts/unique/UniqueGiftColors; public fun getUnrestrictBoostsCount ()Ljava/lang/Integer; public fun getUsername-san03mo ()Ljava/lang/String; public fun hashCode ()I @@ -17618,7 +18367,7 @@ public final class dev/inmo/tgbotapi/types/chat/ExtendedSupergroupChatImpl$Compa public final fun serializer ()Lkotlinx/serialization/KSerializer; } -public abstract interface class dev/inmo/tgbotapi/types/chat/ForumChat : dev/inmo/tgbotapi/types/chat/SupergroupChat { +public abstract interface class dev/inmo/tgbotapi/types/chat/ForumChat : dev/inmo/tgbotapi/types/chat/Chat { public static final field Companion Ldev/inmo/tgbotapi/types/chat/ForumChat$Companion; } @@ -17784,7 +18533,7 @@ public final class dev/inmo/tgbotapi/types/chat/PreviewChatSerializer : kotlinx/ public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V } -public abstract interface class dev/inmo/tgbotapi/types/chat/PreviewForumChat : dev/inmo/tgbotapi/types/chat/ForumChat, dev/inmo/tgbotapi/types/chat/PreviewSupergroupChat { +public abstract interface class dev/inmo/tgbotapi/types/chat/PreviewForumChat : dev/inmo/tgbotapi/types/chat/PreviewSupergroupChat, dev/inmo/tgbotapi/types/chat/SupergroupForumChat { public static final field Companion Ldev/inmo/tgbotapi/types/chat/PreviewForumChat$Companion; } @@ -17808,7 +18557,7 @@ public final class dev/inmo/tgbotapi/types/chat/PreviewGroupChat$DefaultImpls { public static fun isDirectMessages (Ldev/inmo/tgbotapi/types/chat/PreviewGroupChat;)Z } -public abstract interface class dev/inmo/tgbotapi/types/chat/PreviewPrivateChat : dev/inmo/tgbotapi/types/chat/PreviewUsernameChat, dev/inmo/tgbotapi/types/chat/PrivateChat { +public abstract interface class dev/inmo/tgbotapi/types/chat/PreviewPrivateChat : dev/inmo/tgbotapi/types/chat/PreviewUsernameChat, dev/inmo/tgbotapi/types/chat/PrivateUserChat { public static final field Companion Ldev/inmo/tgbotapi/types/chat/PreviewPrivateChat$Companion; } @@ -17820,6 +18569,18 @@ public final class dev/inmo/tgbotapi/types/chat/PreviewPrivateChat$DefaultImpls public static fun isDirectMessages (Ldev/inmo/tgbotapi/types/chat/PreviewPrivateChat;)Z } +public abstract interface class dev/inmo/tgbotapi/types/chat/PreviewPrivateForumChat : dev/inmo/tgbotapi/types/chat/PreviewPrivateChat, dev/inmo/tgbotapi/types/chat/PrivateForumChat { + public static final field Companion Ldev/inmo/tgbotapi/types/chat/PreviewPrivateForumChat$Companion; +} + +public final class dev/inmo/tgbotapi/types/chat/PreviewPrivateForumChat$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class dev/inmo/tgbotapi/types/chat/PreviewPrivateForumChat$DefaultImpls { + public static fun isDirectMessages (Ldev/inmo/tgbotapi/types/chat/PreviewPrivateForumChat;)Z +} + public abstract interface class dev/inmo/tgbotapi/types/chat/PreviewPublicChat : dev/inmo/tgbotapi/types/chat/PreviewChat, dev/inmo/tgbotapi/types/chat/PublicChat { public static final field Companion Ldev/inmo/tgbotapi/types/chat/PreviewPublicChat$Companion; } @@ -17879,7 +18640,7 @@ public final class dev/inmo/tgbotapi/types/chat/PreviewUsernameChat$DefaultImpls public abstract interface class dev/inmo/tgbotapi/types/chat/PrivateChat : dev/inmo/tgbotapi/types/chat/Chat, dev/inmo/tgbotapi/types/chat/UsernameChat { public static final field Companion Ldev/inmo/tgbotapi/types/chat/PrivateChat$Companion; public abstract fun getFirstName ()Ljava/lang/String; - public abstract fun getId-tHkBKVM ()J + public abstract fun getId ()Ldev/inmo/tgbotapi/types/IdChatIdentifier; public abstract fun getLastName ()Ljava/lang/String; } @@ -17893,18 +18654,17 @@ public final class dev/inmo/tgbotapi/types/chat/PrivateChat$DefaultImpls { public final class dev/inmo/tgbotapi/types/chat/PrivateChatImpl : dev/inmo/tgbotapi/types/chat/PreviewPrivateChat { public static final field Companion Ldev/inmo/tgbotapi/types/chat/PrivateChatImpl$Companion; - public synthetic fun (JLjava/lang/String;Ljava/lang/String;Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V - public synthetic fun (JLjava/lang/String;Ljava/lang/String;Ljava/lang/String;Lkotlin/jvm/internal/DefaultConstructorMarker;)V - public final fun component1-tHkBKVM ()J + public synthetic fun (Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Ldev/inmo/tgbotapi/types/IdChatIdentifier; public final fun component2-san03mo ()Ljava/lang/String; public final fun component3 ()Ljava/lang/String; public final fun component4 ()Ljava/lang/String; - public final fun copy-55YrAcc (JLjava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ldev/inmo/tgbotapi/types/chat/PrivateChatImpl; - public static synthetic fun copy-55YrAcc$default (Ldev/inmo/tgbotapi/types/chat/PrivateChatImpl;JLjava/lang/String;Ljava/lang/String;Ljava/lang/String;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/chat/PrivateChatImpl; + public final fun copy-zQdBp0g (Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ldev/inmo/tgbotapi/types/chat/PrivateChatImpl; + public static synthetic fun copy-zQdBp0g$default (Ldev/inmo/tgbotapi/types/chat/PrivateChatImpl;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/chat/PrivateChatImpl; public fun equals (Ljava/lang/Object;)Z public fun getFirstName ()Ljava/lang/String; - public synthetic fun getId ()Ldev/inmo/tgbotapi/types/IdChatIdentifier; - public fun getId-tHkBKVM ()J + public fun getId ()Ldev/inmo/tgbotapi/types/IdChatIdentifier; public fun getLastName ()Ljava/lang/String; public fun getUsername-san03mo ()Ljava/lang/String; public fun hashCode ()I @@ -17927,6 +18687,66 @@ public final class dev/inmo/tgbotapi/types/chat/PrivateChatImpl$Companion { public final fun serializer ()Lkotlinx/serialization/KSerializer; } +public abstract interface class dev/inmo/tgbotapi/types/chat/PrivateForumChat : dev/inmo/tgbotapi/types/chat/ForumChat, dev/inmo/tgbotapi/types/chat/PrivateUserChat { + public static final field Companion Ldev/inmo/tgbotapi/types/chat/PrivateForumChat$Companion; + public abstract fun getId ()Ldev/inmo/tgbotapi/types/IdChatIdentifier; +} + +public final class dev/inmo/tgbotapi/types/chat/PrivateForumChat$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class dev/inmo/tgbotapi/types/chat/PrivateForumChat$DefaultImpls { + public static fun isDirectMessages (Ldev/inmo/tgbotapi/types/chat/PrivateForumChat;)Z +} + +public final class dev/inmo/tgbotapi/types/chat/PrivateForumChatImpl : dev/inmo/tgbotapi/types/chat/PreviewPrivateForumChat { + public static final field Companion Ldev/inmo/tgbotapi/types/chat/PrivateForumChatImpl$Companion; + public synthetic fun (Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Ldev/inmo/tgbotapi/types/IdChatIdentifier; + public final fun component2-san03mo ()Ljava/lang/String; + public final fun component3 ()Ljava/lang/String; + public final fun component4 ()Ljava/lang/String; + public final fun copy-zQdBp0g (Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ldev/inmo/tgbotapi/types/chat/PrivateForumChatImpl; + public static synthetic fun copy-zQdBp0g$default (Ldev/inmo/tgbotapi/types/chat/PrivateForumChatImpl;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/chat/PrivateForumChatImpl; + public fun equals (Ljava/lang/Object;)Z + public fun getFirstName ()Ljava/lang/String; + public fun getId ()Ldev/inmo/tgbotapi/types/IdChatIdentifier; + public fun getLastName ()Ljava/lang/String; + public fun getUsername-san03mo ()Ljava/lang/String; + public fun hashCode ()I + public fun isDirectMessages ()Z + public fun toString ()Ljava/lang/String; +} + +public final synthetic class dev/inmo/tgbotapi/types/chat/PrivateForumChatImpl$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Ldev/inmo/tgbotapi/types/chat/PrivateForumChatImpl$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/inmo/tgbotapi/types/chat/PrivateForumChatImpl; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Ldev/inmo/tgbotapi/types/chat/PrivateForumChatImpl;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class dev/inmo/tgbotapi/types/chat/PrivateForumChatImpl$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public abstract interface class dev/inmo/tgbotapi/types/chat/PrivateUserChat : dev/inmo/tgbotapi/types/chat/PrivateChat { + public static final field Companion Ldev/inmo/tgbotapi/types/chat/PrivateUserChat$Companion; +} + +public final class dev/inmo/tgbotapi/types/chat/PrivateUserChat$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class dev/inmo/tgbotapi/types/chat/PrivateUserChat$DefaultImpls { + public static fun isDirectMessages (Ldev/inmo/tgbotapi/types/chat/PrivateUserChat;)Z +} + public abstract interface class dev/inmo/tgbotapi/types/chat/PublicChat : dev/inmo/tgbotapi/types/chat/Chat { public static final field Companion Ldev/inmo/tgbotapi/types/chat/PublicChat$Companion; public abstract fun getTitle ()Ljava/lang/String; @@ -17998,6 +18818,18 @@ public final class dev/inmo/tgbotapi/types/chat/SupergroupChatImpl$Companion { public final fun serializer ()Lkotlinx/serialization/KSerializer; } +public abstract interface class dev/inmo/tgbotapi/types/chat/SupergroupForumChat : dev/inmo/tgbotapi/types/chat/ForumChat, dev/inmo/tgbotapi/types/chat/SupergroupChat { + public static final field Companion Ldev/inmo/tgbotapi/types/chat/SupergroupForumChat$Companion; +} + +public final class dev/inmo/tgbotapi/types/chat/SupergroupForumChat$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class dev/inmo/tgbotapi/types/chat/SupergroupForumChat$DefaultImpls { + public static fun isDirectMessages (Ldev/inmo/tgbotapi/types/chat/SupergroupForumChat;)Z +} + public final class dev/inmo/tgbotapi/types/chat/UnknownChatType : dev/inmo/tgbotapi/types/chat/Chat, dev/inmo/tgbotapi/types/chat/PreviewChat { public fun (Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;Lkotlinx/serialization/json/JsonObject;)V public final fun component1 ()Ldev/inmo/tgbotapi/types/IdChatIdentifier; @@ -18033,6 +18865,7 @@ public final class dev/inmo/tgbotapi/types/chat/UnknownExtendedChat : dev/inmo/t public fun getProfileBackgroundCustomEmojiId-GbmMWyQ ()Ljava/lang/String; public final fun getRaw ()Ljava/lang/String; public final fun getRawJson ()Lkotlinx/serialization/json/JsonObject; + public fun getUniqueGiftColors ()Ldev/inmo/tgbotapi/types/gifts/unique/UniqueGiftColors; public fun hashCode ()I public fun isDirectMessages ()Z public fun toString ()Ljava/lang/String; @@ -18047,6 +18880,40 @@ public final class dev/inmo/tgbotapi/types/chat/User$Companion { public final fun serializer ()Lkotlinx/serialization/KSerializer; } +public final class dev/inmo/tgbotapi/types/chat/UserRating { + public static final field Companion Ldev/inmo/tgbotapi/types/chat/UserRating$Companion; + public synthetic fun (IIILdev/inmo/tgbotapi/types/Rating;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (IIILdev/inmo/tgbotapi/types/Rating;Lkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1-iWTbqtI ()I + public final fun component2-0utb6f4 ()I + public final fun component3-0utb6f4 ()I + public final fun component4-zA4OaN0 ()Ldev/inmo/tgbotapi/types/Rating; + public final fun copy-1VHiyAg (IIILdev/inmo/tgbotapi/types/Rating;)Ldev/inmo/tgbotapi/types/chat/UserRating; + public static synthetic fun copy-1VHiyAg$default (Ldev/inmo/tgbotapi/types/chat/UserRating;IIILdev/inmo/tgbotapi/types/Rating;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/chat/UserRating; + public fun equals (Ljava/lang/Object;)Z + public final fun getCurrentLevelRating-0utb6f4 ()I + public final fun getLevel-iWTbqtI ()I + public final fun getNextLevelRating-zA4OaN0 ()Ldev/inmo/tgbotapi/types/Rating; + public final fun getRating-0utb6f4 ()I + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public final synthetic class dev/inmo/tgbotapi/types/chat/UserRating$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Ldev/inmo/tgbotapi/types/chat/UserRating$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/inmo/tgbotapi/types/chat/UserRating; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Ldev/inmo/tgbotapi/types/chat/UserRating;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class dev/inmo/tgbotapi/types/chat/UserRating$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + public final class dev/inmo/tgbotapi/types/chat/UserSerializer : kotlinx/serialization/KSerializer { public static final field INSTANCE Ldev/inmo/tgbotapi/types/chat/UserSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/inmo/tgbotapi/types/chat/User; @@ -18728,42 +19595,22 @@ public final class dev/inmo/tgbotapi/types/checklists/ChecklistTask$Companion { public final fun serializer ()Lkotlinx/serialization/KSerializer; } -public abstract interface class dev/inmo/tgbotapi/types/checklists/ChecklistTask$Created : dev/inmo/tgbotapi/types/checklists/ChecklistTask { - public static final field Companion Ldev/inmo/tgbotapi/types/checklists/ChecklistTask$Created$Companion; - public fun getCompletedByUser ()Ldev/inmo/tgbotapi/types/chat/PreviewUser; - public fun getCompletionDate ()Ldev/inmo/tgbotapi/types/TelegramDate; +public abstract interface class dev/inmo/tgbotapi/types/checklists/ChecklistTask$Completed : dev/inmo/tgbotapi/types/checklists/ChecklistTask$Created { + public static final field Companion Ldev/inmo/tgbotapi/types/checklists/ChecklistTask$Completed$Companion; } -public final class dev/inmo/tgbotapi/types/checklists/ChecklistTask$Created$Companion { - public final fun serializer ()Lkotlinx/serialization/KSerializer; -} - -public final class dev/inmo/tgbotapi/types/checklists/ChecklistTask$Created$DefaultImpls { - public static fun getCompletedByUser (Ldev/inmo/tgbotapi/types/checklists/ChecklistTask$Created;)Ldev/inmo/tgbotapi/types/chat/PreviewUser; - public static fun getCompletionDate (Ldev/inmo/tgbotapi/types/checklists/ChecklistTask$Created;)Ldev/inmo/tgbotapi/types/TelegramDate; -} - -public final class dev/inmo/tgbotapi/types/checklists/ChecklistTask$Created$Serializer : kotlinx/serialization/KSerializer { - public static final field INSTANCE Ldev/inmo/tgbotapi/types/checklists/ChecklistTask$Created$Serializer; - public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/inmo/tgbotapi/types/checklists/ChecklistTask$Created; - public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; - public fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; - public fun serialize (Lkotlinx/serialization/encoding/Encoder;Ldev/inmo/tgbotapi/types/checklists/ChecklistTask$Created;)V - public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V -} - -public final class dev/inmo/tgbotapi/types/checklists/ChecklistTask$Done : dev/inmo/tgbotapi/types/checklists/ChecklistTask$Created { - public static final field Companion Ldev/inmo/tgbotapi/types/checklists/ChecklistTask$Done$Companion; - public synthetic fun (ILdev/inmo/tgbotapi/types/chat/PreviewUser;Ldev/inmo/tgbotapi/types/TelegramDate;Ljava/util/List;ILkotlin/jvm/internal/DefaultConstructorMarker;)V - public synthetic fun (ILdev/inmo/tgbotapi/types/chat/PreviewUser;Ldev/inmo/tgbotapi/types/TelegramDate;Ljava/util/List;Lkotlin/jvm/internal/DefaultConstructorMarker;)V - public synthetic fun (ILjava/lang/String;Ldev/inmo/tgbotapi/types/chat/PreviewUser;Ldev/inmo/tgbotapi/types/TelegramDate;Lkotlin/jvm/internal/DefaultConstructorMarker;)V +public final class dev/inmo/tgbotapi/types/checklists/ChecklistTask$Completed$ByChat : dev/inmo/tgbotapi/types/checklists/ChecklistTask$Completed { + public static final field Companion Ldev/inmo/tgbotapi/types/checklists/ChecklistTask$Completed$ByChat$Companion; + public synthetic fun (ILdev/inmo/tgbotapi/types/chat/PreviewChat;Ldev/inmo/tgbotapi/types/TelegramDate;Ljava/util/List;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (ILdev/inmo/tgbotapi/types/chat/PreviewChat;Ldev/inmo/tgbotapi/types/TelegramDate;Ljava/util/List;Lkotlin/jvm/internal/DefaultConstructorMarker;)V public final fun component1-9XrXEx4 ()I - public final fun component2 ()Ldev/inmo/tgbotapi/types/chat/PreviewUser; + public final fun component2 ()Ldev/inmo/tgbotapi/types/chat/PreviewChat; public final fun component3 ()Ldev/inmo/tgbotapi/types/TelegramDate; public final fun component4 ()Ljava/util/List; - public final fun copy-egrVBYk (ILdev/inmo/tgbotapi/types/chat/PreviewUser;Ldev/inmo/tgbotapi/types/TelegramDate;Ljava/util/List;)Ldev/inmo/tgbotapi/types/checklists/ChecklistTask$Done; - public static synthetic fun copy-egrVBYk$default (Ldev/inmo/tgbotapi/types/checklists/ChecklistTask$Done;ILdev/inmo/tgbotapi/types/chat/PreviewUser;Ldev/inmo/tgbotapi/types/TelegramDate;Ljava/util/List;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/checklists/ChecklistTask$Done; + public final fun copy-egrVBYk (ILdev/inmo/tgbotapi/types/chat/PreviewChat;Ldev/inmo/tgbotapi/types/TelegramDate;Ljava/util/List;)Ldev/inmo/tgbotapi/types/checklists/ChecklistTask$Completed$ByChat; + public static synthetic fun copy-egrVBYk$default (Ldev/inmo/tgbotapi/types/checklists/ChecklistTask$Completed$ByChat;ILdev/inmo/tgbotapi/types/chat/PreviewChat;Ldev/inmo/tgbotapi/types/TelegramDate;Ljava/util/List;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/checklists/ChecklistTask$Completed$ByChat; public fun equals (Ljava/lang/Object;)Z + public fun getCompletedByChat ()Ldev/inmo/tgbotapi/types/chat/PreviewChat; public fun getCompletedByUser ()Ldev/inmo/tgbotapi/types/chat/PreviewUser; public fun getCompletionDate ()Ldev/inmo/tgbotapi/types/TelegramDate; public fun getId-9XrXEx4 ()I @@ -18773,10 +19620,86 @@ public final class dev/inmo/tgbotapi/types/checklists/ChecklistTask$Done : dev/i public fun toString ()Ljava/lang/String; } -public final class dev/inmo/tgbotapi/types/checklists/ChecklistTask$Done$Companion { +public final class dev/inmo/tgbotapi/types/checklists/ChecklistTask$Completed$ByChat$Companion { public final fun serializer ()Lkotlinx/serialization/KSerializer; } +public final class dev/inmo/tgbotapi/types/checklists/ChecklistTask$Completed$ByUser : dev/inmo/tgbotapi/types/checklists/ChecklistTask$Completed { + public static final field Companion Ldev/inmo/tgbotapi/types/checklists/ChecklistTask$Completed$ByUser$Companion; + public synthetic fun (ILdev/inmo/tgbotapi/types/chat/PreviewUser;Ldev/inmo/tgbotapi/types/TelegramDate;Ljava/util/List;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (ILdev/inmo/tgbotapi/types/chat/PreviewUser;Ldev/inmo/tgbotapi/types/TelegramDate;Ljava/util/List;Lkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1-9XrXEx4 ()I + public final fun component2 ()Ldev/inmo/tgbotapi/types/chat/PreviewUser; + public final fun component3 ()Ldev/inmo/tgbotapi/types/TelegramDate; + public final fun component4 ()Ljava/util/List; + public final fun copy-egrVBYk (ILdev/inmo/tgbotapi/types/chat/PreviewUser;Ldev/inmo/tgbotapi/types/TelegramDate;Ljava/util/List;)Ldev/inmo/tgbotapi/types/checklists/ChecklistTask$Completed$ByUser; + public static synthetic fun copy-egrVBYk$default (Ldev/inmo/tgbotapi/types/checklists/ChecklistTask$Completed$ByUser;ILdev/inmo/tgbotapi/types/chat/PreviewUser;Ldev/inmo/tgbotapi/types/TelegramDate;Ljava/util/List;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/checklists/ChecklistTask$Completed$ByUser; + public fun equals (Ljava/lang/Object;)Z + public fun getCompletedByChat ()Ldev/inmo/tgbotapi/types/chat/PreviewChat; + public fun getCompletedByUser ()Ldev/inmo/tgbotapi/types/chat/PreviewUser; + public fun getCompletionDate ()Ldev/inmo/tgbotapi/types/TelegramDate; + public fun getId-9XrXEx4 ()I + public fun getText ()Ljava/lang/String; + public fun getTextSources ()Ljava/util/List; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public final class dev/inmo/tgbotapi/types/checklists/ChecklistTask$Completed$ByUser$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class dev/inmo/tgbotapi/types/checklists/ChecklistTask$Completed$Common : dev/inmo/tgbotapi/types/checklists/ChecklistTask$Completed { + public static final field Companion Ldev/inmo/tgbotapi/types/checklists/ChecklistTask$Completed$Common$Companion; + public synthetic fun (ILdev/inmo/tgbotapi/types/TelegramDate;Ljava/util/List;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (ILdev/inmo/tgbotapi/types/TelegramDate;Ljava/util/List;Lkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1-9XrXEx4 ()I + public final fun component2 ()Ldev/inmo/tgbotapi/types/TelegramDate; + public final fun component3 ()Ljava/util/List; + public final fun copy-0h9CyU4 (ILdev/inmo/tgbotapi/types/TelegramDate;Ljava/util/List;)Ldev/inmo/tgbotapi/types/checklists/ChecklistTask$Completed$Common; + public static synthetic fun copy-0h9CyU4$default (Ldev/inmo/tgbotapi/types/checklists/ChecklistTask$Completed$Common;ILdev/inmo/tgbotapi/types/TelegramDate;Ljava/util/List;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/checklists/ChecklistTask$Completed$Common; + public fun equals (Ljava/lang/Object;)Z + public fun getCompletedByChat ()Ldev/inmo/tgbotapi/types/chat/PreviewChat; + public fun getCompletedByUser ()Ldev/inmo/tgbotapi/types/chat/PreviewUser; + public fun getCompletionDate ()Ldev/inmo/tgbotapi/types/TelegramDate; + public fun getId-9XrXEx4 ()I + public fun getText ()Ljava/lang/String; + public fun getTextSources ()Ljava/util/List; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public final class dev/inmo/tgbotapi/types/checklists/ChecklistTask$Completed$Common$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class dev/inmo/tgbotapi/types/checklists/ChecklistTask$Completed$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class dev/inmo/tgbotapi/types/checklists/ChecklistTask$Completed$DefaultImpls { + public static fun getCompletedByChat (Ldev/inmo/tgbotapi/types/checklists/ChecklistTask$Completed;)Ldev/inmo/tgbotapi/types/chat/PreviewChat; + public static fun getCompletedByUser (Ldev/inmo/tgbotapi/types/checklists/ChecklistTask$Completed;)Ldev/inmo/tgbotapi/types/chat/PreviewUser; + public static fun getCompletionDate (Ldev/inmo/tgbotapi/types/checklists/ChecklistTask$Completed;)Ldev/inmo/tgbotapi/types/TelegramDate; +} + +public abstract interface class dev/inmo/tgbotapi/types/checklists/ChecklistTask$Created : dev/inmo/tgbotapi/types/checklists/ChecklistTask { + public static final field Companion Ldev/inmo/tgbotapi/types/checklists/ChecklistTask$Created$Companion; + public fun getCompletedByChat ()Ldev/inmo/tgbotapi/types/chat/PreviewChat; + public fun getCompletedByUser ()Ldev/inmo/tgbotapi/types/chat/PreviewUser; + public fun getCompletionDate ()Ldev/inmo/tgbotapi/types/TelegramDate; +} + +public final class dev/inmo/tgbotapi/types/checklists/ChecklistTask$Created$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class dev/inmo/tgbotapi/types/checklists/ChecklistTask$Created$DefaultImpls { + public static fun getCompletedByChat (Ldev/inmo/tgbotapi/types/checklists/ChecklistTask$Created;)Ldev/inmo/tgbotapi/types/chat/PreviewChat; + public static fun getCompletedByUser (Ldev/inmo/tgbotapi/types/checklists/ChecklistTask$Created;)Ldev/inmo/tgbotapi/types/chat/PreviewUser; + public static fun getCompletionDate (Ldev/inmo/tgbotapi/types/checklists/ChecklistTask$Created;)Ldev/inmo/tgbotapi/types/TelegramDate; +} + public final class dev/inmo/tgbotapi/types/checklists/ChecklistTask$Input : dev/inmo/tgbotapi/types/checklists/ChecklistTask { public static final field Companion Ldev/inmo/tgbotapi/types/checklists/ChecklistTask$Input$Companion; public synthetic fun (ILjava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;ILkotlin/jvm/internal/DefaultConstructorMarker;)V @@ -18809,16 +19732,26 @@ public final class dev/inmo/tgbotapi/types/checklists/ChecklistTask$Input$Compan public final fun serializer ()Lkotlinx/serialization/KSerializer; } -public final class dev/inmo/tgbotapi/types/checklists/ChecklistTask$Undone : dev/inmo/tgbotapi/types/checklists/ChecklistTask$Created { - public static final field Companion Ldev/inmo/tgbotapi/types/checklists/ChecklistTask$Undone$Companion; +public final class dev/inmo/tgbotapi/types/checklists/ChecklistTask$Serializer : kotlinx/serialization/KSerializer { + public static final field INSTANCE Ldev/inmo/tgbotapi/types/checklists/ChecklistTask$Serializer; + public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/inmo/tgbotapi/types/checklists/ChecklistTask$Created; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public fun serialize (Lkotlinx/serialization/encoding/Encoder;Ldev/inmo/tgbotapi/types/checklists/ChecklistTask$Created;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V +} + +public final class dev/inmo/tgbotapi/types/checklists/ChecklistTask$Uncompleted : dev/inmo/tgbotapi/types/checklists/ChecklistTask$Created { + public static final field Companion Ldev/inmo/tgbotapi/types/checklists/ChecklistTask$Uncompleted$Companion; public synthetic fun (ILjava/lang/String;Lkotlin/jvm/internal/DefaultConstructorMarker;)V public synthetic fun (ILjava/util/List;ILkotlin/jvm/internal/DefaultConstructorMarker;)V public synthetic fun (ILjava/util/List;Lkotlin/jvm/internal/DefaultConstructorMarker;)V public final fun component1-9XrXEx4 ()I public final fun component2 ()Ljava/util/List; - public final fun copy--FO1ySU (ILjava/util/List;)Ldev/inmo/tgbotapi/types/checklists/ChecklistTask$Undone; - public static synthetic fun copy--FO1ySU$default (Ldev/inmo/tgbotapi/types/checklists/ChecklistTask$Undone;ILjava/util/List;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/checklists/ChecklistTask$Undone; + public final fun copy--FO1ySU (ILjava/util/List;)Ldev/inmo/tgbotapi/types/checklists/ChecklistTask$Uncompleted; + public static synthetic fun copy--FO1ySU$default (Ldev/inmo/tgbotapi/types/checklists/ChecklistTask$Uncompleted;ILjava/util/List;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/checklists/ChecklistTask$Uncompleted; public fun equals (Ljava/lang/Object;)Z + public fun getCompletedByChat ()Ldev/inmo/tgbotapi/types/chat/PreviewChat; public fun getCompletedByUser ()Ldev/inmo/tgbotapi/types/chat/PreviewUser; public fun getCompletionDate ()Ldev/inmo/tgbotapi/types/TelegramDate; public fun getId-9XrXEx4 ()I @@ -18828,7 +19761,7 @@ public final class dev/inmo/tgbotapi/types/checklists/ChecklistTask$Undone : dev public fun toString ()Ljava/lang/String; } -public final class dev/inmo/tgbotapi/types/checklists/ChecklistTask$Undone$Companion { +public final class dev/inmo/tgbotapi/types/checklists/ChecklistTask$Uncompleted$Companion { public final fun serializer ()Lkotlinx/serialization/KSerializer; } @@ -18961,7 +19894,7 @@ public abstract interface class dev/inmo/tgbotapi/types/commands/BotCommandScope public final class dev/inmo/tgbotapi/types/commands/BotCommandScope$Companion { public final fun Chat (Ldev/inmo/tgbotapi/types/ChatIdentifier;)Ldev/inmo/tgbotapi/types/commands/BotCommandScopeChat; public final fun ChatAdministrators (Ldev/inmo/tgbotapi/types/ChatIdentifier;)Ldev/inmo/tgbotapi/types/commands/BotCommandScopeChatAdministrators; - public final fun ChatMember-WiG6Fm4 (Ldev/inmo/tgbotapi/types/ChatIdentifier;J)Ldev/inmo/tgbotapi/types/commands/BotCommandScopeChatMember; + public final fun ChatMember (Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/IdChatIdentifier;)Ldev/inmo/tgbotapi/types/commands/BotCommandScopeChatMember; public final fun getAllChatAdministrators ()Ldev/inmo/tgbotapi/types/commands/BotCommandScopeAllChatAdministrators; public final fun getAllGroupChats ()Ldev/inmo/tgbotapi/types/commands/BotCommandScopeAllGroupChats; public final fun getAllPrivateChats ()Ldev/inmo/tgbotapi/types/commands/BotCommandScopeAllPrivateChats; @@ -19048,15 +19981,15 @@ public final class dev/inmo/tgbotapi/types/commands/BotCommandScopeChatAdministr public final class dev/inmo/tgbotapi/types/commands/BotCommandScopeChatMember : dev/inmo/tgbotapi/types/commands/ChatBotCommandScope { public static final field Companion Ldev/inmo/tgbotapi/types/commands/BotCommandScopeChatMember$Companion; public static final field type Ljava/lang/String; - public synthetic fun (Ldev/inmo/tgbotapi/types/ChatIdentifier;JLkotlin/jvm/internal/DefaultConstructorMarker;)V + public fun (Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/IdChatIdentifier;)V public final fun component1 ()Ldev/inmo/tgbotapi/types/ChatIdentifier; - public final fun component2-tHkBKVM ()J - public final fun copy-WiG6Fm4 (Ldev/inmo/tgbotapi/types/ChatIdentifier;J)Ldev/inmo/tgbotapi/types/commands/BotCommandScopeChatMember; - public static synthetic fun copy-WiG6Fm4$default (Ldev/inmo/tgbotapi/types/commands/BotCommandScopeChatMember;Ldev/inmo/tgbotapi/types/ChatIdentifier;JILjava/lang/Object;)Ldev/inmo/tgbotapi/types/commands/BotCommandScopeChatMember; + public final fun component2 ()Ldev/inmo/tgbotapi/types/IdChatIdentifier; + public final fun copy (Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/IdChatIdentifier;)Ldev/inmo/tgbotapi/types/commands/BotCommandScopeChatMember; + public static synthetic fun copy$default (Ldev/inmo/tgbotapi/types/commands/BotCommandScopeChatMember;Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/IdChatIdentifier;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/commands/BotCommandScopeChatMember; public fun equals (Ljava/lang/Object;)Z public fun getChatId ()Ldev/inmo/tgbotapi/types/ChatIdentifier; public fun getType ()Ljava/lang/String; - public final fun getUserId-tHkBKVM ()J + public final fun getUserId ()Ldev/inmo/tgbotapi/types/IdChatIdentifier; public fun hashCode ()I public fun toString ()Ljava/lang/String; } @@ -19244,8 +20177,8 @@ public final class dev/inmo/tgbotapi/types/files/AnimatedSticker$DefaultImpls { public final class dev/inmo/tgbotapi/types/files/AnimationFile : dev/inmo/tgbotapi/types/files/CustomNamedMediaFile, dev/inmo/tgbotapi/types/files/MediaContentVariant, dev/inmo/tgbotapi/types/files/MimedMediaFile, dev/inmo/tgbotapi/types/files/PlayableMediaFile, dev/inmo/tgbotapi/types/files/SizedMediaFile, dev/inmo/tgbotapi/types/files/TelegramMediaFile, dev/inmo/tgbotapi/types/files/ThumbedMediaFile { public static final field Companion Ldev/inmo/tgbotapi/types/files/AnimationFile$Companion; - public synthetic fun (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;IILjava/lang/Long;Ldev/inmo/tgbotapi/types/files/PhotoSize;Ljava/lang/String;Ldev/inmo/tgbotapi/utils/MimeType;Ljava/lang/Long;ILkotlin/jvm/internal/DefaultConstructorMarker;)V - public synthetic fun (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;IILjava/lang/Long;Ldev/inmo/tgbotapi/types/files/PhotoSize;Ljava/lang/String;Ldev/inmo/tgbotapi/utils/MimeType;Ljava/lang/Long;Lkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;IILjava/lang/Long;Ldev/inmo/tgbotapi/types/files/PhotoSize;Ljava/lang/String;Ldev/inmo/tgbotapi/utils/MimeType;Ldev/inmo/tgbotapi/types/files/FileSize;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;IILjava/lang/Long;Ldev/inmo/tgbotapi/types/files/PhotoSize;Ljava/lang/String;Ldev/inmo/tgbotapi/utils/MimeType;Ldev/inmo/tgbotapi/types/files/FileSize;Lkotlin/jvm/internal/DefaultConstructorMarker;)V public final fun component1 ()Ldev/inmo/tgbotapi/requests/abstracts/FileId; public final fun component2-lakR5NQ ()Ljava/lang/String; public final fun component3 ()I @@ -19254,14 +20187,14 @@ public final class dev/inmo/tgbotapi/types/files/AnimationFile : dev/inmo/tgbota public final fun component6 ()Ldev/inmo/tgbotapi/types/files/PhotoSize; public final fun component7 ()Ljava/lang/String; public final fun component8 ()Ldev/inmo/tgbotapi/utils/MimeType; - public final fun component9 ()Ljava/lang/Long; - public final fun copy-dYStpig (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;IILjava/lang/Long;Ldev/inmo/tgbotapi/types/files/PhotoSize;Ljava/lang/String;Ldev/inmo/tgbotapi/utils/MimeType;Ljava/lang/Long;)Ldev/inmo/tgbotapi/types/files/AnimationFile; - public static synthetic fun copy-dYStpig$default (Ldev/inmo/tgbotapi/types/files/AnimationFile;Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;IILjava/lang/Long;Ldev/inmo/tgbotapi/types/files/PhotoSize;Ljava/lang/String;Ldev/inmo/tgbotapi/utils/MimeType;Ljava/lang/Long;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/files/AnimationFile; + public final fun component9-yrF3Zgw ()Ldev/inmo/tgbotapi/types/files/FileSize; + public final fun copy-dIeSHAI (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;IILjava/lang/Long;Ldev/inmo/tgbotapi/types/files/PhotoSize;Ljava/lang/String;Ldev/inmo/tgbotapi/utils/MimeType;Ldev/inmo/tgbotapi/types/files/FileSize;)Ldev/inmo/tgbotapi/types/files/AnimationFile; + public static synthetic fun copy-dIeSHAI$default (Ldev/inmo/tgbotapi/types/files/AnimationFile;Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;IILjava/lang/Long;Ldev/inmo/tgbotapi/types/files/PhotoSize;Ljava/lang/String;Ldev/inmo/tgbotapi/utils/MimeType;Ldev/inmo/tgbotapi/types/files/FileSize;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/files/AnimationFile; public fun equals (Ljava/lang/Object;)Z public fun getDuration ()Ljava/lang/Long; public fun getFileId ()Ldev/inmo/tgbotapi/requests/abstracts/FileId; public fun getFileName ()Ljava/lang/String; - public fun getFileSize ()Ljava/lang/Long; + public fun getFileSize-yrF3Zgw ()Ldev/inmo/tgbotapi/types/files/FileSize; public fun getFileUniqueId-lakR5NQ ()Ljava/lang/String; public fun getHeight ()I public fun getMimeType ()Ldev/inmo/tgbotapi/utils/MimeType; @@ -19288,8 +20221,8 @@ public final class dev/inmo/tgbotapi/types/files/AnimationFile$Companion { public final class dev/inmo/tgbotapi/types/files/AudioFile : dev/inmo/tgbotapi/abstracts/Performerable, dev/inmo/tgbotapi/types/files/CustomNamedMediaFile, dev/inmo/tgbotapi/types/files/MediaContentVariant, dev/inmo/tgbotapi/types/files/MimedMediaFile, dev/inmo/tgbotapi/types/files/PlayableMediaFile, dev/inmo/tgbotapi/types/files/TelegramMediaFile, dev/inmo/tgbotapi/types/files/ThumbedMediaFile, dev/inmo/tgbotapi/types/files/TitledMediaFile { public static final field Companion Ldev/inmo/tgbotapi/types/files/AudioFile$Companion; - public synthetic fun (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;Ljava/lang/Long;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/utils/MimeType;Ljava/lang/Long;Ldev/inmo/tgbotapi/types/files/PhotoSize;ILkotlin/jvm/internal/DefaultConstructorMarker;)V - public synthetic fun (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;Ljava/lang/Long;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/utils/MimeType;Ljava/lang/Long;Ldev/inmo/tgbotapi/types/files/PhotoSize;Lkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;Ljava/lang/Long;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/utils/MimeType;Ldev/inmo/tgbotapi/types/files/FileSize;Ldev/inmo/tgbotapi/types/files/PhotoSize;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;Ljava/lang/Long;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/utils/MimeType;Ldev/inmo/tgbotapi/types/files/FileSize;Ldev/inmo/tgbotapi/types/files/PhotoSize;Lkotlin/jvm/internal/DefaultConstructorMarker;)V public final fun component1 ()Ldev/inmo/tgbotapi/requests/abstracts/FileId; public final fun component2-lakR5NQ ()Ljava/lang/String; public final fun component3 ()Ljava/lang/Long; @@ -19297,15 +20230,15 @@ public final class dev/inmo/tgbotapi/types/files/AudioFile : dev/inmo/tgbotapi/a public final fun component5 ()Ljava/lang/String; public final fun component6 ()Ljava/lang/String; public final fun component7 ()Ldev/inmo/tgbotapi/utils/MimeType; - public final fun component8 ()Ljava/lang/Long; + public final fun component8-yrF3Zgw ()Ldev/inmo/tgbotapi/types/files/FileSize; public final fun component9 ()Ldev/inmo/tgbotapi/types/files/PhotoSize; - public final fun copy-dYStpig (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;Ljava/lang/Long;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/utils/MimeType;Ljava/lang/Long;Ldev/inmo/tgbotapi/types/files/PhotoSize;)Ldev/inmo/tgbotapi/types/files/AudioFile; - public static synthetic fun copy-dYStpig$default (Ldev/inmo/tgbotapi/types/files/AudioFile;Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;Ljava/lang/Long;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/utils/MimeType;Ljava/lang/Long;Ldev/inmo/tgbotapi/types/files/PhotoSize;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/files/AudioFile; + public final fun copy-fn-ah44 (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;Ljava/lang/Long;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/utils/MimeType;Ldev/inmo/tgbotapi/types/files/FileSize;Ldev/inmo/tgbotapi/types/files/PhotoSize;)Ldev/inmo/tgbotapi/types/files/AudioFile; + public static synthetic fun copy-fn-ah44$default (Ldev/inmo/tgbotapi/types/files/AudioFile;Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;Ljava/lang/Long;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/utils/MimeType;Ldev/inmo/tgbotapi/types/files/FileSize;Ldev/inmo/tgbotapi/types/files/PhotoSize;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/files/AudioFile; public fun equals (Ljava/lang/Object;)Z public fun getDuration ()Ljava/lang/Long; public fun getFileId ()Ldev/inmo/tgbotapi/requests/abstracts/FileId; public fun getFileName ()Ljava/lang/String; - public fun getFileSize ()Ljava/lang/Long; + public fun getFileSize-yrF3Zgw ()Ldev/inmo/tgbotapi/types/files/FileSize; public fun getFileUniqueId-lakR5NQ ()Ljava/lang/String; public fun getMimeType ()Ldev/inmo/tgbotapi/utils/MimeType; public fun getPerformer ()Ljava/lang/String; @@ -19339,8 +20272,8 @@ public abstract interface class dev/inmo/tgbotapi/types/files/CoveredMediaFile : public final class dev/inmo/tgbotapi/types/files/CustomEmojiAnimatedSticker : dev/inmo/tgbotapi/types/files/AnimatedSticker, dev/inmo/tgbotapi/types/files/CustomEmojiSticker { public static final field Companion Ldev/inmo/tgbotapi/types/files/CustomEmojiAnimatedSticker$Companion; - public synthetic fun (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;IILjava/lang/String;Ldev/inmo/tgbotapi/types/files/PhotoSize;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Long;ZILkotlin/jvm/internal/DefaultConstructorMarker;)V - public synthetic fun (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;IILjava/lang/String;Ldev/inmo/tgbotapi/types/files/PhotoSize;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Long;ZLkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;IILjava/lang/String;Ldev/inmo/tgbotapi/types/files/PhotoSize;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/files/FileSize;ZILkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;IILjava/lang/String;Ldev/inmo/tgbotapi/types/files/PhotoSize;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/files/FileSize;ZLkotlin/jvm/internal/DefaultConstructorMarker;)V public fun asInputSticker (Ljava/util/List;)Ldev/inmo/tgbotapi/requests/stickers/InputSticker$WithKeywords$CustomEmoji; public synthetic fun asInputSticker (Ljava/util/List;)Ldev/inmo/tgbotapi/requests/stickers/InputSticker; public final fun component1 ()Ldev/inmo/tgbotapi/requests/abstracts/FileId; @@ -19352,14 +20285,14 @@ public final class dev/inmo/tgbotapi/types/files/CustomEmojiAnimatedSticker : de public final fun component6 ()Ldev/inmo/tgbotapi/types/files/PhotoSize; public final fun component7 ()Ljava/lang/String; public final fun component8-eaLzeK0 ()Ljava/lang/String; - public final fun component9 ()Ljava/lang/Long; - public final fun copy-XitNtTM (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;IILjava/lang/String;Ldev/inmo/tgbotapi/types/files/PhotoSize;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Long;Z)Ldev/inmo/tgbotapi/types/files/CustomEmojiAnimatedSticker; - public static synthetic fun copy-XitNtTM$default (Ldev/inmo/tgbotapi/types/files/CustomEmojiAnimatedSticker;Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;IILjava/lang/String;Ldev/inmo/tgbotapi/types/files/PhotoSize;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Long;ZILjava/lang/Object;)Ldev/inmo/tgbotapi/types/files/CustomEmojiAnimatedSticker; + public final fun component9-yrF3Zgw ()Ldev/inmo/tgbotapi/types/files/FileSize; + public final fun copy-bTrXspY (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;IILjava/lang/String;Ldev/inmo/tgbotapi/types/files/PhotoSize;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/files/FileSize;Z)Ldev/inmo/tgbotapi/types/files/CustomEmojiAnimatedSticker; + public static synthetic fun copy-bTrXspY$default (Ldev/inmo/tgbotapi/types/files/CustomEmojiAnimatedSticker;Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;IILjava/lang/String;Ldev/inmo/tgbotapi/types/files/PhotoSize;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/files/FileSize;ZILjava/lang/Object;)Ldev/inmo/tgbotapi/types/files/CustomEmojiAnimatedSticker; public fun equals (Ljava/lang/Object;)Z public fun getCustomEmojiId-dDnjveI ()Ljava/lang/String; public fun getEmoji ()Ljava/lang/String; public fun getFileId ()Ldev/inmo/tgbotapi/requests/abstracts/FileId; - public fun getFileSize ()Ljava/lang/Long; + public fun getFileSize-yrF3Zgw ()Ldev/inmo/tgbotapi/types/files/FileSize; public fun getFileUniqueId-lakR5NQ ()Ljava/lang/String; public fun getHeight ()I public fun getNeedsRepainting ()Z @@ -19392,8 +20325,8 @@ public final class dev/inmo/tgbotapi/types/files/CustomEmojiAnimatedSticker$Comp public final class dev/inmo/tgbotapi/types/files/CustomEmojiSimpleSticker : dev/inmo/tgbotapi/types/files/CustomEmojiSticker { public static final field Companion Ldev/inmo/tgbotapi/types/files/CustomEmojiSimpleSticker$Companion; - public synthetic fun (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;IILjava/lang/String;Ldev/inmo/tgbotapi/types/files/PhotoSize;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Long;ZILkotlin/jvm/internal/DefaultConstructorMarker;)V - public synthetic fun (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;IILjava/lang/String;Ldev/inmo/tgbotapi/types/files/PhotoSize;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Long;ZLkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;IILjava/lang/String;Ldev/inmo/tgbotapi/types/files/PhotoSize;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/files/FileSize;ZILkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;IILjava/lang/String;Ldev/inmo/tgbotapi/types/files/PhotoSize;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/files/FileSize;ZLkotlin/jvm/internal/DefaultConstructorMarker;)V public fun asInputSticker (Ljava/util/List;)Ldev/inmo/tgbotapi/requests/stickers/InputSticker$WithKeywords$CustomEmoji; public synthetic fun asInputSticker (Ljava/util/List;)Ldev/inmo/tgbotapi/requests/stickers/InputSticker; public final fun component1 ()Ldev/inmo/tgbotapi/requests/abstracts/FileId; @@ -19405,14 +20338,14 @@ public final class dev/inmo/tgbotapi/types/files/CustomEmojiSimpleSticker : dev/ public final fun component6 ()Ldev/inmo/tgbotapi/types/files/PhotoSize; public final fun component7 ()Ljava/lang/String; public final fun component8-eaLzeK0 ()Ljava/lang/String; - public final fun component9 ()Ljava/lang/Long; - public final fun copy-XitNtTM (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;IILjava/lang/String;Ldev/inmo/tgbotapi/types/files/PhotoSize;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Long;Z)Ldev/inmo/tgbotapi/types/files/CustomEmojiSimpleSticker; - public static synthetic fun copy-XitNtTM$default (Ldev/inmo/tgbotapi/types/files/CustomEmojiSimpleSticker;Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;IILjava/lang/String;Ldev/inmo/tgbotapi/types/files/PhotoSize;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Long;ZILjava/lang/Object;)Ldev/inmo/tgbotapi/types/files/CustomEmojiSimpleSticker; + public final fun component9-yrF3Zgw ()Ldev/inmo/tgbotapi/types/files/FileSize; + public final fun copy-bTrXspY (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;IILjava/lang/String;Ldev/inmo/tgbotapi/types/files/PhotoSize;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/files/FileSize;Z)Ldev/inmo/tgbotapi/types/files/CustomEmojiSimpleSticker; + public static synthetic fun copy-bTrXspY$default (Ldev/inmo/tgbotapi/types/files/CustomEmojiSimpleSticker;Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;IILjava/lang/String;Ldev/inmo/tgbotapi/types/files/PhotoSize;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/files/FileSize;ZILjava/lang/Object;)Ldev/inmo/tgbotapi/types/files/CustomEmojiSimpleSticker; public fun equals (Ljava/lang/Object;)Z public fun getCustomEmojiId-dDnjveI ()Ljava/lang/String; public fun getEmoji ()Ljava/lang/String; public fun getFileId ()Ldev/inmo/tgbotapi/requests/abstracts/FileId; - public fun getFileSize ()Ljava/lang/Long; + public fun getFileSize-yrF3Zgw ()Ldev/inmo/tgbotapi/types/files/FileSize; public fun getFileUniqueId-lakR5NQ ()Ljava/lang/String; public fun getHeight ()I public fun getNeedsRepainting ()Z @@ -19466,8 +20399,8 @@ public final class dev/inmo/tgbotapi/types/files/CustomEmojiSticker$DefaultImpls public final class dev/inmo/tgbotapi/types/files/CustomEmojiVideoSticker : dev/inmo/tgbotapi/types/files/CustomEmojiSticker, dev/inmo/tgbotapi/types/files/VideoSticker { public static final field Companion Ldev/inmo/tgbotapi/types/files/CustomEmojiVideoSticker$Companion; - public synthetic fun (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;IILjava/lang/String;Ldev/inmo/tgbotapi/types/files/PhotoSize;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Long;ZILkotlin/jvm/internal/DefaultConstructorMarker;)V - public synthetic fun (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;IILjava/lang/String;Ldev/inmo/tgbotapi/types/files/PhotoSize;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Long;ZLkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;IILjava/lang/String;Ldev/inmo/tgbotapi/types/files/PhotoSize;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/files/FileSize;ZILkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;IILjava/lang/String;Ldev/inmo/tgbotapi/types/files/PhotoSize;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/files/FileSize;ZLkotlin/jvm/internal/DefaultConstructorMarker;)V public fun asInputSticker (Ljava/util/List;)Ldev/inmo/tgbotapi/requests/stickers/InputSticker$WithKeywords$CustomEmoji; public synthetic fun asInputSticker (Ljava/util/List;)Ldev/inmo/tgbotapi/requests/stickers/InputSticker; public final fun component1 ()Ldev/inmo/tgbotapi/requests/abstracts/FileId; @@ -19479,14 +20412,14 @@ public final class dev/inmo/tgbotapi/types/files/CustomEmojiVideoSticker : dev/i public final fun component6 ()Ldev/inmo/tgbotapi/types/files/PhotoSize; public final fun component7 ()Ljava/lang/String; public final fun component8-eaLzeK0 ()Ljava/lang/String; - public final fun component9 ()Ljava/lang/Long; - public final fun copy-XitNtTM (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;IILjava/lang/String;Ldev/inmo/tgbotapi/types/files/PhotoSize;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Long;Z)Ldev/inmo/tgbotapi/types/files/CustomEmojiVideoSticker; - public static synthetic fun copy-XitNtTM$default (Ldev/inmo/tgbotapi/types/files/CustomEmojiVideoSticker;Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;IILjava/lang/String;Ldev/inmo/tgbotapi/types/files/PhotoSize;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Long;ZILjava/lang/Object;)Ldev/inmo/tgbotapi/types/files/CustomEmojiVideoSticker; + public final fun component9-yrF3Zgw ()Ldev/inmo/tgbotapi/types/files/FileSize; + public final fun copy-bTrXspY (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;IILjava/lang/String;Ldev/inmo/tgbotapi/types/files/PhotoSize;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/files/FileSize;Z)Ldev/inmo/tgbotapi/types/files/CustomEmojiVideoSticker; + public static synthetic fun copy-bTrXspY$default (Ldev/inmo/tgbotapi/types/files/CustomEmojiVideoSticker;Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;IILjava/lang/String;Ldev/inmo/tgbotapi/types/files/PhotoSize;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/files/FileSize;ZILjava/lang/Object;)Ldev/inmo/tgbotapi/types/files/CustomEmojiVideoSticker; public fun equals (Ljava/lang/Object;)Z public fun getCustomEmojiId-dDnjveI ()Ljava/lang/String; public fun getEmoji ()Ljava/lang/String; public fun getFileId ()Ldev/inmo/tgbotapi/requests/abstracts/FileId; - public fun getFileSize ()Ljava/lang/Long; + public fun getFileSize-yrF3Zgw ()Ldev/inmo/tgbotapi/types/files/FileSize; public fun getFileUniqueId-lakR5NQ ()Ljava/lang/String; public fun getHeight ()I public fun getNeedsRepainting ()Z @@ -19526,20 +20459,20 @@ public abstract interface class dev/inmo/tgbotapi/types/files/CustomStartMediaFi public final class dev/inmo/tgbotapi/types/files/DocumentFile : dev/inmo/tgbotapi/types/files/CustomNamedMediaFile, dev/inmo/tgbotapi/types/files/MediaContentVariant, dev/inmo/tgbotapi/types/files/MimedMediaFile, dev/inmo/tgbotapi/types/files/TelegramMediaFile, dev/inmo/tgbotapi/types/files/ThumbedMediaFile { public static final field Companion Ldev/inmo/tgbotapi/types/files/DocumentFile$Companion; - public synthetic fun (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;Ljava/lang/Long;Ldev/inmo/tgbotapi/types/files/PhotoSize;Ldev/inmo/tgbotapi/utils/MimeType;Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V - public synthetic fun (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;Ljava/lang/Long;Ldev/inmo/tgbotapi/types/files/PhotoSize;Ldev/inmo/tgbotapi/utils/MimeType;Ljava/lang/String;Lkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;Ldev/inmo/tgbotapi/types/files/FileSize;Ldev/inmo/tgbotapi/types/files/PhotoSize;Ldev/inmo/tgbotapi/utils/MimeType;Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;Ldev/inmo/tgbotapi/types/files/FileSize;Ldev/inmo/tgbotapi/types/files/PhotoSize;Ldev/inmo/tgbotapi/utils/MimeType;Ljava/lang/String;Lkotlin/jvm/internal/DefaultConstructorMarker;)V public final fun component1 ()Ldev/inmo/tgbotapi/requests/abstracts/FileId; public final fun component2-lakR5NQ ()Ljava/lang/String; - public final fun component3 ()Ljava/lang/Long; + public final fun component3-yrF3Zgw ()Ldev/inmo/tgbotapi/types/files/FileSize; public final fun component4 ()Ldev/inmo/tgbotapi/types/files/PhotoSize; public final fun component5 ()Ldev/inmo/tgbotapi/utils/MimeType; public final fun component6 ()Ljava/lang/String; - public final fun copy-7vQoW4s (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;Ljava/lang/Long;Ldev/inmo/tgbotapi/types/files/PhotoSize;Ldev/inmo/tgbotapi/utils/MimeType;Ljava/lang/String;)Ldev/inmo/tgbotapi/types/files/DocumentFile; - public static synthetic fun copy-7vQoW4s$default (Ldev/inmo/tgbotapi/types/files/DocumentFile;Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;Ljava/lang/Long;Ldev/inmo/tgbotapi/types/files/PhotoSize;Ldev/inmo/tgbotapi/utils/MimeType;Ljava/lang/String;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/files/DocumentFile; + public final fun copy-9xEFyZs (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;Ldev/inmo/tgbotapi/types/files/FileSize;Ldev/inmo/tgbotapi/types/files/PhotoSize;Ldev/inmo/tgbotapi/utils/MimeType;Ljava/lang/String;)Ldev/inmo/tgbotapi/types/files/DocumentFile; + public static synthetic fun copy-9xEFyZs$default (Ldev/inmo/tgbotapi/types/files/DocumentFile;Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;Ldev/inmo/tgbotapi/types/files/FileSize;Ldev/inmo/tgbotapi/types/files/PhotoSize;Ldev/inmo/tgbotapi/utils/MimeType;Ljava/lang/String;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/files/DocumentFile; public fun equals (Ljava/lang/Object;)Z public fun getFileId ()Ldev/inmo/tgbotapi/requests/abstracts/FileId; public fun getFileName ()Ljava/lang/String; - public fun getFileSize ()Ljava/lang/Long; + public fun getFileSize-yrF3Zgw ()Ldev/inmo/tgbotapi/types/files/FileSize; public fun getFileUniqueId-lakR5NQ ()Ljava/lang/String; public fun getMimeType ()Ldev/inmo/tgbotapi/utils/MimeType; public fun getThumbnail ()Ldev/inmo/tgbotapi/types/files/PhotoSize; @@ -19568,16 +20501,16 @@ public final class dev/inmo/tgbotapi/types/files/DocumentFileKt { public final class dev/inmo/tgbotapi/types/files/File : dev/inmo/tgbotapi/types/files/TelegramMediaFile { public static final field Companion Ldev/inmo/tgbotapi/types/files/File$Companion; - public synthetic fun (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;Ljava/lang/Long;ILkotlin/jvm/internal/DefaultConstructorMarker;)V - public synthetic fun (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;Ljava/lang/Long;Lkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;Ldev/inmo/tgbotapi/types/files/FileSize;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;Ldev/inmo/tgbotapi/types/files/FileSize;Lkotlin/jvm/internal/DefaultConstructorMarker;)V public final fun component1 ()Ldev/inmo/tgbotapi/requests/abstracts/FileId; public final fun component2-lakR5NQ ()Ljava/lang/String; - public final fun component3 ()Ljava/lang/Long; - public final fun copy-nbPTx5U (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;Ljava/lang/Long;)Ldev/inmo/tgbotapi/types/files/File; - public static synthetic fun copy-nbPTx5U$default (Ldev/inmo/tgbotapi/types/files/File;Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;Ljava/lang/Long;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/files/File; + public final fun component3-yrF3Zgw ()Ldev/inmo/tgbotapi/types/files/FileSize; + public final fun copy-ONNBud0 (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;Ldev/inmo/tgbotapi/types/files/FileSize;)Ldev/inmo/tgbotapi/types/files/File; + public static synthetic fun copy-ONNBud0$default (Ldev/inmo/tgbotapi/types/files/File;Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;Ldev/inmo/tgbotapi/types/files/FileSize;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/files/File; public fun equals (Ljava/lang/Object;)Z public fun getFileId ()Ldev/inmo/tgbotapi/requests/abstracts/FileId; - public fun getFileSize ()Ljava/lang/Long; + public fun getFileSize-yrF3Zgw ()Ldev/inmo/tgbotapi/types/files/FileSize; public fun getFileUniqueId-lakR5NQ ()Ljava/lang/String; public fun hashCode ()I public fun toString ()Ljava/lang/String; @@ -19598,10 +20531,43 @@ public final class dev/inmo/tgbotapi/types/files/File$Companion { public final fun serializer ()Lkotlinx/serialization/KSerializer; } +public final class dev/inmo/tgbotapi/types/files/FileSize : java/lang/Comparable { + public static final field Companion Ldev/inmo/tgbotapi/types/files/FileSize$Companion; + public static final synthetic fun box-impl (J)Ldev/inmo/tgbotapi/types/files/FileSize; + public synthetic fun compareTo (Ljava/lang/Object;)I + public fun compareTo-h-jw6eY (J)I + public static fun compareTo-h-jw6eY (JJ)I + public static fun constructor-impl (J)J + public fun equals (Ljava/lang/Object;)Z + public static fun equals-impl (JLjava/lang/Object;)Z + public static final fun equals-impl0 (JJ)Z + public final fun getBytes-s-VKNKU ()J + public fun hashCode ()I + public static fun hashCode-impl (J)I + public fun toString ()Ljava/lang/String; + public static fun toString-impl (J)Ljava/lang/String; + public final synthetic fun unbox-impl ()J +} + +public final synthetic class dev/inmo/tgbotapi/types/files/FileSize$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Ldev/inmo/tgbotapi/types/files/FileSize$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun deserialize-_by2jiY (Lkotlinx/serialization/encoding/Decoder;)J + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public final fun serialize-L8h-YHo (Lkotlinx/serialization/encoding/Encoder;J)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class dev/inmo/tgbotapi/types/files/FileSize$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + public final class dev/inmo/tgbotapi/types/files/MaskAnimatedSticker : dev/inmo/tgbotapi/types/files/AnimatedSticker, dev/inmo/tgbotapi/types/files/MaskSticker { public static final field Companion Ldev/inmo/tgbotapi/types/files/MaskAnimatedSticker$Companion; - public synthetic fun (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;IILdev/inmo/tgbotapi/types/stickers/MaskPosition;Ldev/inmo/tgbotapi/types/files/PhotoSize;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Long;ILkotlin/jvm/internal/DefaultConstructorMarker;)V - public synthetic fun (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;IILdev/inmo/tgbotapi/types/stickers/MaskPosition;Ldev/inmo/tgbotapi/types/files/PhotoSize;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Long;Lkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;IILdev/inmo/tgbotapi/types/stickers/MaskPosition;Ldev/inmo/tgbotapi/types/files/PhotoSize;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/files/FileSize;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;IILdev/inmo/tgbotapi/types/stickers/MaskPosition;Ldev/inmo/tgbotapi/types/files/PhotoSize;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/files/FileSize;Lkotlin/jvm/internal/DefaultConstructorMarker;)V public fun asInputSticker (Ljava/util/List;)Ldev/inmo/tgbotapi/requests/stickers/InputSticker$Mask; public synthetic fun asInputSticker (Ljava/util/List;)Ldev/inmo/tgbotapi/requests/stickers/InputSticker; public final fun component1 ()Ldev/inmo/tgbotapi/requests/abstracts/FileId; @@ -19612,13 +20578,13 @@ public final class dev/inmo/tgbotapi/types/files/MaskAnimatedSticker : dev/inmo/ public final fun component6 ()Ldev/inmo/tgbotapi/types/files/PhotoSize; public final fun component7 ()Ljava/lang/String; public final fun component8-eaLzeK0 ()Ljava/lang/String; - public final fun component9 ()Ljava/lang/Long; - public final fun copy-cawD_Go (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;IILdev/inmo/tgbotapi/types/stickers/MaskPosition;Ldev/inmo/tgbotapi/types/files/PhotoSize;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Long;)Ldev/inmo/tgbotapi/types/files/MaskAnimatedSticker; - public static synthetic fun copy-cawD_Go$default (Ldev/inmo/tgbotapi/types/files/MaskAnimatedSticker;Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;IILdev/inmo/tgbotapi/types/stickers/MaskPosition;Ldev/inmo/tgbotapi/types/files/PhotoSize;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Long;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/files/MaskAnimatedSticker; + public final fun component9-yrF3Zgw ()Ldev/inmo/tgbotapi/types/files/FileSize; + public final fun copy-RlloJlE (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;IILdev/inmo/tgbotapi/types/stickers/MaskPosition;Ldev/inmo/tgbotapi/types/files/PhotoSize;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/files/FileSize;)Ldev/inmo/tgbotapi/types/files/MaskAnimatedSticker; + public static synthetic fun copy-RlloJlE$default (Ldev/inmo/tgbotapi/types/files/MaskAnimatedSticker;Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;IILdev/inmo/tgbotapi/types/stickers/MaskPosition;Ldev/inmo/tgbotapi/types/files/PhotoSize;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/files/FileSize;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/files/MaskAnimatedSticker; public fun equals (Ljava/lang/Object;)Z public fun getEmoji ()Ljava/lang/String; public fun getFileId ()Ldev/inmo/tgbotapi/requests/abstracts/FileId; - public fun getFileSize ()Ljava/lang/Long; + public fun getFileSize-yrF3Zgw ()Ldev/inmo/tgbotapi/types/files/FileSize; public fun getFileUniqueId-lakR5NQ ()Ljava/lang/String; public fun getHeight ()I public fun getMaskPosition ()Ldev/inmo/tgbotapi/types/stickers/MaskPosition; @@ -19651,8 +20617,8 @@ public final class dev/inmo/tgbotapi/types/files/MaskAnimatedSticker$Companion { public final class dev/inmo/tgbotapi/types/files/MaskSimpleSticker : dev/inmo/tgbotapi/types/files/MaskSticker { public static final field Companion Ldev/inmo/tgbotapi/types/files/MaskSimpleSticker$Companion; - public synthetic fun (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;IILdev/inmo/tgbotapi/types/stickers/MaskPosition;Ldev/inmo/tgbotapi/types/files/PhotoSize;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Long;ILkotlin/jvm/internal/DefaultConstructorMarker;)V - public synthetic fun (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;IILdev/inmo/tgbotapi/types/stickers/MaskPosition;Ldev/inmo/tgbotapi/types/files/PhotoSize;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Long;Lkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;IILdev/inmo/tgbotapi/types/stickers/MaskPosition;Ldev/inmo/tgbotapi/types/files/PhotoSize;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/files/FileSize;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;IILdev/inmo/tgbotapi/types/stickers/MaskPosition;Ldev/inmo/tgbotapi/types/files/PhotoSize;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/files/FileSize;Lkotlin/jvm/internal/DefaultConstructorMarker;)V public fun asInputSticker (Ljava/util/List;)Ldev/inmo/tgbotapi/requests/stickers/InputSticker$Mask; public synthetic fun asInputSticker (Ljava/util/List;)Ldev/inmo/tgbotapi/requests/stickers/InputSticker; public final fun component1 ()Ldev/inmo/tgbotapi/requests/abstracts/FileId; @@ -19663,13 +20629,13 @@ public final class dev/inmo/tgbotapi/types/files/MaskSimpleSticker : dev/inmo/tg public final fun component6 ()Ldev/inmo/tgbotapi/types/files/PhotoSize; public final fun component7 ()Ljava/lang/String; public final fun component8-eaLzeK0 ()Ljava/lang/String; - public final fun component9 ()Ljava/lang/Long; - public final fun copy-cawD_Go (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;IILdev/inmo/tgbotapi/types/stickers/MaskPosition;Ldev/inmo/tgbotapi/types/files/PhotoSize;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Long;)Ldev/inmo/tgbotapi/types/files/MaskSimpleSticker; - public static synthetic fun copy-cawD_Go$default (Ldev/inmo/tgbotapi/types/files/MaskSimpleSticker;Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;IILdev/inmo/tgbotapi/types/stickers/MaskPosition;Ldev/inmo/tgbotapi/types/files/PhotoSize;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Long;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/files/MaskSimpleSticker; + public final fun component9-yrF3Zgw ()Ldev/inmo/tgbotapi/types/files/FileSize; + public final fun copy-RlloJlE (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;IILdev/inmo/tgbotapi/types/stickers/MaskPosition;Ldev/inmo/tgbotapi/types/files/PhotoSize;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/files/FileSize;)Ldev/inmo/tgbotapi/types/files/MaskSimpleSticker; + public static synthetic fun copy-RlloJlE$default (Ldev/inmo/tgbotapi/types/files/MaskSimpleSticker;Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;IILdev/inmo/tgbotapi/types/stickers/MaskPosition;Ldev/inmo/tgbotapi/types/files/PhotoSize;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/files/FileSize;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/files/MaskSimpleSticker; public fun equals (Ljava/lang/Object;)Z public fun getEmoji ()Ljava/lang/String; public fun getFileId ()Ldev/inmo/tgbotapi/requests/abstracts/FileId; - public fun getFileSize ()Ljava/lang/Long; + public fun getFileSize-yrF3Zgw ()Ldev/inmo/tgbotapi/types/files/FileSize; public fun getFileUniqueId-lakR5NQ ()Ljava/lang/String; public fun getHeight ()I public fun getMaskPosition ()Ldev/inmo/tgbotapi/types/stickers/MaskPosition; @@ -19722,8 +20688,8 @@ public final class dev/inmo/tgbotapi/types/files/MaskSticker$DefaultImpls { public final class dev/inmo/tgbotapi/types/files/MaskVideoSticker : dev/inmo/tgbotapi/types/files/MaskSticker, dev/inmo/tgbotapi/types/files/VideoSticker { public static final field Companion Ldev/inmo/tgbotapi/types/files/MaskVideoSticker$Companion; - public synthetic fun (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;IILdev/inmo/tgbotapi/types/stickers/MaskPosition;Ldev/inmo/tgbotapi/types/files/PhotoSize;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Long;ILkotlin/jvm/internal/DefaultConstructorMarker;)V - public synthetic fun (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;IILdev/inmo/tgbotapi/types/stickers/MaskPosition;Ldev/inmo/tgbotapi/types/files/PhotoSize;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Long;Lkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;IILdev/inmo/tgbotapi/types/stickers/MaskPosition;Ldev/inmo/tgbotapi/types/files/PhotoSize;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/files/FileSize;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;IILdev/inmo/tgbotapi/types/stickers/MaskPosition;Ldev/inmo/tgbotapi/types/files/PhotoSize;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/files/FileSize;Lkotlin/jvm/internal/DefaultConstructorMarker;)V public fun asInputSticker (Ljava/util/List;)Ldev/inmo/tgbotapi/requests/stickers/InputSticker$Mask; public synthetic fun asInputSticker (Ljava/util/List;)Ldev/inmo/tgbotapi/requests/stickers/InputSticker; public final fun component1 ()Ldev/inmo/tgbotapi/requests/abstracts/FileId; @@ -19734,13 +20700,13 @@ public final class dev/inmo/tgbotapi/types/files/MaskVideoSticker : dev/inmo/tgb public final fun component6 ()Ldev/inmo/tgbotapi/types/files/PhotoSize; public final fun component7 ()Ljava/lang/String; public final fun component8-eaLzeK0 ()Ljava/lang/String; - public final fun component9 ()Ljava/lang/Long; - public final fun copy-cawD_Go (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;IILdev/inmo/tgbotapi/types/stickers/MaskPosition;Ldev/inmo/tgbotapi/types/files/PhotoSize;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Long;)Ldev/inmo/tgbotapi/types/files/MaskVideoSticker; - public static synthetic fun copy-cawD_Go$default (Ldev/inmo/tgbotapi/types/files/MaskVideoSticker;Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;IILdev/inmo/tgbotapi/types/stickers/MaskPosition;Ldev/inmo/tgbotapi/types/files/PhotoSize;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Long;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/files/MaskVideoSticker; + public final fun component9-yrF3Zgw ()Ldev/inmo/tgbotapi/types/files/FileSize; + public final fun copy-RlloJlE (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;IILdev/inmo/tgbotapi/types/stickers/MaskPosition;Ldev/inmo/tgbotapi/types/files/PhotoSize;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/files/FileSize;)Ldev/inmo/tgbotapi/types/files/MaskVideoSticker; + public static synthetic fun copy-RlloJlE$default (Ldev/inmo/tgbotapi/types/files/MaskVideoSticker;Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;IILdev/inmo/tgbotapi/types/stickers/MaskPosition;Ldev/inmo/tgbotapi/types/files/PhotoSize;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/files/FileSize;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/files/MaskVideoSticker; public fun equals (Ljava/lang/Object;)Z public fun getEmoji ()Ljava/lang/String; public fun getFileId ()Ldev/inmo/tgbotapi/requests/abstracts/FileId; - public fun getFileSize ()Ljava/lang/Long; + public fun getFileSize-yrF3Zgw ()Ldev/inmo/tgbotapi/types/files/FileSize; public fun getFileUniqueId-lakR5NQ ()Ljava/lang/String; public fun getHeight ()I public fun getMaskPosition ()Ldev/inmo/tgbotapi/types/stickers/MaskPosition; @@ -19808,17 +20774,17 @@ public final class dev/inmo/tgbotapi/types/files/PaidMediaInfo$Companion { public final class dev/inmo/tgbotapi/types/files/PassportFile : dev/inmo/tgbotapi/types/files/TelegramMediaFile { public static final field Companion Ldev/inmo/tgbotapi/types/files/PassportFile$Companion; - public synthetic fun (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;Ldev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Long;ILkotlin/jvm/internal/DefaultConstructorMarker;)V - public synthetic fun (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;Ldev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Long;Lkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;Ldev/inmo/tgbotapi/types/TelegramDate;Ldev/inmo/tgbotapi/types/files/FileSize;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;Ldev/inmo/tgbotapi/types/TelegramDate;Ldev/inmo/tgbotapi/types/files/FileSize;Lkotlin/jvm/internal/DefaultConstructorMarker;)V public final fun component1 ()Ldev/inmo/tgbotapi/requests/abstracts/FileId; public final fun component2-lakR5NQ ()Ljava/lang/String; public final fun component3 ()Ldev/inmo/tgbotapi/types/TelegramDate; - public final fun component4 ()Ljava/lang/Long; - public final fun copy-ut6dqMQ (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;Ldev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Long;)Ldev/inmo/tgbotapi/types/files/PassportFile; - public static synthetic fun copy-ut6dqMQ$default (Ldev/inmo/tgbotapi/types/files/PassportFile;Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;Ldev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Long;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/files/PassportFile; + public final fun component4-yrF3Zgw ()Ldev/inmo/tgbotapi/types/files/FileSize; + public final fun copy-GCbnnww (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;Ldev/inmo/tgbotapi/types/TelegramDate;Ldev/inmo/tgbotapi/types/files/FileSize;)Ldev/inmo/tgbotapi/types/files/PassportFile; + public static synthetic fun copy-GCbnnww$default (Ldev/inmo/tgbotapi/types/files/PassportFile;Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;Ldev/inmo/tgbotapi/types/TelegramDate;Ldev/inmo/tgbotapi/types/files/FileSize;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/files/PassportFile; public fun equals (Ljava/lang/Object;)Z public fun getFileId ()Ldev/inmo/tgbotapi/requests/abstracts/FileId; - public fun getFileSize ()Ljava/lang/Long; + public fun getFileSize-yrF3Zgw ()Ldev/inmo/tgbotapi/types/files/FileSize; public fun getFileUniqueId-lakR5NQ ()Ljava/lang/String; public final fun getUploadingDate ()Ldev/inmo/tgbotapi/types/TelegramDate; public fun hashCode ()I @@ -19842,19 +20808,19 @@ public final class dev/inmo/tgbotapi/types/files/PassportFile$Companion { public final class dev/inmo/tgbotapi/types/files/PathedFile : dev/inmo/tgbotapi/types/files/TelegramMediaFile { public static final field Companion Ldev/inmo/tgbotapi/types/files/PathedFile$Companion; - public synthetic fun (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Long;ILkotlin/jvm/internal/DefaultConstructorMarker;)V - public synthetic fun (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Long;Lkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/files/FileSize;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/files/FileSize;Lkotlin/jvm/internal/DefaultConstructorMarker;)V public final fun component1 ()Ldev/inmo/tgbotapi/requests/abstracts/FileId; public final fun component2-lakR5NQ ()Ljava/lang/String; public final fun component3 ()Ljava/lang/String; - public final fun component4 ()Ljava/lang/Long; - public final fun copy-ut6dqMQ (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Long;)Ldev/inmo/tgbotapi/types/files/PathedFile; - public static synthetic fun copy-ut6dqMQ$default (Ldev/inmo/tgbotapi/types/files/PathedFile;Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Long;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/files/PathedFile; + public final fun component4-yrF3Zgw ()Ldev/inmo/tgbotapi/types/files/FileSize; + public final fun copy-GCbnnww (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/files/FileSize;)Ldev/inmo/tgbotapi/types/files/PathedFile; + public static synthetic fun copy-GCbnnww$default (Ldev/inmo/tgbotapi/types/files/PathedFile;Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/files/FileSize;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/files/PathedFile; public fun equals (Ljava/lang/Object;)Z public fun getFileId ()Ldev/inmo/tgbotapi/requests/abstracts/FileId; public final fun getFileName ()Ljava/lang/String; public final fun getFilePath ()Ljava/lang/String; - public fun getFileSize ()Ljava/lang/Long; + public fun getFileSize-yrF3Zgw ()Ldev/inmo/tgbotapi/types/files/FileSize; public fun getFileUniqueId-lakR5NQ ()Ljava/lang/String; public fun hashCode ()I public fun toString ()Ljava/lang/String; @@ -19905,8 +20871,8 @@ public final class dev/inmo/tgbotapi/types/files/PhotoFile : dev/inmo/tgbotapi/t public static final fun getBiggest-impl (Ljava/util/List;)Ldev/inmo/tgbotapi/types/files/PhotoSize; public fun getFileId ()Ldev/inmo/tgbotapi/requests/abstracts/FileId; public static fun getFileId-impl (Ljava/util/List;)Ldev/inmo/tgbotapi/requests/abstracts/FileId; - public fun getFileSize ()Ljava/lang/Long; - public static fun getFileSize-impl (Ljava/util/List;)Ljava/lang/Long; + public fun getFileSize-yrF3Zgw ()Ldev/inmo/tgbotapi/types/files/FileSize; + public static fun getFileSize-yrF3Zgw (Ljava/util/List;)Ldev/inmo/tgbotapi/types/files/FileSize; public fun getFileUniqueId-lakR5NQ ()Ljava/lang/String; public static fun getFileUniqueId-lakR5NQ (Ljava/util/List;)Ljava/lang/String; public final fun getPhotos ()Ljava/util/List; @@ -19973,18 +20939,18 @@ public final class dev/inmo/tgbotapi/types/files/PhotoSerializer : kotlinx/seria public final class dev/inmo/tgbotapi/types/files/PhotoSize : dev/inmo/tgbotapi/types/files/SizedMediaFile { public static final field Companion Ldev/inmo/tgbotapi/types/files/PhotoSize$Companion; - public synthetic fun (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;Ljava/lang/Long;IIILkotlin/jvm/internal/DefaultConstructorMarker;)V - public synthetic fun (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;Ljava/lang/Long;IILkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;Ldev/inmo/tgbotapi/types/files/FileSize;IIILkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;Ldev/inmo/tgbotapi/types/files/FileSize;IILkotlin/jvm/internal/DefaultConstructorMarker;)V public final fun component1 ()Ldev/inmo/tgbotapi/requests/abstracts/FileId; public final fun component2-lakR5NQ ()Ljava/lang/String; - public final fun component3 ()Ljava/lang/Long; + public final fun component3-yrF3Zgw ()Ldev/inmo/tgbotapi/types/files/FileSize; public final fun component4 ()I public final fun component5 ()I - public final fun copy-W-5FcRY (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;Ljava/lang/Long;II)Ldev/inmo/tgbotapi/types/files/PhotoSize; - public static synthetic fun copy-W-5FcRY$default (Ldev/inmo/tgbotapi/types/files/PhotoSize;Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;Ljava/lang/Long;IIILjava/lang/Object;)Ldev/inmo/tgbotapi/types/files/PhotoSize; + public final fun copy-P8lC9H8 (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;Ldev/inmo/tgbotapi/types/files/FileSize;II)Ldev/inmo/tgbotapi/types/files/PhotoSize; + public static synthetic fun copy-P8lC9H8$default (Ldev/inmo/tgbotapi/types/files/PhotoSize;Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;Ldev/inmo/tgbotapi/types/files/FileSize;IIILjava/lang/Object;)Ldev/inmo/tgbotapi/types/files/PhotoSize; public fun equals (Ljava/lang/Object;)Z public fun getFileId ()Ldev/inmo/tgbotapi/requests/abstracts/FileId; - public fun getFileSize ()Ljava/lang/Long; + public fun getFileSize-yrF3Zgw ()Ldev/inmo/tgbotapi/types/files/FileSize; public fun getFileUniqueId-lakR5NQ ()Ljava/lang/String; public fun getHeight ()I public final fun getResolution ()J @@ -20018,8 +20984,8 @@ public abstract interface class dev/inmo/tgbotapi/types/files/PlayableMediaFile public final class dev/inmo/tgbotapi/types/files/RegularAnimatedSticker : dev/inmo/tgbotapi/types/files/AnimatedSticker, dev/inmo/tgbotapi/types/files/RegularSticker { public static final field Companion Ldev/inmo/tgbotapi/types/files/RegularAnimatedSticker$Companion; - public synthetic fun (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;IILdev/inmo/tgbotapi/types/files/PhotoSize;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/files/File;Ljava/lang/Long;ILkotlin/jvm/internal/DefaultConstructorMarker;)V - public synthetic fun (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;IILdev/inmo/tgbotapi/types/files/PhotoSize;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/files/File;Ljava/lang/Long;Lkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;IILdev/inmo/tgbotapi/types/files/PhotoSize;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/files/File;Ldev/inmo/tgbotapi/types/files/FileSize;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;IILdev/inmo/tgbotapi/types/files/PhotoSize;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/files/File;Ldev/inmo/tgbotapi/types/files/FileSize;Lkotlin/jvm/internal/DefaultConstructorMarker;)V public fun asInputSticker (Ljava/util/List;)Ldev/inmo/tgbotapi/requests/stickers/InputSticker$WithKeywords$Regular; public synthetic fun asInputSticker (Ljava/util/List;)Ldev/inmo/tgbotapi/requests/stickers/InputSticker; public final fun component1 ()Ldev/inmo/tgbotapi/requests/abstracts/FileId; @@ -20030,13 +20996,13 @@ public final class dev/inmo/tgbotapi/types/files/RegularAnimatedSticker : dev/in public final fun component6 ()Ljava/lang/String; public final fun component7-eaLzeK0 ()Ljava/lang/String; public final fun component8 ()Ldev/inmo/tgbotapi/types/files/File; - public final fun component9 ()Ljava/lang/Long; - public final fun copy-Qs1qYP4 (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;IILdev/inmo/tgbotapi/types/files/PhotoSize;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/files/File;Ljava/lang/Long;)Ldev/inmo/tgbotapi/types/files/RegularAnimatedSticker; - public static synthetic fun copy-Qs1qYP4$default (Ldev/inmo/tgbotapi/types/files/RegularAnimatedSticker;Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;IILdev/inmo/tgbotapi/types/files/PhotoSize;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/files/File;Ljava/lang/Long;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/files/RegularAnimatedSticker; + public final fun component9-yrF3Zgw ()Ldev/inmo/tgbotapi/types/files/FileSize; + public final fun copy-NcrhSao (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;IILdev/inmo/tgbotapi/types/files/PhotoSize;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/files/File;Ldev/inmo/tgbotapi/types/files/FileSize;)Ldev/inmo/tgbotapi/types/files/RegularAnimatedSticker; + public static synthetic fun copy-NcrhSao$default (Ldev/inmo/tgbotapi/types/files/RegularAnimatedSticker;Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;IILdev/inmo/tgbotapi/types/files/PhotoSize;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/files/File;Ldev/inmo/tgbotapi/types/files/FileSize;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/files/RegularAnimatedSticker; public fun equals (Ljava/lang/Object;)Z public fun getEmoji ()Ljava/lang/String; public fun getFileId ()Ldev/inmo/tgbotapi/requests/abstracts/FileId; - public fun getFileSize ()Ljava/lang/Long; + public fun getFileSize-yrF3Zgw ()Ldev/inmo/tgbotapi/types/files/FileSize; public fun getFileUniqueId-lakR5NQ ()Ljava/lang/String; public fun getHeight ()I public fun getPremiumAnimationFile ()Ldev/inmo/tgbotapi/types/files/File; @@ -20069,8 +21035,8 @@ public final class dev/inmo/tgbotapi/types/files/RegularAnimatedSticker$Companio public final class dev/inmo/tgbotapi/types/files/RegularSimpleSticker : dev/inmo/tgbotapi/types/files/RegularSticker { public static final field Companion Ldev/inmo/tgbotapi/types/files/RegularSimpleSticker$Companion; - public synthetic fun (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;IILdev/inmo/tgbotapi/types/files/PhotoSize;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/files/File;Ljava/lang/Long;ILkotlin/jvm/internal/DefaultConstructorMarker;)V - public synthetic fun (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;IILdev/inmo/tgbotapi/types/files/PhotoSize;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/files/File;Ljava/lang/Long;Lkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;IILdev/inmo/tgbotapi/types/files/PhotoSize;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/files/File;Ldev/inmo/tgbotapi/types/files/FileSize;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;IILdev/inmo/tgbotapi/types/files/PhotoSize;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/files/File;Ldev/inmo/tgbotapi/types/files/FileSize;Lkotlin/jvm/internal/DefaultConstructorMarker;)V public fun asInputSticker (Ljava/util/List;)Ldev/inmo/tgbotapi/requests/stickers/InputSticker$WithKeywords$Regular; public synthetic fun asInputSticker (Ljava/util/List;)Ldev/inmo/tgbotapi/requests/stickers/InputSticker; public final fun component1 ()Ldev/inmo/tgbotapi/requests/abstracts/FileId; @@ -20081,13 +21047,13 @@ public final class dev/inmo/tgbotapi/types/files/RegularSimpleSticker : dev/inmo public final fun component6 ()Ljava/lang/String; public final fun component7-eaLzeK0 ()Ljava/lang/String; public final fun component8 ()Ldev/inmo/tgbotapi/types/files/File; - public final fun component9 ()Ljava/lang/Long; - public final fun copy-Qs1qYP4 (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;IILdev/inmo/tgbotapi/types/files/PhotoSize;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/files/File;Ljava/lang/Long;)Ldev/inmo/tgbotapi/types/files/RegularSimpleSticker; - public static synthetic fun copy-Qs1qYP4$default (Ldev/inmo/tgbotapi/types/files/RegularSimpleSticker;Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;IILdev/inmo/tgbotapi/types/files/PhotoSize;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/files/File;Ljava/lang/Long;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/files/RegularSimpleSticker; + public final fun component9-yrF3Zgw ()Ldev/inmo/tgbotapi/types/files/FileSize; + public final fun copy-NcrhSao (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;IILdev/inmo/tgbotapi/types/files/PhotoSize;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/files/File;Ldev/inmo/tgbotapi/types/files/FileSize;)Ldev/inmo/tgbotapi/types/files/RegularSimpleSticker; + public static synthetic fun copy-NcrhSao$default (Ldev/inmo/tgbotapi/types/files/RegularSimpleSticker;Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;IILdev/inmo/tgbotapi/types/files/PhotoSize;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/files/File;Ldev/inmo/tgbotapi/types/files/FileSize;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/files/RegularSimpleSticker; public fun equals (Ljava/lang/Object;)Z public fun getEmoji ()Ljava/lang/String; public fun getFileId ()Ldev/inmo/tgbotapi/requests/abstracts/FileId; - public fun getFileSize ()Ljava/lang/Long; + public fun getFileSize-yrF3Zgw ()Ldev/inmo/tgbotapi/types/files/FileSize; public fun getFileUniqueId-lakR5NQ ()Ljava/lang/String; public fun getHeight ()I public fun getPremiumAnimationFile ()Ldev/inmo/tgbotapi/types/files/File; @@ -20140,8 +21106,8 @@ public final class dev/inmo/tgbotapi/types/files/RegularSticker$DefaultImpls { public final class dev/inmo/tgbotapi/types/files/RegularVideoSticker : dev/inmo/tgbotapi/types/files/RegularSticker, dev/inmo/tgbotapi/types/files/VideoSticker { public static final field Companion Ldev/inmo/tgbotapi/types/files/RegularVideoSticker$Companion; - public synthetic fun (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;IILdev/inmo/tgbotapi/types/files/PhotoSize;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/files/File;Ljava/lang/Long;ILkotlin/jvm/internal/DefaultConstructorMarker;)V - public synthetic fun (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;IILdev/inmo/tgbotapi/types/files/PhotoSize;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/files/File;Ljava/lang/Long;Lkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;IILdev/inmo/tgbotapi/types/files/PhotoSize;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/files/File;Ldev/inmo/tgbotapi/types/files/FileSize;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;IILdev/inmo/tgbotapi/types/files/PhotoSize;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/files/File;Ldev/inmo/tgbotapi/types/files/FileSize;Lkotlin/jvm/internal/DefaultConstructorMarker;)V public fun asInputSticker (Ljava/util/List;)Ldev/inmo/tgbotapi/requests/stickers/InputSticker$WithKeywords$Regular; public synthetic fun asInputSticker (Ljava/util/List;)Ldev/inmo/tgbotapi/requests/stickers/InputSticker; public final fun component1 ()Ldev/inmo/tgbotapi/requests/abstracts/FileId; @@ -20152,13 +21118,13 @@ public final class dev/inmo/tgbotapi/types/files/RegularVideoSticker : dev/inmo/ public final fun component6 ()Ljava/lang/String; public final fun component7-eaLzeK0 ()Ljava/lang/String; public final fun component8 ()Ldev/inmo/tgbotapi/types/files/File; - public final fun component9 ()Ljava/lang/Long; - public final fun copy-Qs1qYP4 (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;IILdev/inmo/tgbotapi/types/files/PhotoSize;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/files/File;Ljava/lang/Long;)Ldev/inmo/tgbotapi/types/files/RegularVideoSticker; - public static synthetic fun copy-Qs1qYP4$default (Ldev/inmo/tgbotapi/types/files/RegularVideoSticker;Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;IILdev/inmo/tgbotapi/types/files/PhotoSize;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/files/File;Ljava/lang/Long;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/files/RegularVideoSticker; + public final fun component9-yrF3Zgw ()Ldev/inmo/tgbotapi/types/files/FileSize; + public final fun copy-NcrhSao (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;IILdev/inmo/tgbotapi/types/files/PhotoSize;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/files/File;Ldev/inmo/tgbotapi/types/files/FileSize;)Ldev/inmo/tgbotapi/types/files/RegularVideoSticker; + public static synthetic fun copy-NcrhSao$default (Ldev/inmo/tgbotapi/types/files/RegularVideoSticker;Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;IILdev/inmo/tgbotapi/types/files/PhotoSize;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/files/File;Ldev/inmo/tgbotapi/types/files/FileSize;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/files/RegularVideoSticker; public fun equals (Ljava/lang/Object;)Z public fun getEmoji ()Ljava/lang/String; public fun getFileId ()Ldev/inmo/tgbotapi/requests/abstracts/FileId; - public fun getFileSize ()Ljava/lang/Long; + public fun getFileSize-yrF3Zgw ()Ldev/inmo/tgbotapi/types/files/FileSize; public fun getFileUniqueId-lakR5NQ ()Ljava/lang/String; public fun getHeight ()I public fun getPremiumAnimationFile ()Ldev/inmo/tgbotapi/types/files/File; @@ -20227,14 +21193,14 @@ public final class dev/inmo/tgbotapi/types/files/StickerSerializer : kotlinx/ser public final class dev/inmo/tgbotapi/types/files/StickerSurrogate { public static final field Companion Ldev/inmo/tgbotapi/types/files/StickerSurrogate$Companion; - public synthetic fun (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;Ldev/inmo/tgbotapi/types/StickerType;IILjava/lang/Boolean;Ljava/lang/Boolean;Ldev/inmo/tgbotapi/types/files/PhotoSize;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/files/File;Ldev/inmo/tgbotapi/types/stickers/MaskPosition;Ljava/lang/String;Ljava/lang/Long;ZILkotlin/jvm/internal/DefaultConstructorMarker;)V - public synthetic fun (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;Ldev/inmo/tgbotapi/types/StickerType;IILjava/lang/Boolean;Ljava/lang/Boolean;Ldev/inmo/tgbotapi/types/files/PhotoSize;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/files/File;Ldev/inmo/tgbotapi/types/stickers/MaskPosition;Ljava/lang/String;Ljava/lang/Long;ZLkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;Ldev/inmo/tgbotapi/types/StickerType;IILjava/lang/Boolean;Ljava/lang/Boolean;Ldev/inmo/tgbotapi/types/files/PhotoSize;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/files/File;Ldev/inmo/tgbotapi/types/stickers/MaskPosition;Ljava/lang/String;Ldev/inmo/tgbotapi/types/files/FileSize;ZILkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;Ldev/inmo/tgbotapi/types/StickerType;IILjava/lang/Boolean;Ljava/lang/Boolean;Ldev/inmo/tgbotapi/types/files/PhotoSize;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/files/File;Ldev/inmo/tgbotapi/types/stickers/MaskPosition;Ljava/lang/String;Ldev/inmo/tgbotapi/types/files/FileSize;ZLkotlin/jvm/internal/DefaultConstructorMarker;)V public final fun component1 ()Ldev/inmo/tgbotapi/requests/abstracts/FileId; public final fun component10-eaLzeK0 ()Ljava/lang/String; public final fun component11 ()Ldev/inmo/tgbotapi/types/files/File; public final fun component12 ()Ldev/inmo/tgbotapi/types/stickers/MaskPosition; public final fun component13-GbmMWyQ ()Ljava/lang/String; - public final fun component14 ()Ljava/lang/Long; + public final fun component14-yrF3Zgw ()Ldev/inmo/tgbotapi/types/files/FileSize; public final fun component15 ()Z public final fun component2-lakR5NQ ()Ljava/lang/String; public final fun component3 ()Ldev/inmo/tgbotapi/types/StickerType; @@ -20244,13 +21210,13 @@ public final class dev/inmo/tgbotapi/types/files/StickerSurrogate { public final fun component7 ()Ljava/lang/Boolean; public final fun component8 ()Ldev/inmo/tgbotapi/types/files/PhotoSize; public final fun component9 ()Ljava/lang/String; - public final fun copy-dzRTgms (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;Ldev/inmo/tgbotapi/types/StickerType;IILjava/lang/Boolean;Ljava/lang/Boolean;Ldev/inmo/tgbotapi/types/files/PhotoSize;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/files/File;Ldev/inmo/tgbotapi/types/stickers/MaskPosition;Ljava/lang/String;Ljava/lang/Long;Z)Ldev/inmo/tgbotapi/types/files/StickerSurrogate; - public static synthetic fun copy-dzRTgms$default (Ldev/inmo/tgbotapi/types/files/StickerSurrogate;Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;Ldev/inmo/tgbotapi/types/StickerType;IILjava/lang/Boolean;Ljava/lang/Boolean;Ldev/inmo/tgbotapi/types/files/PhotoSize;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/files/File;Ldev/inmo/tgbotapi/types/stickers/MaskPosition;Ljava/lang/String;Ljava/lang/Long;ZILjava/lang/Object;)Ldev/inmo/tgbotapi/types/files/StickerSurrogate; + public final fun copy-55rrV9s (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;Ldev/inmo/tgbotapi/types/StickerType;IILjava/lang/Boolean;Ljava/lang/Boolean;Ldev/inmo/tgbotapi/types/files/PhotoSize;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/files/File;Ldev/inmo/tgbotapi/types/stickers/MaskPosition;Ljava/lang/String;Ldev/inmo/tgbotapi/types/files/FileSize;Z)Ldev/inmo/tgbotapi/types/files/StickerSurrogate; + public static synthetic fun copy-55rrV9s$default (Ldev/inmo/tgbotapi/types/files/StickerSurrogate;Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;Ldev/inmo/tgbotapi/types/StickerType;IILjava/lang/Boolean;Ljava/lang/Boolean;Ldev/inmo/tgbotapi/types/files/PhotoSize;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/files/File;Ldev/inmo/tgbotapi/types/stickers/MaskPosition;Ljava/lang/String;Ldev/inmo/tgbotapi/types/files/FileSize;ZILjava/lang/Object;)Ldev/inmo/tgbotapi/types/files/StickerSurrogate; public fun equals (Ljava/lang/Object;)Z public final fun getCustom_emoji_id-GbmMWyQ ()Ljava/lang/String; public final fun getEmoji ()Ljava/lang/String; public final fun getFile_id ()Ldev/inmo/tgbotapi/requests/abstracts/FileId; - public final fun getFile_size ()Ljava/lang/Long; + public final fun getFile_size-yrF3Zgw ()Ldev/inmo/tgbotapi/types/files/FileSize; public final fun getFile_unique_id-lakR5NQ ()Ljava/lang/String; public final fun getHeight ()I public final fun getMask_position ()Ldev/inmo/tgbotapi/types/stickers/MaskPosition; @@ -20283,7 +21249,7 @@ public final class dev/inmo/tgbotapi/types/files/StickerSurrogate$Companion { public abstract interface class dev/inmo/tgbotapi/types/files/TelegramMediaFile { public abstract fun getFileId ()Ldev/inmo/tgbotapi/requests/abstracts/FileId; - public abstract fun getFileSize ()Ljava/lang/Long; + public abstract fun getFileSize-yrF3Zgw ()Ldev/inmo/tgbotapi/types/files/FileSize; public abstract fun getFileUniqueId-lakR5NQ ()Ljava/lang/String; } @@ -20297,8 +21263,8 @@ public abstract interface class dev/inmo/tgbotapi/types/files/TitledMediaFile { public final class dev/inmo/tgbotapi/types/files/UnknownSticker : dev/inmo/tgbotapi/types/files/Sticker { public static final field Companion Ldev/inmo/tgbotapi/types/files/UnknownSticker$Companion; - public synthetic fun (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;IILdev/inmo/tgbotapi/types/files/PhotoSize;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Long;Ldev/inmo/tgbotapi/types/StickerFormat;Ldev/inmo/tgbotapi/types/StickerType;Lkotlinx/serialization/json/JsonElement;ILkotlin/jvm/internal/DefaultConstructorMarker;)V - public synthetic fun (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;IILdev/inmo/tgbotapi/types/files/PhotoSize;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Long;Ldev/inmo/tgbotapi/types/StickerFormat;Ldev/inmo/tgbotapi/types/StickerType;Lkotlinx/serialization/json/JsonElement;Lkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;IILdev/inmo/tgbotapi/types/files/PhotoSize;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/files/FileSize;Ldev/inmo/tgbotapi/types/StickerFormat;Ldev/inmo/tgbotapi/types/StickerType;Lkotlinx/serialization/json/JsonElement;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;IILdev/inmo/tgbotapi/types/files/PhotoSize;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/files/FileSize;Ldev/inmo/tgbotapi/types/StickerFormat;Ldev/inmo/tgbotapi/types/StickerType;Lkotlinx/serialization/json/JsonElement;Lkotlin/jvm/internal/DefaultConstructorMarker;)V public fun asInputSticker (Ljava/util/List;)Ldev/inmo/tgbotapi/requests/stickers/InputSticker$WithKeywords$Regular; public synthetic fun asInputSticker (Ljava/util/List;)Ldev/inmo/tgbotapi/requests/stickers/InputSticker; public final fun component1 ()Ldev/inmo/tgbotapi/requests/abstracts/FileId; @@ -20310,14 +21276,14 @@ public final class dev/inmo/tgbotapi/types/files/UnknownSticker : dev/inmo/tgbot public final fun component5 ()Ldev/inmo/tgbotapi/types/files/PhotoSize; public final fun component6 ()Ljava/lang/String; public final fun component7-eaLzeK0 ()Ljava/lang/String; - public final fun component8 ()Ljava/lang/Long; + public final fun component8-yrF3Zgw ()Ldev/inmo/tgbotapi/types/files/FileSize; public final fun component9 ()Ldev/inmo/tgbotapi/types/StickerFormat; - public final fun copy-bfVmLRk (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;IILdev/inmo/tgbotapi/types/files/PhotoSize;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Long;Ldev/inmo/tgbotapi/types/StickerFormat;Ldev/inmo/tgbotapi/types/StickerType;Lkotlinx/serialization/json/JsonElement;)Ldev/inmo/tgbotapi/types/files/UnknownSticker; - public static synthetic fun copy-bfVmLRk$default (Ldev/inmo/tgbotapi/types/files/UnknownSticker;Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;IILdev/inmo/tgbotapi/types/files/PhotoSize;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Long;Ldev/inmo/tgbotapi/types/StickerFormat;Ldev/inmo/tgbotapi/types/StickerType;Lkotlinx/serialization/json/JsonElement;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/files/UnknownSticker; + public final fun copy-HkOO8tE (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;IILdev/inmo/tgbotapi/types/files/PhotoSize;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/files/FileSize;Ldev/inmo/tgbotapi/types/StickerFormat;Ldev/inmo/tgbotapi/types/StickerType;Lkotlinx/serialization/json/JsonElement;)Ldev/inmo/tgbotapi/types/files/UnknownSticker; + public static synthetic fun copy-HkOO8tE$default (Ldev/inmo/tgbotapi/types/files/UnknownSticker;Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;IILdev/inmo/tgbotapi/types/files/PhotoSize;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/files/FileSize;Ldev/inmo/tgbotapi/types/StickerFormat;Ldev/inmo/tgbotapi/types/StickerType;Lkotlinx/serialization/json/JsonElement;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/files/UnknownSticker; public fun equals (Ljava/lang/Object;)Z public fun getEmoji ()Ljava/lang/String; public fun getFileId ()Ldev/inmo/tgbotapi/requests/abstracts/FileId; - public fun getFileSize ()Ljava/lang/Long; + public fun getFileSize-yrF3Zgw ()Ldev/inmo/tgbotapi/types/files/FileSize; public fun getFileUniqueId-lakR5NQ ()Ljava/lang/String; public fun getHeight ()I public final fun getRaw ()Lkotlinx/serialization/json/JsonElement; @@ -20350,13 +21316,75 @@ public final class dev/inmo/tgbotapi/types/files/UnknownSticker$Companion { public abstract interface class dev/inmo/tgbotapi/types/files/UsefulAsPaidMediaFile : dev/inmo/tgbotapi/types/files/MediaContentVariant { } +public abstract interface class dev/inmo/tgbotapi/types/files/VideoCodec { + public static final field Companion Ldev/inmo/tgbotapi/types/files/VideoCodec$Companion; + public abstract fun getName ()Ljava/lang/String; +} + +public final class dev/inmo/tgbotapi/types/files/VideoCodec$AV1 : dev/inmo/tgbotapi/types/files/VideoCodec { + public static final field INSTANCE Ldev/inmo/tgbotapi/types/files/VideoCodec$AV1; + public fun equals (Ljava/lang/Object;)Z + public fun getName ()Ljava/lang/String; + public fun hashCode ()I + public final fun serializer ()Lkotlinx/serialization/KSerializer; + public fun toString ()Ljava/lang/String; +} + +public final class dev/inmo/tgbotapi/types/files/VideoCodec$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class dev/inmo/tgbotapi/types/files/VideoCodec$Custom : dev/inmo/tgbotapi/types/files/VideoCodec { + public static final field Companion Ldev/inmo/tgbotapi/types/files/VideoCodec$Custom$Companion; + public fun (Ljava/lang/String;)V + public final fun component1 ()Ljava/lang/String; + public final fun copy (Ljava/lang/String;)Ldev/inmo/tgbotapi/types/files/VideoCodec$Custom; + public static synthetic fun copy$default (Ldev/inmo/tgbotapi/types/files/VideoCodec$Custom;Ljava/lang/String;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/files/VideoCodec$Custom; + public fun equals (Ljava/lang/Object;)Z + public fun getName ()Ljava/lang/String; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public final class dev/inmo/tgbotapi/types/files/VideoCodec$Custom$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class dev/inmo/tgbotapi/types/files/VideoCodec$H264 : dev/inmo/tgbotapi/types/files/VideoCodec { + public static final field INSTANCE Ldev/inmo/tgbotapi/types/files/VideoCodec$H264; + public fun equals (Ljava/lang/Object;)Z + public fun getName ()Ljava/lang/String; + public fun hashCode ()I + public final fun serializer ()Lkotlinx/serialization/KSerializer; + public fun toString ()Ljava/lang/String; +} + +public final class dev/inmo/tgbotapi/types/files/VideoCodec$H265 : dev/inmo/tgbotapi/types/files/VideoCodec { + public static final field INSTANCE Ldev/inmo/tgbotapi/types/files/VideoCodec$H265; + public fun equals (Ljava/lang/Object;)Z + public fun getName ()Ljava/lang/String; + public fun hashCode ()I + public final fun serializer ()Lkotlinx/serialization/KSerializer; + public fun toString ()Ljava/lang/String; +} + +public final class dev/inmo/tgbotapi/types/files/VideoCodec$Serializer : kotlinx/serialization/KSerializer { + public static final field INSTANCE Ldev/inmo/tgbotapi/types/files/VideoCodec$Serializer; + public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/inmo/tgbotapi/types/files/VideoCodec; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public fun serialize (Lkotlinx/serialization/encoding/Encoder;Ldev/inmo/tgbotapi/types/files/VideoCodec;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V +} + public final class dev/inmo/tgbotapi/types/files/VideoFile : dev/inmo/tgbotapi/types/files/CoveredMediaFile, dev/inmo/tgbotapi/types/files/CustomNamedMediaFile, dev/inmo/tgbotapi/types/files/CustomStartMediaFile, dev/inmo/tgbotapi/types/files/MediaContentVariant, dev/inmo/tgbotapi/types/files/MimedMediaFile, dev/inmo/tgbotapi/types/files/PlayableMediaFile, dev/inmo/tgbotapi/types/files/SizedMediaFile, dev/inmo/tgbotapi/types/files/TelegramMediaFile, dev/inmo/tgbotapi/types/files/ThumbedMediaFile, dev/inmo/tgbotapi/types/files/UsefulAsPaidMediaFile { public static final field Companion Ldev/inmo/tgbotapi/types/files/VideoFile$Companion; - public synthetic fun (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;IILjava/lang/Long;Ldev/inmo/tgbotapi/types/files/PhotoSize;Ljava/util/List;Ljava/lang/Integer;Ljava/lang/String;Ldev/inmo/tgbotapi/utils/MimeType;Ljava/lang/Long;ILkotlin/jvm/internal/DefaultConstructorMarker;)V - public synthetic fun (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;IILjava/lang/Long;Ldev/inmo/tgbotapi/types/files/PhotoSize;Ljava/util/List;Ljava/lang/Integer;Ljava/lang/String;Ldev/inmo/tgbotapi/utils/MimeType;Ljava/lang/Long;Lkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;IILjava/lang/Long;Ldev/inmo/tgbotapi/types/files/PhotoSize;Ljava/util/List;Ljava/lang/Integer;Ljava/util/List;Ljava/lang/String;Ldev/inmo/tgbotapi/utils/MimeType;Ldev/inmo/tgbotapi/types/files/FileSize;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;IILjava/lang/Long;Ldev/inmo/tgbotapi/types/files/PhotoSize;Ljava/util/List;Ljava/lang/Integer;Ljava/util/List;Ljava/lang/String;Ldev/inmo/tgbotapi/utils/MimeType;Ldev/inmo/tgbotapi/types/files/FileSize;Lkotlin/jvm/internal/DefaultConstructorMarker;)V public final fun component1 ()Ldev/inmo/tgbotapi/requests/abstracts/FileId; - public final fun component10 ()Ldev/inmo/tgbotapi/utils/MimeType; - public final fun component11 ()Ljava/lang/Long; + public final fun component10 ()Ljava/lang/String; + public final fun component11 ()Ldev/inmo/tgbotapi/utils/MimeType; + public final fun component12-yrF3Zgw ()Ldev/inmo/tgbotapi/types/files/FileSize; public final fun component2-lakR5NQ ()Ljava/lang/String; public final fun component3 ()I public final fun component4 ()I @@ -20364,18 +21392,19 @@ public final class dev/inmo/tgbotapi/types/files/VideoFile : dev/inmo/tgbotapi/t public final fun component6 ()Ldev/inmo/tgbotapi/types/files/PhotoSize; public final fun component7-oW4O2Ik ()Ljava/util/List; public final fun component8 ()Ljava/lang/Integer; - public final fun component9 ()Ljava/lang/String; - public final fun copy-qfoT6-8 (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;IILjava/lang/Long;Ldev/inmo/tgbotapi/types/files/PhotoSize;Ljava/util/List;Ljava/lang/Integer;Ljava/lang/String;Ldev/inmo/tgbotapi/utils/MimeType;Ljava/lang/Long;)Ldev/inmo/tgbotapi/types/files/VideoFile; - public static synthetic fun copy-qfoT6-8$default (Ldev/inmo/tgbotapi/types/files/VideoFile;Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;IILjava/lang/Long;Ldev/inmo/tgbotapi/types/files/PhotoSize;Ljava/util/List;Ljava/lang/Integer;Ljava/lang/String;Ldev/inmo/tgbotapi/utils/MimeType;Ljava/lang/Long;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/files/VideoFile; + public final fun component9 ()Ljava/util/List; + public final fun copy-i-1kAS8 (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;IILjava/lang/Long;Ldev/inmo/tgbotapi/types/files/PhotoSize;Ljava/util/List;Ljava/lang/Integer;Ljava/util/List;Ljava/lang/String;Ldev/inmo/tgbotapi/utils/MimeType;Ldev/inmo/tgbotapi/types/files/FileSize;)Ldev/inmo/tgbotapi/types/files/VideoFile; + public static synthetic fun copy-i-1kAS8$default (Ldev/inmo/tgbotapi/types/files/VideoFile;Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;IILjava/lang/Long;Ldev/inmo/tgbotapi/types/files/PhotoSize;Ljava/util/List;Ljava/lang/Integer;Ljava/util/List;Ljava/lang/String;Ldev/inmo/tgbotapi/utils/MimeType;Ldev/inmo/tgbotapi/types/files/FileSize;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/files/VideoFile; public fun equals (Ljava/lang/Object;)Z public fun getCover-oW4O2Ik ()Ljava/util/List; public fun getDuration ()Ljava/lang/Long; public fun getFileId ()Ldev/inmo/tgbotapi/requests/abstracts/FileId; public fun getFileName ()Ljava/lang/String; - public fun getFileSize ()Ljava/lang/Long; + public fun getFileSize-yrF3Zgw ()Ldev/inmo/tgbotapi/types/files/FileSize; public fun getFileUniqueId-lakR5NQ ()Ljava/lang/String; public fun getHeight ()I public fun getMimeType ()Ldev/inmo/tgbotapi/utils/MimeType; + public final fun getQualities ()Ljava/util/List; public fun getStartTimestamp ()Ljava/lang/Integer; public fun getThumbnail ()Ldev/inmo/tgbotapi/types/files/PhotoSize; public fun getWidth ()I @@ -20408,20 +21437,20 @@ public final class dev/inmo/tgbotapi/types/files/VideoFileKt { public final class dev/inmo/tgbotapi/types/files/VideoNoteFile : dev/inmo/tgbotapi/types/files/MediaContentVariant, dev/inmo/tgbotapi/types/files/PlayableMediaFile, dev/inmo/tgbotapi/types/files/SizedMediaFile, dev/inmo/tgbotapi/types/files/TelegramMediaFile, dev/inmo/tgbotapi/types/files/ThumbedMediaFile { public static final field Companion Ldev/inmo/tgbotapi/types/files/VideoNoteFile$Companion; - public synthetic fun (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;ILjava/lang/Long;Ldev/inmo/tgbotapi/types/files/PhotoSize;Ljava/lang/Long;ILkotlin/jvm/internal/DefaultConstructorMarker;)V - public synthetic fun (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;ILjava/lang/Long;Ldev/inmo/tgbotapi/types/files/PhotoSize;Ljava/lang/Long;Lkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;ILjava/lang/Long;Ldev/inmo/tgbotapi/types/files/PhotoSize;Ldev/inmo/tgbotapi/types/files/FileSize;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;ILjava/lang/Long;Ldev/inmo/tgbotapi/types/files/PhotoSize;Ldev/inmo/tgbotapi/types/files/FileSize;Lkotlin/jvm/internal/DefaultConstructorMarker;)V public final fun component1 ()Ldev/inmo/tgbotapi/requests/abstracts/FileId; public final fun component2-lakR5NQ ()Ljava/lang/String; public final fun component3 ()I public final fun component4 ()Ljava/lang/Long; public final fun component5 ()Ldev/inmo/tgbotapi/types/files/PhotoSize; - public final fun component6 ()Ljava/lang/Long; - public final fun copy-7vQoW4s (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;ILjava/lang/Long;Ldev/inmo/tgbotapi/types/files/PhotoSize;Ljava/lang/Long;)Ldev/inmo/tgbotapi/types/files/VideoNoteFile; - public static synthetic fun copy-7vQoW4s$default (Ldev/inmo/tgbotapi/types/files/VideoNoteFile;Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;ILjava/lang/Long;Ldev/inmo/tgbotapi/types/files/PhotoSize;Ljava/lang/Long;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/files/VideoNoteFile; + public final fun component6-yrF3Zgw ()Ldev/inmo/tgbotapi/types/files/FileSize; + public final fun copy-zVNF_Xo (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;ILjava/lang/Long;Ldev/inmo/tgbotapi/types/files/PhotoSize;Ldev/inmo/tgbotapi/types/files/FileSize;)Ldev/inmo/tgbotapi/types/files/VideoNoteFile; + public static synthetic fun copy-zVNF_Xo$default (Ldev/inmo/tgbotapi/types/files/VideoNoteFile;Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;ILjava/lang/Long;Ldev/inmo/tgbotapi/types/files/PhotoSize;Ldev/inmo/tgbotapi/types/files/FileSize;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/files/VideoNoteFile; public fun equals (Ljava/lang/Object;)Z public fun getDuration ()Ljava/lang/Long; public fun getFileId ()Ldev/inmo/tgbotapi/requests/abstracts/FileId; - public fun getFileSize ()Ljava/lang/Long; + public fun getFileSize-yrF3Zgw ()Ldev/inmo/tgbotapi/types/files/FileSize; public fun getFileUniqueId-lakR5NQ ()Ljava/lang/String; public fun getHeight ()I public fun getThumbnail ()Ldev/inmo/tgbotapi/types/files/PhotoSize; @@ -20445,6 +21474,44 @@ public final class dev/inmo/tgbotapi/types/files/VideoNoteFile$Companion { public final fun serializer ()Lkotlinx/serialization/KSerializer; } +public final class dev/inmo/tgbotapi/types/files/VideoQuality : dev/inmo/tgbotapi/types/files/SizedMediaFile, dev/inmo/tgbotapi/types/files/TelegramMediaFile { + public static final field Companion Ldev/inmo/tgbotapi/types/files/VideoQuality$Companion; + public synthetic fun (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;IILdev/inmo/tgbotapi/types/files/VideoCodec;Ldev/inmo/tgbotapi/types/files/FileSize;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;IILdev/inmo/tgbotapi/types/files/VideoCodec;Ldev/inmo/tgbotapi/types/files/FileSize;Lkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Ldev/inmo/tgbotapi/requests/abstracts/FileId; + public final fun component2-lakR5NQ ()Ljava/lang/String; + public final fun component3 ()I + public final fun component4 ()I + public final fun component5 ()Ldev/inmo/tgbotapi/types/files/VideoCodec; + public final fun component6-yrF3Zgw ()Ldev/inmo/tgbotapi/types/files/FileSize; + public final fun copy-zVNF_Xo (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;IILdev/inmo/tgbotapi/types/files/VideoCodec;Ldev/inmo/tgbotapi/types/files/FileSize;)Ldev/inmo/tgbotapi/types/files/VideoQuality; + public static synthetic fun copy-zVNF_Xo$default (Ldev/inmo/tgbotapi/types/files/VideoQuality;Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;IILdev/inmo/tgbotapi/types/files/VideoCodec;Ldev/inmo/tgbotapi/types/files/FileSize;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/files/VideoQuality; + public fun equals (Ljava/lang/Object;)Z + public final fun getCodec ()Ldev/inmo/tgbotapi/types/files/VideoCodec; + public fun getFileId ()Ldev/inmo/tgbotapi/requests/abstracts/FileId; + public fun getFileSize-yrF3Zgw ()Ldev/inmo/tgbotapi/types/files/FileSize; + public fun getFileUniqueId-lakR5NQ ()Ljava/lang/String; + public fun getHeight ()I + public fun getWidth ()I + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public final synthetic class dev/inmo/tgbotapi/types/files/VideoQuality$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Ldev/inmo/tgbotapi/types/files/VideoQuality$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/inmo/tgbotapi/types/files/VideoQuality; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Ldev/inmo/tgbotapi/types/files/VideoQuality;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class dev/inmo/tgbotapi/types/files/VideoQuality$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + public abstract interface class dev/inmo/tgbotapi/types/files/VideoSticker : dev/inmo/tgbotapi/types/files/Sticker { public static final field Companion Ldev/inmo/tgbotapi/types/files/VideoSticker$Companion; public fun getStickerFormat ()Ldev/inmo/tgbotapi/types/StickerFormat; @@ -20463,19 +21530,19 @@ public final class dev/inmo/tgbotapi/types/files/VideoSticker$DefaultImpls { public final class dev/inmo/tgbotapi/types/files/VoiceFile : dev/inmo/tgbotapi/types/files/MediaContentVariant, dev/inmo/tgbotapi/types/files/MimedMediaFile, dev/inmo/tgbotapi/types/files/PlayableMediaFile, dev/inmo/tgbotapi/types/files/TelegramMediaFile { public static final field Companion Ldev/inmo/tgbotapi/types/files/VoiceFile$Companion; - public synthetic fun (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;Ljava/lang/Long;Ldev/inmo/tgbotapi/utils/MimeType;Ljava/lang/Long;ILkotlin/jvm/internal/DefaultConstructorMarker;)V - public synthetic fun (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;Ljava/lang/Long;Ldev/inmo/tgbotapi/utils/MimeType;Ljava/lang/Long;Lkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;Ljava/lang/Long;Ldev/inmo/tgbotapi/utils/MimeType;Ldev/inmo/tgbotapi/types/files/FileSize;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;Ljava/lang/Long;Ldev/inmo/tgbotapi/utils/MimeType;Ldev/inmo/tgbotapi/types/files/FileSize;Lkotlin/jvm/internal/DefaultConstructorMarker;)V public final fun component1 ()Ldev/inmo/tgbotapi/requests/abstracts/FileId; public final fun component2-lakR5NQ ()Ljava/lang/String; public final fun component3 ()Ljava/lang/Long; public final fun component4 ()Ldev/inmo/tgbotapi/utils/MimeType; - public final fun component5 ()Ljava/lang/Long; - public final fun copy-W-5FcRY (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;Ljava/lang/Long;Ldev/inmo/tgbotapi/utils/MimeType;Ljava/lang/Long;)Ldev/inmo/tgbotapi/types/files/VoiceFile; - public static synthetic fun copy-W-5FcRY$default (Ldev/inmo/tgbotapi/types/files/VoiceFile;Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;Ljava/lang/Long;Ldev/inmo/tgbotapi/utils/MimeType;Ljava/lang/Long;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/files/VoiceFile; + public final fun component5-yrF3Zgw ()Ldev/inmo/tgbotapi/types/files/FileSize; + public final fun copy-dqPTQuM (Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;Ljava/lang/Long;Ldev/inmo/tgbotapi/utils/MimeType;Ldev/inmo/tgbotapi/types/files/FileSize;)Ldev/inmo/tgbotapi/types/files/VoiceFile; + public static synthetic fun copy-dqPTQuM$default (Ldev/inmo/tgbotapi/types/files/VoiceFile;Ldev/inmo/tgbotapi/requests/abstracts/FileId;Ljava/lang/String;Ljava/lang/Long;Ldev/inmo/tgbotapi/utils/MimeType;Ldev/inmo/tgbotapi/types/files/FileSize;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/files/VoiceFile; public fun equals (Ljava/lang/Object;)Z public fun getDuration ()Ljava/lang/Long; public fun getFileId ()Ldev/inmo/tgbotapi/requests/abstracts/FileId; - public fun getFileSize ()Ljava/lang/Long; + public fun getFileSize-yrF3Zgw ()Ldev/inmo/tgbotapi/types/files/FileSize; public fun getFileUniqueId-lakR5NQ ()Ljava/lang/String; public fun getMimeType ()Ldev/inmo/tgbotapi/utils/MimeType; public fun hashCode ()I @@ -20579,15 +21646,17 @@ public final class dev/inmo/tgbotapi/types/games/GameHighScore$Companion { public final class dev/inmo/tgbotapi/types/gifts/AcceptedGiftTypes { public static final field Companion Ldev/inmo/tgbotapi/types/gifts/AcceptedGiftTypes$Companion; public fun ()V - public fun (ZZZZ)V - public synthetic fun (ZZZZILkotlin/jvm/internal/DefaultConstructorMarker;)V + public fun (ZZZZZ)V + public synthetic fun (ZZZZZILkotlin/jvm/internal/DefaultConstructorMarker;)V public final fun component1 ()Z public final fun component2 ()Z public final fun component3 ()Z public final fun component4 ()Z - public final fun copy (ZZZZ)Ldev/inmo/tgbotapi/types/gifts/AcceptedGiftTypes; - public static synthetic fun copy$default (Ldev/inmo/tgbotapi/types/gifts/AcceptedGiftTypes;ZZZZILjava/lang/Object;)Ldev/inmo/tgbotapi/types/gifts/AcceptedGiftTypes; + public final fun component5 ()Z + public final fun copy (ZZZZZ)Ldev/inmo/tgbotapi/types/gifts/AcceptedGiftTypes; + public static synthetic fun copy$default (Ldev/inmo/tgbotapi/types/gifts/AcceptedGiftTypes;ZZZZZILjava/lang/Object;)Ldev/inmo/tgbotapi/types/gifts/AcceptedGiftTypes; public fun equals (Ljava/lang/Object;)Z + public final fun getGiftsFromChannels ()Z public final fun getLimitedGifts ()Z public final fun getPremiumSubscription ()Z public final fun getUniqueGifts ()Z @@ -20613,7 +21682,9 @@ public final class dev/inmo/tgbotapi/types/gifts/AcceptedGiftTypes$Companion { public abstract interface class dev/inmo/tgbotapi/types/gifts/Gift { public static final field Companion Ldev/inmo/tgbotapi/types/gifts/Gift$Companion; + public abstract fun getId-FhTg01o ()Ljava/lang/String; public abstract fun getPublisherChat ()Ldev/inmo/tgbotapi/types/chat/PreviewChat; + public abstract fun isPremium ()Z } public final class dev/inmo/tgbotapi/types/gifts/Gift$Companion : kotlinx/serialization/KSerializer { @@ -20627,11 +21698,16 @@ public final class dev/inmo/tgbotapi/types/gifts/Gift$Companion : kotlinx/serial public abstract interface class dev/inmo/tgbotapi/types/gifts/Gift$Regular : dev/inmo/tgbotapi/types/gifts/Gift { public static final field Companion Ldev/inmo/tgbotapi/types/gifts/Gift$Regular$Companion; + public abstract fun getBackground ()Ldev/inmo/tgbotapi/types/gifts/GiftBackground; + public abstract fun getHasColors ()Z public abstract fun getId-OyCYJok ()Ljava/lang/String; + public abstract fun getPersonalRemainingCount ()Ljava/lang/Integer; + public abstract fun getPersonalTotalCount ()Ljava/lang/Integer; public abstract fun getRemainingCount ()Ljava/lang/Integer; public abstract fun getStarCount ()I public abstract fun getSticker ()Ldev/inmo/tgbotapi/types/files/Sticker; public abstract fun getTotalCount ()Ljava/lang/Integer; + public abstract fun getUniqueGiftVariantCount ()Ljava/lang/Integer; public abstract fun getUpgradeStarCount ()Ljava/lang/Integer; } @@ -20646,26 +21722,39 @@ public final class dev/inmo/tgbotapi/types/gifts/Gift$Regular$Companion : kotlin public final class dev/inmo/tgbotapi/types/gifts/Gift$Regular$Limited : dev/inmo/tgbotapi/types/gifts/Gift$Regular { public static final field Companion Ldev/inmo/tgbotapi/types/gifts/Gift$Regular$Limited$Companion; - public synthetic fun (Ljava/lang/String;Ldev/inmo/tgbotapi/types/files/Sticker;IIILjava/lang/Integer;Ldev/inmo/tgbotapi/types/chat/PreviewChat;ILkotlin/jvm/internal/DefaultConstructorMarker;)V - public synthetic fun (Ljava/lang/String;Ldev/inmo/tgbotapi/types/files/Sticker;IIILjava/lang/Integer;Ldev/inmo/tgbotapi/types/chat/PreviewChat;Lkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (Ljava/lang/String;Ldev/inmo/tgbotapi/types/files/Sticker;IIILjava/lang/Integer;Ldev/inmo/tgbotapi/types/chat/PreviewChat;Ljava/lang/Integer;Ljava/lang/Integer;ZZLdev/inmo/tgbotapi/types/gifts/GiftBackground;Ljava/lang/Integer;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (Ljava/lang/String;Ldev/inmo/tgbotapi/types/files/Sticker;IIILjava/lang/Integer;Ldev/inmo/tgbotapi/types/chat/PreviewChat;Ljava/lang/Integer;Ljava/lang/Integer;ZZLdev/inmo/tgbotapi/types/gifts/GiftBackground;Ljava/lang/Integer;Lkotlin/jvm/internal/DefaultConstructorMarker;)V public final fun component1-OyCYJok ()Ljava/lang/String; + public final fun component10 ()Z + public final fun component11 ()Z + public final fun component12 ()Ldev/inmo/tgbotapi/types/gifts/GiftBackground; + public final fun component13 ()Ljava/lang/Integer; public final fun component2 ()Ldev/inmo/tgbotapi/types/files/Sticker; public final fun component3 ()I public final fun component4 ()I public final fun component5 ()I public final fun component6 ()Ljava/lang/Integer; public final fun component7 ()Ldev/inmo/tgbotapi/types/chat/PreviewChat; - public final fun copy-lJhcqlU (Ljava/lang/String;Ldev/inmo/tgbotapi/types/files/Sticker;IIILjava/lang/Integer;Ldev/inmo/tgbotapi/types/chat/PreviewChat;)Ldev/inmo/tgbotapi/types/gifts/Gift$Regular$Limited; - public static synthetic fun copy-lJhcqlU$default (Ldev/inmo/tgbotapi/types/gifts/Gift$Regular$Limited;Ljava/lang/String;Ldev/inmo/tgbotapi/types/files/Sticker;IIILjava/lang/Integer;Ldev/inmo/tgbotapi/types/chat/PreviewChat;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/gifts/Gift$Regular$Limited; + public final fun component8 ()Ljava/lang/Integer; + public final fun component9 ()Ljava/lang/Integer; + public final fun copy-WAFpE-U (Ljava/lang/String;Ldev/inmo/tgbotapi/types/files/Sticker;IIILjava/lang/Integer;Ldev/inmo/tgbotapi/types/chat/PreviewChat;Ljava/lang/Integer;Ljava/lang/Integer;ZZLdev/inmo/tgbotapi/types/gifts/GiftBackground;Ljava/lang/Integer;)Ldev/inmo/tgbotapi/types/gifts/Gift$Regular$Limited; + public static synthetic fun copy-WAFpE-U$default (Ldev/inmo/tgbotapi/types/gifts/Gift$Regular$Limited;Ljava/lang/String;Ldev/inmo/tgbotapi/types/files/Sticker;IIILjava/lang/Integer;Ldev/inmo/tgbotapi/types/chat/PreviewChat;Ljava/lang/Integer;Ljava/lang/Integer;ZZLdev/inmo/tgbotapi/types/gifts/GiftBackground;Ljava/lang/Integer;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/gifts/Gift$Regular$Limited; public fun equals (Ljava/lang/Object;)Z + public fun getBackground ()Ldev/inmo/tgbotapi/types/gifts/GiftBackground; + public fun getHasColors ()Z + public synthetic fun getId-FhTg01o ()Ljava/lang/String; public fun getId-OyCYJok ()Ljava/lang/String; + public fun getPersonalRemainingCount ()Ljava/lang/Integer; + public fun getPersonalTotalCount ()Ljava/lang/Integer; public fun getPublisherChat ()Ldev/inmo/tgbotapi/types/chat/PreviewChat; public fun getRemainingCount ()Ljava/lang/Integer; public fun getStarCount ()I public fun getSticker ()Ldev/inmo/tgbotapi/types/files/Sticker; public fun getTotalCount ()Ljava/lang/Integer; + public fun getUniqueGiftVariantCount ()Ljava/lang/Integer; public fun getUpgradeStarCount ()Ljava/lang/Integer; public fun hashCode ()I + public fun isPremium ()Z public fun toString ()Ljava/lang/String; } @@ -20686,24 +21775,37 @@ public final class dev/inmo/tgbotapi/types/gifts/Gift$Regular$Limited$Companion public final class dev/inmo/tgbotapi/types/gifts/Gift$Regular$Unlimited : dev/inmo/tgbotapi/types/gifts/Gift$Regular { public static final field Companion Ldev/inmo/tgbotapi/types/gifts/Gift$Regular$Unlimited$Companion; - public synthetic fun (Ljava/lang/String;Ldev/inmo/tgbotapi/types/files/Sticker;ILjava/lang/Integer;Ldev/inmo/tgbotapi/types/chat/PreviewChat;ILkotlin/jvm/internal/DefaultConstructorMarker;)V - public synthetic fun (Ljava/lang/String;Ldev/inmo/tgbotapi/types/files/Sticker;ILjava/lang/Integer;Ldev/inmo/tgbotapi/types/chat/PreviewChat;Lkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (Ljava/lang/String;Ldev/inmo/tgbotapi/types/files/Sticker;ILjava/lang/Integer;Ldev/inmo/tgbotapi/types/chat/PreviewChat;Ljava/lang/Integer;Ljava/lang/Integer;ZZLdev/inmo/tgbotapi/types/gifts/GiftBackground;Ljava/lang/Integer;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (Ljava/lang/String;Ldev/inmo/tgbotapi/types/files/Sticker;ILjava/lang/Integer;Ldev/inmo/tgbotapi/types/chat/PreviewChat;Ljava/lang/Integer;Ljava/lang/Integer;ZZLdev/inmo/tgbotapi/types/gifts/GiftBackground;Ljava/lang/Integer;Lkotlin/jvm/internal/DefaultConstructorMarker;)V public final fun component1-OyCYJok ()Ljava/lang/String; + public final fun component10 ()Ldev/inmo/tgbotapi/types/gifts/GiftBackground; + public final fun component11 ()Ljava/lang/Integer; public final fun component2 ()Ldev/inmo/tgbotapi/types/files/Sticker; public final fun component3 ()I public final fun component4 ()Ljava/lang/Integer; public final fun component5 ()Ldev/inmo/tgbotapi/types/chat/PreviewChat; - public final fun copy-dAh8QC0 (Ljava/lang/String;Ldev/inmo/tgbotapi/types/files/Sticker;ILjava/lang/Integer;Ldev/inmo/tgbotapi/types/chat/PreviewChat;)Ldev/inmo/tgbotapi/types/gifts/Gift$Regular$Unlimited; - public static synthetic fun copy-dAh8QC0$default (Ldev/inmo/tgbotapi/types/gifts/Gift$Regular$Unlimited;Ljava/lang/String;Ldev/inmo/tgbotapi/types/files/Sticker;ILjava/lang/Integer;Ldev/inmo/tgbotapi/types/chat/PreviewChat;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/gifts/Gift$Regular$Unlimited; + public final fun component6 ()Ljava/lang/Integer; + public final fun component7 ()Ljava/lang/Integer; + public final fun component8 ()Z + public final fun component9 ()Z + public final fun copy-9PR5gaI (Ljava/lang/String;Ldev/inmo/tgbotapi/types/files/Sticker;ILjava/lang/Integer;Ldev/inmo/tgbotapi/types/chat/PreviewChat;Ljava/lang/Integer;Ljava/lang/Integer;ZZLdev/inmo/tgbotapi/types/gifts/GiftBackground;Ljava/lang/Integer;)Ldev/inmo/tgbotapi/types/gifts/Gift$Regular$Unlimited; + public static synthetic fun copy-9PR5gaI$default (Ldev/inmo/tgbotapi/types/gifts/Gift$Regular$Unlimited;Ljava/lang/String;Ldev/inmo/tgbotapi/types/files/Sticker;ILjava/lang/Integer;Ldev/inmo/tgbotapi/types/chat/PreviewChat;Ljava/lang/Integer;Ljava/lang/Integer;ZZLdev/inmo/tgbotapi/types/gifts/GiftBackground;Ljava/lang/Integer;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/gifts/Gift$Regular$Unlimited; public fun equals (Ljava/lang/Object;)Z + public fun getBackground ()Ldev/inmo/tgbotapi/types/gifts/GiftBackground; + public fun getHasColors ()Z + public synthetic fun getId-FhTg01o ()Ljava/lang/String; public fun getId-OyCYJok ()Ljava/lang/String; + public fun getPersonalRemainingCount ()Ljava/lang/Integer; + public fun getPersonalTotalCount ()Ljava/lang/Integer; public fun getPublisherChat ()Ldev/inmo/tgbotapi/types/chat/PreviewChat; public fun getRemainingCount ()Ljava/lang/Integer; public fun getStarCount ()I public fun getSticker ()Ldev/inmo/tgbotapi/types/files/Sticker; public fun getTotalCount ()Ljava/lang/Integer; + public fun getUniqueGiftVariantCount ()Ljava/lang/Integer; public fun getUpgradeStarCount ()Ljava/lang/Integer; public fun hashCode ()I + public fun isPremium ()Z public fun toString ()Ljava/lang/String; } @@ -20724,26 +21826,36 @@ public final class dev/inmo/tgbotapi/types/gifts/Gift$Regular$Unlimited$Companio public final class dev/inmo/tgbotapi/types/gifts/Gift$Unique : dev/inmo/tgbotapi/types/gifts/Gift { public static final field Companion Ldev/inmo/tgbotapi/types/gifts/Gift$Unique$Companion; - public fun (Ljava/lang/String;Ljava/lang/String;ILdev/inmo/tgbotapi/types/gifts/unique/UniqueGiftModel;Ldev/inmo/tgbotapi/types/gifts/unique/UniqueGiftSymbol;Ldev/inmo/tgbotapi/types/gifts/unique/UniqueGiftBackdrop;Ldev/inmo/tgbotapi/types/chat/PreviewChat;)V - public synthetic fun (Ljava/lang/String;Ljava/lang/String;ILdev/inmo/tgbotapi/types/gifts/unique/UniqueGiftModel;Ldev/inmo/tgbotapi/types/gifts/unique/UniqueGiftSymbol;Ldev/inmo/tgbotapi/types/gifts/unique/UniqueGiftBackdrop;Ldev/inmo/tgbotapi/types/chat/PreviewChat;ILkotlin/jvm/internal/DefaultConstructorMarker;)V - public final fun component1 ()Ljava/lang/String; + public synthetic fun (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ILdev/inmo/tgbotapi/types/gifts/unique/UniqueGiftModel;Ldev/inmo/tgbotapi/types/gifts/unique/UniqueGiftSymbol;Ldev/inmo/tgbotapi/types/gifts/unique/UniqueGiftBackdrop;ZZZLdev/inmo/tgbotapi/types/gifts/unique/UniqueGiftColors;Ldev/inmo/tgbotapi/types/chat/PreviewChat;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ILdev/inmo/tgbotapi/types/gifts/unique/UniqueGiftModel;Ldev/inmo/tgbotapi/types/gifts/unique/UniqueGiftSymbol;Ldev/inmo/tgbotapi/types/gifts/unique/UniqueGiftBackdrop;ZZZLdev/inmo/tgbotapi/types/gifts/unique/UniqueGiftColors;Ldev/inmo/tgbotapi/types/chat/PreviewChat;Lkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1-FhTg01o ()Ljava/lang/String; + public final fun component10 ()Z + public final fun component11 ()Ldev/inmo/tgbotapi/types/gifts/unique/UniqueGiftColors; + public final fun component12 ()Ldev/inmo/tgbotapi/types/chat/PreviewChat; public final fun component2 ()Ljava/lang/String; - public final fun component3 ()I - public final fun component4 ()Ldev/inmo/tgbotapi/types/gifts/unique/UniqueGiftModel; - public final fun component5 ()Ldev/inmo/tgbotapi/types/gifts/unique/UniqueGiftSymbol; - public final fun component6 ()Ldev/inmo/tgbotapi/types/gifts/unique/UniqueGiftBackdrop; - public final fun component7 ()Ldev/inmo/tgbotapi/types/chat/PreviewChat; - public final fun copy (Ljava/lang/String;Ljava/lang/String;ILdev/inmo/tgbotapi/types/gifts/unique/UniqueGiftModel;Ldev/inmo/tgbotapi/types/gifts/unique/UniqueGiftSymbol;Ldev/inmo/tgbotapi/types/gifts/unique/UniqueGiftBackdrop;Ldev/inmo/tgbotapi/types/chat/PreviewChat;)Ldev/inmo/tgbotapi/types/gifts/Gift$Unique; - public static synthetic fun copy$default (Ldev/inmo/tgbotapi/types/gifts/Gift$Unique;Ljava/lang/String;Ljava/lang/String;ILdev/inmo/tgbotapi/types/gifts/unique/UniqueGiftModel;Ldev/inmo/tgbotapi/types/gifts/unique/UniqueGiftSymbol;Ldev/inmo/tgbotapi/types/gifts/unique/UniqueGiftBackdrop;Ldev/inmo/tgbotapi/types/chat/PreviewChat;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/gifts/Gift$Unique; + public final fun component3-4ZXEuVc ()Ljava/lang/String; + public final fun component4 ()I + public final fun component5 ()Ldev/inmo/tgbotapi/types/gifts/unique/UniqueGiftModel; + public final fun component6 ()Ldev/inmo/tgbotapi/types/gifts/unique/UniqueGiftSymbol; + public final fun component7 ()Ldev/inmo/tgbotapi/types/gifts/unique/UniqueGiftBackdrop; + public final fun component8 ()Z + public final fun component9 ()Z + public final fun copy-ayg1UCc (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ILdev/inmo/tgbotapi/types/gifts/unique/UniqueGiftModel;Ldev/inmo/tgbotapi/types/gifts/unique/UniqueGiftSymbol;Ldev/inmo/tgbotapi/types/gifts/unique/UniqueGiftBackdrop;ZZZLdev/inmo/tgbotapi/types/gifts/unique/UniqueGiftColors;Ldev/inmo/tgbotapi/types/chat/PreviewChat;)Ldev/inmo/tgbotapi/types/gifts/Gift$Unique; + public static synthetic fun copy-ayg1UCc$default (Ldev/inmo/tgbotapi/types/gifts/Gift$Unique;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ILdev/inmo/tgbotapi/types/gifts/unique/UniqueGiftModel;Ldev/inmo/tgbotapi/types/gifts/unique/UniqueGiftSymbol;Ldev/inmo/tgbotapi/types/gifts/unique/UniqueGiftBackdrop;ZZZLdev/inmo/tgbotapi/types/gifts/unique/UniqueGiftColors;Ldev/inmo/tgbotapi/types/chat/PreviewChat;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/gifts/Gift$Unique; public fun equals (Ljava/lang/Object;)Z public final fun getBackdrop ()Ldev/inmo/tgbotapi/types/gifts/unique/UniqueGiftBackdrop; public final fun getBaseName ()Ljava/lang/String; + public final fun getColors ()Ldev/inmo/tgbotapi/types/gifts/unique/UniqueGiftColors; + public fun getId-FhTg01o ()Ljava/lang/String; public final fun getModel ()Ldev/inmo/tgbotapi/types/gifts/unique/UniqueGiftModel; - public final fun getName ()Ljava/lang/String; + public final fun getName-4ZXEuVc ()Ljava/lang/String; public final fun getNumber ()I public fun getPublisherChat ()Ldev/inmo/tgbotapi/types/chat/PreviewChat; public final fun getSymbol ()Ldev/inmo/tgbotapi/types/gifts/unique/UniqueGiftSymbol; public fun hashCode ()I + public final fun isBurned ()Z + public final fun isFromBlockchain ()Z + public fun isPremium ()Z public fun toString ()Ljava/lang/String; } @@ -20762,48 +21874,83 @@ public final class dev/inmo/tgbotapi/types/gifts/Gift$Unique$Companion { public final fun serializer ()Lkotlinx/serialization/KSerializer; } -public abstract interface class dev/inmo/tgbotapi/types/gifts/GiftSentOrReceived : dev/inmo/tgbotapi/types/message/ChatEvents/abstracts/CommonEvent { - public static final field Companion Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceived$Companion; +public final class dev/inmo/tgbotapi/types/gifts/GiftBackground { + public static final field Companion Ldev/inmo/tgbotapi/types/gifts/GiftBackground$Companion; + public synthetic fun (IIILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1-m7U56J0 ()I + public final fun component2-m7U56J0 ()I + public final fun component3-m7U56J0 ()I + public final fun copy-0nROy1E (III)Ldev/inmo/tgbotapi/types/gifts/GiftBackground; + public static synthetic fun copy-0nROy1E$default (Ldev/inmo/tgbotapi/types/gifts/GiftBackground;IIIILjava/lang/Object;)Ldev/inmo/tgbotapi/types/gifts/GiftBackground; + public fun equals (Ljava/lang/Object;)Z + public final fun getCenterColor-m7U56J0 ()I + public final fun getEdgeColor-m7U56J0 ()I + public final fun getTextColor-m7U56J0 ()I + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public final synthetic class dev/inmo/tgbotapi/types/gifts/GiftBackground$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Ldev/inmo/tgbotapi/types/gifts/GiftBackground$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/inmo/tgbotapi/types/gifts/GiftBackground; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Ldev/inmo/tgbotapi/types/gifts/GiftBackground;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class dev/inmo/tgbotapi/types/gifts/GiftBackground$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public abstract interface class dev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent : dev/inmo/tgbotapi/types/message/ChatEvents/abstracts/CommonEvent { + public static final field Companion Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent$Companion; public abstract fun getGift ()Ldev/inmo/tgbotapi/types/gifts/Gift; public abstract fun getNextTransferDate ()Ldev/inmo/tgbotapi/types/TelegramDate; public abstract fun getOwnedGiftId-FhTg01o ()Ljava/lang/String; } -public final class dev/inmo/tgbotapi/types/gifts/GiftSentOrReceived$Companion { +public final class dev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent$Companion { public final fun serializer ()Lkotlinx/serialization/KSerializer; } -public abstract interface class dev/inmo/tgbotapi/types/gifts/GiftSentOrReceived$ReceivedInBusinessAccount : dev/inmo/tgbotapi/types/gifts/GiftSentOrReceived { - public static final field Companion Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceived$ReceivedInBusinessAccount$Companion; +public abstract interface class dev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent$ReceivedInBusinessAccount : dev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent { + public static final field Companion Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent$ReceivedInBusinessAccount$Companion; public abstract fun getOwnedGiftId-OyCYJok ()Ljava/lang/String; } -public final class dev/inmo/tgbotapi/types/gifts/GiftSentOrReceived$ReceivedInBusinessAccount$Companion { +public final class dev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent$ReceivedInBusinessAccount$Companion { public final fun serializer ()Lkotlinx/serialization/KSerializer; } -public abstract interface class dev/inmo/tgbotapi/types/gifts/GiftSentOrReceived$Regular : dev/inmo/tgbotapi/abstracts/TextedInput, dev/inmo/tgbotapi/types/gifts/GiftSentOrReceived { - public static final field Companion Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceived$Regular$Companion; +public abstract interface class dev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent$RegularGift : dev/inmo/tgbotapi/abstracts/TextedInput, dev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent { + public static final field Companion Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent$RegularGift$Companion; public abstract fun getCanBeUpgraded ()Z public abstract fun getConvertStarCount ()Ljava/lang/Integer; public abstract fun getGift ()Ldev/inmo/tgbotapi/types/gifts/Gift$Regular; public abstract fun getPrepaidUpgradeStarCount ()Ljava/lang/Integer; + public abstract fun getUniqueGiftNumber ()Ljava/lang/Integer; public abstract fun isPrivate ()Z + public abstract fun isUpgradeSeparate ()Z } -public final class dev/inmo/tgbotapi/types/gifts/GiftSentOrReceived$Regular$Common : dev/inmo/tgbotapi/types/gifts/GiftSentOrReceived$Regular { - public static final field Companion Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceived$Regular$Common$Companion; - public fun (Ldev/inmo/tgbotapi/types/gifts/Gift$Regular;Ljava/lang/Integer;Ljava/lang/Integer;ZLjava/lang/String;Ljava/util/List;ZLdev/inmo/tgbotapi/types/TelegramDate;)V - public synthetic fun (Ldev/inmo/tgbotapi/types/gifts/Gift$Regular;Ljava/lang/Integer;Ljava/lang/Integer;ZLjava/lang/String;Ljava/util/List;ZLdev/inmo/tgbotapi/types/TelegramDate;ILkotlin/jvm/internal/DefaultConstructorMarker;)V +public final class dev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent$RegularGift$Common : dev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent$RegularGift { + public static final field Companion Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent$RegularGift$Common$Companion; + public fun (Ldev/inmo/tgbotapi/types/gifts/Gift$Regular;Ljava/lang/Integer;Ljava/lang/Integer;ZLjava/lang/String;Ljava/util/List;ZZLjava/lang/Integer;Ldev/inmo/tgbotapi/types/TelegramDate;)V + public synthetic fun (Ldev/inmo/tgbotapi/types/gifts/Gift$Regular;Ljava/lang/Integer;Ljava/lang/Integer;ZLjava/lang/String;Ljava/util/List;ZZLjava/lang/Integer;Ldev/inmo/tgbotapi/types/TelegramDate;ILkotlin/jvm/internal/DefaultConstructorMarker;)V public final fun component1 ()Ldev/inmo/tgbotapi/types/gifts/Gift$Regular; + public final fun component10 ()Ldev/inmo/tgbotapi/types/TelegramDate; public final fun component2 ()Ljava/lang/Integer; public final fun component3 ()Ljava/lang/Integer; public final fun component4 ()Z public final fun component5 ()Ljava/lang/String; public final fun component7 ()Z - public final fun component8 ()Ldev/inmo/tgbotapi/types/TelegramDate; - public final fun copy (Ldev/inmo/tgbotapi/types/gifts/Gift$Regular;Ljava/lang/Integer;Ljava/lang/Integer;ZLjava/lang/String;Ljava/util/List;ZLdev/inmo/tgbotapi/types/TelegramDate;)Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceived$Regular$Common; - public static synthetic fun copy$default (Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceived$Regular$Common;Ldev/inmo/tgbotapi/types/gifts/Gift$Regular;Ljava/lang/Integer;Ljava/lang/Integer;ZLjava/lang/String;Ljava/util/List;ZLdev/inmo/tgbotapi/types/TelegramDate;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceived$Regular$Common; + public final fun component8 ()Z + public final fun component9 ()Ljava/lang/Integer; + public final fun copy (Ldev/inmo/tgbotapi/types/gifts/Gift$Regular;Ljava/lang/Integer;Ljava/lang/Integer;ZLjava/lang/String;Ljava/util/List;ZZLjava/lang/Integer;Ldev/inmo/tgbotapi/types/TelegramDate;)Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent$RegularGift$Common; + public static synthetic fun copy$default (Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent$RegularGift$Common;Ldev/inmo/tgbotapi/types/gifts/Gift$Regular;Ljava/lang/Integer;Ljava/lang/Integer;ZLjava/lang/String;Ljava/util/List;ZZLjava/lang/Integer;Ldev/inmo/tgbotapi/types/TelegramDate;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent$RegularGift$Common; public fun equals (Ljava/lang/Object;)Z public fun getCanBeUpgraded ()Z public fun getConvertStarCount ()Ljava/lang/Integer; @@ -20814,51 +21961,55 @@ public final class dev/inmo/tgbotapi/types/gifts/GiftSentOrReceived$Regular$Comm public fun getPrepaidUpgradeStarCount ()Ljava/lang/Integer; public fun getText ()Ljava/lang/String; public fun getTextSources ()Ljava/util/List; + public fun getUniqueGiftNumber ()Ljava/lang/Integer; public fun hashCode ()I public fun isPrivate ()Z + public fun isUpgradeSeparate ()Z public fun toString ()Ljava/lang/String; } -public final synthetic class dev/inmo/tgbotapi/types/gifts/GiftSentOrReceived$Regular$Common$$serializer : kotlinx/serialization/internal/GeneratedSerializer { - public static final field INSTANCE Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceived$Regular$Common$$serializer; +public final synthetic class dev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent$RegularGift$Common$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent$RegularGift$Common$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; - public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceived$Regular$Common; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent$RegularGift$Common; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; - public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceived$Regular$Common;)V + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent$RegularGift$Common;)V public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } -public final class dev/inmo/tgbotapi/types/gifts/GiftSentOrReceived$Regular$Common$Companion { +public final class dev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent$RegularGift$Common$Companion { public final fun serializer ()Lkotlinx/serialization/KSerializer; } -public final class dev/inmo/tgbotapi/types/gifts/GiftSentOrReceived$Regular$Companion : kotlinx/serialization/KSerializer { - public final fun PublicConstructor (Ldev/inmo/tgbotapi/types/gifts/Gift$Regular;Ljava/lang/String;Ljava/lang/Integer;Ljava/lang/Integer;ZLjava/lang/String;Ljava/util/List;IZ)Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceived$Regular; - public static synthetic fun PublicConstructor$default (Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceived$Regular$Companion;Ldev/inmo/tgbotapi/types/gifts/Gift$Regular;Ljava/lang/String;Ljava/lang/Integer;Ljava/lang/Integer;ZLjava/lang/String;Ljava/util/List;IZILjava/lang/Object;)Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceived$Regular; - public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceived$Regular; +public final class dev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent$RegularGift$Companion : kotlinx/serialization/KSerializer { + public final fun PublicConstructor (Ldev/inmo/tgbotapi/types/gifts/Gift$Regular;Ljava/lang/String;Ljava/lang/Integer;Ljava/lang/Integer;ZLjava/lang/String;Ljava/util/List;IZZLjava/lang/Integer;)Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent$RegularGift; + public static synthetic fun PublicConstructor$default (Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent$RegularGift$Companion;Ldev/inmo/tgbotapi/types/gifts/Gift$Regular;Ljava/lang/String;Ljava/lang/Integer;Ljava/lang/Integer;ZLjava/lang/String;Ljava/util/List;IZZLjava/lang/Integer;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent$RegularGift; + public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent$RegularGift; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; public fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; - public fun serialize (Lkotlinx/serialization/encoding/Encoder;Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceived$Regular;)V + public fun serialize (Lkotlinx/serialization/encoding/Encoder;Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent$RegularGift;)V public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serializer ()Lkotlinx/serialization/KSerializer; } -public final class dev/inmo/tgbotapi/types/gifts/GiftSentOrReceived$Regular$ReceivedInBusinessAccount : dev/inmo/tgbotapi/types/gifts/GiftSentOrReceived$ReceivedInBusinessAccount, dev/inmo/tgbotapi/types/gifts/GiftSentOrReceived$Regular { - public static final field Companion Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceived$Regular$ReceivedInBusinessAccount$Companion; - public synthetic fun (Ldev/inmo/tgbotapi/types/gifts/Gift$Regular;Ljava/lang/String;Ljava/lang/Integer;Ljava/lang/Integer;ZLjava/lang/String;Ljava/util/List;ZLdev/inmo/tgbotapi/types/TelegramDate;ILkotlin/jvm/internal/DefaultConstructorMarker;)V - public synthetic fun (Ldev/inmo/tgbotapi/types/gifts/Gift$Regular;Ljava/lang/String;Ljava/lang/Integer;Ljava/lang/Integer;ZLjava/lang/String;Ljava/util/List;ZLdev/inmo/tgbotapi/types/TelegramDate;Lkotlin/jvm/internal/DefaultConstructorMarker;)V +public final class dev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent$RegularGift$ReceivedInBusinessAccount : dev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent$ReceivedInBusinessAccount, dev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent$RegularGift { + public static final field Companion Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent$RegularGift$ReceivedInBusinessAccount$Companion; + public synthetic fun (Ldev/inmo/tgbotapi/types/gifts/Gift$Regular;Ljava/lang/String;Ljava/lang/Integer;Ljava/lang/Integer;ZLjava/lang/String;Ljava/util/List;ZZLjava/lang/Integer;Ldev/inmo/tgbotapi/types/TelegramDate;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (Ldev/inmo/tgbotapi/types/gifts/Gift$Regular;Ljava/lang/String;Ljava/lang/Integer;Ljava/lang/Integer;ZLjava/lang/String;Ljava/util/List;ZZLjava/lang/Integer;Ldev/inmo/tgbotapi/types/TelegramDate;Lkotlin/jvm/internal/DefaultConstructorMarker;)V public final fun component1 ()Ldev/inmo/tgbotapi/types/gifts/Gift$Regular; + public final fun component10 ()Ljava/lang/Integer; + public final fun component11 ()Ldev/inmo/tgbotapi/types/TelegramDate; public final fun component2-OyCYJok ()Ljava/lang/String; public final fun component3 ()Ljava/lang/Integer; public final fun component4 ()Ljava/lang/Integer; public final fun component5 ()Z public final fun component6 ()Ljava/lang/String; public final fun component8 ()Z - public final fun component9 ()Ldev/inmo/tgbotapi/types/TelegramDate; - public final fun copy-3gWu8WQ (Ldev/inmo/tgbotapi/types/gifts/Gift$Regular;Ljava/lang/String;Ljava/lang/Integer;Ljava/lang/Integer;ZLjava/lang/String;Ljava/util/List;ZLdev/inmo/tgbotapi/types/TelegramDate;)Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceived$Regular$ReceivedInBusinessAccount; - public static synthetic fun copy-3gWu8WQ$default (Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceived$Regular$ReceivedInBusinessAccount;Ldev/inmo/tgbotapi/types/gifts/Gift$Regular;Ljava/lang/String;Ljava/lang/Integer;Ljava/lang/Integer;ZLjava/lang/String;Ljava/util/List;ZLdev/inmo/tgbotapi/types/TelegramDate;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceived$Regular$ReceivedInBusinessAccount; + public final fun component9 ()Z + public final fun copy-1Bd2j3Y (Ldev/inmo/tgbotapi/types/gifts/Gift$Regular;Ljava/lang/String;Ljava/lang/Integer;Ljava/lang/Integer;ZLjava/lang/String;Ljava/util/List;ZZLjava/lang/Integer;Ldev/inmo/tgbotapi/types/TelegramDate;)Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent$RegularGift$ReceivedInBusinessAccount; + public static synthetic fun copy-1Bd2j3Y$default (Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent$RegularGift$ReceivedInBusinessAccount;Ldev/inmo/tgbotapi/types/gifts/Gift$Regular;Ljava/lang/String;Ljava/lang/Integer;Ljava/lang/Integer;ZLjava/lang/String;Ljava/util/List;ZZLjava/lang/Integer;Ldev/inmo/tgbotapi/types/TelegramDate;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent$RegularGift$ReceivedInBusinessAccount; public fun equals (Ljava/lang/Object;)Z public fun getCanBeUpgraded ()Z public fun getConvertStarCount ()Ljava/lang/Integer; @@ -20870,117 +22021,149 @@ public final class dev/inmo/tgbotapi/types/gifts/GiftSentOrReceived$Regular$Rece public fun getPrepaidUpgradeStarCount ()Ljava/lang/Integer; public fun getText ()Ljava/lang/String; public fun getTextSources ()Ljava/util/List; + public fun getUniqueGiftNumber ()Ljava/lang/Integer; public fun hashCode ()I public fun isPrivate ()Z + public fun isUpgradeSeparate ()Z public fun toString ()Ljava/lang/String; } -public final synthetic class dev/inmo/tgbotapi/types/gifts/GiftSentOrReceived$Regular$ReceivedInBusinessAccount$$serializer : kotlinx/serialization/internal/GeneratedSerializer { - public static final field INSTANCE Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceived$Regular$ReceivedInBusinessAccount$$serializer; +public final synthetic class dev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent$RegularGift$ReceivedInBusinessAccount$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent$RegularGift$ReceivedInBusinessAccount$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; - public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceived$Regular$ReceivedInBusinessAccount; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent$RegularGift$ReceivedInBusinessAccount; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; - public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceived$Regular$ReceivedInBusinessAccount;)V + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent$RegularGift$ReceivedInBusinessAccount;)V public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } -public final class dev/inmo/tgbotapi/types/gifts/GiftSentOrReceived$Regular$ReceivedInBusinessAccount$Companion { +public final class dev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent$RegularGift$ReceivedInBusinessAccount$Companion { public final fun serializer ()Lkotlinx/serialization/KSerializer; } -public abstract interface class dev/inmo/tgbotapi/types/gifts/GiftSentOrReceived$Unique : dev/inmo/tgbotapi/types/gifts/GiftSentOrReceived { - public static final field Companion Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceived$Unique$Companion; +public abstract interface class dev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent$UniqueGift : dev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent { + public static final field Companion Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent$UniqueGift$Companion; public abstract fun getGift ()Ldev/inmo/tgbotapi/types/gifts/Gift$Unique; + public abstract fun getLastResaleAmount ()Ljava/lang/Long; + public abstract fun getLastResaleCurrency ()Ljava/lang/String; public abstract fun getLastResaleStarCount ()Ljava/lang/Integer; public abstract fun getOrigin ()Ljava/lang/String; - public abstract fun getOriginTyped ()Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceived$Unique$Origin; + public abstract fun getOriginTyped ()Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent$UniqueGift$Origin; public abstract fun getTransferStarCount ()Ljava/lang/Integer; } -public final class dev/inmo/tgbotapi/types/gifts/GiftSentOrReceived$Unique$Common : dev/inmo/tgbotapi/types/gifts/GiftSentOrReceived$Unique { - public static final field Companion Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceived$Unique$Common$Companion; - public fun (Ldev/inmo/tgbotapi/types/gifts/Gift$Unique;Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceived$Unique$Origin;Ljava/lang/Integer;Ljava/lang/Integer;Ldev/inmo/tgbotapi/types/TelegramDate;)V - public synthetic fun (Ldev/inmo/tgbotapi/types/gifts/Gift$Unique;Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceived$Unique$Origin;Ljava/lang/Integer;Ljava/lang/Integer;Ldev/inmo/tgbotapi/types/TelegramDate;ILkotlin/jvm/internal/DefaultConstructorMarker;)V - public fun (Ldev/inmo/tgbotapi/types/gifts/Gift$Unique;Ljava/lang/String;Ljava/lang/Integer;Ljava/lang/Integer;Ldev/inmo/tgbotapi/types/TelegramDate;)V - public synthetic fun (Ldev/inmo/tgbotapi/types/gifts/Gift$Unique;Ljava/lang/String;Ljava/lang/Integer;Ljava/lang/Integer;Ldev/inmo/tgbotapi/types/TelegramDate;ILkotlin/jvm/internal/DefaultConstructorMarker;)V +public final class dev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent$UniqueGift$Common : dev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent$UniqueGift { + public static final field Companion Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent$UniqueGift$Common$Companion; + public fun (Ldev/inmo/tgbotapi/types/gifts/Gift$Unique;Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent$UniqueGift$Origin;Ljava/lang/Integer;Ljava/lang/String;Ljava/lang/Long;Ljava/lang/Integer;Ldev/inmo/tgbotapi/types/TelegramDate;)V + public synthetic fun (Ldev/inmo/tgbotapi/types/gifts/Gift$Unique;Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent$UniqueGift$Origin;Ljava/lang/Integer;Ljava/lang/String;Ljava/lang/Long;Ljava/lang/Integer;Ldev/inmo/tgbotapi/types/TelegramDate;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public fun (Ldev/inmo/tgbotapi/types/gifts/Gift$Unique;Ljava/lang/String;Ljava/lang/Integer;Ljava/lang/String;Ljava/lang/Long;Ljava/lang/Integer;Ldev/inmo/tgbotapi/types/TelegramDate;)V + public synthetic fun (Ldev/inmo/tgbotapi/types/gifts/Gift$Unique;Ljava/lang/String;Ljava/lang/Integer;Ljava/lang/String;Ljava/lang/Long;Ljava/lang/Integer;Ldev/inmo/tgbotapi/types/TelegramDate;ILkotlin/jvm/internal/DefaultConstructorMarker;)V public final fun component1 ()Ldev/inmo/tgbotapi/types/gifts/Gift$Unique; - public final fun component2 ()Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceived$Unique$Origin; + public final fun component2 ()Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent$UniqueGift$Origin; public final fun component3 ()Ljava/lang/Integer; - public final fun component4 ()Ljava/lang/Integer; - public final fun component5 ()Ldev/inmo/tgbotapi/types/TelegramDate; - public final fun copy (Ldev/inmo/tgbotapi/types/gifts/Gift$Unique;Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceived$Unique$Origin;Ljava/lang/Integer;Ljava/lang/Integer;Ldev/inmo/tgbotapi/types/TelegramDate;)Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceived$Unique$Common; - public static synthetic fun copy$default (Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceived$Unique$Common;Ldev/inmo/tgbotapi/types/gifts/Gift$Unique;Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceived$Unique$Origin;Ljava/lang/Integer;Ljava/lang/Integer;Ldev/inmo/tgbotapi/types/TelegramDate;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceived$Unique$Common; + public final fun component4 ()Ljava/lang/String; + public final fun component5 ()Ljava/lang/Long; + public final fun component6 ()Ljava/lang/Integer; + public final fun component7 ()Ldev/inmo/tgbotapi/types/TelegramDate; + public final fun copy (Ldev/inmo/tgbotapi/types/gifts/Gift$Unique;Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent$UniqueGift$Origin;Ljava/lang/Integer;Ljava/lang/String;Ljava/lang/Long;Ljava/lang/Integer;Ldev/inmo/tgbotapi/types/TelegramDate;)Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent$UniqueGift$Common; + public static synthetic fun copy$default (Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent$UniqueGift$Common;Ldev/inmo/tgbotapi/types/gifts/Gift$Unique;Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent$UniqueGift$Origin;Ljava/lang/Integer;Ljava/lang/String;Ljava/lang/Long;Ljava/lang/Integer;Ldev/inmo/tgbotapi/types/TelegramDate;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent$UniqueGift$Common; public fun equals (Ljava/lang/Object;)Z public fun getGift ()Ldev/inmo/tgbotapi/types/gifts/Gift$Unique; public synthetic fun getGift ()Ldev/inmo/tgbotapi/types/gifts/Gift; + public fun getLastResaleAmount ()Ljava/lang/Long; + public fun getLastResaleCurrency ()Ljava/lang/String; public fun getLastResaleStarCount ()Ljava/lang/Integer; public fun getNextTransferDate ()Ldev/inmo/tgbotapi/types/TelegramDate; public fun getOrigin ()Ljava/lang/String; - public fun getOriginTyped ()Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceived$Unique$Origin; + public fun getOriginTyped ()Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent$UniqueGift$Origin; public fun getOwnedGiftId-FhTg01o ()Ljava/lang/String; public fun getTransferStarCount ()Ljava/lang/Integer; public fun hashCode ()I public fun toString ()Ljava/lang/String; } -public final synthetic class dev/inmo/tgbotapi/types/gifts/GiftSentOrReceived$Unique$Common$$serializer : kotlinx/serialization/internal/GeneratedSerializer { - public static final field INSTANCE Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceived$Unique$Common$$serializer; +public final synthetic class dev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent$UniqueGift$Common$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent$UniqueGift$Common$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; - public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceived$Unique$Common; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent$UniqueGift$Common; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; - public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceived$Unique$Common;)V + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent$UniqueGift$Common;)V public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } -public final class dev/inmo/tgbotapi/types/gifts/GiftSentOrReceived$Unique$Common$Companion { +public final class dev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent$UniqueGift$Common$Companion { public final fun serializer ()Lkotlinx/serialization/KSerializer; } -public final class dev/inmo/tgbotapi/types/gifts/GiftSentOrReceived$Unique$Companion : kotlinx/serialization/KSerializer { - public final fun PublicConstructor (Ldev/inmo/tgbotapi/types/gifts/Gift$Unique;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Integer;)Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceived$Unique; - public static synthetic fun PublicConstructor$default (Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceived$Unique$Companion;Ldev/inmo/tgbotapi/types/gifts/Gift$Unique;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Integer;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceived$Unique; - public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceived$Unique; +public final class dev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent$UniqueGift$Companion : kotlinx/serialization/KSerializer { + public final fun PublicConstructor (Ldev/inmo/tgbotapi/types/gifts/Gift$Unique;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Integer;)Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent$UniqueGift; + public static synthetic fun PublicConstructor$default (Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent$UniqueGift$Companion;Ldev/inmo/tgbotapi/types/gifts/Gift$Unique;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Integer;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent$UniqueGift; + public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent$UniqueGift; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; public fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; - public fun serialize (Lkotlinx/serialization/encoding/Encoder;Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceived$Unique;)V + public fun serialize (Lkotlinx/serialization/encoding/Encoder;Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent$UniqueGift;)V public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serializer ()Lkotlinx/serialization/KSerializer; } -public abstract interface class dev/inmo/tgbotapi/types/gifts/GiftSentOrReceived$Unique$Origin { - public static final field Companion Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceived$Unique$Origin$Companion; +public abstract interface class dev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent$UniqueGift$Origin { + public static final field Companion Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent$UniqueGift$Origin$Companion; public abstract fun getString ()Ljava/lang/String; } -public final class dev/inmo/tgbotapi/types/gifts/GiftSentOrReceived$Unique$Origin$Companion : kotlinx/serialization/KSerializer { - public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceived$Unique$Origin; +public final class dev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent$UniqueGift$Origin$Companion : kotlinx/serialization/KSerializer { + public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent$UniqueGift$Origin; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; - public final fun fromString (Ljava/lang/String;)Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceived$Unique$Origin; + public final fun fromString (Ljava/lang/String;)Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent$UniqueGift$Origin; public fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; - public fun serialize (Lkotlinx/serialization/encoding/Encoder;Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceived$Unique$Origin;)V + public fun serialize (Lkotlinx/serialization/encoding/Encoder;Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent$UniqueGift$Origin;)V public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public final fun serializer ()Lkotlinx/serialization/KSerializer; } -public final class dev/inmo/tgbotapi/types/gifts/GiftSentOrReceived$Unique$Origin$Resale : dev/inmo/tgbotapi/types/gifts/GiftSentOrReceived$Unique$Origin { - public static final field INSTANCE Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceived$Unique$Origin$Resale; +public final class dev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent$UniqueGift$Origin$GiftedUpgrade : dev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent$UniqueGift$Origin { + public static final field INSTANCE Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent$UniqueGift$Origin$GiftedUpgrade; + public fun equals (Ljava/lang/Object;)Z public fun getString ()Ljava/lang/String; + public fun hashCode ()I public final fun serializer ()Lkotlinx/serialization/KSerializer; + public fun toString ()Ljava/lang/String; } -public final class dev/inmo/tgbotapi/types/gifts/GiftSentOrReceived$Unique$Origin$Transfer : dev/inmo/tgbotapi/types/gifts/GiftSentOrReceived$Unique$Origin { - public static final field INSTANCE Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceived$Unique$Origin$Transfer; +public final class dev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent$UniqueGift$Origin$Offer : dev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent$UniqueGift$Origin { + public static final field INSTANCE Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent$UniqueGift$Origin$Offer; + public fun equals (Ljava/lang/Object;)Z public fun getString ()Ljava/lang/String; + public fun hashCode ()I public final fun serializer ()Lkotlinx/serialization/KSerializer; + public fun toString ()Ljava/lang/String; } -public final class dev/inmo/tgbotapi/types/gifts/GiftSentOrReceived$Unique$Origin$Unknown : dev/inmo/tgbotapi/types/gifts/GiftSentOrReceived$Unique$Origin { - public static final field Companion Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceived$Unique$Origin$Unknown$Companion; - public static final synthetic fun box-impl (Ljava/lang/String;)Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceived$Unique$Origin$Unknown; +public final class dev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent$UniqueGift$Origin$Resale : dev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent$UniqueGift$Origin { + public static final field INSTANCE Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent$UniqueGift$Origin$Resale; + public fun equals (Ljava/lang/Object;)Z + public fun getString ()Ljava/lang/String; + public fun hashCode ()I + public final fun serializer ()Lkotlinx/serialization/KSerializer; + public fun toString ()Ljava/lang/String; +} + +public final class dev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent$UniqueGift$Origin$Transfer : dev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent$UniqueGift$Origin { + public static final field INSTANCE Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent$UniqueGift$Origin$Transfer; + public fun equals (Ljava/lang/Object;)Z + public fun getString ()Ljava/lang/String; + public fun hashCode ()I + public final fun serializer ()Lkotlinx/serialization/KSerializer; + public fun toString ()Ljava/lang/String; +} + +public final class dev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent$UniqueGift$Origin$Unknown : dev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent$UniqueGift$Origin { + public static final field Companion Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent$UniqueGift$Origin$Unknown$Companion; + public static final synthetic fun box-impl (Ljava/lang/String;)Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent$UniqueGift$Origin$Unknown; 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 @@ -20993,37 +22176,44 @@ public final class dev/inmo/tgbotapi/types/gifts/GiftSentOrReceived$Unique$Origi public final synthetic fun unbox-impl ()Ljava/lang/String; } -public final class dev/inmo/tgbotapi/types/gifts/GiftSentOrReceived$Unique$Origin$Unknown$Companion { +public final class dev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent$UniqueGift$Origin$Unknown$Companion { public final fun serializer ()Lkotlinx/serialization/KSerializer; } -public final class dev/inmo/tgbotapi/types/gifts/GiftSentOrReceived$Unique$Origin$Upgrade : dev/inmo/tgbotapi/types/gifts/GiftSentOrReceived$Unique$Origin { - public static final field INSTANCE Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceived$Unique$Origin$Upgrade; +public final class dev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent$UniqueGift$Origin$Upgrade : dev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent$UniqueGift$Origin { + public static final field INSTANCE Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent$UniqueGift$Origin$Upgrade; + public fun equals (Ljava/lang/Object;)Z public fun getString ()Ljava/lang/String; + public fun hashCode ()I public final fun serializer ()Lkotlinx/serialization/KSerializer; + public fun toString ()Ljava/lang/String; } -public final class dev/inmo/tgbotapi/types/gifts/GiftSentOrReceived$Unique$ReceivedInBusinessAccount : dev/inmo/tgbotapi/types/gifts/GiftSentOrReceived$ReceivedInBusinessAccount, dev/inmo/tgbotapi/types/gifts/GiftSentOrReceived$Unique { - public static final field Companion Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceived$Unique$ReceivedInBusinessAccount$Companion; - public synthetic fun (Ldev/inmo/tgbotapi/types/gifts/Gift$Unique;Ljava/lang/String;Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceived$Unique$Origin;Ljava/lang/Integer;Ljava/lang/Integer;Ldev/inmo/tgbotapi/types/TelegramDate;ILkotlin/jvm/internal/DefaultConstructorMarker;)V - public synthetic fun (Ldev/inmo/tgbotapi/types/gifts/Gift$Unique;Ljava/lang/String;Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceived$Unique$Origin;Ljava/lang/Integer;Ljava/lang/Integer;Ldev/inmo/tgbotapi/types/TelegramDate;Lkotlin/jvm/internal/DefaultConstructorMarker;)V - public synthetic fun (Ldev/inmo/tgbotapi/types/gifts/Gift$Unique;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Integer;Ljava/lang/Integer;Ldev/inmo/tgbotapi/types/TelegramDate;ILkotlin/jvm/internal/DefaultConstructorMarker;)V - public synthetic fun (Ldev/inmo/tgbotapi/types/gifts/Gift$Unique;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Integer;Ljava/lang/Integer;Ldev/inmo/tgbotapi/types/TelegramDate;Lkotlin/jvm/internal/DefaultConstructorMarker;)V +public final class dev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent$UniqueGift$ReceivedInBusinessAccount : dev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent$ReceivedInBusinessAccount, dev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent$UniqueGift { + public static final field Companion Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent$UniqueGift$ReceivedInBusinessAccount$Companion; + public synthetic fun (Ldev/inmo/tgbotapi/types/gifts/Gift$Unique;Ljava/lang/String;Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent$UniqueGift$Origin;Ljava/lang/Integer;Ljava/lang/String;Ljava/lang/Long;Ljava/lang/Integer;Ldev/inmo/tgbotapi/types/TelegramDate;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (Ldev/inmo/tgbotapi/types/gifts/Gift$Unique;Ljava/lang/String;Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent$UniqueGift$Origin;Ljava/lang/Integer;Ljava/lang/String;Ljava/lang/Long;Ljava/lang/Integer;Ldev/inmo/tgbotapi/types/TelegramDate;Lkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (Ldev/inmo/tgbotapi/types/gifts/Gift$Unique;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Integer;Ljava/lang/String;Ljava/lang/Long;Ljava/lang/Integer;Ldev/inmo/tgbotapi/types/TelegramDate;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (Ldev/inmo/tgbotapi/types/gifts/Gift$Unique;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Integer;Ljava/lang/String;Ljava/lang/Long;Ljava/lang/Integer;Ldev/inmo/tgbotapi/types/TelegramDate;Lkotlin/jvm/internal/DefaultConstructorMarker;)V public final fun component1 ()Ldev/inmo/tgbotapi/types/gifts/Gift$Unique; public final fun component2-OyCYJok ()Ljava/lang/String; - public final fun component3 ()Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceived$Unique$Origin; + public final fun component3 ()Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent$UniqueGift$Origin; public final fun component4 ()Ljava/lang/Integer; - public final fun component5 ()Ljava/lang/Integer; - public final fun component6 ()Ldev/inmo/tgbotapi/types/TelegramDate; - public final fun copy-gWCrhmI (Ldev/inmo/tgbotapi/types/gifts/Gift$Unique;Ljava/lang/String;Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceived$Unique$Origin;Ljava/lang/Integer;Ljava/lang/Integer;Ldev/inmo/tgbotapi/types/TelegramDate;)Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceived$Unique$ReceivedInBusinessAccount; - public static synthetic fun copy-gWCrhmI$default (Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceived$Unique$ReceivedInBusinessAccount;Ldev/inmo/tgbotapi/types/gifts/Gift$Unique;Ljava/lang/String;Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceived$Unique$Origin;Ljava/lang/Integer;Ljava/lang/Integer;Ldev/inmo/tgbotapi/types/TelegramDate;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceived$Unique$ReceivedInBusinessAccount; + public final fun component5 ()Ljava/lang/String; + public final fun component6 ()Ljava/lang/Long; + public final fun component7 ()Ljava/lang/Integer; + public final fun component8 ()Ldev/inmo/tgbotapi/types/TelegramDate; + public final fun copy-xVLKMpc (Ldev/inmo/tgbotapi/types/gifts/Gift$Unique;Ljava/lang/String;Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent$UniqueGift$Origin;Ljava/lang/Integer;Ljava/lang/String;Ljava/lang/Long;Ljava/lang/Integer;Ldev/inmo/tgbotapi/types/TelegramDate;)Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent$UniqueGift$ReceivedInBusinessAccount; + public static synthetic fun copy-xVLKMpc$default (Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent$UniqueGift$ReceivedInBusinessAccount;Ldev/inmo/tgbotapi/types/gifts/Gift$Unique;Ljava/lang/String;Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent$UniqueGift$Origin;Ljava/lang/Integer;Ljava/lang/String;Ljava/lang/Long;Ljava/lang/Integer;Ldev/inmo/tgbotapi/types/TelegramDate;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent$UniqueGift$ReceivedInBusinessAccount; public fun equals (Ljava/lang/Object;)Z public fun getGift ()Ldev/inmo/tgbotapi/types/gifts/Gift$Unique; public synthetic fun getGift ()Ldev/inmo/tgbotapi/types/gifts/Gift; + public fun getLastResaleAmount ()Ljava/lang/Long; + public fun getLastResaleCurrency ()Ljava/lang/String; public fun getLastResaleStarCount ()Ljava/lang/Integer; public fun getNextTransferDate ()Ldev/inmo/tgbotapi/types/TelegramDate; public fun getOrigin ()Ljava/lang/String; - public fun getOriginTyped ()Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceived$Unique$Origin; + public fun getOriginTyped ()Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent$UniqueGift$Origin; public synthetic fun getOwnedGiftId-FhTg01o ()Ljava/lang/String; public fun getOwnedGiftId-OyCYJok ()Ljava/lang/String; public fun getTransferStarCount ()Ljava/lang/Integer; @@ -21031,18 +22221,18 @@ public final class dev/inmo/tgbotapi/types/gifts/GiftSentOrReceived$Unique$Recei public fun toString ()Ljava/lang/String; } -public final synthetic class dev/inmo/tgbotapi/types/gifts/GiftSentOrReceived$Unique$ReceivedInBusinessAccount$$serializer : kotlinx/serialization/internal/GeneratedSerializer { - public static final field INSTANCE Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceived$Unique$ReceivedInBusinessAccount$$serializer; +public final synthetic class dev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent$UniqueGift$ReceivedInBusinessAccount$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent$UniqueGift$ReceivedInBusinessAccount$$serializer; public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; - public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceived$Unique$ReceivedInBusinessAccount; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent$UniqueGift$ReceivedInBusinessAccount; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; - public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceived$Unique$ReceivedInBusinessAccount;)V + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent$UniqueGift$ReceivedInBusinessAccount;)V public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; } -public final class dev/inmo/tgbotapi/types/gifts/GiftSentOrReceived$Unique$ReceivedInBusinessAccount$Companion { +public final class dev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent$UniqueGift$ReceivedInBusinessAccount$Companion { public final fun serializer ()Lkotlinx/serialization/KSerializer; } @@ -21073,6 +22263,376 @@ public final class dev/inmo/tgbotapi/types/gifts/Gifts$Companion { public final fun serializer ()Lkotlinx/serialization/KSerializer; } +public abstract interface class dev/inmo/tgbotapi/types/gifts/OwnedGift { + public static final field Companion Ldev/inmo/tgbotapi/types/gifts/OwnedGift$Companion; + public abstract fun getGift ()Ldev/inmo/tgbotapi/types/gifts/Gift; + public abstract fun getOwnedGiftId-FhTg01o ()Ljava/lang/String; + public abstract fun getSendDate ()Ldev/inmo/tgbotapi/types/TelegramDate; + public abstract fun getSenderUser ()Ldev/inmo/tgbotapi/types/chat/PreviewUser; + public abstract fun isSaved ()Z +} + +public abstract interface class dev/inmo/tgbotapi/types/gifts/OwnedGift$Common : dev/inmo/tgbotapi/types/gifts/OwnedGift { + public static final field Companion Ldev/inmo/tgbotapi/types/gifts/OwnedGift$Common$Companion; + public fun getOwnedGiftId-FhTg01o ()Ljava/lang/String; +} + +public final class dev/inmo/tgbotapi/types/gifts/OwnedGift$Common$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class dev/inmo/tgbotapi/types/gifts/OwnedGift$Common$DefaultImpls { + public static fun getOwnedGiftId-FhTg01o (Ldev/inmo/tgbotapi/types/gifts/OwnedGift$Common;)Ljava/lang/String; +} + +public final class dev/inmo/tgbotapi/types/gifts/OwnedGift$Companion : kotlinx/serialization/KSerializer { + public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/inmo/tgbotapi/types/gifts/OwnedGift; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public fun serialize (Lkotlinx/serialization/encoding/Encoder;Ldev/inmo/tgbotapi/types/gifts/OwnedGift;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public abstract interface class dev/inmo/tgbotapi/types/gifts/OwnedGift$OwnedByBusinessAccount : dev/inmo/tgbotapi/types/gifts/OwnedGift { + public static final field Companion Ldev/inmo/tgbotapi/types/gifts/OwnedGift$OwnedByBusinessAccount$Companion; + public abstract fun getOwnedGiftId-OyCYJok ()Ljava/lang/String; +} + +public final class dev/inmo/tgbotapi/types/gifts/OwnedGift$OwnedByBusinessAccount$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public abstract interface class dev/inmo/tgbotapi/types/gifts/OwnedGift$Regular : dev/inmo/tgbotapi/abstracts/TextedInput, dev/inmo/tgbotapi/types/gifts/OwnedGift { + public static final field Companion Ldev/inmo/tgbotapi/types/gifts/OwnedGift$Regular$Companion; + public abstract fun getCanBeUpgraded ()Z + public abstract fun getConvertStarCount ()Ljava/lang/Integer; + public abstract fun getGift ()Ldev/inmo/tgbotapi/types/gifts/Gift$Regular; + public abstract fun getPrepaidUpgradeStarCount ()Ljava/lang/Integer; + public abstract fun getUniqueGiftNumber ()Ljava/lang/Integer; + public abstract fun getWasRefunded ()Z + public abstract fun isPrivate ()Z + public abstract fun isUpgradeSeparate ()Z +} + +public final class dev/inmo/tgbotapi/types/gifts/OwnedGift$Regular$Common : dev/inmo/tgbotapi/types/gifts/OwnedGift$Common, dev/inmo/tgbotapi/types/gifts/OwnedGift$Regular { + public static final field Companion Ldev/inmo/tgbotapi/types/gifts/OwnedGift$Regular$Common$Companion; + public fun (Ldev/inmo/tgbotapi/types/gifts/Gift$Regular;Ldev/inmo/tgbotapi/types/TelegramDate;Ldev/inmo/tgbotapi/types/chat/PreviewUser;Ljava/lang/String;Ljava/util/List;ZZZZLjava/lang/Integer;Ljava/lang/Integer;ZLjava/lang/Integer;)V + public synthetic fun (Ldev/inmo/tgbotapi/types/gifts/Gift$Regular;Ldev/inmo/tgbotapi/types/TelegramDate;Ldev/inmo/tgbotapi/types/chat/PreviewUser;Ljava/lang/String;Ljava/util/List;ZZZZLjava/lang/Integer;Ljava/lang/Integer;ZLjava/lang/Integer;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Ldev/inmo/tgbotapi/types/gifts/Gift$Regular; + public final fun component10 ()Ljava/lang/Integer; + public final fun component11 ()Ljava/lang/Integer; + public final fun component12 ()Z + public final fun component13 ()Ljava/lang/Integer; + public final fun component2 ()Ldev/inmo/tgbotapi/types/TelegramDate; + public final fun component3 ()Ldev/inmo/tgbotapi/types/chat/PreviewUser; + public final fun component4 ()Ljava/lang/String; + public final fun component6 ()Z + public final fun component7 ()Z + public final fun component8 ()Z + public final fun component9 ()Z + public final fun copy (Ldev/inmo/tgbotapi/types/gifts/Gift$Regular;Ldev/inmo/tgbotapi/types/TelegramDate;Ldev/inmo/tgbotapi/types/chat/PreviewUser;Ljava/lang/String;Ljava/util/List;ZZZZLjava/lang/Integer;Ljava/lang/Integer;ZLjava/lang/Integer;)Ldev/inmo/tgbotapi/types/gifts/OwnedGift$Regular$Common; + public static synthetic fun copy$default (Ldev/inmo/tgbotapi/types/gifts/OwnedGift$Regular$Common;Ldev/inmo/tgbotapi/types/gifts/Gift$Regular;Ldev/inmo/tgbotapi/types/TelegramDate;Ldev/inmo/tgbotapi/types/chat/PreviewUser;Ljava/lang/String;Ljava/util/List;ZZZZLjava/lang/Integer;Ljava/lang/Integer;ZLjava/lang/Integer;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/gifts/OwnedGift$Regular$Common; + public fun equals (Ljava/lang/Object;)Z + public fun getCanBeUpgraded ()Z + public fun getConvertStarCount ()Ljava/lang/Integer; + public fun getGift ()Ldev/inmo/tgbotapi/types/gifts/Gift$Regular; + public synthetic fun getGift ()Ldev/inmo/tgbotapi/types/gifts/Gift; + public fun getOwnedGiftId-FhTg01o ()Ljava/lang/String; + public fun getPrepaidUpgradeStarCount ()Ljava/lang/Integer; + public fun getSendDate ()Ldev/inmo/tgbotapi/types/TelegramDate; + public fun getSenderUser ()Ldev/inmo/tgbotapi/types/chat/PreviewUser; + public fun getText ()Ljava/lang/String; + public fun getTextSources ()Ljava/util/List; + public fun getUniqueGiftNumber ()Ljava/lang/Integer; + public fun getWasRefunded ()Z + public fun hashCode ()I + public fun isPrivate ()Z + public fun isSaved ()Z + public fun isUpgradeSeparate ()Z + public fun toString ()Ljava/lang/String; +} + +public final synthetic class dev/inmo/tgbotapi/types/gifts/OwnedGift$Regular$Common$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Ldev/inmo/tgbotapi/types/gifts/OwnedGift$Regular$Common$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/inmo/tgbotapi/types/gifts/OwnedGift$Regular$Common; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Ldev/inmo/tgbotapi/types/gifts/OwnedGift$Regular$Common;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class dev/inmo/tgbotapi/types/gifts/OwnedGift$Regular$Common$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class dev/inmo/tgbotapi/types/gifts/OwnedGift$Regular$Companion : kotlinx/serialization/KSerializer { + public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/inmo/tgbotapi/types/gifts/OwnedGift$Regular; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public fun serialize (Lkotlinx/serialization/encoding/Encoder;Ldev/inmo/tgbotapi/types/gifts/OwnedGift$Regular;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class dev/inmo/tgbotapi/types/gifts/OwnedGift$Regular$OwnedByBusinessAccount : dev/inmo/tgbotapi/types/gifts/OwnedGift$OwnedByBusinessAccount, dev/inmo/tgbotapi/types/gifts/OwnedGift$Regular { + public static final field Companion Ldev/inmo/tgbotapi/types/gifts/OwnedGift$Regular$OwnedByBusinessAccount$Companion; + public synthetic fun (Ldev/inmo/tgbotapi/types/gifts/Gift$Regular;Ldev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/String;Ldev/inmo/tgbotapi/types/chat/PreviewUser;Ljava/lang/String;Ljava/util/List;ZZZZLjava/lang/Integer;Ljava/lang/Integer;ZLjava/lang/Integer;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (Ldev/inmo/tgbotapi/types/gifts/Gift$Regular;Ldev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/String;Ldev/inmo/tgbotapi/types/chat/PreviewUser;Ljava/lang/String;Ljava/util/List;ZZZZLjava/lang/Integer;Ljava/lang/Integer;ZLjava/lang/Integer;Lkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Ldev/inmo/tgbotapi/types/gifts/Gift$Regular; + public final fun component10 ()Z + public final fun component11 ()Ljava/lang/Integer; + public final fun component12 ()Ljava/lang/Integer; + public final fun component13 ()Z + public final fun component14 ()Ljava/lang/Integer; + public final fun component2 ()Ldev/inmo/tgbotapi/types/TelegramDate; + public final fun component3-OyCYJok ()Ljava/lang/String; + public final fun component4 ()Ldev/inmo/tgbotapi/types/chat/PreviewUser; + public final fun component5 ()Ljava/lang/String; + public final fun component7 ()Z + public final fun component8 ()Z + public final fun component9 ()Z + public final fun copy---bBB_Q (Ldev/inmo/tgbotapi/types/gifts/Gift$Regular;Ldev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/String;Ldev/inmo/tgbotapi/types/chat/PreviewUser;Ljava/lang/String;Ljava/util/List;ZZZZLjava/lang/Integer;Ljava/lang/Integer;ZLjava/lang/Integer;)Ldev/inmo/tgbotapi/types/gifts/OwnedGift$Regular$OwnedByBusinessAccount; + public static synthetic fun copy---bBB_Q$default (Ldev/inmo/tgbotapi/types/gifts/OwnedGift$Regular$OwnedByBusinessAccount;Ldev/inmo/tgbotapi/types/gifts/Gift$Regular;Ldev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/String;Ldev/inmo/tgbotapi/types/chat/PreviewUser;Ljava/lang/String;Ljava/util/List;ZZZZLjava/lang/Integer;Ljava/lang/Integer;ZLjava/lang/Integer;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/gifts/OwnedGift$Regular$OwnedByBusinessAccount; + public fun equals (Ljava/lang/Object;)Z + public fun getCanBeUpgraded ()Z + public fun getConvertStarCount ()Ljava/lang/Integer; + public fun getGift ()Ldev/inmo/tgbotapi/types/gifts/Gift$Regular; + public synthetic fun getGift ()Ldev/inmo/tgbotapi/types/gifts/Gift; + public synthetic fun getOwnedGiftId-FhTg01o ()Ljava/lang/String; + public fun getOwnedGiftId-OyCYJok ()Ljava/lang/String; + public fun getPrepaidUpgradeStarCount ()Ljava/lang/Integer; + public fun getSendDate ()Ldev/inmo/tgbotapi/types/TelegramDate; + public fun getSenderUser ()Ldev/inmo/tgbotapi/types/chat/PreviewUser; + public fun getText ()Ljava/lang/String; + public fun getTextSources ()Ljava/util/List; + public fun getUniqueGiftNumber ()Ljava/lang/Integer; + public fun getWasRefunded ()Z + public fun hashCode ()I + public fun isPrivate ()Z + public fun isSaved ()Z + public fun isUpgradeSeparate ()Z + public fun toString ()Ljava/lang/String; +} + +public final synthetic class dev/inmo/tgbotapi/types/gifts/OwnedGift$Regular$OwnedByBusinessAccount$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Ldev/inmo/tgbotapi/types/gifts/OwnedGift$Regular$OwnedByBusinessAccount$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/inmo/tgbotapi/types/gifts/OwnedGift$Regular$OwnedByBusinessAccount; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Ldev/inmo/tgbotapi/types/gifts/OwnedGift$Regular$OwnedByBusinessAccount;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class dev/inmo/tgbotapi/types/gifts/OwnedGift$Regular$OwnedByBusinessAccount$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public abstract interface class dev/inmo/tgbotapi/types/gifts/OwnedGift$Unique : dev/inmo/tgbotapi/types/gifts/OwnedGift { + public static final field Companion Ldev/inmo/tgbotapi/types/gifts/OwnedGift$Unique$Companion; + public abstract fun getCanBeTransferred ()Z + public abstract fun getGift ()Ldev/inmo/tgbotapi/types/gifts/Gift$Unique; + public abstract fun getNextTransferDate ()Ldev/inmo/tgbotapi/types/TelegramDate; + public abstract fun getTransferStarCount ()Ljava/lang/Integer; +} + +public final class dev/inmo/tgbotapi/types/gifts/OwnedGift$Unique$Common : dev/inmo/tgbotapi/types/gifts/OwnedGift$Common, dev/inmo/tgbotapi/types/gifts/OwnedGift$Unique { + public static final field Companion Ldev/inmo/tgbotapi/types/gifts/OwnedGift$Unique$Common$Companion; + public fun (Ldev/inmo/tgbotapi/types/gifts/Gift$Unique;Ldev/inmo/tgbotapi/types/TelegramDate;Ldev/inmo/tgbotapi/types/chat/PreviewUser;ZZLjava/lang/Integer;Ldev/inmo/tgbotapi/types/TelegramDate;)V + public synthetic fun (Ldev/inmo/tgbotapi/types/gifts/Gift$Unique;Ldev/inmo/tgbotapi/types/TelegramDate;Ldev/inmo/tgbotapi/types/chat/PreviewUser;ZZLjava/lang/Integer;Ldev/inmo/tgbotapi/types/TelegramDate;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Ldev/inmo/tgbotapi/types/gifts/Gift$Unique; + public final fun component2 ()Ldev/inmo/tgbotapi/types/TelegramDate; + public final fun component3 ()Ldev/inmo/tgbotapi/types/chat/PreviewUser; + public final fun component4 ()Z + public final fun component5 ()Z + public final fun component6 ()Ljava/lang/Integer; + public final fun component7 ()Ldev/inmo/tgbotapi/types/TelegramDate; + public final fun copy (Ldev/inmo/tgbotapi/types/gifts/Gift$Unique;Ldev/inmo/tgbotapi/types/TelegramDate;Ldev/inmo/tgbotapi/types/chat/PreviewUser;ZZLjava/lang/Integer;Ldev/inmo/tgbotapi/types/TelegramDate;)Ldev/inmo/tgbotapi/types/gifts/OwnedGift$Unique$Common; + public static synthetic fun copy$default (Ldev/inmo/tgbotapi/types/gifts/OwnedGift$Unique$Common;Ldev/inmo/tgbotapi/types/gifts/Gift$Unique;Ldev/inmo/tgbotapi/types/TelegramDate;Ldev/inmo/tgbotapi/types/chat/PreviewUser;ZZLjava/lang/Integer;Ldev/inmo/tgbotapi/types/TelegramDate;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/gifts/OwnedGift$Unique$Common; + public fun equals (Ljava/lang/Object;)Z + public fun getCanBeTransferred ()Z + public fun getGift ()Ldev/inmo/tgbotapi/types/gifts/Gift$Unique; + public synthetic fun getGift ()Ldev/inmo/tgbotapi/types/gifts/Gift; + public fun getNextTransferDate ()Ldev/inmo/tgbotapi/types/TelegramDate; + public fun getOwnedGiftId-FhTg01o ()Ljava/lang/String; + public fun getSendDate ()Ldev/inmo/tgbotapi/types/TelegramDate; + public fun getSenderUser ()Ldev/inmo/tgbotapi/types/chat/PreviewUser; + public fun getTransferStarCount ()Ljava/lang/Integer; + public fun hashCode ()I + public fun isSaved ()Z + public fun toString ()Ljava/lang/String; +} + +public final synthetic class dev/inmo/tgbotapi/types/gifts/OwnedGift$Unique$Common$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Ldev/inmo/tgbotapi/types/gifts/OwnedGift$Unique$Common$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/inmo/tgbotapi/types/gifts/OwnedGift$Unique$Common; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Ldev/inmo/tgbotapi/types/gifts/OwnedGift$Unique$Common;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class dev/inmo/tgbotapi/types/gifts/OwnedGift$Unique$Common$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class dev/inmo/tgbotapi/types/gifts/OwnedGift$Unique$Companion : kotlinx/serialization/KSerializer { + public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/inmo/tgbotapi/types/gifts/OwnedGift$Unique; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public fun serialize (Lkotlinx/serialization/encoding/Encoder;Ldev/inmo/tgbotapi/types/gifts/OwnedGift$Unique;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class dev/inmo/tgbotapi/types/gifts/OwnedGift$Unique$OwnedByBusinessAccount : dev/inmo/tgbotapi/types/gifts/OwnedGift$OwnedByBusinessAccount, dev/inmo/tgbotapi/types/gifts/OwnedGift$Unique { + public static final field Companion Ldev/inmo/tgbotapi/types/gifts/OwnedGift$Unique$OwnedByBusinessAccount$Companion; + public synthetic fun (Ldev/inmo/tgbotapi/types/gifts/Gift$Unique;Ldev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/String;Ldev/inmo/tgbotapi/types/chat/PreviewUser;ZZLjava/lang/Integer;Ldev/inmo/tgbotapi/types/TelegramDate;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (Ldev/inmo/tgbotapi/types/gifts/Gift$Unique;Ldev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/String;Ldev/inmo/tgbotapi/types/chat/PreviewUser;ZZLjava/lang/Integer;Ldev/inmo/tgbotapi/types/TelegramDate;Lkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Ldev/inmo/tgbotapi/types/gifts/Gift$Unique; + public final fun component2 ()Ldev/inmo/tgbotapi/types/TelegramDate; + public final fun component3-OyCYJok ()Ljava/lang/String; + public final fun component4 ()Ldev/inmo/tgbotapi/types/chat/PreviewUser; + public final fun component5 ()Z + public final fun component6 ()Z + public final fun component7 ()Ljava/lang/Integer; + public final fun component8 ()Ldev/inmo/tgbotapi/types/TelegramDate; + public final fun copy-o5IlDPI (Ldev/inmo/tgbotapi/types/gifts/Gift$Unique;Ldev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/String;Ldev/inmo/tgbotapi/types/chat/PreviewUser;ZZLjava/lang/Integer;Ldev/inmo/tgbotapi/types/TelegramDate;)Ldev/inmo/tgbotapi/types/gifts/OwnedGift$Unique$OwnedByBusinessAccount; + public static synthetic fun copy-o5IlDPI$default (Ldev/inmo/tgbotapi/types/gifts/OwnedGift$Unique$OwnedByBusinessAccount;Ldev/inmo/tgbotapi/types/gifts/Gift$Unique;Ldev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/String;Ldev/inmo/tgbotapi/types/chat/PreviewUser;ZZLjava/lang/Integer;Ldev/inmo/tgbotapi/types/TelegramDate;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/gifts/OwnedGift$Unique$OwnedByBusinessAccount; + public fun equals (Ljava/lang/Object;)Z + public fun getCanBeTransferred ()Z + public fun getGift ()Ldev/inmo/tgbotapi/types/gifts/Gift$Unique; + public synthetic fun getGift ()Ldev/inmo/tgbotapi/types/gifts/Gift; + public fun getNextTransferDate ()Ldev/inmo/tgbotapi/types/TelegramDate; + public synthetic fun getOwnedGiftId-FhTg01o ()Ljava/lang/String; + public fun getOwnedGiftId-OyCYJok ()Ljava/lang/String; + public fun getSendDate ()Ldev/inmo/tgbotapi/types/TelegramDate; + public fun getSenderUser ()Ldev/inmo/tgbotapi/types/chat/PreviewUser; + public fun getTransferStarCount ()Ljava/lang/Integer; + public fun hashCode ()I + public fun isSaved ()Z + public fun toString ()Ljava/lang/String; +} + +public final synthetic class dev/inmo/tgbotapi/types/gifts/OwnedGift$Unique$OwnedByBusinessAccount$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Ldev/inmo/tgbotapi/types/gifts/OwnedGift$Unique$OwnedByBusinessAccount$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/inmo/tgbotapi/types/gifts/OwnedGift$Unique$OwnedByBusinessAccount; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Ldev/inmo/tgbotapi/types/gifts/OwnedGift$Unique$OwnedByBusinessAccount;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class dev/inmo/tgbotapi/types/gifts/OwnedGift$Unique$OwnedByBusinessAccount$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public abstract interface class dev/inmo/tgbotapi/types/gifts/Rarity { + public static final field Companion Ldev/inmo/tgbotapi/types/gifts/Rarity$Companion; + public abstract fun getName ()Ljava/lang/String; +} + +public final class dev/inmo/tgbotapi/types/gifts/Rarity$Companion : kotlinx/serialization/KSerializer { + public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/inmo/tgbotapi/types/gifts/Rarity; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun fromString (Ljava/lang/String;)Ldev/inmo/tgbotapi/types/gifts/Rarity; + public fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public fun serialize (Lkotlinx/serialization/encoding/Encoder;Ldev/inmo/tgbotapi/types/gifts/Rarity;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class dev/inmo/tgbotapi/types/gifts/Rarity$Custom : dev/inmo/tgbotapi/types/gifts/Rarity { + public static final field Companion Ldev/inmo/tgbotapi/types/gifts/Rarity$Custom$Companion; + public fun (Ljava/lang/String;)V + public final fun component1 ()Ljava/lang/String; + public final fun copy (Ljava/lang/String;)Ldev/inmo/tgbotapi/types/gifts/Rarity$Custom; + public static synthetic fun copy$default (Ldev/inmo/tgbotapi/types/gifts/Rarity$Custom;Ljava/lang/String;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/gifts/Rarity$Custom; + public fun equals (Ljava/lang/Object;)Z + public fun getName ()Ljava/lang/String; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public final class dev/inmo/tgbotapi/types/gifts/Rarity$Custom$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class dev/inmo/tgbotapi/types/gifts/Rarity$Epic : dev/inmo/tgbotapi/types/gifts/Rarity { + public static final field INSTANCE Ldev/inmo/tgbotapi/types/gifts/Rarity$Epic; + public fun equals (Ljava/lang/Object;)Z + public fun getName ()Ljava/lang/String; + public fun hashCode ()I + public final fun serializer ()Lkotlinx/serialization/KSerializer; + public fun toString ()Ljava/lang/String; +} + +public final class dev/inmo/tgbotapi/types/gifts/Rarity$Legendary : dev/inmo/tgbotapi/types/gifts/Rarity { + public static final field INSTANCE Ldev/inmo/tgbotapi/types/gifts/Rarity$Legendary; + public fun equals (Ljava/lang/Object;)Z + public fun getName ()Ljava/lang/String; + public fun hashCode ()I + public final fun serializer ()Lkotlinx/serialization/KSerializer; + public fun toString ()Ljava/lang/String; +} + +public final class dev/inmo/tgbotapi/types/gifts/Rarity$Rare : dev/inmo/tgbotapi/types/gifts/Rarity { + public static final field INSTANCE Ldev/inmo/tgbotapi/types/gifts/Rarity$Rare; + public fun equals (Ljava/lang/Object;)Z + public fun getName ()Ljava/lang/String; + public fun hashCode ()I + public final fun serializer ()Lkotlinx/serialization/KSerializer; + public fun toString ()Ljava/lang/String; +} + +public final class dev/inmo/tgbotapi/types/gifts/Rarity$Uncommon : dev/inmo/tgbotapi/types/gifts/Rarity { + public static final field INSTANCE Ldev/inmo/tgbotapi/types/gifts/Rarity$Uncommon; + public fun equals (Ljava/lang/Object;)Z + public fun getName ()Ljava/lang/String; + public fun hashCode ()I + public final fun serializer ()Lkotlinx/serialization/KSerializer; + public fun toString ()Ljava/lang/String; +} + +public final class dev/inmo/tgbotapi/types/gifts/UniqueGiftName { + public static final field Companion Ldev/inmo/tgbotapi/types/gifts/UniqueGiftName$Companion; + public static final synthetic fun box-impl (Ljava/lang/String;)Ldev/inmo/tgbotapi/types/gifts/UniqueGiftName; + public static fun constructor-impl (Ljava/lang/String;)Ljava/lang/String; + public fun equals (Ljava/lang/Object;)Z + public static fun equals-impl (Ljava/lang/String;Ljava/lang/Object;)Z + public static final fun equals-impl0 (Ljava/lang/String;Ljava/lang/String;)Z + public static final fun getNftLink-impl (Ljava/lang/String;)Ljava/lang/String; + public final fun getValue ()Ljava/lang/String; + public fun hashCode ()I + public static fun hashCode-impl (Ljava/lang/String;)I + public fun toString ()Ljava/lang/String; + public static fun toString-impl (Ljava/lang/String;)Ljava/lang/String; + public final synthetic fun unbox-impl ()Ljava/lang/String; +} + +public final synthetic class dev/inmo/tgbotapi/types/gifts/UniqueGiftName$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Ldev/inmo/tgbotapi/types/gifts/UniqueGiftName$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun deserialize-4tr4HlA (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/String; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public final fun serialize-auPfXtg (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/String;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class dev/inmo/tgbotapi/types/gifts/UniqueGiftName$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + public final class dev/inmo/tgbotapi/types/gifts/unique/UniqueGiftBackdrop { public static final field Companion Ldev/inmo/tgbotapi/types/gifts/unique/UniqueGiftBackdrop$Companion; public fun (Ljava/lang/String;Ldev/inmo/tgbotapi/types/gifts/unique/UniqueGiftBackdropColors;I)V @@ -21137,16 +22697,56 @@ public final class dev/inmo/tgbotapi/types/gifts/unique/UniqueGiftBackdropColors public final fun serializer ()Lkotlinx/serialization/KSerializer; } +public final class dev/inmo/tgbotapi/types/gifts/unique/UniqueGiftColors { + public static final field Companion Ldev/inmo/tgbotapi/types/gifts/unique/UniqueGiftColors$Companion; + public synthetic fun (Ljava/lang/String;Ljava/lang/String;ILjava/util/List;ILjava/util/List;Lkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1-dDnjveI ()Ljava/lang/String; + public final fun component2-dDnjveI ()Ljava/lang/String; + public final fun component3-m7U56J0 ()I + public final fun component4 ()Ljava/util/List; + public final fun component5-m7U56J0 ()I + public final fun component6 ()Ljava/util/List; + public final fun copy-sW_a04w (Ljava/lang/String;Ljava/lang/String;ILjava/util/List;ILjava/util/List;)Ldev/inmo/tgbotapi/types/gifts/unique/UniqueGiftColors; + public static synthetic fun copy-sW_a04w$default (Ldev/inmo/tgbotapi/types/gifts/unique/UniqueGiftColors;Ljava/lang/String;Ljava/lang/String;ILjava/util/List;ILjava/util/List;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/gifts/unique/UniqueGiftColors; + public fun equals (Ljava/lang/Object;)Z + public final fun getDarkThemeMainColor-m7U56J0 ()I + public final fun getDarkThemeOtherColors ()Ljava/util/List; + public final fun getLightThemeMainColor-m7U56J0 ()I + public final fun getLightThemeOtherColors ()Ljava/util/List; + public final fun getModelCustomEmojiId-dDnjveI ()Ljava/lang/String; + public final fun getSymbolCustomEmojiId-dDnjveI ()Ljava/lang/String; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public final synthetic class dev/inmo/tgbotapi/types/gifts/unique/UniqueGiftColors$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Ldev/inmo/tgbotapi/types/gifts/unique/UniqueGiftColors$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/inmo/tgbotapi/types/gifts/unique/UniqueGiftColors; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Ldev/inmo/tgbotapi/types/gifts/unique/UniqueGiftColors;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class dev/inmo/tgbotapi/types/gifts/unique/UniqueGiftColors$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + public final class dev/inmo/tgbotapi/types/gifts/unique/UniqueGiftModel { public static final field Companion Ldev/inmo/tgbotapi/types/gifts/unique/UniqueGiftModel$Companion; - public fun (Ljava/lang/String;Ldev/inmo/tgbotapi/types/files/Sticker;I)V + public fun (Ljava/lang/String;Ldev/inmo/tgbotapi/types/files/Sticker;ILdev/inmo/tgbotapi/types/gifts/Rarity;)V + public synthetic fun (Ljava/lang/String;Ldev/inmo/tgbotapi/types/files/Sticker;ILdev/inmo/tgbotapi/types/gifts/Rarity;ILkotlin/jvm/internal/DefaultConstructorMarker;)V public final fun component1 ()Ljava/lang/String; public final fun component2 ()Ldev/inmo/tgbotapi/types/files/Sticker; public final fun component3 ()I - public final fun copy (Ljava/lang/String;Ldev/inmo/tgbotapi/types/files/Sticker;I)Ldev/inmo/tgbotapi/types/gifts/unique/UniqueGiftModel; - public static synthetic fun copy$default (Ldev/inmo/tgbotapi/types/gifts/unique/UniqueGiftModel;Ljava/lang/String;Ldev/inmo/tgbotapi/types/files/Sticker;IILjava/lang/Object;)Ldev/inmo/tgbotapi/types/gifts/unique/UniqueGiftModel; + public final fun component4 ()Ldev/inmo/tgbotapi/types/gifts/Rarity; + public final fun copy (Ljava/lang/String;Ldev/inmo/tgbotapi/types/files/Sticker;ILdev/inmo/tgbotapi/types/gifts/Rarity;)Ldev/inmo/tgbotapi/types/gifts/unique/UniqueGiftModel; + public static synthetic fun copy$default (Ldev/inmo/tgbotapi/types/gifts/unique/UniqueGiftModel;Ljava/lang/String;Ldev/inmo/tgbotapi/types/files/Sticker;ILdev/inmo/tgbotapi/types/gifts/Rarity;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/gifts/unique/UniqueGiftModel; public fun equals (Ljava/lang/Object;)Z public final fun getName ()Ljava/lang/String; + public final fun getRarity ()Ldev/inmo/tgbotapi/types/gifts/Rarity; public final fun getRarityPerMille ()I public final fun getSticker ()Ldev/inmo/tgbotapi/types/files/Sticker; public fun hashCode ()I @@ -22354,6 +23954,62 @@ public final class dev/inmo/tgbotapi/types/message/ChatEvents/ChatBoostAdded$Com public final fun serializer ()Lkotlinx/serialization/KSerializer; } +public final class dev/inmo/tgbotapi/types/message/ChatEvents/ChatOwnerChanged : dev/inmo/tgbotapi/types/message/ChatEvents/abstracts/PublicChatEvent { + public static final field Companion Ldev/inmo/tgbotapi/types/message/ChatEvents/ChatOwnerChanged$Companion; + public fun (Ldev/inmo/tgbotapi/types/chat/CommonUser;)V + public final fun component1 ()Ldev/inmo/tgbotapi/types/chat/CommonUser; + public final fun copy (Ldev/inmo/tgbotapi/types/chat/CommonUser;)Ldev/inmo/tgbotapi/types/message/ChatEvents/ChatOwnerChanged; + public static synthetic fun copy$default (Ldev/inmo/tgbotapi/types/message/ChatEvents/ChatOwnerChanged;Ldev/inmo/tgbotapi/types/chat/CommonUser;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/message/ChatEvents/ChatOwnerChanged; + public fun equals (Ljava/lang/Object;)Z + public final fun getNewOwner ()Ldev/inmo/tgbotapi/types/chat/CommonUser; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public final synthetic class dev/inmo/tgbotapi/types/message/ChatEvents/ChatOwnerChanged$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Ldev/inmo/tgbotapi/types/message/ChatEvents/ChatOwnerChanged$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/inmo/tgbotapi/types/message/ChatEvents/ChatOwnerChanged; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Ldev/inmo/tgbotapi/types/message/ChatEvents/ChatOwnerChanged;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class dev/inmo/tgbotapi/types/message/ChatEvents/ChatOwnerChanged$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class dev/inmo/tgbotapi/types/message/ChatEvents/ChatOwnerLeft : dev/inmo/tgbotapi/types/message/ChatEvents/abstracts/PublicChatEvent { + public static final field Companion Ldev/inmo/tgbotapi/types/message/ChatEvents/ChatOwnerLeft$Companion; + public fun ()V + public fun (Ldev/inmo/tgbotapi/types/chat/CommonUser;)V + public synthetic fun (Ldev/inmo/tgbotapi/types/chat/CommonUser;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Ldev/inmo/tgbotapi/types/chat/CommonUser; + public final fun copy (Ldev/inmo/tgbotapi/types/chat/CommonUser;)Ldev/inmo/tgbotapi/types/message/ChatEvents/ChatOwnerLeft; + public static synthetic fun copy$default (Ldev/inmo/tgbotapi/types/message/ChatEvents/ChatOwnerLeft;Ldev/inmo/tgbotapi/types/chat/CommonUser;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/message/ChatEvents/ChatOwnerLeft; + public fun equals (Ljava/lang/Object;)Z + public final fun getNewOwner ()Ldev/inmo/tgbotapi/types/chat/CommonUser; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public final synthetic class dev/inmo/tgbotapi/types/message/ChatEvents/ChatOwnerLeft$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Ldev/inmo/tgbotapi/types/message/ChatEvents/ChatOwnerLeft$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/inmo/tgbotapi/types/message/ChatEvents/ChatOwnerLeft; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Ldev/inmo/tgbotapi/types/message/ChatEvents/ChatOwnerLeft;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class dev/inmo/tgbotapi/types/message/ChatEvents/ChatOwnerLeft$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + public final class dev/inmo/tgbotapi/types/message/ChatEvents/DeleteChatPhoto : dev/inmo/tgbotapi/types/message/ChatEvents/abstracts/PublicChatEvent { public fun ()V } @@ -22559,6 +24215,9 @@ public abstract interface class dev/inmo/tgbotapi/types/message/ChatEvents/abstr public abstract interface class dev/inmo/tgbotapi/types/message/ChatEvents/abstracts/PrivateEvent : dev/inmo/tgbotapi/types/message/ChatEvents/abstracts/ChatEvent { } +public abstract interface class dev/inmo/tgbotapi/types/message/ChatEvents/abstracts/PrivateForumEvent : dev/inmo/tgbotapi/types/message/ChatEvents/abstracts/PrivateEvent { +} + public abstract interface class dev/inmo/tgbotapi/types/message/ChatEvents/abstracts/PublicChatEvent : dev/inmo/tgbotapi/types/message/ChatEvents/abstracts/ChannelEvent, dev/inmo/tgbotapi/types/message/ChatEvents/abstracts/GroupEvent, dev/inmo/tgbotapi/types/message/ChatEvents/abstracts/SupergroupEvent { } @@ -22573,20 +24232,22 @@ public final class dev/inmo/tgbotapi/types/message/ChatEvents/forum/ForumTopicCl public final fun serializer ()Lkotlinx/serialization/KSerializer; } -public final class dev/inmo/tgbotapi/types/message/ChatEvents/forum/ForumTopicCreated : dev/inmo/tgbotapi/types/message/ChatEvents/abstracts/ForumEvent { +public final class dev/inmo/tgbotapi/types/message/ChatEvents/forum/ForumTopicCreated : dev/inmo/tgbotapi/types/message/ChatEvents/abstracts/ForumEvent, dev/inmo/tgbotapi/types/message/ChatEvents/abstracts/PrivateForumEvent { public static final field Companion Ldev/inmo/tgbotapi/types/message/ChatEvents/forum/ForumTopicCreated$Companion; - public synthetic fun (Ljava/lang/String;ILjava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V - public synthetic fun (Ljava/lang/String;ILjava/lang/String;Lkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (Ljava/lang/String;ILjava/lang/String;ZILkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (Ljava/lang/String;ILjava/lang/String;ZLkotlin/jvm/internal/DefaultConstructorMarker;)V public final fun component1 ()Ljava/lang/String; public final fun component2-m7U56J0 ()I public final fun component3-GbmMWyQ ()Ljava/lang/String; - public final fun copy-GmL9sco (Ljava/lang/String;ILjava/lang/String;)Ldev/inmo/tgbotapi/types/message/ChatEvents/forum/ForumTopicCreated; - public static synthetic fun copy-GmL9sco$default (Ldev/inmo/tgbotapi/types/message/ChatEvents/forum/ForumTopicCreated;Ljava/lang/String;ILjava/lang/String;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/message/ChatEvents/forum/ForumTopicCreated; + public final fun component4 ()Z + public final fun copy-S4ZqXGo (Ljava/lang/String;ILjava/lang/String;Z)Ldev/inmo/tgbotapi/types/message/ChatEvents/forum/ForumTopicCreated; + public static synthetic fun copy-S4ZqXGo$default (Ldev/inmo/tgbotapi/types/message/ChatEvents/forum/ForumTopicCreated;Ljava/lang/String;ILjava/lang/String;ZILjava/lang/Object;)Ldev/inmo/tgbotapi/types/message/ChatEvents/forum/ForumTopicCreated; public fun equals (Ljava/lang/Object;)Z public final fun getIconColor-m7U56J0 ()I public final fun getIconEmojiId-GbmMWyQ ()Ljava/lang/String; public final fun getName ()Ljava/lang/String; public fun hashCode ()I + public final fun isNameImplicit ()Z public fun toString ()Ljava/lang/String; } @@ -22605,7 +24266,7 @@ public final class dev/inmo/tgbotapi/types/message/ChatEvents/forum/ForumTopicCr public final fun serializer ()Lkotlinx/serialization/KSerializer; } -public final class dev/inmo/tgbotapi/types/message/ChatEvents/forum/ForumTopicEdited : dev/inmo/tgbotapi/types/message/ChatEvents/abstracts/ForumEvent { +public final class dev/inmo/tgbotapi/types/message/ChatEvents/forum/ForumTopicEdited : dev/inmo/tgbotapi/types/message/ChatEvents/abstracts/ForumEvent, dev/inmo/tgbotapi/types/message/ChatEvents/abstracts/PrivateForumEvent { public static final field Companion Ldev/inmo/tgbotapi/types/message/ChatEvents/forum/ForumTopicEdited$Companion; public synthetic fun (Ljava/lang/String;Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V public synthetic fun (Ljava/lang/String;Ljava/lang/String;Lkotlin/jvm/internal/DefaultConstructorMarker;)V @@ -24072,6 +25733,79 @@ public final class dev/inmo/tgbotapi/types/message/PrivateEventMessage : dev/inm public fun toString ()Ljava/lang/String; } +public final class dev/inmo/tgbotapi/types/message/PrivateForumContentMessageImpl : dev/inmo/tgbotapi/types/message/abstracts/PrivateForumContentMessage { + public synthetic fun (JJLdev/inmo/tgbotapi/types/message/ChatEvents/forum/ForumTopicCreated;Ldev/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;ZLjava/lang/String;Ljava/lang/Integer;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (JJLdev/inmo/tgbotapi/types/message/ChatEvents/forum/ForumTopicCreated;Ldev/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;ZLjava/lang/String;Ljava/lang/Integer;Lkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1-APLFQys ()J + public final fun component10 ()Ldev/inmo/tgbotapi/types/message/MessageOrigin; + public final fun component11 ()Ldev/inmo/tgbotapi/types/ReplyInfo; + public final fun component12 ()Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup; + public final fun component13 ()Ldev/inmo/tgbotapi/types/chat/CommonBot; + public final fun component14-CsYhHCU ()Ljava/lang/String; + public final fun component15 ()Z + public final fun component16-Ts0V7ak ()Ljava/lang/String; + public final fun component17 ()Ljava/lang/Integer; + public final fun component2-hDmiKeI ()J + public final fun component3 ()Ldev/inmo/tgbotapi/types/message/ChatEvents/forum/ForumTopicCreated; + public final fun component4 ()Ldev/inmo/tgbotapi/types/chat/User; + public final fun component5 ()Ldev/inmo/tgbotapi/types/chat/PreviewPrivateChat; + public final fun component6 ()Ldev/inmo/tgbotapi/types/message/content/MessageContent; + public final fun component7-Wg0KzQs ()D + public final fun component8-Ivn3T5g ()Lkorlibs/time/DateTime; + public final fun component9 ()Z + public final fun copy-aUUcC2o (JJLdev/inmo/tgbotapi/types/message/ChatEvents/forum/ForumTopicCreated;Ldev/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;ZLjava/lang/String;Ljava/lang/Integer;)Ldev/inmo/tgbotapi/types/message/PrivateForumContentMessageImpl; + public static synthetic fun copy-aUUcC2o$default (Ldev/inmo/tgbotapi/types/message/PrivateForumContentMessageImpl;JJLdev/inmo/tgbotapi/types/message/ChatEvents/forum/ForumTopicCreated;Ldev/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;ZLjava/lang/String;Ljava/lang/Integer;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/message/PrivateForumContentMessageImpl; + public fun equals (Ljava/lang/Object;)Z + public fun getBusinessConnectionId-nXr5wdE ()Ljava/lang/String; + public synthetic fun getChat ()Ldev/inmo/tgbotapi/types/chat/PreviewChat; + public fun getChat ()Ldev/inmo/tgbotapi/types/chat/PreviewPrivateChat; + public fun getContent ()Ldev/inmo/tgbotapi/types/message/content/MessageContent; + public fun getCost ()Ljava/lang/Integer; + public fun getDate-Wg0KzQs ()D + public fun getEditDate-Ivn3T5g ()Lkorlibs/time/DateTime; + public fun getEffectId-Ts0V7ak ()Ljava/lang/String; + public fun getForwardInfo ()Ldev/inmo/tgbotapi/types/message/ForwardInfo; + public fun getForwardOrigin ()Ldev/inmo/tgbotapi/types/message/MessageOrigin; + public fun getForwardable ()Z + public fun getFrom ()Ldev/inmo/tgbotapi/types/chat/User; + public fun getFromOffline ()Z + public fun getHasProtectedContent ()Z + 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; + public fun getReplyMarkup ()Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup; + public fun getReplyTo ()Ldev/inmo/tgbotapi/types/message/abstracts/Message; + public fun getSenderBot ()Ldev/inmo/tgbotapi/types/chat/CommonBot; + public fun getThreadCreatingInfo ()Ldev/inmo/tgbotapi/types/message/ChatEvents/forum/ForumTopicCreated; + public synthetic fun getThreadId-S3HF-10 ()Ldev/inmo/tgbotapi/types/MessageThreadId; + public fun getThreadId-hDmiKeI ()J + public fun getUser ()Ldev/inmo/tgbotapi/types/chat/User; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public final class dev/inmo/tgbotapi/types/message/PrivateForumEventMessage : dev/inmo/tgbotapi/types/message/abstracts/ChatEventMessage { + public synthetic fun (JLdev/inmo/tgbotapi/types/chat/PreviewPrivateForumChat;Ldev/inmo/tgbotapi/types/message/ChatEvents/abstracts/PrivateForumEvent;DLkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1-APLFQys ()J + public final fun component2 ()Ldev/inmo/tgbotapi/types/chat/PreviewPrivateForumChat; + public final fun component3 ()Ldev/inmo/tgbotapi/types/message/ChatEvents/abstracts/PrivateForumEvent; + public final fun component4-Wg0KzQs ()D + public final fun copy-pLZ1Az8 (JLdev/inmo/tgbotapi/types/chat/PreviewPrivateForumChat;Ldev/inmo/tgbotapi/types/message/ChatEvents/abstracts/PrivateForumEvent;D)Ldev/inmo/tgbotapi/types/message/PrivateForumEventMessage; + public static synthetic fun copy-pLZ1Az8$default (Ldev/inmo/tgbotapi/types/message/PrivateForumEventMessage;JLdev/inmo/tgbotapi/types/chat/PreviewPrivateForumChat;Ldev/inmo/tgbotapi/types/message/ChatEvents/abstracts/PrivateForumEvent;DILjava/lang/Object;)Ldev/inmo/tgbotapi/types/message/PrivateForumEventMessage; + public fun equals (Ljava/lang/Object;)Z + public fun getBusinessConnectionId-nXr5wdE ()Ljava/lang/String; + public synthetic fun getChat ()Ldev/inmo/tgbotapi/types/chat/PreviewChat; + public fun getChat ()Ldev/inmo/tgbotapi/types/chat/PreviewPrivateForumChat; + public synthetic fun getChatEvent ()Ldev/inmo/tgbotapi/types/message/ChatEvents/abstracts/ChatEvent; + public fun getChatEvent ()Ldev/inmo/tgbotapi/types/message/ChatEvents/abstracts/PrivateForumEvent; + public fun getDate-Wg0KzQs ()D + public fun getMessageId-APLFQys ()J + public fun getMetaInfo-fV8YnZ8 ()Lkotlin/Triple; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + public final class dev/inmo/tgbotapi/types/message/RawMessageEntity { public static final field Companion Ldev/inmo/tgbotapi/types/message/RawMessageEntity$Companion; public synthetic fun (Ljava/lang/String;IILjava/lang/String;Ldev/inmo/tgbotapi/types/chat/User;Ljava/lang/String;Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V @@ -24736,6 +26470,19 @@ public final class dev/inmo/tgbotapi/types/message/abstracts/PrivateContentMessa public static fun getUser (Ldev/inmo/tgbotapi/types/message/abstracts/PrivateContentMessage;)Ldev/inmo/tgbotapi/types/chat/User; } +public abstract interface class dev/inmo/tgbotapi/types/message/abstracts/PrivateForumContentMessage : dev/inmo/tgbotapi/types/message/abstracts/PossiblyTopicMessage, dev/inmo/tgbotapi/types/message/abstracts/PrivateContentMessage { + public abstract fun getThreadId-hDmiKeI ()J +} + +public final class dev/inmo/tgbotapi/types/message/abstracts/PrivateForumContentMessage$DefaultImpls { + public static fun getBusinessConnectionId-nXr5wdE (Ldev/inmo/tgbotapi/types/message/abstracts/PrivateForumContentMessage;)Ljava/lang/String; + public static fun getForwardInfo (Ldev/inmo/tgbotapi/types/message/abstracts/PrivateForumContentMessage;)Ldev/inmo/tgbotapi/types/message/ForwardInfo; + public static fun getForwardable (Ldev/inmo/tgbotapi/types/message/abstracts/PrivateForumContentMessage;)Z + public static fun getMetaInfo-fV8YnZ8 (Ldev/inmo/tgbotapi/types/message/abstracts/PrivateForumContentMessage;)Lkotlin/Triple; + public static fun getReplyTo (Ldev/inmo/tgbotapi/types/message/abstracts/PrivateForumContentMessage;)Ldev/inmo/tgbotapi/types/message/abstracts/Message; + public static fun getUser (Ldev/inmo/tgbotapi/types/message/abstracts/PrivateForumContentMessage;)Ldev/inmo/tgbotapi/types/chat/User; +} + public abstract interface class dev/inmo/tgbotapi/types/message/abstracts/PublicContentMessage : dev/inmo/tgbotapi/types/message/abstracts/PossiblySentViaBotCommonMessage { public abstract fun getChat ()Ldev/inmo/tgbotapi/types/chat/PreviewPublicChat; } @@ -26676,19 +28423,19 @@ public final class dev/inmo/tgbotapi/types/message/textsources/TextMentionTextSo } public final class dev/inmo/tgbotapi/types/message/textsources/TextMentionTextSourceKt { + public static final fun mentionTextSource (Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;)Ldev/inmo/tgbotapi/types/message/textsources/TextMentionTextSource; + public static final fun mentionTextSource (Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/util/List;)Ldev/inmo/tgbotapi/types/message/textsources/TextMentionTextSource; public static final fun mentionTextSource (Ldev/inmo/tgbotapi/types/chat/User;Ljava/lang/String;)Ldev/inmo/tgbotapi/types/message/textsources/TextMentionTextSource; public static final fun mentionTextSource (Ldev/inmo/tgbotapi/types/chat/User;Ljava/util/List;)Ldev/inmo/tgbotapi/types/message/textsources/TextMentionTextSource; public static final fun mentionTextSource (Ldev/inmo/tgbotapi/types/chat/User;[Ldev/inmo/tgbotapi/types/message/textsources/TextSource;)Ldev/inmo/tgbotapi/types/message/textsources/TextMentionTextSource; + public static final fun mentionTextSource (Ljava/lang/String;Ldev/inmo/tgbotapi/types/IdChatIdentifier;)Ldev/inmo/tgbotapi/types/message/textsources/TextMentionTextSource; public static final fun mentionTextSource (Ljava/lang/String;Ldev/inmo/tgbotapi/types/chat/User;)Ldev/inmo/tgbotapi/types/message/textsources/TextMentionTextSource; + public static final fun mentionTextSource (Ljava/util/List;Ldev/inmo/tgbotapi/types/IdChatIdentifier;)Ldev/inmo/tgbotapi/types/message/textsources/TextMentionTextSource; public static final fun mentionTextSource (Ljava/util/List;Ldev/inmo/tgbotapi/types/chat/User;)Ldev/inmo/tgbotapi/types/message/textsources/TextMentionTextSource; - public static final fun mentionTextSource-WiG6Fm4 (Ljava/lang/String;J)Ldev/inmo/tgbotapi/types/message/textsources/TextMentionTextSource; - public static final fun mentionTextSource-WiG6Fm4 (Ljava/util/List;J)Ldev/inmo/tgbotapi/types/message/textsources/TextMentionTextSource; public static final fun mentionTextSource-tJfg6EE (Ljava/lang/String;J)Ldev/inmo/tgbotapi/types/message/textsources/TextMentionTextSource; public static final fun mentionTextSource-tJfg6EE (Ljava/util/List;J)Ldev/inmo/tgbotapi/types/message/textsources/TextMentionTextSource; public static final fun mentionTextSource-tafjJLY (JLjava/lang/String;)Ldev/inmo/tgbotapi/types/message/textsources/TextMentionTextSource; public static final fun mentionTextSource-tafjJLY (JLjava/util/List;)Ldev/inmo/tgbotapi/types/message/textsources/TextMentionTextSource; - public static final fun mentionTextSource-zv9neSE (JLjava/lang/String;)Ldev/inmo/tgbotapi/types/message/textsources/TextMentionTextSource; - public static final fun mentionTextSource-zv9neSE (JLjava/util/List;)Ldev/inmo/tgbotapi/types/message/textsources/TextMentionTextSource; } public abstract interface class dev/inmo/tgbotapi/types/message/textsources/TextSource { @@ -30329,18 +32076,18 @@ public abstract interface class dev/inmo/tgbotapi/types/request/RequestResponse public final class dev/inmo/tgbotapi/types/request/SharedUser { public static final field Companion Ldev/inmo/tgbotapi/types/request/SharedUser$Companion; - public synthetic fun (JLjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;ILkotlin/jvm/internal/DefaultConstructorMarker;)V - public synthetic fun (JLjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Lkotlin/jvm/internal/DefaultConstructorMarker;)V - public final fun component1-tHkBKVM ()J + public synthetic fun (Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Lkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Ldev/inmo/tgbotapi/types/IdChatIdentifier; public final fun component2 ()Ljava/lang/String; public final fun component3 ()Ljava/lang/String; public final fun component4-san03mo ()Ljava/lang/String; public final fun component5-oW4O2Ik ()Ljava/util/List; - public final fun copy-SWCZU9g (JLjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;)Ldev/inmo/tgbotapi/types/request/SharedUser; - public static synthetic fun copy-SWCZU9g$default (Ldev/inmo/tgbotapi/types/request/SharedUser;JLjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/request/SharedUser; + public final fun copy-e8RgZI8 (Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;)Ldev/inmo/tgbotapi/types/request/SharedUser; + public static synthetic fun copy-e8RgZI8$default (Ldev/inmo/tgbotapi/types/request/SharedUser;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/request/SharedUser; public fun equals (Ljava/lang/Object;)Z public final fun getFirstName ()Ljava/lang/String; - public final fun getId-tHkBKVM ()J + public final fun getId ()Ldev/inmo/tgbotapi/types/IdChatIdentifier; public final fun getLastName ()Ljava/lang/String; public final fun getPhoto-oW4O2Ik ()Ljava/util/List; public final fun getUsername-san03mo ()Ljava/lang/String; @@ -30375,7 +32122,7 @@ public final class dev/inmo/tgbotapi/types/request/UsersShared : dev/inmo/tgbota public synthetic fun getChatId ()Ldev/inmo/tgbotapi/types/ChatIdentifier; public fun getChatId-tHkBKVM ()J public fun getRequestId-2_3u2Cg ()S - public final fun getUserId-tHkBKVM ()J + public final fun getUserId ()Ldev/inmo/tgbotapi/types/IdChatIdentifier; public final fun getUserIds ()Ljava/util/List; public final fun getUsers ()Ljava/util/List; public fun hashCode ()I @@ -30394,7 +32141,7 @@ public final synthetic class dev/inmo/tgbotapi/types/request/UsersShared$$serial } public final class dev/inmo/tgbotapi/types/request/UsersShared$Companion { - public final fun invoke-R2qJWkU (SJ)Ldev/inmo/tgbotapi/types/request/UsersShared; + public final fun invoke-_AeHyeE (SLdev/inmo/tgbotapi/types/IdChatIdentifier;)Ldev/inmo/tgbotapi/types/request/UsersShared; public final fun invoke-_AeHyeE (SLjava/util/List;)Ldev/inmo/tgbotapi/types/request/UsersShared; public final fun serializer ()Lkotlinx/serialization/KSerializer; } @@ -31042,12 +32789,12 @@ public final class dev/inmo/tgbotapi/types/stories/StoryAreaType$Type$Companion public final class dev/inmo/tgbotapi/types/stories/StoryAreaType$UniqueGift : dev/inmo/tgbotapi/types/stories/StoryAreaType { public static final field Companion Ldev/inmo/tgbotapi/types/stories/StoryAreaType$UniqueGift$Companion; - public fun (Ljava/lang/String;)V - public final fun component1 ()Ljava/lang/String; - public final fun copy (Ljava/lang/String;)Ldev/inmo/tgbotapi/types/stories/StoryAreaType$UniqueGift; - public static synthetic fun copy$default (Ldev/inmo/tgbotapi/types/stories/StoryAreaType$UniqueGift;Ljava/lang/String;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/stories/StoryAreaType$UniqueGift; + public synthetic fun (Ljava/lang/String;Lkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1-4ZXEuVc ()Ljava/lang/String; + public final fun copy-myabBg0 (Ljava/lang/String;)Ldev/inmo/tgbotapi/types/stories/StoryAreaType$UniqueGift; + public static synthetic fun copy-myabBg0$default (Ldev/inmo/tgbotapi/types/stories/StoryAreaType$UniqueGift;Ljava/lang/String;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/stories/StoryAreaType$UniqueGift; public fun equals (Ljava/lang/Object;)Z - public final fun getName ()Ljava/lang/String; + public final fun getName-4ZXEuVc ()Ljava/lang/String; public fun getType ()Ldev/inmo/tgbotapi/types/stories/StoryAreaType$Type; public fun hashCode ()I public fun toString ()Ljava/lang/String; @@ -31940,6 +33687,14 @@ public final class dev/inmo/tgbotapi/utils/DeserializeWithUnknownKt { public static final fun deserializeWithRaw (Lkotlinx/serialization/encoding/Decoder;Lkotlinx/serialization/KSerializer;)Lkotlin/Pair; } +public final class dev/inmo/tgbotapi/utils/DraftIdAllocator { + public fun ()V + public final fun allocate-2sDQ-Rg (Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public final fun free-NZs9fbA (JLkotlin/coroutines/Continuation;)Ljava/lang/Object; + public final fun getAllocated ()Ljava/util/Set; + public final fun getMutex ()Lkotlinx/coroutines/sync/Mutex; +} + public final class dev/inmo/tgbotapi/utils/EntitiesBuilder { public fun ()V public fun (Ldev/inmo/tgbotapi/types/message/textsources/TextSource;)V @@ -32038,26 +33793,26 @@ public final class dev/inmo/tgbotapi/utils/EntitiesBuilderKt { public static final fun link (Ldev/inmo/tgbotapi/utils/EntitiesBuilder;Ljava/lang/String;Ljava/lang/String;)Ldev/inmo/tgbotapi/utils/EntitiesBuilder; public static final fun linkln (Ldev/inmo/tgbotapi/utils/EntitiesBuilder;Ljava/lang/String;)Ldev/inmo/tgbotapi/utils/EntitiesBuilder; public static final fun linkln (Ldev/inmo/tgbotapi/utils/EntitiesBuilder;Ljava/lang/String;Ljava/lang/String;)Ldev/inmo/tgbotapi/utils/EntitiesBuilder; + public static final fun mention (Ldev/inmo/tgbotapi/utils/EntitiesBuilder;Ldev/inmo/tgbotapi/types/IdChatIdentifier;[Ldev/inmo/tgbotapi/types/message/textsources/TextSource;)Ldev/inmo/tgbotapi/utils/EntitiesBuilder; public static final fun mention (Ldev/inmo/tgbotapi/utils/EntitiesBuilder;Ldev/inmo/tgbotapi/types/chat/User;[Ldev/inmo/tgbotapi/types/message/textsources/TextSource;)Ldev/inmo/tgbotapi/utils/EntitiesBuilder; public static final fun mention (Ldev/inmo/tgbotapi/utils/EntitiesBuilder;Ljava/lang/String;)Ldev/inmo/tgbotapi/utils/EntitiesBuilder; + public static final fun mention (Ldev/inmo/tgbotapi/utils/EntitiesBuilder;Ljava/lang/String;Ldev/inmo/tgbotapi/types/IdChatIdentifier;)Ldev/inmo/tgbotapi/utils/EntitiesBuilder; public static final fun mention (Ldev/inmo/tgbotapi/utils/EntitiesBuilder;Ljava/lang/String;Ldev/inmo/tgbotapi/types/chat/User;)Ldev/inmo/tgbotapi/utils/EntitiesBuilder; public static final fun mention (Ldev/inmo/tgbotapi/utils/EntitiesBuilder;Ljava/util/List;)Ldev/inmo/tgbotapi/utils/EntitiesBuilder; + public static final fun mention (Ldev/inmo/tgbotapi/utils/EntitiesBuilder;Ljava/util/List;Ldev/inmo/tgbotapi/types/IdChatIdentifier;)Ldev/inmo/tgbotapi/utils/EntitiesBuilder; public static final fun mention (Ldev/inmo/tgbotapi/utils/EntitiesBuilder;Ljava/util/List;Ldev/inmo/tgbotapi/types/chat/User;)Ldev/inmo/tgbotapi/utils/EntitiesBuilder; public static final fun mention (Ldev/inmo/tgbotapi/utils/EntitiesBuilder;Lkotlin/jvm/functions/Function1;)Ldev/inmo/tgbotapi/utils/EntitiesBuilder; public static final fun mention (Ldev/inmo/tgbotapi/utils/EntitiesBuilder;[Ldev/inmo/tgbotapi/types/message/textsources/TextSource;)Ldev/inmo/tgbotapi/utils/EntitiesBuilder; - public static final fun mention-dEpx-Zg (Ldev/inmo/tgbotapi/utils/EntitiesBuilder;J[Ldev/inmo/tgbotapi/types/message/textsources/TextSource;)Ldev/inmo/tgbotapi/utils/EntitiesBuilder; - public static final fun mention-rcVkPyE (Ldev/inmo/tgbotapi/utils/EntitiesBuilder;Ljava/lang/String;J)Ldev/inmo/tgbotapi/utils/EntitiesBuilder; - public static final fun mention-rcVkPyE (Ldev/inmo/tgbotapi/utils/EntitiesBuilder;Ljava/util/List;J)Ldev/inmo/tgbotapi/utils/EntitiesBuilder; + public static final fun mentionln (Ldev/inmo/tgbotapi/utils/EntitiesBuilder;Ldev/inmo/tgbotapi/types/IdChatIdentifier;[Ldev/inmo/tgbotapi/types/message/textsources/TextSource;)Ldev/inmo/tgbotapi/utils/EntitiesBuilder; public static final fun mentionln (Ldev/inmo/tgbotapi/utils/EntitiesBuilder;Ldev/inmo/tgbotapi/types/chat/User;[Ldev/inmo/tgbotapi/types/message/textsources/TextSource;)Ldev/inmo/tgbotapi/utils/EntitiesBuilder; public static final fun mentionln (Ldev/inmo/tgbotapi/utils/EntitiesBuilder;Ljava/lang/String;)Ldev/inmo/tgbotapi/utils/EntitiesBuilder; + public static final fun mentionln (Ldev/inmo/tgbotapi/utils/EntitiesBuilder;Ljava/lang/String;Ldev/inmo/tgbotapi/types/IdChatIdentifier;)Ldev/inmo/tgbotapi/utils/EntitiesBuilder; public static final fun mentionln (Ldev/inmo/tgbotapi/utils/EntitiesBuilder;Ljava/lang/String;Ldev/inmo/tgbotapi/types/chat/User;)Ldev/inmo/tgbotapi/utils/EntitiesBuilder; public static final fun mentionln (Ldev/inmo/tgbotapi/utils/EntitiesBuilder;Ljava/util/List;)Ldev/inmo/tgbotapi/utils/EntitiesBuilder; + public static final fun mentionln (Ldev/inmo/tgbotapi/utils/EntitiesBuilder;Ljava/util/List;Ldev/inmo/tgbotapi/types/IdChatIdentifier;)Ldev/inmo/tgbotapi/utils/EntitiesBuilder; public static final fun mentionln (Ldev/inmo/tgbotapi/utils/EntitiesBuilder;Ljava/util/List;Ldev/inmo/tgbotapi/types/chat/User;)Ldev/inmo/tgbotapi/utils/EntitiesBuilder; public static final fun mentionln (Ldev/inmo/tgbotapi/utils/EntitiesBuilder;Lkotlin/jvm/functions/Function1;)Ldev/inmo/tgbotapi/utils/EntitiesBuilder; public static final fun mentionln (Ldev/inmo/tgbotapi/utils/EntitiesBuilder;[Ldev/inmo/tgbotapi/types/message/textsources/TextSource;)Ldev/inmo/tgbotapi/utils/EntitiesBuilder; - public static final fun mentionln-dEpx-Zg (Ldev/inmo/tgbotapi/utils/EntitiesBuilder;J[Ldev/inmo/tgbotapi/types/message/textsources/TextSource;)Ldev/inmo/tgbotapi/utils/EntitiesBuilder; - public static final fun mentionln-rcVkPyE (Ldev/inmo/tgbotapi/utils/EntitiesBuilder;Ljava/lang/String;J)Ldev/inmo/tgbotapi/utils/EntitiesBuilder; - public static final fun mentionln-rcVkPyE (Ldev/inmo/tgbotapi/utils/EntitiesBuilder;Ljava/util/List;J)Ldev/inmo/tgbotapi/utils/EntitiesBuilder; public static final fun phone (Ldev/inmo/tgbotapi/utils/EntitiesBuilder;Ljava/lang/String;)Ldev/inmo/tgbotapi/utils/EntitiesBuilder; public static final fun phone (Ldev/inmo/tgbotapi/utils/EntitiesBuilder;Ljava/util/List;)Ldev/inmo/tgbotapi/utils/EntitiesBuilder; public static final fun phone (Ldev/inmo/tgbotapi/utils/EntitiesBuilder;Lkotlin/jvm/functions/Function1;)Ldev/inmo/tgbotapi/utils/EntitiesBuilder; diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/ForwardMessage.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/ForwardMessage.kt index b1ad932eb5..1b4a06899a 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/ForwardMessage.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/ForwardMessage.kt @@ -2,6 +2,7 @@ package dev.inmo.tgbotapi.requests import dev.inmo.tgbotapi.abstracts.WithCustomStartMediaData import dev.inmo.tgbotapi.abstracts.types.MessageAction +import dev.inmo.tgbotapi.abstracts.types.OptionallyWithEffectId import dev.inmo.tgbotapi.abstracts.types.ProtectContent import dev.inmo.tgbotapi.requests.abstracts.SimpleRequest import dev.inmo.tgbotapi.requests.send.abstracts.OptionallyDirectMessageThreadRequest @@ -37,6 +38,8 @@ data class ForwardMessage( val disableNotification: Boolean = false, @SerialName(protectContentField) override val protectContent: Boolean = false, + @SerialName(messageEffectIdField) + override val effectId: EffectId? = null, @SerialName(suggestedPostParametersField) override val suggestedPostParameters: SuggestedPostParameters? = null ): SimpleRequest, @@ -45,7 +48,8 @@ data class ForwardMessage( OptionallyMessageThreadRequest, OptionallyDirectMessageThreadRequest, OptionallySuggestedPostRequest, - WithCustomStartMediaData { + WithCustomStartMediaData, + OptionallyWithEffectId { override val chatId: ChatIdentifier get() = fromChatId diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/bot/RemoveMyProfilePhoto.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/bot/RemoveMyProfilePhoto.kt new file mode 100644 index 0000000000..6a9cb13aa4 --- /dev/null +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/bot/RemoveMyProfilePhoto.kt @@ -0,0 +1,16 @@ +package dev.inmo.tgbotapi.requests.bot + +import dev.inmo.tgbotapi.requests.abstracts.SimpleRequest +import kotlinx.serialization.DeserializationStrategy +import kotlinx.serialization.Serializable +import kotlinx.serialization.SerializationStrategy +import kotlinx.serialization.builtins.serializer + +@Serializable +object RemoveMyProfilePhoto : SimpleRequest { + override fun method(): String = "removeMyProfilePhoto" + override val resultDeserializer: DeserializationStrategy + get() = Boolean.serializer() + override val requestSerializer: SerializationStrategy<*> + get() = serializer() +} diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/bot/SetMyProfilePhoto.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/bot/SetMyProfilePhoto.kt new file mode 100644 index 0000000000..7a00d05bf4 --- /dev/null +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/bot/SetMyProfilePhoto.kt @@ -0,0 +1,29 @@ +package dev.inmo.tgbotapi.requests.bot + +import dev.inmo.tgbotapi.requests.abstracts.* +import dev.inmo.tgbotapi.requests.business_connection.InputProfilePhoto +import dev.inmo.tgbotapi.types.photoField +import kotlinx.serialization.* +import kotlinx.serialization.builtins.serializer +import kotlinx.serialization.json.JsonObject + +@Serializable +data class SetMyProfilePhoto( + @SerialName(photoField) + val photo: InputProfilePhoto +) : MultipartRequest.Common { + override fun method(): String = "setMyProfilePhoto" + + override val resultDeserializer: DeserializationStrategy + get() = Boolean.serializer() + override val requestSerializer: SerializationStrategy<*> + get() = serializer() + + override val data: SimpleRequest + get() = this + + @Suppress("SERIALIZER_TYPE_INCOMPATIBLE") + override val mediaMap: Map = mapOf( + photo.mediaPair + ) +} diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/business_connection/GetBusinessAccountGifts.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/business_connection/GetBusinessAccountGifts.kt index 7eb5a071b2..7c5bbf2085 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/business_connection/GetBusinessAccountGifts.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/business_connection/GetBusinessAccountGifts.kt @@ -8,16 +8,20 @@ import dev.inmo.tgbotapi.types.business_connection.BusinessConnectionId import dev.inmo.tgbotapi.types.excludeUnsavedField import dev.inmo.tgbotapi.types.excludeSavedField import dev.inmo.tgbotapi.types.excludeUnlimitedField -import dev.inmo.tgbotapi.types.excludeLimitedField +import dev.inmo.tgbotapi.types.excludeLimitedUpgradableField +import dev.inmo.tgbotapi.types.excludeLimitedNonUpgradableField import dev.inmo.tgbotapi.types.excludeUniqueField +import dev.inmo.tgbotapi.types.excludeFromBlockchainField import dev.inmo.tgbotapi.types.sortByPriceField import dev.inmo.tgbotapi.types.offsetField import dev.inmo.tgbotapi.types.limitField -import dev.inmo.tgbotapi.types.gifts.GiftSentOrReceived +import dev.inmo.tgbotapi.types.gifts.GiftSentOrReceivedEvent +import dev.inmo.tgbotapi.types.gifts.OwnedGift import kotlinx.serialization.DeserializationStrategy import kotlinx.serialization.SerialName import kotlinx.serialization.Serializable import kotlinx.serialization.SerializationStrategy +import kotlinx.serialization.builtins.serializer @Serializable data class GetBusinessAccountGifts( @@ -29,26 +33,30 @@ data class GetBusinessAccountGifts( val excludeSaved: Boolean = false, @SerialName(excludeUnlimitedField) val excludeUnlimited: Boolean = false, - @SerialName(excludeLimitedField) - val excludeLimited: Boolean = false, + @SerialName(excludeLimitedUpgradableField) + val excludeLimitedUpgradable: Boolean = false, + @SerialName(excludeLimitedNonUpgradableField) + val excludeLimitedNonUpgradable: Boolean = false, @SerialName(excludeUniqueField) val excludeUnique: Boolean = false, + @SerialName(excludeFromBlockchainField) + val excludeFromBlockchain: Boolean = false, @SerialName(sortByPriceField) val sortByPrice: Boolean = false, @SerialName(offsetField) val offset: String? = null, @SerialName(limitField) val limit: Int? = null, -) : BusinessRequest.Simple> { +) : BusinessRequest.Simple> { override fun method(): String = "getBusinessAccountGifts" - override val resultDeserializer: DeserializationStrategy> + override val resultDeserializer: DeserializationStrategy> get() = Companion.resultSerializer override val requestSerializer: SerializationStrategy<*> get() = serializer() companion object { @Warning("This API can be changed without any warranties of backward compatibility") - val resultSerializer = OwnedGifts.serializer(GiftSentOrReceived.ReceivedInBusinessAccount.serializer()) + val resultSerializer = OwnedGifts.serializer(OwnedGift.OwnedByBusinessAccount.serializer()) } } \ No newline at end of file diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/get/GetUserProfileAudios.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/get/GetUserProfileAudios.kt new file mode 100644 index 0000000000..8846aa88dd --- /dev/null +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/get/GetUserProfileAudios.kt @@ -0,0 +1,32 @@ +package dev.inmo.tgbotapi.requests.get + +import dev.inmo.tgbotapi.requests.abstracts.SimpleRequest +import dev.inmo.tgbotapi.types.* +import dev.inmo.tgbotapi.types.UserProfileAudios +import kotlinx.serialization.* + +@Serializable +data class GetUserProfileAudios( + @Suppress("SERIALIZER_TYPE_INCOMPATIBLE") + @SerialName(userIdField) + val userId: UserId, + @SerialName(offsetField) + val offset: Int? = null, + @SerialName(limitField) + val limit: Int? = null +): SimpleRequest { + init { + if (offset != null && offset < 0) { + throw IllegalArgumentException("Offset for getting user profile audios must be positive") + } + if (limit != null && limit !in userProfileAudiosRequestLimit) { + throw IllegalArgumentException("Limit for getting user profile audios must be in 0 .. 100 range") + } + } + + override fun method(): String = "getUserProfileAudios" + override val resultDeserializer: DeserializationStrategy + get() = UserProfileAudios.serializer() + override val requestSerializer: SerializationStrategy<*> + get() = serializer() +} diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/gifts/GetChatGifts.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/gifts/GetChatGifts.kt new file mode 100644 index 0000000000..b48c91e2ad --- /dev/null +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/gifts/GetChatGifts.kt @@ -0,0 +1,62 @@ +package dev.inmo.tgbotapi.requests.gifts + +import dev.inmo.micro_utils.common.Warning +import dev.inmo.tgbotapi.abstracts.types.ChatRequest +import dev.inmo.tgbotapi.requests.abstracts.SimpleRequest +import dev.inmo.tgbotapi.types.ChatIdentifier +import dev.inmo.tgbotapi.types.OwnedGifts +import dev.inmo.tgbotapi.types.chatIdField +import dev.inmo.tgbotapi.types.excludeUnsavedField +import dev.inmo.tgbotapi.types.excludeSavedField +import dev.inmo.tgbotapi.types.excludeUnlimitedField +import dev.inmo.tgbotapi.types.excludeLimitedUpgradableField +import dev.inmo.tgbotapi.types.excludeLimitedNonUpgradableField +import dev.inmo.tgbotapi.types.excludeFromBlockchainField +import dev.inmo.tgbotapi.types.excludeUniqueField +import dev.inmo.tgbotapi.types.sortByPriceField +import dev.inmo.tgbotapi.types.gifts.GiftSentOrReceivedEvent +import dev.inmo.tgbotapi.types.gifts.OwnedGift +import dev.inmo.tgbotapi.types.limitField +import dev.inmo.tgbotapi.types.offsetField +import kotlinx.serialization.DeserializationStrategy +import kotlinx.serialization.SerialName +import kotlinx.serialization.Serializable +import kotlinx.serialization.SerializationStrategy + +@Serializable +data class GetChatGifts( + @SerialName(chatIdField) + override val chatId: ChatIdentifier, + @SerialName(excludeUnsavedField) + val excludeUnsaved: Boolean = false, + @SerialName(excludeSavedField) + val excludeSaved: Boolean = false, + @SerialName(excludeUnlimitedField) + val excludeUnlimited: Boolean = false, + @SerialName(excludeLimitedUpgradableField) + val excludeLimitedUpgradable: Boolean = false, + @SerialName(excludeLimitedNonUpgradableField) + val excludeLimitedNonUpgradable: Boolean = false, + @SerialName(excludeFromBlockchainField) + val excludeFromBlockchain: Boolean = false, + @SerialName(excludeUniqueField) + val excludeUnique: Boolean = false, + @SerialName(sortByPriceField) + val sortByPrice: Boolean = false, + @SerialName(offsetField) + val offset: String? = null, + @SerialName(limitField) + val limit: Int? = null, +) : SimpleRequest>, ChatRequest { + override fun method(): String = "getChatGifts" + + override val resultDeserializer: DeserializationStrategy> + get() = Companion.resultSerializer + override val requestSerializer: SerializationStrategy<*> + get() = serializer() + + companion object { + @Warning("This API can be changed without any warranties of backward compatibility") + val resultSerializer = OwnedGifts.serializer(OwnedGift.Common.serializer()) + } +} diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/gifts/GetUserGifts.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/gifts/GetUserGifts.kt new file mode 100644 index 0000000000..5ca40bee63 --- /dev/null +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/gifts/GetUserGifts.kt @@ -0,0 +1,56 @@ +package dev.inmo.tgbotapi.requests.gifts + +import dev.inmo.micro_utils.common.Warning +import dev.inmo.tgbotapi.requests.abstracts.SimpleRequest +import dev.inmo.tgbotapi.types.OwnedGifts +import dev.inmo.tgbotapi.types.UserId +import dev.inmo.tgbotapi.types.excludeUnlimitedField +import dev.inmo.tgbotapi.types.excludeLimitedUpgradableField +import dev.inmo.tgbotapi.types.excludeLimitedNonUpgradableField +import dev.inmo.tgbotapi.types.excludeFromBlockchainField +import dev.inmo.tgbotapi.types.excludeUniqueField +import dev.inmo.tgbotapi.types.sortByPriceField +import dev.inmo.tgbotapi.types.gifts.GiftSentOrReceivedEvent +import dev.inmo.tgbotapi.types.gifts.OwnedGift +import dev.inmo.tgbotapi.types.limitField +import dev.inmo.tgbotapi.types.offsetField +import dev.inmo.tgbotapi.types.userIdField +import kotlinx.serialization.DeserializationStrategy +import kotlinx.serialization.SerialName +import kotlinx.serialization.Serializable +import kotlinx.serialization.SerializationStrategy + +@Serializable +data class GetUserGifts( + @Suppress("SERIALIZER_TYPE_INCOMPATIBLE") + @SerialName(userIdField) + val userId: UserId, + @SerialName(excludeUnlimitedField) + val excludeUnlimited: Boolean = false, + @SerialName(excludeLimitedUpgradableField) + val excludeLimitedUpgradable: Boolean = false, + @SerialName(excludeLimitedNonUpgradableField) + val excludeLimitedNonUpgradable: Boolean = false, + @SerialName(excludeFromBlockchainField) + val excludeFromBlockchain: Boolean = false, + @SerialName(excludeUniqueField) + val excludeUnique: Boolean = false, + @SerialName(sortByPriceField) + val sortByPrice: Boolean = false, + @SerialName(offsetField) + val offset: String? = null, + @SerialName(limitField) + val limit: Int? = null, +) : SimpleRequest> { + override fun method(): String = "getUserGifts" + + override val resultDeserializer: DeserializationStrategy> + get() = Companion.resultSerializer + override val requestSerializer: SerializationStrategy<*> + get() = serializer() + + companion object { + @Warning("This API can be changed without any warranties of backward compatibility") + val resultSerializer = OwnedGifts.serializer(OwnedGift.Common.serializer()) + } +} diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/send/CopyMessage.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/send/CopyMessage.kt index 8f565b3a79..d51df08e4f 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/send/CopyMessage.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/send/CopyMessage.kt @@ -5,6 +5,7 @@ package dev.inmo.tgbotapi.requests.send import dev.inmo.tgbotapi.abstracts.TextedOutput import dev.inmo.tgbotapi.abstracts.WithCustomStartMediaData import dev.inmo.tgbotapi.abstracts.types.MessageAction +import dev.inmo.tgbotapi.abstracts.types.OptionallyWithEffectId import dev.inmo.tgbotapi.abstracts.types.ProtectContent import dev.inmo.tgbotapi.requests.abstracts.SimpleRequest import dev.inmo.tgbotapi.requests.send.abstracts.OptionallyMessageThreadRequest @@ -95,6 +96,7 @@ fun CopyMessage( disableNotification: Boolean = false, protectContent: Boolean = false, allowPaidBroadcast: Boolean = false, + effectId: EffectId? = null, suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null @@ -112,6 +114,7 @@ fun CopyMessage( disableNotification = disableNotification, protectContent = protectContent, allowPaidBroadcast = allowPaidBroadcast, + effectId = effectId, suggestedPostParameters = suggestedPostParameters, replyParameters = replyParameters, replyMarkup = replyMarkup @@ -129,6 +132,7 @@ fun CopyMessage( disableNotification: Boolean = false, protectContent: Boolean = false, allowPaidBroadcast: Boolean = false, + effectId: EffectId? = null, suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null @@ -146,6 +150,7 @@ fun CopyMessage( disableNotification = disableNotification, protectContent = protectContent, allowPaidBroadcast = allowPaidBroadcast, + effectId = effectId, suggestedPostParameters = suggestedPostParameters, replyParameters = replyParameters, replyMarkup = replyMarkup @@ -184,6 +189,8 @@ data class CopyMessage internal constructor( override val protectContent: Boolean = false, @SerialName(allowPaidBroadcastField) override val allowPaidBroadcast: Boolean = false, + @SerialName(messageEffectIdField) + override val effectId: EffectId? = null, @SerialName(suggestedPostParametersField) override val suggestedPostParameters: SuggestedPostParameters? = null, @SerialName(replyParametersField) @@ -197,7 +204,8 @@ data class CopyMessage internal constructor( TextedOutput, ProtectContent, OptionallyMessageThreadRequest, - WithCustomStartMediaData { + WithCustomStartMediaData, + OptionallyWithEffectId { override val chatId: ChatIdentifier get() = fromChatId override val textSources: List? by lazy { diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/send/SendMessageDraft.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/send/SendMessageDraft.kt new file mode 100644 index 0000000000..fca355c99f --- /dev/null +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/send/SendMessageDraft.kt @@ -0,0 +1,85 @@ +package dev.inmo.tgbotapi.requests.send + +import dev.inmo.tgbotapi.abstracts.TextedOutput +import dev.inmo.tgbotapi.requests.send.abstracts.* +import dev.inmo.tgbotapi.types.* +import dev.inmo.tgbotapi.types.message.textsources.TextSourcesList +import dev.inmo.tgbotapi.types.message.ParseMode +import dev.inmo.tgbotapi.types.message.parseModeField +import dev.inmo.tgbotapi.types.message.* +import dev.inmo.tgbotapi.types.message.RawMessageEntity +import dev.inmo.tgbotapi.types.message.abstracts.ContentMessage +import dev.inmo.tgbotapi.types.message.abstracts.TelegramBotAPIMessageDeserializationStrategyClass +import dev.inmo.tgbotapi.types.message.content.TextContent +import dev.inmo.tgbotapi.types.message.toRawMessageEntities +import dev.inmo.tgbotapi.utils.extensions.makeString +import dev.inmo.tgbotapi.utils.throwRangeError +import kotlinx.serialization.* +import kotlinx.serialization.builtins.serializer + +fun SendMessageDraft( + chatId: IdChatIdentifier, + draftId: DraftId, + text: String, + parseMode: ParseMode? = null, + threadId: MessageThreadId? = chatId.threadId +) = SendMessageDraft( + chatId = chatId, + draftId = draftId, + text = text, + parseMode = parseMode, + rawEntities = null, + threadId = threadId +) + +fun SendMessageDraft( + chatId: IdChatIdentifier, + draftId: DraftId, + entities: TextSourcesList, + threadId: MessageThreadId? = chatId.threadId +) = SendMessageDraft( + chatId = chatId, + draftId = draftId, + text = entities.makeString(), + parseMode = null, + rawEntities = entities.toRawMessageEntities(), + threadId = threadId +) + +@ConsistentCopyVisibility +@Serializable +data class SendMessageDraft internal constructor( + @SerialName(chatIdField) + override val chatId: IdChatIdentifier, + @SerialName(draftIdField) + val draftId: DraftId, + @SerialName(textField) + override val text: String, + @SerialName(parseModeField) + override val parseMode: ParseMode? = null, + @SerialName(entitiesField) + private val rawEntities: List? = null, + @OptIn(ExperimentalSerializationApi::class) + @SerialName(messageThreadIdField) + @EncodeDefault + override val threadId: MessageThreadId? = chatId.threadId +) : SendChatMessageRequest, + TextedOutput, + OptionallyMessageThreadRequest +{ + override val textSources: TextSourcesList? by lazy { + rawEntities ?.asTextSources(text) + } + + init { + if (text.length !in textLength) { + throwRangeError("Text length", textLength, text.length) + } + } + + override fun method(): String = "sendMessageDraft" + override val resultDeserializer: DeserializationStrategy + get() = Boolean.serializer() + override val requestSerializer: SerializationStrategy<*> + get() = serializer() +} diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/stories/RepostStory.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/stories/RepostStory.kt new file mode 100644 index 0000000000..d15579f6e7 --- /dev/null +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/stories/RepostStory.kt @@ -0,0 +1,34 @@ +package dev.inmo.tgbotapi.requests.stories + +import dev.inmo.tgbotapi.abstracts.types.WithBusinessConnectionId +import dev.inmo.tgbotapi.requests.abstracts.SimpleRequest +import dev.inmo.tgbotapi.types.* +import dev.inmo.tgbotapi.types.business_connection.BusinessConnectionId +import dev.inmo.tgbotapi.types.stories.Story +import kotlinx.serialization.DeserializationStrategy +import kotlinx.serialization.SerialName +import kotlinx.serialization.Serializable +import kotlinx.serialization.SerializationStrategy + +@Serializable +data class RepostStory( + @SerialName(businessConnectionIdField) + override val businessConnectionId: BusinessConnectionId, + @SerialName(fromChatIdField) + val fromChatId: IdChatIdentifier, + @SerialName(fromStoryIdField) + val storyId: StoryId, + @SerialName(activePeriodField) + val activePeriod: Seconds, + @SerialName(postToChatPageField) + val postToChatPage: Boolean = false, + @SerialName(protectContentField) + val protectContent: Boolean = false, +) : SimpleRequest, WithBusinessConnectionId { + override fun method(): String = "repostStory" + + override val requestSerializer: SerializationStrategy<*> + get() = serializer() + override val resultDeserializer: DeserializationStrategy + get() = Story.serializer() +} diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/ChatIdentifier.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/ChatIdentifier.kt index b5ba8672c0..2b76f630f7 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/ChatIdentifier.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/ChatIdentifier.kt @@ -123,9 +123,9 @@ val RawChatId.userLink: String val UserId.userLink: String get() = chatId.userLink val User.userLink: String - get() = id.userLink + get() = id.toChatId().userLink -typealias UserId = ChatId +typealias UserId = IdChatIdentifier fun RawChatId.toChatId(): ChatId = ChatId(this) fun Long.toChatId(): ChatId = ChatId(RawChatId(this)) diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/Common.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/Common.kt index acd46bf678..414d72e1be 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/Common.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/Common.kt @@ -58,7 +58,8 @@ val callbackQueryAnswerLength = 0 until 200 val captionLength = 0 .. 1024 val storyCaptionLength = 0 .. 2048 val textLength = 1 .. 4096 -val userProfilePhotosRequestLimit = 0 .. 100 +val userProfilePhotosRequestLimit = 1 .. 100 +val userProfileAudiosRequestLimit = 1 .. 100 val chatTitleLength = 1 until 255 val threadNameLength = 1 until 128 val chatDescriptionLength = 0 until 256 @@ -174,6 +175,7 @@ const val languageCodeField = "language_code" const val addedToAttachmentMenuField = "added_to_attachment_menu" const val allowsWriteToPMField = "allows_write_to_pm" const val isPremiumField = "is_premium" +const val isBurnedField = "is_burned" const val hasPrivateForwardsField = "has_private_forwards" const val hasRestrictedVoiceAndVideoMessagesField = "has_restricted_voice_and_video_messages" const val emojiStatusCustomEmojiIdField = "emoji_status_custom_emoji_id" @@ -190,6 +192,8 @@ const val unrestrictBoostsCountField = "unrestrict_boost_count" const val customEmojiStickerSetNameField = "custom_emoji_sticker_set_name" const val iconCustomEmojiIdField = "icon_custom_emoji_id" const val hasMainWebAppField = "has_main_web_app" +const val hasTopicsEnabledField = "has_topics_enabled" +const val allowUsersToCreateTopicsField = "allows_users_to_create_topics" const val canJoinGroupsField = "can_join_groups" const val canReadAllGroupMessagesField = "can_read_all_group_messages" const val canReplyField = "can_reply" @@ -313,8 +317,10 @@ const val createsJoinRequestField = "creates_join_request" const val pendingJoinRequestCountField = "pending_join_request_count" const val memberLimitField = "member_limit" const val iconColorField = "icon_color" +const val isNameImplicitField = "is_name_implicit" const val emojiListField = "emoji_list" const val completedByUserField = "completed_by_user" +const val completedByChatField = "completed_by_chat" const val completionDateField = "completion_date" const val titleEntitiesField = "title_entities" const val tasksField = "tasks" @@ -325,6 +331,8 @@ const val checklistMessageField = "checklist_message" const val markedAsDoneTaskIdsField = "marked_as_done_task_ids" const val markedAsNotDoneTaskIdsField = "marked_as_not_done_task_ids" +const val styleField = "style" + const val requestContactField = "request_contact" const val requestLocationField = "request_location" const val requestPollField = "request_poll" @@ -358,6 +366,7 @@ const val fileIdField = "file_id" const val fileSizeField = "file_size" const val fileDateField = "file_date" const val filePathField = "file_path" +const val qualitiesField = "qualities" const val requestWriteAccessField = "request_write_access" @@ -479,6 +488,7 @@ const val headingField = "heading" const val fromField = "from" const val userChatIdField = "user_chat_id" const val userField = "user" +const val newOwnerField = "new_owner" const val dateField = "date" const val reactionsField = "reactions" const val reactionField = "reaction" @@ -529,12 +539,15 @@ const val subscriptionPeriodField = "subscription_period" const val subscriptionPriceField = "subscription_price" const val copyTextField = "copy_text" const val topicIdField = "topic_id" +const val draftIdField = "draft_id" const val isPublicField = "is_public" const val giftField = "gift" +const val giftUpgradeSentField = "gift_upgrade_sent" const val giftsField = "gifts" const val rarityPerMilleField = "rarity_per_mille" +const val rarityField = "rarity" const val acceptedGiftTypesField = "accepted_gift_types" const val ownedGiftIdField = "owned_gift_id" const val convertStarCountField = "convert_star_count" @@ -545,6 +558,8 @@ const val isDirectMessagesField = "is_direct_messages" const val nextTransferDateField = "next_transfer_date" const val transferStarCountField = "transfer_star_count" const val lastResaleStarCountField = "last_resale_star_count" +const val lastResaleCurrencyField = "last_resale_currency" +const val lastResaleAmountField = "last_resale_amount" const val newOwnerChatIdField = "new_owner_chat_id" const val pointField = "point" @@ -597,6 +612,7 @@ const val shippingOptionsField = "shipping_options" const val countryCodeField = "country_code" const val countryCodesField = "country_codes" const val totalCountField = "total_count" +const val audiosField = "audios" const val remainingCountField = "remaining_count" const val stateField = "state" const val cityField = "city" @@ -648,10 +664,18 @@ const val mediaField = "media" const val mainFrameTimestampField = "main_frame_timestamp" +const val firstProfileAudioField = "first_profile_audio" const val paidMessageStarCountField = "paid_message_star_count" +const val countField = "count" +const val ratingField = "rating" +const val uniqueGiftColorsField = "unique_gift_colors" const val paidStarCountField = "paid_star_count" const val isPaidPostField = "is_paid_post" +const val levelField = "level" +const val currentLevelRatingField = "current_level_rating" +const val nextLevelRatingField = "next_level_rating" + const val disableEditMessageField = "disable_edit_message" const val scoreField = "score" const val forceField = "force" @@ -730,36 +754,61 @@ const val upgradeStarCountField = "upgrade_star_count" const val payToUpgradeField = "pay_for_upgrade" const val paidMediaField = "paid_media" const val publisherChatField = "publisher_chat" +const val personalTotalCountField = "personal_total_count" +const val personalRemainingCountField = "personal_remaining_count" +const val hasColorsField = "has_colors" +const val uniqueGiftVariantCountField = "unique_gift_variant_count" +const val uniqueGiftNumberField = "unique_gift_number" +const val isSavedField = "is_saved" +const val isUpgradeSeparateField = "is_upgrade_separate" +const val canBeTransferredField = "can_be_transferred" +const val isFromBlockchainField = "is_from_blockchain" const val centerColorField = "center_color" const val edgeColorField = "edge_color" const val symbolColorField = "symbol_color" const val textColorField = "text_color" +const val nameColorField = "name_color" +const val baseColorField = "base_color" +const val linkColorField = "link_color" +const val modelCustomEmojiIdField = "model_custom_emoji_id" +const val symbolCustomEmojiIdField = "symbol_custom_emoji_id" +const val lightThemeMainColorField = "light_theme_main_color" +const val lightThemeOtherColorsField = "light_theme_other_colors" +const val darkThemeMainColorField = "dark_theme_main_color" +const val darkThemeOtherColorsField = "dark_theme_other_colors" const val baseNameField = "base_name" const val numberField = "number" const val modelField = "model" const val symbolField = "symbol" const val backdropField = "backdrop" +const val backgroundField = "background" const val unlimitedGiftsField = "unlimited_gifts" const val limitedGiftsField = "limited_gifts" const val uniqueGiftsField = "unique_gifts" const val premiumSubscriptionField = "premium_subscription" +const val giftsFromChannelsField = "gifts_from_channels" const val excludeUnsavedField = "exclude_unsaved" const val excludeSavedField = "exclude_saved" const val excludeUnlimitedField = "exclude_unlimited" const val excludeLimitedField = "exclude_limited" +const val excludeLimitedUpgradableField = "exclude_limited_upgradable" +const val excludeLimitedNonUpgradableField = "exclude_limited_non_upgradable" const val excludeUniqueField = "exclude_unique" +const val excludeFromBlockchainField = "exclude_from_blockchain" const val sortByPriceField = "sort_by_price" const val businessConnectionIdField = "business_connection_id" +const val fromBusinessConnectionIdField = "from_business_connection_id" const val businessIntroField = "business_intro" const val businessLocationField = "business_location" const val businessOpeningHoursField = "business_opening_hours" const val storyIdField = "story_id" +const val fromStoryIdField = "from_story_id" const val showGiftButtonField = "show_gift_button" const val colorField = "color" @@ -800,3 +849,5 @@ const val isFlippedField = "is_flipped" const val temperatureField = "temperature" const val backgroundColorField = "background_color" const val keepOriginalDetailsField = "keep_original_details" + +const val codecField = "codec" diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/DraftId.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/DraftId.kt new file mode 100644 index 0000000000..01d0f853c0 --- /dev/null +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/DraftId.kt @@ -0,0 +1,18 @@ +package dev.inmo.tgbotapi.types + +import dev.inmo.kslog.common.w +import dev.inmo.tgbotapi.utils.DefaultKTgBotAPIKSLog +import kotlinx.serialization.Serializable +import kotlin.jvm.JvmInline + +@Serializable +@JvmInline +value class DraftId( + val long: Long +) { + init { + if (long == 0L) { + DefaultKTgBotAPIKSLog.w("DraftId", "In DraftId has been passed 0. According to the documentation it must not be 0") + } + } +} diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/ForumTopic.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/ForumTopic.kt index b241e01701..f820f1f545 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/ForumTopic.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/ForumTopic.kt @@ -13,7 +13,9 @@ data class ForumTopic( @SerialName(iconColorField) val color: RGBColor, @SerialName(iconCustomEmojiIdField) - val iconEmojiId: CustomEmojiId? = null + val iconEmojiId: CustomEmojiId? = null, + @SerialName(isNameImplicitField) + val isNameImplicit: Boolean = false ) { companion object { val CYAN = RGBColor(0x6FB9F0) diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/Level.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/Level.kt new file mode 100644 index 0000000000..f509857fde --- /dev/null +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/Level.kt @@ -0,0 +1,10 @@ +package dev.inmo.tgbotapi.types + +import kotlinx.serialization.Serializable +import kotlin.jvm.JvmInline + +@Serializable +@JvmInline +value class Level( + val int: Int +) diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/OwnedGifts.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/OwnedGifts.kt index cd92271476..13132f285a 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/OwnedGifts.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/OwnedGifts.kt @@ -1,11 +1,11 @@ package dev.inmo.tgbotapi.types -import dev.inmo.tgbotapi.types.gifts.GiftSentOrReceived +import dev.inmo.tgbotapi.types.gifts.OwnedGift import kotlinx.serialization.SerialName import kotlinx.serialization.Serializable @Serializable -data class OwnedGifts( +data class OwnedGifts( @SerialName(totalCountField) val totalCount: Int, @SerialName(giftsField) diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/Rating.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/Rating.kt new file mode 100644 index 0000000000..bb16b4b4cd --- /dev/null +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/Rating.kt @@ -0,0 +1,10 @@ +package dev.inmo.tgbotapi.types + +import kotlinx.serialization.Serializable +import kotlin.jvm.JvmInline + +@Serializable +@JvmInline +value class Rating( + val int: Int +) diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/TelegramDate.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/TelegramDate.kt index e3f8455399..b2981fa92b 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/TelegramDate.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/TelegramDate.kt @@ -23,6 +23,10 @@ data class TelegramDate( val asDate: DateTime = DateTime( date * 1000 ) + + companion object { + val Start = TelegramDate(0) + } } fun DateTime.toTelegramDate(): TelegramDate = TelegramDate(this) diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/UpdateTypes.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/UpdateTypes.kt index 7d12f54101..ebe257e35b 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/UpdateTypes.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/UpdateTypes.kt @@ -9,6 +9,7 @@ const val UPDATE_INLINE_QUERY = "inline_query" const val UPDATE_CALLBACK_QUERY = "callback_query" const val UPDATE_SHIPPING_QUERY = "shipping_query" const val UPDATE_PRE_CHECKOUT_QUERY = "pre_checkout_query" +const val UPDATE_PURCHASED_PAID_MEDIA = "purchased_paid_media" const val UPDATE_POLL = "poll" const val UPDATE_POLL_ANSWER = "poll_answer" const val UPDATE_MY_CHAT_MEMBER = "my_chat_member" @@ -26,24 +27,36 @@ const val UPDATE_DELETED_BUSINESS_MESSAGES = "deleted_business_messages" val ALL_UPDATES_LIST_WITHOUT_REACTIONS = listOf( UPDATE_MESSAGE, UPDATE_EDITED_MESSAGE, + UPDATE_CHANNEL_POST, UPDATE_EDITED_CHANNEL_POST, + + UPDATE_BUSINESS_CONNECTION, + UPDATE_BUSINESS_MESSAGE, + + UPDATE_EDITED_BUSINESS_MESSAGE, + UPDATE_DELETED_BUSINESS_MESSAGES, + UPDATE_INLINE_QUERY, UPDATE_CHOSEN_INLINE_RESULT, + UPDATE_CALLBACK_QUERY, + UPDATE_SHIPPING_QUERY, + UPDATE_PRE_CHECKOUT_QUERY, + + UPDATE_PURCHASED_PAID_MEDIA, + UPDATE_POLL, UPDATE_POLL_ANSWER, + UPDATE_MY_CHAT_MEMBER, UPDATE_CHAT_MEMBER, UPDATE_CHAT_JOIN_REQUEST, UPDATE_CHAT_BOOST, + UPDATE_REMOVE_CHAT_BOOST, - UPDATE_BUSINESS_CONNECTION, - UPDATE_BUSINESS_MESSAGE, - UPDATE_EDITED_BUSINESS_MESSAGE, - UPDATE_DELETED_BUSINESS_MESSAGES ) val ALL_UPDATES_LIST = ALL_UPDATES_LIST_WITHOUT_REACTIONS + listOf( diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/UserProfileAudios.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/UserProfileAudios.kt new file mode 100644 index 0000000000..567ea90c57 --- /dev/null +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/UserProfileAudios.kt @@ -0,0 +1,13 @@ +package dev.inmo.tgbotapi.types + +import dev.inmo.tgbotapi.types.files.AudioFile +import kotlinx.serialization.SerialName +import kotlinx.serialization.Serializable + +@Serializable +data class UserProfileAudios( + @SerialName(totalCountField) + val totalCount: Int, + @SerialName(audiosField) + val audios: List +) \ No newline at end of file diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/abstracts/WithOptionalPaidMessageStarCount.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/abstracts/WithOptionalPaidMessageStarCount.kt new file mode 100644 index 0000000000..2f898e36bf --- /dev/null +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/abstracts/WithOptionalPaidMessageStarCount.kt @@ -0,0 +1,5 @@ +package dev.inmo.tgbotapi.types.abstracts + +interface WithOptionalPaidMessageStarCount { + val paidMessageStarCount: Int? +} \ No newline at end of file diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/InlineKeyboardButton.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/InlineKeyboardButton.kt index 33a22297f8..c2e113cb96 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/InlineKeyboardButton.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/InlineKeyboardButton.kt @@ -5,6 +5,7 @@ package dev.inmo.tgbotapi.types.buttons.InlineKeyboardButtons import dev.inmo.tgbotapi.utils.internal.ClassCastsIncluded import dev.inmo.tgbotapi.types.* +import dev.inmo.tgbotapi.types.buttons.KeyboardButtonStyle import dev.inmo.tgbotapi.types.games.CallbackGame import dev.inmo.tgbotapi.types.webapps.WebAppInfo import kotlinx.serialization.* @@ -18,6 +19,9 @@ import kotlinx.serialization.json.* @ClassCastsIncluded sealed interface InlineKeyboardButton { val text: String + + val style: KeyboardButtonStyle? + val iconCustomEmojiId: CustomEmojiId? } @Serializable @@ -28,6 +32,10 @@ data class UnknownInlineKeyboardButton ( get() = runCatching { rawData.jsonObject[textField] ?.jsonPrimitive ?.content }.getOrNull() ?: "" + override val style: KeyboardButtonStyle? + get() = null + override val iconCustomEmojiId: CustomEmojiId? + get() = null } /** @@ -36,7 +44,11 @@ data class UnknownInlineKeyboardButton ( */ @Serializable data class PayInlineKeyboardButton( - override val text: String + override val text: String, + @SerialName(iconCustomEmojiIdField) + override val iconCustomEmojiId: CustomEmojiId? = null, + @SerialName(styleField) + override val style: KeyboardButtonStyle? = null ) : InlineKeyboardButton { @ExperimentalSerializationApi @EncodeDefault @@ -58,7 +70,11 @@ data class CallbackDataInlineKeyboardButton( * You will receive this data in [dev.inmo.tgbotapi.types.queries.callback.DataCallbackQuery.data] field */ @SerialName(callbackDataField) - val callbackData: String + val callbackData: String, + @SerialName(iconCustomEmojiIdField) + override val iconCustomEmojiId: CustomEmojiId? = null, + @SerialName(styleField) + override val style: KeyboardButtonStyle? = null ) : InlineKeyboardButton /** @@ -67,7 +83,11 @@ data class CallbackDataInlineKeyboardButton( @Serializable data class CallbackGameInlineKeyboardButton( @SerialName(textField) - override val text: String + override val text: String, + @SerialName(iconCustomEmojiIdField) + override val iconCustomEmojiId: CustomEmojiId? = null, + @SerialName(styleField) + override val style: KeyboardButtonStyle? = null ) : InlineKeyboardButton { @SerialName(callbackGameField) @EncodeDefault @@ -81,7 +101,11 @@ data class CallbackGameInlineKeyboardButton( data class LoginURLInlineKeyboardButton( override val text: String, @SerialName(loginUrlField) - val loginUrl: LoginURL + val loginUrl: LoginURL, + @SerialName(iconCustomEmojiIdField) + override val iconCustomEmojiId: CustomEmojiId? = null, + @SerialName(styleField) + override val style: KeyboardButtonStyle? = null ) : InlineKeyboardButton /** @@ -98,7 +122,11 @@ data class LoginURLInlineKeyboardButton( data class SwitchInlineQueryCurrentChatInlineKeyboardButton( override val text: String, @SerialName(switchInlineQueryCurrentChatField) - val switchInlineQueryCurrentChat: String + val switchInlineQueryCurrentChat: String, + @SerialName(iconCustomEmojiIdField) + override val iconCustomEmojiId: CustomEmojiId? = null, + @SerialName(styleField) + override val style: KeyboardButtonStyle? = null ) : InlineKeyboardButton /** @@ -115,7 +143,11 @@ data class SwitchInlineQueryCurrentChatInlineKeyboardButton( data class SwitchInlineQueryChosenChatInlineKeyboardButton( override val text: String, @SerialName(switchInlineQueryChosenChatField) - val parameters: SwitchInlineQueryChosenChat + val parameters: SwitchInlineQueryChosenChat, + @SerialName(iconCustomEmojiIdField) + override val iconCustomEmojiId: CustomEmojiId? = null, + @SerialName(styleField) + override val style: KeyboardButtonStyle? = null ) : InlineKeyboardButton /** @@ -131,7 +163,11 @@ data class SwitchInlineQueryChosenChatInlineKeyboardButton( data class SwitchInlineQueryInlineKeyboardButton( override val text: String, @SerialName(switchInlineQueryField) - val switchInlineQuery: String + val switchInlineQuery: String, + @SerialName(iconCustomEmojiIdField) + override val iconCustomEmojiId: CustomEmojiId? = null, + @SerialName(styleField) + override val style: KeyboardButtonStyle? = null ) : InlineKeyboardButton /** @@ -141,7 +177,11 @@ data class SwitchInlineQueryInlineKeyboardButton( data class URLInlineKeyboardButton( override val text: String, @SerialName(urlField) - val url: String + val url: String, + @SerialName(iconCustomEmojiIdField) + override val iconCustomEmojiId: CustomEmojiId? = null, + @SerialName(styleField) + override val style: KeyboardButtonStyle? = null ) : InlineKeyboardButton /** @@ -151,7 +191,11 @@ data class URLInlineKeyboardButton( data class CopyTextButton( override val text: String, @SerialName(copyTextField) - val data: CopyTextButtonData + val data: CopyTextButtonData, + @SerialName(iconCustomEmojiIdField) + override val iconCustomEmojiId: CustomEmojiId? = null, + @SerialName(styleField) + override val style: KeyboardButtonStyle? = null ) : InlineKeyboardButton /** @@ -162,5 +206,9 @@ data class CopyTextButton( data class WebAppInlineKeyboardButton( override val text: String, @SerialName(webAppField) - val webApp: WebAppInfo + val webApp: WebAppInfo, + @SerialName(iconCustomEmojiIdField) + override val iconCustomEmojiId: CustomEmojiId? = null, + @SerialName(styleField) + override val style: KeyboardButtonStyle? = null ) : InlineKeyboardButton diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/buttons/KeyboardButton.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/buttons/KeyboardButton.kt index 9fdff29f3d..7278f66c4a 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/buttons/KeyboardButton.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/buttons/KeyboardButton.kt @@ -19,6 +19,9 @@ import kotlinx.serialization.json.* @Serializable(KeyboardButtonSerializer::class) sealed interface KeyboardButton { val text: String + + val style: KeyboardButtonStyle? + val iconCustomEmojiId: CustomEmojiId? } /** @@ -30,7 +33,11 @@ sealed interface KeyboardButton { */ @Serializable data class SimpleKeyboardButton( - override val text: String + override val text: String, + @SerialName(iconCustomEmojiIdField) + override val iconCustomEmojiId: CustomEmojiId? = null, + @SerialName(styleField) + override val style: KeyboardButtonStyle? = null ) : KeyboardButton @ConsistentCopyVisibility @@ -38,7 +45,12 @@ data class SimpleKeyboardButton( data class UnknownKeyboardButton internal constructor( override val text: String, val raw: String -) : KeyboardButton +) : KeyboardButton { + override val style: KeyboardButtonStyle? + get() = null + override val iconCustomEmojiId: CustomEmojiId? + get() = null +} /** * Private chats only. When user will tap on this button, his contact (with his number and name) will be sent to the bot. You will be able @@ -49,7 +61,11 @@ data class UnknownKeyboardButton internal constructor( */ @Serializable data class RequestContactKeyboardButton( - override val text: String + override val text: String, + @SerialName(iconCustomEmojiIdField) + override val iconCustomEmojiId: CustomEmojiId? = null, + @SerialName(styleField) + override val style: KeyboardButtonStyle? = null ) : KeyboardButton { @SerialName(requestContactField) @EncodeDefault @@ -65,7 +81,11 @@ data class RequestContactKeyboardButton( */ @Serializable data class RequestLocationKeyboardButton( - override val text: String + override val text: String, + @SerialName(iconCustomEmojiIdField) + override val iconCustomEmojiId: CustomEmojiId? = null, + @SerialName(styleField) + override val style: KeyboardButtonStyle? = null ) : KeyboardButton { @SerialName(requestLocationField) @Required @@ -82,7 +102,11 @@ data class RequestLocationKeyboardButton( data class WebAppKeyboardButton( override val text: String, @SerialName(webAppField) - val webApp: WebAppInfo + val webApp: WebAppInfo, + @SerialName(iconCustomEmojiIdField) + override val iconCustomEmojiId: CustomEmojiId? = null, + @SerialName(styleField) + override val style: KeyboardButtonStyle? = null ) : KeyboardButton /** @@ -96,7 +120,11 @@ data class WebAppKeyboardButton( data class RequestPollKeyboardButton( override val text: String, @SerialName(requestPollField) - val requestPoll: KeyboardButtonPollType + val requestPoll: KeyboardButtonPollType, + @SerialName(iconCustomEmojiIdField) + override val iconCustomEmojiId: CustomEmojiId? = null, + @SerialName(styleField) + override val style: KeyboardButtonStyle? = null ) : KeyboardButton /** @@ -114,7 +142,11 @@ data class RequestPollKeyboardButton( data class RequestUserKeyboardButton( override val text: String, @SerialName(requestUsersField) - val requestUsers: KeyboardButtonRequestUsers + val requestUsers: KeyboardButtonRequestUsers, + @SerialName(iconCustomEmojiIdField) + override val iconCustomEmojiId: CustomEmojiId? = null, + @SerialName(styleField) + override val style: KeyboardButtonStyle? = null ) : KeyboardButton /** @@ -132,7 +164,11 @@ data class RequestUserKeyboardButton( data class RequestChatKeyboardButton( override val text: String, @SerialName(requestChatField) - val requestChat: KeyboardButtonRequestChat + val requestChat: KeyboardButtonRequestChat, + @SerialName(iconCustomEmojiIdField) + override val iconCustomEmojiId: CustomEmojiId? = null, + @SerialName(styleField) + override val style: KeyboardButtonStyle? = null ) : KeyboardButton @RiskFeature @@ -142,42 +178,73 @@ object KeyboardButtonSerializer : KSerializer { override fun deserialize(decoder: Decoder): KeyboardButton { val asJson = internalSerializer.deserialize(decoder) + val styleData: KeyboardButtonStyle? by lazy { + (asJson as? JsonObject) + ?.get(styleField) + ?.jsonPrimitive + ?.let { nonstrictJsonFormat.decodeFromJsonElement(KeyboardButtonStyle.serializer(), it) } + } + val iconCustomEmojiIdData: CustomEmojiId? by lazy { + (asJson as? JsonObject) + ?.get(iconCustomEmojiIdField) + ?.jsonPrimitive + ?.let { nonstrictJsonFormat.decodeFromJsonElement(CustomEmojiId.serializer(), it) } + } return when { - asJson is JsonPrimitive -> SimpleKeyboardButton(asJson.content) + asJson is JsonPrimitive -> SimpleKeyboardButton( + asJson.content + ) asJson is JsonObject && asJson[requestContactField] != null -> RequestContactKeyboardButton( - asJson[textField]!!.jsonPrimitive.content + asJson[textField]!!.jsonPrimitive.content, + iconCustomEmojiIdData, + styleData ) asJson is JsonObject && asJson[requestLocationField] != null -> RequestLocationKeyboardButton( - asJson[textField]!!.jsonPrimitive.content + asJson[textField]!!.jsonPrimitive.content, + iconCustomEmojiIdData, + styleData ) asJson is JsonObject && asJson[webAppField] != null -> WebAppKeyboardButton( asJson[textField]!!.jsonPrimitive.content, nonstrictJsonFormat.decodeFromJsonElement( WebAppInfo.serializer(), asJson[webAppField]!! - ) + ), + iconCustomEmojiIdData, + styleData ) asJson is JsonObject && asJson[requestPollField] != null -> RequestPollKeyboardButton( asJson[textField]!!.jsonPrimitive.content, nonstrictJsonFormat.decodeFromJsonElement( KeyboardButtonPollTypeSerializer, asJson[requestPollField] ?.jsonObject ?: buildJsonObject { } - ) + ), + iconCustomEmojiIdData, + styleData ) asJson is JsonObject && asJson[requestUsersField] != null -> RequestUserKeyboardButton( asJson[textField]!!.jsonPrimitive.content, nonstrictJsonFormat.decodeFromJsonElement( KeyboardButtonRequestUsers.serializer(), asJson[requestUsersField] ?.jsonObject ?: buildJsonObject { } - ) + ), + iconCustomEmojiIdData, + styleData ) asJson is JsonObject && asJson[requestChatField] != null -> RequestChatKeyboardButton( asJson[textField]!!.jsonPrimitive.content, nonstrictJsonFormat.decodeFromJsonElement( KeyboardButtonRequestChat.serializer(), asJson[requestChatField] ?.jsonObject ?: buildJsonObject { } - ) + ), + iconCustomEmojiIdData, + styleData + ) + asJson is JsonObject && asJson[textField] != null -> SimpleKeyboardButton( + asJson[textField]!!.jsonPrimitive.content, + iconCustomEmojiIdData, + styleData ) else -> UnknownKeyboardButton( when (asJson) { @@ -196,7 +263,11 @@ object KeyboardButtonSerializer : KSerializer { is RequestLocationKeyboardButton -> RequestLocationKeyboardButton.serializer().serialize(encoder, value) is WebAppKeyboardButton -> WebAppKeyboardButton.serializer().serialize(encoder, value) is RequestPollKeyboardButton -> RequestPollKeyboardButton.serializer().serialize(encoder, value) - is SimpleKeyboardButton -> encoder.encodeString(value.text) + is SimpleKeyboardButton -> if (value.iconCustomEmojiId != null || value.style != null) { + SimpleKeyboardButton.serializer().serialize(encoder, value) + } else { + encoder.encodeString(value.text) + } is RequestUserKeyboardButton -> RequestUserKeyboardButton.serializer().serialize(encoder, value) is RequestChatKeyboardButton -> RequestChatKeyboardButton.serializer().serialize(encoder, value) is UnknownKeyboardButton -> JsonElement.serializer().serialize(encoder, nonstrictJsonFormat.parseToJsonElement(value.raw)) diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle.kt new file mode 100644 index 0000000000..05027f4d9b --- /dev/null +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle.kt @@ -0,0 +1,51 @@ +package dev.inmo.tgbotapi.types.buttons + +import kotlinx.serialization.KSerializer +import kotlinx.serialization.Serializable +import kotlinx.serialization.builtins.serializer +import kotlinx.serialization.descriptors.SerialDescriptor +import kotlinx.serialization.encoding.Decoder +import kotlinx.serialization.encoding.Encoder + +@Serializable(KeyboardButtonStyle.Serializer::class) +sealed interface KeyboardButtonStyle { + val name: String + + @Suppress("SERIALIZER_TYPE_INCOMPATIBLE") + @Serializable(KeyboardButtonStyle.Serializer::class) + data object Danger : KeyboardButtonStyle { override val name: String = "danger" } + + @Suppress("SERIALIZER_TYPE_INCOMPATIBLE") + @Serializable(KeyboardButtonStyle.Serializer::class) + data object Success : KeyboardButtonStyle { override val name: String = "success" } + + @Suppress("SERIALIZER_TYPE_INCOMPATIBLE") + @Serializable(KeyboardButtonStyle.Serializer::class) + data object Primary : KeyboardButtonStyle { override val name: String = "primary" } + + @Suppress("SERIALIZER_TYPE_INCOMPATIBLE") + @Serializable(KeyboardButtonStyle.Serializer::class) + data class Custom(override val name: String = "primary") : KeyboardButtonStyle + + object Serializer : KSerializer { + override val descriptor: SerialDescriptor + get() = String.serializer().descriptor + + override fun serialize( + encoder: Encoder, + value: KeyboardButtonStyle + ) { + encoder.encodeString(value.name) + } + + override fun deserialize(decoder: Decoder): KeyboardButtonStyle { + return when (val rawValue = decoder.decodeString()) { + Danger.name -> Danger + Success.name -> Success + Primary.name -> Primary + else -> Custom(rawValue) + } + } + + } +} \ No newline at end of file diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/buttons/inline/InlineKeyboardButtonsShortcuts.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/buttons/inline/InlineKeyboardButtonsShortcuts.kt index 70f1678663..9064310775 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/buttons/inline/InlineKeyboardButtonsShortcuts.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/buttons/inline/InlineKeyboardButtonsShortcuts.kt @@ -2,7 +2,8 @@ package dev.inmo.tgbotapi.types.buttons.inline -import dev.inmo.tgbotapi.types.LoginURL +import dev.inmo.tgbotapi.types.* +import dev.inmo.tgbotapi.types.buttons.KeyboardButtonStyle import dev.inmo.tgbotapi.types.buttons.InlineKeyboardButtons.* import dev.inmo.tgbotapi.types.webapps.WebAppInfo @@ -10,63 +11,79 @@ import dev.inmo.tgbotapi.types.webapps.WebAppInfo * Creates [PayInlineKeyboardButton] */ fun payInlineButton( - text: String -) = PayInlineKeyboardButton(text) + text: String, + iconCustomEmojiId: CustomEmojiId? = null, + style: KeyboardButtonStyle? = null +) = PayInlineKeyboardButton(text, iconCustomEmojiId, style) /** * Creates [CallbackDataInlineKeyboardButton] */ fun dataInlineButton( text: String, - data: String -) = CallbackDataInlineKeyboardButton(text, data) + data: String, + iconCustomEmojiId: CustomEmojiId? = null, + style: KeyboardButtonStyle? = null +) = CallbackDataInlineKeyboardButton(text, data, iconCustomEmojiId, style) /** * Creates [CallbackGameInlineKeyboardButton] */ fun gameInlineButton( - text: String -) = CallbackGameInlineKeyboardButton(text) + text: String, + iconCustomEmojiId: CustomEmojiId? = null, + style: KeyboardButtonStyle? = null +) = CallbackGameInlineKeyboardButton(text, iconCustomEmojiId, style) /** * Creates [LoginURLInlineKeyboardButton] */ fun loginInlineButton( text: String, - loginUrl: LoginURL -) = LoginURLInlineKeyboardButton(text, loginUrl) + loginUrl: LoginURL, + iconCustomEmojiId: CustomEmojiId? = null, + style: KeyboardButtonStyle? = null +) = LoginURLInlineKeyboardButton(text, loginUrl, iconCustomEmojiId, style) /** * Creates [CopyTextButton] */ fun copyTextButton( text: String, - data: CopyTextButtonData -) = CopyTextButton(text, data) + data: CopyTextButtonData, + iconCustomEmojiId: CustomEmojiId? = null, + style: KeyboardButtonStyle? = null +) = CopyTextButton(text, data, iconCustomEmojiId, style) /** * Creates [CopyTextButton] */ fun copyTextButton( text: String, - data: String -) = copyTextButton(text, CopyTextButtonData(data)) + data: String, + iconCustomEmojiId: CustomEmojiId? = null, + style: KeyboardButtonStyle? = null +) = copyTextButton(text, CopyTextButtonData(data), iconCustomEmojiId, style) /** * Creates [SwitchInlineQueryCurrentChatInlineKeyboardButton] */ fun inlineQueryInCurrentChatInlineButton( text: String, - data: String -) = SwitchInlineQueryCurrentChatInlineKeyboardButton(text, data) + data: String, + iconCustomEmojiId: CustomEmojiId? = null, + style: KeyboardButtonStyle? = null +) = SwitchInlineQueryCurrentChatInlineKeyboardButton(text, data, iconCustomEmojiId, style) /** * Creates [SwitchInlineQueryChosenChatInlineKeyboardButton] */ fun inlineQueryInCurrentChatInlineButton( text: String, - parameters: SwitchInlineQueryChosenChat -) = SwitchInlineQueryChosenChatInlineKeyboardButton(text, parameters) + parameters: SwitchInlineQueryChosenChat, + iconCustomEmojiId: CustomEmojiId? = null, + style: KeyboardButtonStyle? = null +) = SwitchInlineQueryChosenChatInlineKeyboardButton(text, parameters, iconCustomEmojiId, style) /** * Creates [SwitchInlineQueryChosenChatInlineKeyboardButton] @@ -78,6 +95,8 @@ fun inlineQueryInCurrentChatInlineButton( allowBots: Boolean = false, allowGroups: Boolean = false, allowChannels: Boolean = false, + iconCustomEmojiId: CustomEmojiId? = null, + style: KeyboardButtonStyle? = null ) = inlineQueryInCurrentChatInlineButton( text, SwitchInlineQueryChosenChat( @@ -86,7 +105,9 @@ fun inlineQueryInCurrentChatInlineButton( allowBots = allowBots, allowGroups = allowGroups, allowChannels = allowChannels - ) + ), + iconCustomEmojiId, + style ) /** @@ -95,36 +116,46 @@ fun inlineQueryInCurrentChatInlineButton( fun inlineQueryInAnyCurrentChatInlineButton( text: String, query: String? = null, -) = inlineQueryInCurrentChatInlineButton(text, query, allowUsers = true, allowBots = true, allowGroups = true, allowChannels = true) + iconCustomEmojiId: CustomEmojiId? = null, + style: KeyboardButtonStyle? = null +) = inlineQueryInCurrentChatInlineButton(text, query, allowUsers = true, allowBots = true, allowGroups = true, allowChannels = true, iconCustomEmojiId = iconCustomEmojiId, style = style) /** * Creates [SwitchInlineQueryInlineKeyboardButton] */ fun inlineQueryInlineButton( text: String, - data: String -) = SwitchInlineQueryInlineKeyboardButton(text, data) + data: String, + iconCustomEmojiId: CustomEmojiId? = null, + style: KeyboardButtonStyle? = null +) = SwitchInlineQueryInlineKeyboardButton(text, data, iconCustomEmojiId, style) /** * Creates [URLInlineKeyboardButton] */ fun urlInlineButton( text: String, - url: String -) = URLInlineKeyboardButton(text, url) + url: String, + iconCustomEmojiId: CustomEmojiId? = null, + style: KeyboardButtonStyle? = null +) = URLInlineKeyboardButton(text, url, iconCustomEmojiId, style) /** * Creates [WebAppInlineKeyboardButton]. Please, remember that this button is available in private chats only */ fun webAppInlineButton( text: String, - webApp: WebAppInfo -) = WebAppInlineKeyboardButton(text, webApp) + webApp: WebAppInfo, + iconCustomEmojiId: CustomEmojiId? = null, + style: KeyboardButtonStyle? = null +) = WebAppInlineKeyboardButton(text, webApp, iconCustomEmojiId, style) /** * Creates [WebAppInlineKeyboardButton]. Please, remember that this button is available in private chats only */ fun webAppInlineButton( text: String, - url: String -) = webAppInlineButton(text, WebAppInfo(url)) + url: String, + iconCustomEmojiId: CustomEmojiId? = null, + style: KeyboardButtonStyle? = null +) = webAppInlineButton(text, WebAppInfo(url), iconCustomEmojiId, style) diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/buttons/reply/ReplyKeyboardButtonsShortcuts.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/buttons/reply/ReplyKeyboardButtonsShortcuts.kt index 8c8969d091..d4851c6a40 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/buttons/reply/ReplyKeyboardButtonsShortcuts.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/buttons/reply/ReplyKeyboardButtonsShortcuts.kt @@ -2,6 +2,7 @@ package dev.inmo.tgbotapi.types.buttons.reply +import dev.inmo.tgbotapi.types.* import dev.inmo.tgbotapi.types.buttons.* import dev.inmo.tgbotapi.types.chat.member.ChatCommonAdministratorRights import dev.inmo.tgbotapi.types.keyboardButtonRequestUserLimit @@ -13,46 +14,58 @@ import dev.inmo.tgbotapi.types.webapps.WebAppInfo * Creates [SimpleKeyboardButton] */ fun simpleReplyButton( - text: String -) = SimpleKeyboardButton(text) + text: String, + iconCustomEmojiId: CustomEmojiId? = null, + style: KeyboardButtonStyle? = null +) = SimpleKeyboardButton(text, iconCustomEmojiId, style) /** * Creates [RequestContactKeyboardButton] */ fun requestContactReplyButton( - text: String -) = RequestContactKeyboardButton(text) + text: String, + iconCustomEmojiId: CustomEmojiId? = null, + style: KeyboardButtonStyle? = null +) = RequestContactKeyboardButton(text, iconCustomEmojiId, style) /** * Creates [RequestLocationKeyboardButton] */ fun requestLocationReplyButton( - text: String -) = RequestLocationKeyboardButton(text) + text: String, + iconCustomEmojiId: CustomEmojiId? = null, + style: KeyboardButtonStyle? = null +) = RequestLocationKeyboardButton(text, iconCustomEmojiId, style) /** * Creates [RequestPollKeyboardButton] */ fun requestPollReplyButton( text: String, - pollType: KeyboardButtonPollType -) = RequestPollKeyboardButton(text, pollType) + pollType: KeyboardButtonPollType, + iconCustomEmojiId: CustomEmojiId? = null, + style: KeyboardButtonStyle? = null +) = RequestPollKeyboardButton(text, pollType, iconCustomEmojiId, style) /** * Creates [WebAppKeyboardButton] */ fun webAppReplyButton( text: String, - webApp: WebAppInfo -) = WebAppKeyboardButton(text, webApp) + webApp: WebAppInfo, + iconCustomEmojiId: CustomEmojiId? = null, + style: KeyboardButtonStyle? = null +) = WebAppKeyboardButton(text, webApp, iconCustomEmojiId, style) /** * Creates [WebAppKeyboardButton] */ fun webAppReplyButton( text: String, - url: String -) = webAppReplyButton(text, WebAppInfo(url)) + url: String, + iconCustomEmojiId: CustomEmojiId? = null, + style: KeyboardButtonStyle? = null +) = webAppReplyButton(text, WebAppInfo(url), iconCustomEmojiId, style) /** @@ -60,10 +73,14 @@ fun webAppReplyButton( */ fun requestUsersReplyButton( text: String, - requestUser: KeyboardButtonRequestUsers + requestUser: KeyboardButtonRequestUsers, + iconCustomEmojiId: CustomEmojiId? = null, + style: KeyboardButtonStyle? = null ) = RequestUserKeyboardButton( text, - requestUser + requestUser, + iconCustomEmojiId, + style ) /** @@ -76,6 +93,8 @@ fun requestBotsReplyButton( requestName: Boolean? = null, requestUsername: Boolean? = null, requestPhoto: Boolean? = null, + iconCustomEmojiId: CustomEmojiId? = null, + style: KeyboardButtonStyle? = null ) = requestUsersReplyButton( text, KeyboardButtonRequestUsers.Bot( @@ -84,7 +103,9 @@ fun requestBotsReplyButton( requestName = requestName, requestUsername = requestUsername, requestPhoto = requestPhoto - ) + ), + iconCustomEmojiId, + style ) /** @@ -98,6 +119,8 @@ fun requestUsersReplyButton( requestName: Boolean? = null, requestUsername: Boolean? = null, requestPhoto: Boolean? = null, + iconCustomEmojiId: CustomEmojiId? = null, + style: KeyboardButtonStyle? = null ) = requestUsersReplyButton( text, KeyboardButtonRequestUsers.Common( @@ -107,7 +130,9 @@ fun requestUsersReplyButton( requestName = requestName, requestUsername = requestUsername, requestPhoto = requestPhoto - ) + ), + iconCustomEmojiId, + style ) /** @@ -121,6 +146,8 @@ fun requestUserReplyButton( requestName: Boolean? = null, requestUsername: Boolean? = null, requestPhoto: Boolean? = null, + iconCustomEmojiId: CustomEmojiId? = null, + style: KeyboardButtonStyle? = null ) = requestUsersReplyButton( text, requestId, @@ -128,7 +155,9 @@ fun requestUserReplyButton( maxCount, requestName = requestName, requestUsername = requestUsername, - requestPhoto = requestPhoto + requestPhoto = requestPhoto, + iconCustomEmojiId = iconCustomEmojiId, + style = style ) /** @@ -142,6 +171,8 @@ fun requestUsersOrBotsReplyButton( requestName: Boolean? = null, requestUsername: Boolean? = null, requestPhoto: Boolean? = null, + iconCustomEmojiId: CustomEmojiId? = null, + style: KeyboardButtonStyle? = null ) = requestUsersReplyButton( text, KeyboardButtonRequestUsers.Any( @@ -151,7 +182,9 @@ fun requestUsersOrBotsReplyButton( requestName = requestName, requestUsername = requestUsername, requestPhoto = requestPhoto - ) + ), + iconCustomEmojiId, + style ) /** @@ -163,6 +196,8 @@ fun requestUserOrBotReplyButton( requestName: Boolean? = null, requestUsername: Boolean? = null, requestPhoto: Boolean? = null, + iconCustomEmojiId: CustomEmojiId? = null, + style: KeyboardButtonStyle? = null ) = requestUsersReplyButton( text, KeyboardButtonRequestUsers.Any( @@ -170,7 +205,9 @@ fun requestUserOrBotReplyButton( requestName = requestName, requestUsername = requestUsername, requestPhoto = requestPhoto - ) + ), + iconCustomEmojiId, + style ) @@ -179,10 +216,14 @@ fun requestUserOrBotReplyButton( */ fun requestChatReplyButton( text: String, - requestChat: KeyboardButtonRequestChat + requestChat: KeyboardButtonRequestChat, + iconCustomEmojiId: CustomEmojiId? = null, + style: KeyboardButtonStyle? = null ) = RequestChatKeyboardButton( text, - requestChat + requestChat, + iconCustomEmojiId, + style ) /** @@ -201,6 +242,8 @@ fun requestChatReplyButton( requestTitle: Boolean? = null, requestUsername: Boolean? = null, requestPhoto: Boolean? = null, + iconCustomEmojiId: CustomEmojiId? = null, + style: KeyboardButtonStyle? = null ) = requestChatReplyButton( text, KeyboardButtonRequestChat( @@ -215,7 +258,9 @@ fun requestChatReplyButton( requestTitle = requestTitle, requestUsername = requestUsername, requestPhoto = requestPhoto, - ) + ), + iconCustomEmojiId, + style ) /** @@ -232,6 +277,8 @@ fun requestChannelReplyButton( requestTitle: Boolean? = null, requestUsername: Boolean? = null, requestPhoto: Boolean? = null, + iconCustomEmojiId: CustomEmojiId? = null, + style: KeyboardButtonStyle? = null ) = requestChatReplyButton( text, KeyboardButtonRequestChat.Channel( @@ -244,7 +291,9 @@ fun requestChannelReplyButton( requestTitle = requestTitle, requestUsername = requestUsername, requestPhoto = requestPhoto, - ) + ), + iconCustomEmojiId, + style ) @@ -263,6 +312,8 @@ fun requestChannelReplyButton( requestTitle: Boolean? = null, requestUsername: Boolean? = null, requestPhoto: Boolean? = null, + iconCustomEmojiId: CustomEmojiId? = null, + style: KeyboardButtonStyle? = null ) = requestChatReplyButton( text, KeyboardButtonRequestChat.Group( @@ -276,5 +327,7 @@ fun requestChannelReplyButton( requestTitle = requestTitle, requestUsername = requestUsername, requestPhoto = requestPhoto, - ) + ), + iconCustomEmojiId, + style ) diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/chat/Abstracts.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/chat/Abstracts.kt index 1ca52e01c6..e4b1eccba8 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/chat/Abstracts.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/chat/Abstracts.kt @@ -13,11 +13,21 @@ sealed interface UsernameChat : Chat { @Suppress("SERIALIZER_TYPE_INCOMPATIBLE") @Serializable(ChatSerializer::class) sealed interface PrivateChat : Chat, UsernameChat { - override val id: UserId + override val id: IdChatIdentifier val firstName: String val lastName: String } +@Suppress("SERIALIZER_TYPE_INCOMPATIBLE") +@Serializable(ChatSerializer::class) +sealed interface PrivateUserChat : PrivateChat + +@Suppress("SERIALIZER_TYPE_INCOMPATIBLE") +@Serializable(ChatSerializer::class) +sealed interface PrivateForumChat : PrivateUserChat, ForumChat { + override val id: IdChatIdentifier +} + @Suppress("SERIALIZER_TYPE_INCOMPATIBLE") @Serializable(ChatSerializer::class) sealed interface BusinessChat : Chat { @@ -51,7 +61,11 @@ sealed interface SupergroupChat : GroupChat, SuperPublicChat @Suppress("SERIALIZER_TYPE_INCOMPATIBLE") @Serializable(ChatSerializer::class) -sealed interface ForumChat : SupergroupChat +sealed interface ForumChat : Chat + +@Suppress("SERIALIZER_TYPE_INCOMPATIBLE") +@Serializable(ChatSerializer::class) +sealed interface SupergroupForumChat : SupergroupChat, ForumChat @Suppress("SERIALIZER_TYPE_INCOMPATIBLE") @Serializable(ChatSerializer::class) diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/chat/ChatSerializers.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/chat/ChatSerializers.kt index 091ec86c5d..d0c0e28ab5 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/chat/ChatSerializers.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/chat/ChatSerializers.kt @@ -81,8 +81,16 @@ object ChatSerializer : KSerializer { val original = decodedJson[originField] when (type) { - ChatType.Sender -> formatter.decodeFromJsonElement(PrivateChatImpl.serializer(), decodedJson) - ChatType.Private -> formatter.decodeFromJsonElement(PrivateChatImpl.serializer(), decodedJson) + ChatType.Sender -> if (isForum) { + formatter.decodeFromJsonElement(PrivateForumChatImpl.serializer(), decodedJson) + } else { + formatter.decodeFromJsonElement(PrivateChatImpl.serializer(), decodedJson) + } + ChatType.Private -> if (isForum) { + formatter.decodeFromJsonElement(PrivateForumChatImpl.serializer(), decodedJson) + } else { + formatter.decodeFromJsonElement(PrivateChatImpl.serializer(), decodedJson) + } ChatType.Group -> formatter.decodeFromJsonElement(GroupChatImpl.serializer(), decodedJson) ChatType.Supergroup -> when { isForum -> formatter.decodeFromJsonElement(ForumChatImpl.serializer(), decodedJson) @@ -128,8 +136,16 @@ object PreviewChatSerializer : KSerializer { val original = decodedJson[originField] return when (type) { - ChatType.Sender -> formatter.decodeFromJsonElement(PrivateChatImpl.serializer(), decodedJson) - ChatType.Private -> formatter.decodeFromJsonElement(PrivateChatImpl.serializer(), decodedJson) + ChatType.Sender -> if (isForum) { + formatter.decodeFromJsonElement(PrivateForumChatImpl.serializer(), decodedJson) + } else { + formatter.decodeFromJsonElement(PrivateChatImpl.serializer(), decodedJson) + } + ChatType.Private -> if (isForum) { + formatter.decodeFromJsonElement(PrivateForumChatImpl.serializer(), decodedJson) + } else { + formatter.decodeFromJsonElement(PrivateChatImpl.serializer(), decodedJson) + } ChatType.Group -> formatter.decodeFromJsonElement(GroupChatImpl.serializer(), decodedJson) ChatType.Supergroup -> { when { @@ -156,6 +172,7 @@ object PreviewChatSerializer : KSerializer { override fun serialize(encoder: Encoder, value: PreviewChat) { when (value) { is PrivateChatImpl -> PrivateChatImpl.serializer().serialize(encoder, value) + is PrivateForumChatImpl -> PrivateForumChatImpl.serializer().serialize(encoder, value) is BusinessChatImpl -> BusinessChatImpl.serializer().serialize(encoder, value) is GroupChatImpl -> GroupChatImpl.serializer().serialize(encoder, value) is SupergroupChatImpl -> SupergroupChatImpl.serializer().serialize(encoder, value) @@ -183,8 +200,16 @@ sealed class ExtendedChatSerializer : KSerializer { val original = decodedJson[originField] return when (type) { - ChatType.Sender -> formatter.decodeFromJsonElement(ExtendedPrivateChatImpl.serializer(), decodedJson) - ChatType.Private -> formatter.decodeFromJsonElement(ExtendedPrivateChatImpl.serializer(), decodedJson) + ChatType.Sender -> if (isForum) { + formatter.decodeFromJsonElement(ExtendedPrivateForumChatImpl.serializer(), decodedJson) + } else { + formatter.decodeFromJsonElement(ExtendedPrivateChatImpl.serializer(), decodedJson) + } + ChatType.Private -> if (isForum) { + formatter.decodeFromJsonElement(ExtendedPrivateForumChatImpl.serializer(), decodedJson) + } else { + formatter.decodeFromJsonElement(ExtendedPrivateChatImpl.serializer(), decodedJson) + } ChatType.Group -> formatter.decodeFromJsonElement(ExtendedGroupChatImpl.serializer(), decodedJson) ChatType.Supergroup -> { when { @@ -212,6 +237,7 @@ sealed class ExtendedChatSerializer : KSerializer { when (value) { is ExtendedBusinessChatImpl -> ExtendedBusinessChatImpl.serializer().serialize(encoder, value) is ExtendedPrivateChatImpl -> ExtendedPrivateChatImpl.serializer().serialize(encoder, value) + is ExtendedPrivateForumChatImpl -> ExtendedPrivateForumChatImpl.serializer().serialize(encoder, value) is ExtendedGroupChatImpl -> ExtendedGroupChatImpl.serializer().serialize(encoder, value) is ExtendedSupergroupChatImpl -> ExtendedSupergroupChatImpl.serializer().serialize(encoder, value) is ExtendedForumChatImpl -> ExtendedForumChatImpl.serializer().serialize(encoder, value) @@ -238,7 +264,7 @@ sealed class ExtendedChatSerializer : KSerializer { class BasedOnBusinessConnection(private val businessConnectionId: BusinessConnectionId) : ExtendedChatSerializer() { override fun deserialize(decoder: Decoder): ExtendedChat { return super.deserialize(decoder).let { - if (it is ExtendedPrivateChatImpl) { + if (it is ExtendedPrivateChatImpl || it is ExtendedPrivateForumChatImpl) { ExtendedBusinessChatImpl( BusinessChatId(it.id.chatId, businessConnectionId), it diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/chat/Extended.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/chat/Extended.kt index 05a34a287e..bbe2b53f9b 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/chat/Extended.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/chat/Extended.kt @@ -5,7 +5,9 @@ import dev.inmo.tgbotapi.types.business_connection.BusinessIntro import dev.inmo.tgbotapi.types.business_connection.BusinessLocation import dev.inmo.tgbotapi.types.business_connection.BusinessOpeningHours import dev.inmo.tgbotapi.types.colors.ColorId +import dev.inmo.tgbotapi.types.files.AudioFile import dev.inmo.tgbotapi.types.gifts.AcceptedGiftTypes +import dev.inmo.tgbotapi.types.gifts.unique.UniqueGiftColors import dev.inmo.tgbotapi.types.message.abstracts.Message import dev.inmo.tgbotapi.types.message.abstracts.TelegramBotAPIMessageDeserializeOnlySerializer import dev.inmo.tgbotapi.types.reactions.Reaction @@ -65,7 +67,9 @@ data class ExtendedChannelChatImpl( @SerialName(hasVisibleHistoryField) override val newMembersSeeHistory: Boolean = false, @SerialName(maxReactionCountField) - override val maxReactionsCount: Int = 3 + override val maxReactionsCount: Int = 3, + @SerialName(uniqueGiftColorsField) + override val uniqueGiftColors: UniqueGiftColors? = null ) : ExtendedChannelChat @Serializable @@ -109,6 +113,10 @@ data class ExtendedGroupChatImpl( override val maxReactionsCount: Int = 3, @SerialName(acceptedGiftTypesField) override val acceptedGiftTypes: AcceptedGiftTypes = AcceptedGiftTypes(), + @SerialName(paidMessageStarCountField) + override val paidMessageStarCount: Int? = null, + @SerialName(uniqueGiftColorsField) + override val uniqueGiftColors: UniqueGiftColors? = null ) : ExtendedGroupChat @Serializable @@ -163,9 +171,79 @@ data class ExtendedPrivateChatImpl( override val maxReactionsCount: Int = 3, @SerialName(acceptedGiftTypesField) override val acceptedGiftTypes: AcceptedGiftTypes = AcceptedGiftTypes(), + @SerialName(paidMessageStarCountField) + override val paidMessageStarCount: Int? = null, + @SerialName(firstProfileAudioField) + override val firstProfileAudio: AudioFile? = null, + @SerialName(ratingField) + override val rating: UserRating? = null, + @SerialName(uniqueGiftColorsField) + override val uniqueGiftColors: UniqueGiftColors? = null, ) : ExtendedPrivateChat -typealias ExtendedUser = ExtendedPrivateChatImpl +@Serializable +@RiskFeature("This class is a subject of changes. It is better to use ExtendedPrivateChat due") +data class ExtendedPrivateForumChatImpl( + @Suppress("SERIALIZER_TYPE_INCOMPATIBLE") + @SerialName(idField) + override val id: IdChatIdentifier, + @SerialName(photoField) + override val chatPhoto: ChatPhoto? = null, + @Suppress("SERIALIZER_TYPE_INCOMPATIBLE") + @SerialName(usernameField) + override val username: Username? = null, + @Suppress("SERIALIZER_TYPE_INCOMPATIBLE") + @SerialName(activeUsernamesField) + override val activeUsernames: List = emptyList(), + @SerialName(firstNameField) + override val firstName: String = "", + @SerialName(lastNameField) + override val lastName: String = "", + @SerialName(bioField) + override val bio: String = "", + @SerialName(hasPrivateForwardsField) + override val hasPrivateForwards: Boolean = false, + @SerialName(hasRestrictedVoiceAndVideoMessagesField) + override val hasRestrictedVoiceAndVideoMessages: Boolean = false, + @SerialName(emojiStatusCustomEmojiIdField) + override val statusEmojiId: CustomEmojiId? = null, + @SerialName(emojiStatusExpirationDateField) + override val statusEmojiExpiration: TelegramDate? = null, + @SerialName(accentColorIdField) + override val accentColorId: ColorId = ColorId(0), + @SerialName(profileAccentColorIdField) + override val profileAccentColorId: ColorId? = null, + @SerialName(backgroundCustomEmojiIdField) + override val backgroundCustomEmojiId: CustomEmojiId? = null, + @SerialName(profileBackgroundCustomEmojiIdField) + override val profileBackgroundCustomEmojiId: CustomEmojiId? = null, + @SerialName(businessIntroField) + override val businessIntro: BusinessIntro? = null, + @SerialName(businessLocationField) + override val businessLocation: BusinessLocation? = null, + @SerialName(businessOpeningHoursField) + override val businessOpeningHours: BusinessOpeningHours? = null, + @SerialName(birthdateField) + override val birthdate: Birthdate? = null, + @Suppress("SERIALIZER_TYPE_INCOMPATIBLE") + @SerialName(personalChatField) + @Serializable(PreviewChatSerializer::class) + override val personalChat: PreviewChannelChat? = null, + @SerialName(maxReactionCountField) + override val maxReactionsCount: Int = 3, + @SerialName(acceptedGiftTypesField) + override val acceptedGiftTypes: AcceptedGiftTypes = AcceptedGiftTypes(), + @SerialName(paidMessageStarCountField) + override val paidMessageStarCount: Int? = null, + @SerialName(firstProfileAudioField) + override val firstProfileAudio: AudioFile? = null, + @SerialName(ratingField) + override val rating: UserRating? = null, + @SerialName(uniqueGiftColorsField) + override val uniqueGiftColors: UniqueGiftColors? = null, +) : ExtendedPrivateForumChat + +typealias ExtendedUser = ExtendedPrivateChat @Serializable @RiskFeature("This class is a subject of changes. It is better to use ExtendedSupergroupChat due") @@ -235,6 +313,10 @@ data class ExtendedSupergroupChatImpl( override val maxReactionsCount: Int = 3, @SerialName(acceptedGiftTypesField) override val acceptedGiftTypes: AcceptedGiftTypes = AcceptedGiftTypes(), + @SerialName(paidMessageStarCountField) + override val paidMessageStarCount: Int? = null, + @SerialName(uniqueGiftColorsField) + override val uniqueGiftColors: UniqueGiftColors? = null ) : ExtendedSupergroupChat @Serializable @@ -305,6 +387,10 @@ data class ExtendedForumChatImpl( override val maxReactionsCount: Int = 3, @SerialName(acceptedGiftTypesField) override val acceptedGiftTypes: AcceptedGiftTypes = AcceptedGiftTypes(), + @SerialName(paidMessageStarCountField) + override val paidMessageStarCount: Int? = null, + @SerialName(uniqueGiftColorsField) + override val uniqueGiftColors: UniqueGiftColors? = null ) : ExtendedForumChat @Serializable @@ -378,6 +464,10 @@ data class ExtendedChannelDirectMessagesChatImpl( override val maxReactionsCount: Int = 3, @SerialName(acceptedGiftTypesField) override val acceptedGiftTypes: AcceptedGiftTypes = AcceptedGiftTypes(), + @SerialName(paidMessageStarCountField) + override val paidMessageStarCount: Int? = null, + @SerialName(uniqueGiftColorsField) + override val uniqueGiftColors: UniqueGiftColors? = null ) : ExtendedChannelDirectMessagesChat { @OptIn(ExperimentalSerializationApi::class) @SerialName(isDirectMessagesField) @@ -419,8 +509,14 @@ data class ExtendedBot( override val maxReactionsCount: Int = 3, @SerialName(hasMainWebAppField) val hasMainWebApp: Boolean = false, + @SerialName(hasTopicsEnabledField) + val hasTopicsEnabled: Boolean = false, + @SerialName(allowUsersToCreateTopicsField) + val allowUsersToCreateTopics: Boolean = false, @SerialName(acceptedGiftTypesField) override val acceptedGiftTypes: AcceptedGiftTypes = AcceptedGiftTypes(), + @SerialName(uniqueGiftColorsField) + override val uniqueGiftColors: UniqueGiftColors? = null, ) : Bot(), ExtendedChat { @SerialName(isBotField) private val isBot = true @@ -454,4 +550,6 @@ data class UnknownExtendedChat( override val maxReactionsCount: Int = 3 @SerialName(acceptedGiftTypesField) override val acceptedGiftTypes: AcceptedGiftTypes = AcceptedGiftTypes() + @SerialName(uniqueGiftColorsField) + override val uniqueGiftColors: UniqueGiftColors? = null } diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/chat/ExtendedAbstracts.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/chat/ExtendedAbstracts.kt index 5a10c36ffb..ebeb2a03ec 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/chat/ExtendedAbstracts.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/chat/ExtendedAbstracts.kt @@ -1,11 +1,14 @@ package dev.inmo.tgbotapi.types.chat import dev.inmo.tgbotapi.types.* +import dev.inmo.tgbotapi.types.abstracts.WithOptionalPaidMessageStarCount import dev.inmo.tgbotapi.types.business_connection.BusinessIntro import dev.inmo.tgbotapi.types.business_connection.BusinessLocation import dev.inmo.tgbotapi.types.business_connection.BusinessOpeningHours import dev.inmo.tgbotapi.types.colors.ColorId +import dev.inmo.tgbotapi.types.files.AudioFile import dev.inmo.tgbotapi.types.gifts.AcceptedGiftTypes +import dev.inmo.tgbotapi.types.gifts.unique.UniqueGiftColors import dev.inmo.tgbotapi.types.message.abstracts.Message import dev.inmo.tgbotapi.types.message.abstracts.TelegramBotAPIMessageDeserializeOnlySerializer import dev.inmo.tgbotapi.types.reactions.Reaction @@ -22,6 +25,8 @@ sealed interface ExtendedChat : Chat { val acceptedGiftTypes: AcceptedGiftTypes + val uniqueGiftColors: UniqueGiftColors? + @Deprecated( message = "Telegram Bot API v9.0 introduced the new field, `acceptedGiftTypes`, to allow granular" + " control over which types of gifts user, bot, or chat can accept.", @@ -50,13 +55,16 @@ sealed interface ExtendedChannelChat : ChannelChat, ExtendedPublicChat, Extended @Suppress("SERIALIZER_TYPE_INCOMPATIBLE") @Serializable(ExtendedChatSerializer.Companion::class) -sealed interface ExtendedGroupChat : GroupChat, ExtendedPublicChat { +sealed interface ExtendedGroupChat : GroupChat, ExtendedPublicChat, WithOptionalPaidMessageStarCount { val permissions: ChatPermissions } @Suppress("SERIALIZER_TYPE_INCOMPATIBLE") @Serializable(ExtendedChatSerializer.Companion::class) -sealed interface ExtendedPrivateChat : PrivateChat, ExtendedChatWithUsername, ExtendedNonBotChat { +sealed interface ExtendedPrivateChat : PrivateUserChat, + ExtendedChatWithUsername, + ExtendedNonBotChat, + WithOptionalPaidMessageStarCount { val bio: String val hasPrivateForwards: Boolean val hasRestrictedVoiceAndVideoMessages: Boolean @@ -67,11 +75,17 @@ sealed interface ExtendedPrivateChat : PrivateChat, ExtendedChatWithUsername, Ex val birthdate: Birthdate? val personalChat: PreviewChannelChat? + val firstProfileAudio: AudioFile? + val rating: UserRating? val allowCreateUserIdLink: Boolean get() = hasPrivateForwards } +@Suppress("SERIALIZER_TYPE_INCOMPATIBLE") +@Serializable(ExtendedChatSerializer.Companion::class) +sealed interface ExtendedPrivateForumChat : ExtendedPrivateChat, PrivateForumChat + sealed interface ExtendedPublicChat : ExtendedChat, PublicChat, ExtendedNonBotChat { val description: String val inviteLink: String? @@ -112,7 +126,7 @@ sealed interface ExtendedSupergroupChat : SupergroupChat, ExtendedGroupChat, Ext @Suppress("SERIALIZER_TYPE_INCOMPATIBLE") @Serializable(ExtendedChatSerializer.Companion::class) -sealed interface ExtendedForumChat : ExtendedSupergroupChat, ForumChat +sealed interface ExtendedForumChat : ExtendedSupergroupChat, SupergroupForumChat @Suppress("SERIALIZER_TYPE_INCOMPATIBLE") @Serializable(PreviewChatSerializer::class) diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/chat/Impls.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/chat/Impls.kt index 07fc9829c9..fc7ee3e953 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/chat/Impls.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/chat/Impls.kt @@ -33,6 +33,20 @@ data class PrivateChatImpl( @SerialName(lastNameField) override val lastName: String = "" ) : PreviewPrivateChat +@Serializable +@RiskFeature("This class is a subject of changes. It is better to use PrivateChat due") +data class PrivateForumChatImpl( + @Suppress("SERIALIZER_TYPE_INCOMPATIBLE") + @SerialName(idField) + override val id: IdChatIdentifier, + @Suppress("SERIALIZER_TYPE_INCOMPATIBLE") + @SerialName(usernameField) + override val username: Username? = null, + @SerialName(firstNameField) + override val firstName: String = "", + @SerialName(lastNameField) + override val lastName: String = "" +) : PreviewPrivateForumChat @Serializable @RiskFeature("This class is a subject of changes. It is better to use PrivateChat due") @@ -138,7 +152,7 @@ data class CommonBot( data class CommonUser( @Suppress("SERIALIZER_TYPE_INCOMPATIBLE") @SerialName(idField) - override val id: UserId, + override val id: IdChatIdentifier, @SerialName(firstNameField) override val firstName: String, @SerialName(lastNameField) diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/chat/PreviewAbstracts.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/chat/PreviewAbstracts.kt index 0e05c55d6c..e7c89daba3 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/chat/PreviewAbstracts.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/chat/PreviewAbstracts.kt @@ -11,7 +11,11 @@ sealed interface PreviewUsernameChat : PreviewChat, UsernameChat @Suppress("SERIALIZER_TYPE_INCOMPATIBLE") @Serializable(PreviewChatSerializer::class) -sealed interface PreviewPrivateChat : PreviewUsernameChat, PrivateChat +sealed interface PreviewPrivateChat : PreviewUsernameChat, PrivateUserChat + +@Suppress("SERIALIZER_TYPE_INCOMPATIBLE") +@Serializable(PreviewChatSerializer::class) +sealed interface PreviewPrivateForumChat : PreviewPrivateChat, PrivateForumChat @Suppress("SERIALIZER_TYPE_INCOMPATIBLE") @Serializable(PreviewChatSerializer::class) @@ -39,7 +43,7 @@ sealed interface PreviewSupergroupChat : PreviewGroupChat, PreviewSuperPublicCha @Suppress("SERIALIZER_TYPE_INCOMPATIBLE") @Serializable(PreviewChatSerializer::class) -sealed interface PreviewForumChat : PreviewSupergroupChat, ForumChat +sealed interface PreviewForumChat : PreviewSupergroupChat, SupergroupForumChat @Suppress("SERIALIZER_TYPE_INCOMPATIBLE") @Serializable(PreviewChatSerializer::class) diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/chat/UserRating.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/chat/UserRating.kt new file mode 100644 index 0000000000..64cb2dceb1 --- /dev/null +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/chat/UserRating.kt @@ -0,0 +1,17 @@ +package dev.inmo.tgbotapi.types.chat + +import dev.inmo.tgbotapi.types.* +import kotlinx.serialization.SerialName +import kotlinx.serialization.Serializable + +@Serializable +data class UserRating( + @SerialName(levelField) + val level: Level, + @SerialName(ratingField) + val rating: Rating, + @SerialName(currentLevelRatingField) + val currentLevelRating: Rating, + @SerialName(nextLevelRatingField) + val nextLevelRating: Rating? = null +) diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/checklists/ChecklistTask.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/checklists/ChecklistTask.kt index 7d80e4dc26..4442dec753 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/checklists/ChecklistTask.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/checklists/ChecklistTask.kt @@ -3,8 +3,10 @@ package dev.inmo.tgbotapi.types.checklists import dev.inmo.micro_utils.common.Warning import dev.inmo.tgbotapi.abstracts.TextedInput import dev.inmo.tgbotapi.types.TelegramDate +import dev.inmo.tgbotapi.types.chat.PreviewChat import dev.inmo.tgbotapi.types.chat.PreviewUser import dev.inmo.tgbotapi.types.completedByUserField +import dev.inmo.tgbotapi.types.completedByChatField import dev.inmo.tgbotapi.types.completionDateField import dev.inmo.tgbotapi.types.idField import dev.inmo.tgbotapi.types.message.ParseMode @@ -102,8 +104,8 @@ sealed interface ChecklistTask : TextedInput { } @Suppress("SERIALIZER_TYPE_INCOMPATIBLE") - @Serializable(Created.Serializer::class) - data class Undone( + @Serializable(Serializer::class) + data class Uncompleted( @SerialName(idField) override val id: ChecklistTaskId, @SerialName(textEntitiesField) @@ -123,95 +125,135 @@ sealed interface ChecklistTask : TextedInput { ) } - @Suppress("SERIALIZER_TYPE_INCOMPATIBLE") - @Serializable(Created.Serializer::class) - data class Done( - @SerialName(idField) - override val id: ChecklistTaskId, - @SerialName(completedByUserField) - override val completedByUser: PreviewUser, - @SerialName(completionDateField) - override val completionDate: TelegramDate, - @SerialName(textEntitiesField) - override val textSources: List = emptyList() - ) : ChecklistTask.Created { - @OptIn(ExperimentalSerializationApi::class) - @EncodeDefault - @Serializable - @SerialName(textField) - override val text: String = textSources.makeSourceString() - - constructor( - id: ChecklistTaskId, - text: String, - completedByUser: PreviewUser, - completionDate: TelegramDate, - ): this( - id, - completedByUser, - completionDate, - listOf( - RegularTextSource(text) - ) - ) - } - - @Serializable(Created.Serializer::class) + @Serializable(Serializer::class) sealed interface Created : ChecklistTask { val completedByUser: PreviewUser? get() = null + val completedByChat: PreviewChat? + get() = null val completionDate: TelegramDate? get() = null + } - @RiskFeature - object Serializer : KSerializer { + @Suppress("SERIALIZER_TYPE_INCOMPATIBLE") + @Serializable(Serializer::class) + sealed interface Completed : Created { + @Suppress("SERIALIZER_TYPE_INCOMPATIBLE") + @Serializable(Serializer::class) + data class ByUser( + @SerialName(idField) + override val id: ChecklistTaskId, + @SerialName(completedByUserField) + override val completedByUser: PreviewUser, + @SerialName(completionDateField) + override val completionDate: TelegramDate, + @SerialName(textEntitiesField) + override val textSources: List = emptyList() + ) : Completed { + @OptIn(ExperimentalSerializationApi::class) + @EncodeDefault @Serializable - private data class RawCreatedChecklistTask( - @SerialName(idField) - val id: ChecklistTaskId, - @SerialName(textField) - val text: String, - @SerialName(textEntitiesField) - val textSources: List = emptyList(), - @Suppress("SERIALIZER_TYPE_INCOMPATIBLE") - @SerialName(completedByUserField) - val completedByUser: PreviewUser? = null, - @SerialName(completionDateField) - val completionDate: TelegramDate = TelegramDate(0), // TelegramDate(0) is the default according to https://core.telegram.org/bots/api#checklisttask + @SerialName(textField) + override val text: String = textSources.makeSourceString() + } + @Suppress("SERIALIZER_TYPE_INCOMPATIBLE") + @Serializable(Serializer::class) + data class ByChat( + @SerialName(idField) + override val id: ChecklistTaskId, + @SerialName(completedByChatField) + override val completedByChat: PreviewChat, + @SerialName(completionDateField) + override val completionDate: TelegramDate, + @SerialName(textEntitiesField) + override val textSources: List = emptyList() + ) : Completed { + @OptIn(ExperimentalSerializationApi::class) + @EncodeDefault + @Serializable + @SerialName(textField) + override val text: String = textSources.makeSourceString() + } + @Suppress("SERIALIZER_TYPE_INCOMPATIBLE") + @Serializable(Serializer::class) + data class Common( + @SerialName(idField) + override val id: ChecklistTaskId, + @SerialName(completionDateField) + override val completionDate: TelegramDate, + @SerialName(textEntitiesField) + override val textSources: List = emptyList() + ) : Completed { + @OptIn(ExperimentalSerializationApi::class) + @EncodeDefault + @Serializable + @SerialName(textField) + override val text: String = textSources.makeSourceString() + } + } + + @RiskFeature + object Serializer : KSerializer { + @Serializable + private data class RawCreatedChecklistTask( + @SerialName(idField) + val id: ChecklistTaskId, + @SerialName(textField) + val text: String, + @SerialName(textEntitiesField) + val textSources: List = emptyList(), + @Suppress("SERIALIZER_TYPE_INCOMPATIBLE") + @SerialName(completedByUserField) + val completedByUser: PreviewUser? = null, + @SerialName(completedByChatField) + val completedByChat: PreviewChat? = null, + @SerialName(completionDateField) + val completionDate: TelegramDate = TelegramDate.Start, // TelegramDate(0) is the default according to https://core.telegram.org/bots/api#checklisttask + ) + override val descriptor: SerialDescriptor = RawCreatedChecklistTask.serializer().descriptor + + override fun deserialize(decoder: Decoder): Created { + val raw = RawCreatedChecklistTask.serializer().deserialize( + decoder ) - override val descriptor: SerialDescriptor = RawCreatedChecklistTask.serializer().descriptor - override fun deserialize(decoder: Decoder): Created { - val raw = RawCreatedChecklistTask.serializer().deserialize( - decoder + return when { + raw.completionDate == TelegramDate.Start -> Uncompleted( + id = raw.id, + textSources = raw.textSources.asTextSources(raw.text), ) - - return when { - raw.completedByUser != null -> Done( - id = raw.id, - completedByUser = raw.completedByUser, - completionDate = raw.completionDate, - textSources = raw.textSources.asTextSources(raw.text), - ) - else -> Undone( - id = raw.id, - textSources = raw.textSources.asTextSources(raw.text), - ) - } - } - - override fun serialize(encoder: Encoder, value: Created) { - RawCreatedChecklistTask.serializer().serialize( - encoder, - RawCreatedChecklistTask( - id = value.id, - text = value.text, - completedByUser = value.completedByUser, - completionDate = value.completionDate ?: TelegramDate(0), - textSources = value.textSources.toRawMessageEntities() - ) + raw.completedByChat != null -> Completed.ByChat( + id = raw.id, + completedByChat = raw.completedByChat, + completionDate = raw.completionDate, + textSources = raw.textSources.asTextSources(raw.text), + ) + raw.completedByUser != null -> Completed.ByUser( + id = raw.id, + completedByUser = raw.completedByUser, + completionDate = raw.completionDate, + textSources = raw.textSources.asTextSources(raw.text), + ) + else -> Completed.Common( + id = raw.id, + completionDate = raw.completionDate, + textSources = raw.textSources.asTextSources(raw.text), ) } } + + override fun serialize(encoder: Encoder, value: Created) { + RawCreatedChecklistTask.serializer().serialize( + encoder, + RawCreatedChecklistTask( + id = value.id, + text = value.text, + completedByUser = value.completedByUser, + completedByChat = value.completedByChat, + completionDate = value.completionDate ?: TelegramDate.Start, + textSources = value.textSources.toRawMessageEntities() + ) + ) + } } } \ No newline at end of file diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/files/AnimationFile.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/files/AnimationFile.kt index bc9b89d9d0..def74b6761 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/files/AnimationFile.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/files/AnimationFile.kt @@ -22,6 +22,6 @@ data class AnimationFile( @SerialName(mimeTypeField) override val mimeType: MimeType? = null, @SerialName(fileSizeField) - override val fileSize: Long? = null + override val fileSize: FileSize? = null ) : TelegramMediaFile, MimedMediaFile, ThumbedMediaFile, PlayableMediaFile, CustomNamedMediaFile, SizedMediaFile, MediaContentVariant diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/files/AudioFile.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/files/AudioFile.kt index 598c099f48..422e90e771 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/files/AudioFile.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/files/AudioFile.kt @@ -25,10 +25,16 @@ data class AudioFile( @SerialName(mimeTypeField) override val mimeType: MimeType? = null, @SerialName(fileSizeField) - override val fileSize: Long? = null, + override val fileSize: FileSize? = null, @SerialName(thumbnailField) override val thumbnail: PhotoSize? = null ) : TelegramMediaFile, CustomNamedMediaFile, MimedMediaFile, ThumbedMediaFile, PlayableMediaFile, TitledMediaFile, Performerable, MediaContentVariant -fun AudioFile.asVoiceFile() = VoiceFile(fileId, fileUniqueId, duration, mimeType, fileSize) +fun AudioFile.asVoiceFile() = VoiceFile( + fileId = fileId, + fileUniqueId = fileUniqueId, + duration = duration, + mimeType = mimeType, + fileSize = fileSize +) diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/files/DocumentFile.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/files/DocumentFile.kt index 0cc6069e02..28d901fa93 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/files/DocumentFile.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/files/DocumentFile.kt @@ -14,7 +14,7 @@ data class DocumentFile( @SerialName(fileUniqueIdField) override val fileUniqueId: TgFileUniqueId, @SerialName(fileSizeField) - override val fileSize: Long? = null, + override val fileSize: FileSize? = null, override val thumbnail: PhotoSize? = null, @SerialName(mimeTypeField) override val mimeType: MimeType? = null, @@ -27,11 +27,11 @@ inline fun TelegramMediaFile.asDocumentFile() = if (this is DocumentFile) { this } else { DocumentFile( - fileId, - fileUniqueId, - fileSize, - (this as? ThumbedMediaFile) ?.thumbnail, - (this as? MimedMediaFile) ?.mimeType, - (this as? CustomNamedMediaFile) ?.fileName + fileId = fileId, + fileUniqueId = fileUniqueId, + fileSize = fileSize, + thumbnail = (this as? ThumbedMediaFile) ?.thumbnail, + mimeType = (this as? MimedMediaFile) ?.mimeType, + fileName = (this as? CustomNamedMediaFile) ?.fileName ) } diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/files/File.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/files/File.kt index c2461d2561..f2c3be98cc 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/files/File.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/files/File.kt @@ -13,5 +13,5 @@ data class File( @SerialName(fileUniqueIdField) override val fileUniqueId: TgFileUniqueId, @SerialName(fileSizeField) - override val fileSize: Long? = null + override val fileSize: FileSize? = null ): TelegramMediaFile diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/files/FileSize.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/files/FileSize.kt new file mode 100644 index 0000000000..9e43e6675d --- /dev/null +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/files/FileSize.kt @@ -0,0 +1,12 @@ +package dev.inmo.tgbotapi.types.files + +import kotlinx.serialization.Serializable +import kotlin.jvm.JvmInline + +@Serializable +@JvmInline +value class FileSize( + val bytes: ULong +) : Comparable { + override fun compareTo(other: FileSize): Int = bytes.compareTo(other.bytes) +} diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/files/PassportFile.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/files/PassportFile.kt index c68ffd71b9..94209d026e 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/files/PassportFile.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/files/PassportFile.kt @@ -19,5 +19,5 @@ data class PassportFile( @SerialName(fileDateField) val uploadingDate: TelegramDate, @SerialName(fileSizeField) - override val fileSize: Long? = null + override val fileSize: FileSize? = null ) : TelegramMediaFile diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/files/PathedFile.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/files/PathedFile.kt index 35cf52fe16..7159cbecb4 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/files/PathedFile.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/files/PathedFile.kt @@ -15,7 +15,7 @@ data class PathedFile( @SerialName(filePathField) val filePath: String, @SerialName(fileSizeField) - override val fileSize: Long? = null + override val fileSize: FileSize? = null ): TelegramMediaFile { @Suppress("TRANSIENT_IS_REDUNDANT") @Transient diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/files/PhotoSize.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/files/PhotoSize.kt index d98589e5b7..60f7cd7899 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/files/PhotoSize.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/files/PhotoSize.kt @@ -17,7 +17,7 @@ value class PhotoFile( get() = biggest.fileId override val fileUniqueId: TgFileUniqueId get() = biggest.fileUniqueId - override val fileSize: Long? + override val fileSize: FileSize? get() = biggest.fileSize init { @@ -44,7 +44,7 @@ data class PhotoSize( @SerialName(fileUniqueIdField) override val fileUniqueId: TgFileUniqueId, @SerialName(fileSizeField) - override val fileSize: Long? = null, + override val fileSize: FileSize? = null, override val width: Int, override val height: Int ) : SizedMediaFile { diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/files/Sticker.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/files/Sticker.kt index 3de3db3e73..3a0e4029bd 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/files/Sticker.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/files/Sticker.kt @@ -31,7 +31,7 @@ data class StickerSurrogate( val premium_animation: File? = null, val mask_position: MaskPosition? = null, val custom_emoji_id: CustomEmojiId? = null, - val file_size: Long? = null, + val file_size: FileSize? = null, val needs_repainting: Boolean = false, ) @@ -267,7 +267,7 @@ data class RegularSimpleSticker( @SerialName(premiumAnimationField) override val premiumAnimationFile: File? = null, @SerialName(fileSizeField) - override val fileSize: Long? = null, + override val fileSize: FileSize? = null, ) : RegularSticker { @SerialName(stickerFormatField) @EncodeDefault @@ -299,7 +299,7 @@ data class RegularAnimatedSticker( @SerialName(premiumAnimationField) override val premiumAnimationFile: File? = null, @SerialName(fileSizeField) - override val fileSize: Long? = null, + override val fileSize: FileSize? = null, ) : RegularSticker, AnimatedSticker { @SerialName(stickerTypeField) @Serializable(StickerType.Serializer::class) @@ -327,7 +327,7 @@ data class RegularVideoSticker( @SerialName(premiumAnimationField) override val premiumAnimationFile: File? = null, @SerialName(fileSizeField) - override val fileSize: Long? = null, + override val fileSize: FileSize? = null, ) : RegularSticker, VideoSticker { @SerialName(stickerTypeField) @Serializable(StickerType.Serializer::class) @@ -371,7 +371,7 @@ data class MaskSimpleSticker( @SerialName(stickerSetNameField) override val stickerSetName: StickerSetName? = null, @SerialName(fileSizeField) - override val fileSize: Long? = null, + override val fileSize: FileSize? = null, ) : MaskSticker { @SerialName(stickerFormatField) @EncodeDefault @@ -403,7 +403,7 @@ data class MaskAnimatedSticker( @SerialName(stickerSetNameField) override val stickerSetName: StickerSetName? = null, @SerialName(fileSizeField) - override val fileSize: Long? = null, + override val fileSize: FileSize? = null, ) : MaskSticker, AnimatedSticker { @SerialName(stickerTypeField) @Serializable(StickerType.Serializer::class) @@ -431,7 +431,7 @@ data class MaskVideoSticker( @SerialName(stickerSetNameField) override val stickerSetName: StickerSetName? = null, @SerialName(fileSizeField) - override val fileSize: Long? = null, + override val fileSize: FileSize? = null, ) : MaskSticker, VideoSticker { @SerialName(stickerTypeField) @Serializable(StickerType.Serializer::class) @@ -476,7 +476,7 @@ data class CustomEmojiSimpleSticker( @SerialName(stickerSetNameField) override val stickerSetName: StickerSetName? = null, @SerialName(fileSizeField) - override val fileSize: Long? = null, + override val fileSize: FileSize? = null, @SerialName(needsRepaintingField) override val needsRepainting: Boolean = false ) : CustomEmojiSticker { @@ -510,7 +510,7 @@ data class CustomEmojiAnimatedSticker( @SerialName(stickerSetNameField) override val stickerSetName: StickerSetName? = null, @SerialName(fileSizeField) - override val fileSize: Long? = null, + override val fileSize: FileSize? = null, @SerialName(needsRepaintingField) override val needsRepainting: Boolean = false, ) : CustomEmojiSticker, AnimatedSticker { @@ -540,7 +540,7 @@ data class CustomEmojiVideoSticker( @SerialName(stickerSetNameField) override val stickerSetName: StickerSetName? = null, @SerialName(fileSizeField) - override val fileSize: Long? = null, + override val fileSize: FileSize? = null, @SerialName(needsRepaintingField) override val needsRepainting: Boolean = false, ) : CustomEmojiSticker, VideoSticker { @@ -569,7 +569,7 @@ data class UnknownSticker( @SerialName(stickerSetNameField) override val stickerSetName: StickerSetName? = null, @SerialName(fileSizeField) - override val fileSize: Long? = null, + override val fileSize: FileSize? = null, @SerialName(stickerFormatField) override val stickerFormat: StickerFormat = StickerFormat.Static, @SerialName(stickerTypeField) diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/files/TelegramMediaFile.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/files/TelegramMediaFile.kt index 558198d5ff..c1ab15ceb1 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/files/TelegramMediaFile.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/files/TelegramMediaFile.kt @@ -11,5 +11,5 @@ import dev.inmo.tgbotapi.types.TgFileUniqueId sealed interface TelegramMediaFile { val fileId: FileId val fileUniqueId: TgFileUniqueId - val fileSize: Long? + val fileSize: FileSize? } diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/files/VideoCodec.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/files/VideoCodec.kt new file mode 100644 index 0000000000..e903756cb2 --- /dev/null +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/files/VideoCodec.kt @@ -0,0 +1,53 @@ +package dev.inmo.tgbotapi.types.files + +import kotlinx.serialization.KSerializer +import kotlinx.serialization.Serializable +import kotlinx.serialization.builtins.serializer +import kotlinx.serialization.descriptors.SerialDescriptor +import kotlinx.serialization.encoding.Decoder +import kotlinx.serialization.encoding.Encoder + +@Serializable(VideoCodec.Serializer::class) +sealed interface VideoCodec { + val name: String + + @Suppress("SERIALIZER_TYPE_INCOMPATIBLE") + @Serializable(VideoCodec.Serializer::class) + data object H264 : VideoCodec { override val name = "h264" } + + @Suppress("SERIALIZER_TYPE_INCOMPATIBLE") + @Serializable(VideoCodec.Serializer::class) + data object H265 : VideoCodec { override val name = "h265" } + + @Suppress("SERIALIZER_TYPE_INCOMPATIBLE") + @Serializable(VideoCodec.Serializer::class) + data object AV1 : VideoCodec { override val name = "av01" } + + @Suppress("SERIALIZER_TYPE_INCOMPATIBLE") + @Serializable(VideoCodec.Serializer::class) + data class Custom( + override val name: String + ) : VideoCodec + + object Serializer : KSerializer { + override val descriptor: SerialDescriptor + get() = String.serializer().descriptor + + override fun serialize( + encoder: Encoder, + value: VideoCodec + ) { + encoder.encodeString(value.name) + } + + override fun deserialize(decoder: Decoder): VideoCodec { + return when (val name = decoder.decodeString()) { + H264.name -> H264 + H265.name -> H265 + AV1.name -> AV1 + else -> Custom(name) + } + } + + } +} \ No newline at end of file diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/files/VideoFile.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/files/VideoFile.kt index ee23892bb4..e7705ccba0 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/files/VideoFile.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/files/VideoFile.kt @@ -29,14 +29,24 @@ data class VideoFile( override val cover: Photo? = null, @SerialName(startTimestampField) override val startTimestamp: Seconds? = null, + @SerialName(qualitiesField) + val qualities: List? = null, @SerialName(fileNameField) override val fileName: String? = null, @SerialName(mimeTypeField) override val mimeType: MimeType? = null, @SerialName(fileSizeField) - override val fileSize: Long? = null -) : TelegramMediaFile, CustomNamedMediaFile, MimedMediaFile, CoveredMediaFile, CustomStartMediaFile, ThumbedMediaFile, PlayableMediaFile, SizedMediaFile, - MediaContentVariant, UsefulAsPaidMediaFile + override val fileSize: FileSize? = null +) : TelegramMediaFile, + CustomNamedMediaFile, + MimedMediaFile, + CoveredMediaFile, + CustomStartMediaFile, + ThumbedMediaFile, + PlayableMediaFile, + SizedMediaFile, + MediaContentVariant, + UsefulAsPaidMediaFile @Suppress("NOTHING_TO_INLINE") inline fun VideoFile.toTelegramMediaVideo( diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/files/VideoNoteFile.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/files/VideoNoteFile.kt index 89e2690c30..56f73e83ac 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/files/VideoNoteFile.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/files/VideoNoteFile.kt @@ -17,7 +17,7 @@ data class VideoNoteFile( override val duration: Long? = null, override val thumbnail: PhotoSize? = null, @SerialName(fileSizeField) - override val fileSize: Long? = null + override val fileSize: FileSize? = null ) : TelegramMediaFile, ThumbedMediaFile, PlayableMediaFile, SizedMediaFile, MediaContentVariant { override val height: Int get() = width diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/files/VideoQuality.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/files/VideoQuality.kt new file mode 100644 index 0000000000..369e29011d --- /dev/null +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/files/VideoQuality.kt @@ -0,0 +1,24 @@ +package dev.inmo.tgbotapi.types.files + +import dev.inmo.tgbotapi.requests.abstracts.FileId +import dev.inmo.tgbotapi.types.* +import kotlinx.serialization.SerialName +import kotlinx.serialization.Serializable + +@Serializable +data class VideoQuality( + @Suppress("SERIALIZER_TYPE_INCOMPATIBLE") + @SerialName(fileIdField) + override val fileId: FileId, + @SerialName(fileUniqueIdField) + override val fileUniqueId: TgFileUniqueId, + @SerialName(widthField) + override val width: Int, + @SerialName(heightField) + override val height: Int, + @SerialName(codecField) + val codec: VideoCodec, + @SerialName(fileSizeField) + override val fileSize: FileSize? = null +) : TelegramMediaFile, SizedMediaFile { +} diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/files/VoiceFile.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/files/VoiceFile.kt index fac4890f0b..de473557c0 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/files/VoiceFile.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/files/VoiceFile.kt @@ -18,7 +18,7 @@ data class VoiceFile( @SerialName(mimeTypeField) override val mimeType: MimeType? = null, @SerialName(fileSizeField) - override val fileSize: Long? = null + override val fileSize: FileSize? = null ) : TelegramMediaFile, MimedMediaFile, PlayableMediaFile, MediaContentVariant fun VoiceFile.asAudioFile( diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/gifts/AcceptedGiftTypes.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/gifts/AcceptedGiftTypes.kt index 8d0b4cb92c..e28bc3388f 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/gifts/AcceptedGiftTypes.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/gifts/AcceptedGiftTypes.kt @@ -1,5 +1,6 @@ package dev.inmo.tgbotapi.types.gifts +import dev.inmo.tgbotapi.types.giftsFromChannelsField import dev.inmo.tgbotapi.types.limitedGiftsField import dev.inmo.tgbotapi.types.premiumSubscriptionField import dev.inmo.tgbotapi.types.uniqueGiftsField @@ -17,5 +18,7 @@ data class AcceptedGiftTypes( @SerialName(uniqueGiftsField) val uniqueGifts: Boolean = false, @SerialName(premiumSubscriptionField) - val premiumSubscription: Boolean = false + val premiumSubscription: Boolean = false, + @SerialName(giftsFromChannelsField) + val giftsFromChannels: Boolean = false ) diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/gifts/Gift.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/gifts/Gift.kt index 76b1576553..a7dda5eaa9 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/gifts/Gift.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/gifts/Gift.kt @@ -4,6 +4,7 @@ import dev.inmo.tgbotapi.types.* import dev.inmo.tgbotapi.types.chat.PreviewChat import dev.inmo.tgbotapi.types.files.Sticker import dev.inmo.tgbotapi.types.gifts.unique.UniqueGiftBackdrop +import dev.inmo.tgbotapi.types.gifts.unique.UniqueGiftColors import dev.inmo.tgbotapi.types.gifts.unique.UniqueGiftModel import dev.inmo.tgbotapi.types.gifts.unique.UniqueGiftSymbol import kotlinx.serialization.KSerializer @@ -15,16 +16,26 @@ import kotlinx.serialization.encoding.Encoder @Serializable(Gift.Companion::class) sealed interface Gift { + val id: GiftId? val publisherChat: PreviewChat? + val isPremium: Boolean @Serializable(Regular.Companion::class) sealed interface Regular : Gift { - val id: GiftId + override val id: GiftId val sticker: Sticker val starCount: Int val totalCount: Int? val upgradeStarCount: Int? val remainingCount: Int? + val personalTotalCount: Int? + val personalRemainingCount: Int? + val hasColors: Boolean + val background: GiftBackground? + val uniqueGiftVariantCount: Int? + /** + * Represents a [Gift](https://core.telegram.org/bots/api#gift) for fields of unlimited gifts + */ @Serializable data class Unlimited( @SerialName(idField) @@ -37,6 +48,18 @@ sealed interface Gift { override val upgradeStarCount: Int? = null, @SerialName(publisherChatField) override val publisherChat: PreviewChat? = null, + @SerialName(personalTotalCountField) + override val personalTotalCount: Int? = null, + @SerialName(personalRemainingCountField) + override val personalRemainingCount: Int? = null, + @SerialName(isPremiumField) + override val isPremium: Boolean = false, + @SerialName(hasColorsField) + override val hasColors: Boolean = false, + @SerialName(backgroundField) + override val background: GiftBackground? = null, + @SerialName(uniqueGiftVariantCountField) + override val uniqueGiftVariantCount: Int? = null, ) : Regular { override val totalCount: Int? get() = null @@ -44,6 +67,9 @@ sealed interface Gift { get() = null } + /** + * Represents a [Gift](https://core.telegram.org/bots/api#gift) for fields of limited gifts + */ @Serializable data class Limited( @SerialName(idField) @@ -60,6 +86,18 @@ sealed interface Gift { override val upgradeStarCount: Int? = null, @SerialName(publisherChatField) override val publisherChat: PreviewChat? = null, + @SerialName(personalTotalCountField) + override val personalTotalCount: Int? = null, + @SerialName(personalRemainingCountField) + override val personalRemainingCount: Int? = null, + @SerialName(isPremiumField) + override val isPremium: Boolean = false, + @SerialName(hasColorsField) + override val hasColors: Boolean = false, + @SerialName(backgroundField) + override val background: GiftBackground? = null, + @SerialName(uniqueGiftVariantCountField) + override val uniqueGiftVariantCount: Int? = null, ) : Regular companion object : KSerializer { @@ -73,6 +111,12 @@ sealed interface Gift { val remaining_count: Int? = null, val upgrade_star_count: Int? = null, val publisher_chat: PreviewChat? = null, + val personal_total_count: Int? = null, + val personal_remaining_count: Int? = null, + val is_premium: Boolean = false, + val has_colors: Boolean = false, + val background: GiftBackground? = null, + val unique_gift_variant_count: Int? = null, ) override val descriptor: SerialDescriptor @@ -89,7 +133,13 @@ sealed interface Gift { totalCount = surrogate.total_count, remainingCount = surrogate.remaining_count, upgradeStarCount = surrogate.upgrade_star_count, - publisherChat = surrogate.publisher_chat + publisherChat = surrogate.publisher_chat, + personalTotalCount = surrogate.personal_total_count, + personalRemainingCount = surrogate.personal_remaining_count, + isPremium = surrogate.is_premium, + hasColors = surrogate.has_colors, + background = surrogate.background, + uniqueGiftVariantCount = surrogate.unique_gift_variant_count ) } else { Unlimited( @@ -98,6 +148,12 @@ sealed interface Gift { starCount = surrogate.star_count, upgradeStarCount = surrogate.upgrade_star_count, publisherChat = surrogate.publisher_chat, + personalTotalCount = surrogate.personal_total_count, + personalRemainingCount = surrogate.personal_remaining_count, + isPremium = surrogate.is_premium, + hasColors = surrogate.has_colors, + background = surrogate.background, + uniqueGiftVariantCount = surrogate.unique_gift_variant_count ) } } @@ -110,19 +166,30 @@ sealed interface Gift { total_count = value.totalCount, remaining_count = value.remainingCount, upgrade_star_count = value.upgradeStarCount, - publisher_chat = value.publisherChat + publisher_chat = value.publisherChat, + personal_total_count = value.personalTotalCount, + personal_remaining_count = value.personalRemainingCount, + is_premium = value.isPremium, + has_colors = value.hasColors, + background = value.background, + unique_gift_variant_count = value.uniqueGiftVariantCount ) RegularGiftSurrogate.serializer().serialize(encoder, surrogate) } } } + /** + * Represents a [UniqueGift](https://core.telegram.org/bots/api#uniquegift) from telegram bots api + */ @Serializable data class Unique( + @SerialName(giftIdField) + override val id: GiftId? = null, @SerialName(baseNameField) val baseName: String, @SerialName(nameField) - val name: String, + val name: UniqueGiftName, @SerialName(numberField) val number: Int, @SerialName(modelField) @@ -131,8 +198,16 @@ sealed interface Gift { val symbol: UniqueGiftSymbol, @SerialName(backdropField) val backdrop: UniqueGiftBackdrop, + @SerialName(isPremiumField) + override val isPremium: Boolean = false, + @SerialName(isBurnedField) + val isBurned: Boolean = false, + @SerialName(isFromBlockchainField) + val isFromBlockchain: Boolean = false, + @SerialName(colorsField) + val colors: UniqueGiftColors? = null, @SerialName(publisherChatField) - override val publisherChat: PreviewChat? = null + override val publisherChat: PreviewChat? = null, ) : Gift companion object : KSerializer { @@ -146,13 +221,21 @@ sealed interface Gift { val total_count: Int? = null, val remaining_count: Int? = null, val upgrade_star_count: Int? = null, + val personal_total_count: Int? = null, + val personal_remaining_count: Int? = null, + val is_premium: Boolean = false, + val has_colors: Boolean = false, + val background: GiftBackground? = null, + val unique_gift_variant_count: Int? = null, // unique gift fields val base_name: String? = null, - val name: String? = null, + val name: UniqueGiftName? = null, val number: Int? = null, val model: UniqueGiftModel? = null, val symbol: UniqueGiftSymbol? = null, val backdrop: UniqueGiftBackdrop? = null, + val is_from_blockchain: Boolean = false, + val colors: UniqueGiftColors? = null, val publisher_chat: PreviewChat? = null, ) @@ -164,13 +247,17 @@ sealed interface Gift { return if (surrogate.base_name != null && surrogate.name != null && surrogate.number != null && surrogate.model != null && surrogate.symbol != null && surrogate.backdrop != null) { Unique( + id = surrogate.id, baseName = surrogate.base_name, name = surrogate.name, number = surrogate.number, model = surrogate.model, symbol = surrogate.symbol, backdrop = surrogate.backdrop, - publisherChat = surrogate.publisher_chat + publisherChat = surrogate.publisher_chat, + isFromBlockchain = surrogate.is_from_blockchain, + isPremium = surrogate.is_premium, + colors = surrogate.colors ) } else { decoder.decodeSerializableValue(Regular.serializer()) @@ -182,18 +269,26 @@ sealed interface Gift { value: Gift ) { val surrogate = GiftSurrogate( - id = (value as? Regular)?.id, + id = value.id, sticker = (value as? Regular)?.sticker, star_count = (value as? Regular)?.starCount, total_count = (value as? Regular.Limited)?.totalCount, remaining_count = (value as? Regular.Limited)?.remainingCount, upgrade_star_count = (value as? Regular)?.upgradeStarCount, + personal_total_count = (value as? Regular)?.personalTotalCount, + personal_remaining_count = (value as? Regular)?.personalRemainingCount, + is_premium = (value as? Regular)?.isPremium ?: (value as? Unique)?.isPremium ?: false, + has_colors = (value as? Regular)?.hasColors ?: false, + background = (value as? Regular)?.background, + unique_gift_variant_count = (value as? Regular)?.uniqueGiftVariantCount, base_name = (value as? Unique)?.baseName, name = (value as? Unique)?.name, number = (value as? Unique)?.number, model = (value as? Unique)?.model, symbol = (value as? Unique)?.symbol, backdrop = (value as? Unique)?.backdrop, + is_from_blockchain = (value as? Unique)?.isFromBlockchain ?: false, + colors = (value as? Unique)?.colors, publisher_chat = value.publisherChat, ) GiftSurrogate.serializer().serialize(encoder, surrogate) diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/gifts/GiftBackground.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/gifts/GiftBackground.kt new file mode 100644 index 0000000000..8e7070c27a --- /dev/null +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/gifts/GiftBackground.kt @@ -0,0 +1,19 @@ +package dev.inmo.tgbotapi.types.gifts + +import dev.inmo.tgbotapi.types.centerColorField +import dev.inmo.tgbotapi.types.edgeColorField +import dev.inmo.tgbotapi.types.textColorField +import dev.inmo.tgbotapi.utils.RGBColor +import kotlinx.serialization.SerialName +import kotlinx.serialization.Serializable + + +@Serializable +data class GiftBackground( + @SerialName(centerColorField) + val centerColor: RGBColor, + @SerialName(edgeColorField) + val edgeColor: RGBColor, + @SerialName(textColorField) + val textColor: RGBColor +) diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/gifts/GiftSentOrReceived.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent.kt similarity index 72% rename from tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/gifts/GiftSentOrReceived.kt rename to tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent.kt index 1ec9385b03..b52b990a2a 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/gifts/GiftSentOrReceived.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent.kt @@ -2,15 +2,13 @@ package dev.inmo.tgbotapi.types.gifts import dev.inmo.tgbotapi.abstracts.TextedInput import dev.inmo.tgbotapi.types.* -import dev.inmo.tgbotapi.types.gifts.GiftSentOrReceived.Unique.Common import dev.inmo.tgbotapi.types.message.ChatEvents.abstracts.CommonEvent import dev.inmo.tgbotapi.types.message.RawMessageEntities import dev.inmo.tgbotapi.types.message.asTextSources import dev.inmo.tgbotapi.types.message.textsources.TextSource import dev.inmo.tgbotapi.types.message.textsources.TextSourcesList import dev.inmo.tgbotapi.types.message.toRawMessageEntities -import dev.inmo.tgbotapi.utils.internal.ClassCastsIncluded -import kotlinx.serialization.EncodeDefault +import dev.inmo.tgbotapi.types.payments.abstracts.Currency import kotlinx.serialization.KSerializer import kotlinx.serialization.SerialName import kotlinx.serialization.Serializable @@ -24,33 +22,41 @@ import kotlin.jvm.JvmName /** - * Represent Telegram Bots API abstraction [OwnedGiftUnique](https://core.telegram.org/bots/api#giftinfo) and + * Represent Telegram Bots API abstraction [GiftInfo](https://core.telegram.org/bots/api#giftinfo) and * [UniqueGiftInfo](https://core.telegram.org/bots/api#uniquegiftinfo) * * @see ReceivedInBusinessAccount - * @see Regular.Common - * @see Regular.ReceivedInBusinessAccount - * @see Unique.Common - * @see Unique.ReceivedInBusinessAccount + * @see RegularGift.Common + * @see RegularGift.ReceivedInBusinessAccount + * @see UniqueGift.Common + * @see UniqueGift.ReceivedInBusinessAccount */ @Serializable -sealed interface GiftSentOrReceived : CommonEvent { +sealed interface GiftSentOrReceivedEvent : CommonEvent { val ownedGiftId: GiftId? val gift: Gift val nextTransferDate: TelegramDate? @Serializable - sealed interface ReceivedInBusinessAccount : GiftSentOrReceived { + sealed interface ReceivedInBusinessAccount : GiftSentOrReceivedEvent { override val ownedGiftId: GiftId } - @Serializable(Regular.Companion::class) - sealed interface Regular : GiftSentOrReceived, TextedInput { + /** + * Represent the hierarchy of [GiftInfo](https://core.telegram.org/bots/api#giftinfo). + * + * * For `GiftInfo` **with** `owned_gift_id` see [RegularGift.ReceivedInBusinessAccount] + * * For all other kinds see [RegularGift.Common] + */ + @Serializable(RegularGift.Companion::class) + sealed interface RegularGift : GiftSentOrReceivedEvent, TextedInput { override val gift: Gift.Regular val convertStarCount: Int? val prepaidUpgradeStarCount: Int? val canBeUpgraded: Boolean val isPrivate: Boolean + val isUpgradeSeparate: Boolean + val uniqueGiftNumber: Int? @Serializable data class Common( @@ -68,9 +74,13 @@ sealed interface GiftSentOrReceived : CommonEvent { private val entities: RawMessageEntities? = null, @SerialName(isPrivateField) override val isPrivate: Boolean = false, + @SerialName(isUpgradeSeparateField) + override val isUpgradeSeparate: Boolean = false, + @SerialName(uniqueGiftNumberField) + override val uniqueGiftNumber: Int? = null, @SerialName(nextTransferDateField) override val nextTransferDate: TelegramDate? = null - ) : Regular { + ) : RegularGift { override val textSources: List by lazy { entities ?.asTextSources(text ?: return@lazy emptyList()) ?: emptyList() } @@ -96,15 +106,19 @@ sealed interface GiftSentOrReceived : CommonEvent { private val entities: RawMessageEntities? = null, @SerialName(isPrivateField) override val isPrivate: Boolean = false, + @SerialName(isUpgradeSeparateField) + override val isUpgradeSeparate: Boolean = false, + @SerialName(uniqueGiftNumberField) + override val uniqueGiftNumber: Int? = null, @SerialName(nextTransferDateField) override val nextTransferDate: TelegramDate? = null - ) : Regular, GiftSentOrReceived.ReceivedInBusinessAccount { + ) : RegularGift, GiftSentOrReceivedEvent.ReceivedInBusinessAccount { override val textSources: List by lazy { entities ?.asTextSources(text ?: return@lazy emptyList()) ?: emptyList() } } - companion object : KSerializer { + companion object : KSerializer { @Serializable private data class Surrogate( @SerialName(giftField) @@ -123,6 +137,10 @@ sealed interface GiftSentOrReceived : CommonEvent { val entities: RawMessageEntities? = null, @SerialName(isPrivateField) val isPrivate: Boolean = false, + @SerialName(isUpgradeSeparateField) + val isUpgradeSeparate: Boolean = false, + @SerialName(uniqueGiftNumberField) + val uniqueGiftNumber: Int? = null, @SerialName(nextTransferDateField) val nextTransferDate: TelegramDate? = null ) @@ -130,14 +148,14 @@ sealed interface GiftSentOrReceived : CommonEvent { override val descriptor: SerialDescriptor get() = Surrogate.serializer().descriptor - override fun serialize(encoder: Encoder, value: Regular) { + override fun serialize(encoder: Encoder, value: RegularGift) { when (value) { is Common -> Common.serializer().serialize(encoder, value) is ReceivedInBusinessAccount -> ReceivedInBusinessAccount.serializer().serialize(encoder, value) } } - override fun deserialize(decoder: Decoder): Regular { + override fun deserialize(decoder: Decoder): RegularGift { val surrogate = Surrogate.serializer().deserialize(decoder) return when { @@ -150,6 +168,8 @@ sealed interface GiftSentOrReceived : CommonEvent { text = surrogate.text, entities = surrogate.entities, isPrivate = surrogate.isPrivate, + isUpgradeSeparate = surrogate.isUpgradeSeparate, + uniqueGiftNumber = surrogate.uniqueGiftNumber, nextTransferDate = surrogate.nextTransferDate ) } @@ -163,6 +183,8 @@ sealed interface GiftSentOrReceived : CommonEvent { text = surrogate.text, entities = surrogate.entities, isPrivate = surrogate.isPrivate, + isUpgradeSeparate = surrogate.isUpgradeSeparate, + uniqueGiftNumber = surrogate.uniqueGiftNumber, nextTransferDate = surrogate.nextTransferDate ) } @@ -178,7 +200,9 @@ sealed interface GiftSentOrReceived : CommonEvent { text: String? = null, textSources: TextSourcesList = emptyList(), position: Int, - isPrivate: Boolean = false + isPrivate: Boolean = false, + isUpgradeSeparate: Boolean = false, + uniqueGiftNumber: Int? = null ) = ownedGiftId ?.let { ReceivedInBusinessAccount( gift, @@ -188,7 +212,9 @@ sealed interface GiftSentOrReceived : CommonEvent { canBeUpgraded, text, textSources.toRawMessageEntities(position), - isPrivate + isPrivate, + isUpgradeSeparate, + uniqueGiftNumber ) } ?: Common( gift, @@ -197,17 +223,28 @@ sealed interface GiftSentOrReceived : CommonEvent { canBeUpgraded, text, textSources.toRawMessageEntities(position), - isPrivate + isPrivate, + isUpgradeSeparate, + uniqueGiftNumber ) } } - @Serializable(Unique.Companion::class) - sealed interface Unique : GiftSentOrReceived { + /** + * Represent the hierarchy of [UniqueGiftInfo](https://core.telegram.org/bots/api#uniquegiftinfo). + * + * * For `UniqueGiftInfo` **with** `owned_gift_id` see [UniqueGift.ReceivedInBusinessAccount] + * * For all other kinds see [UniqueGift.Common] + */ + @Serializable(UniqueGift.Companion::class) + sealed interface UniqueGift : GiftSentOrReceivedEvent { override val gift: Gift.Unique val origin: String? val originTyped: Origin? + @Deprecated("Use lastResaleCurrency and lastResaleAmount instead") val lastResaleStarCount: Int? + val lastResaleCurrency: String? + val lastResaleAmount: Long? val transferStarCount: Int? @Suppress("SERIALIZER_TYPE_INCOMPATIBLE") @@ -215,11 +252,15 @@ sealed interface GiftSentOrReceived : CommonEvent { sealed interface Origin { val string: String @Serializable(Origin.Companion::class) - object Upgrade : Origin { override val string: String = "upgrade" } + data object Upgrade : Origin { override val string: String = "upgrade" } @Serializable(Origin.Companion::class) - object Transfer : Origin { override val string: String = "transfer" } + data object Transfer : Origin { override val string: String = "transfer" } @Serializable(Origin.Companion::class) - object Resale : Origin { override val string: String = "resale" } + data object Resale : Origin { override val string: String = "resale" } + @Serializable(Origin.Companion::class) + data object GiftedUpgrade : Origin { override val string: String = "gifted_upgrade" } + @Serializable(Origin.Companion::class) + data object Offer : Origin { override val string: String = "offer" } @Serializable(Origin.Companion::class) @JvmInline value class Unknown(override val string: String) : Origin @@ -231,6 +272,8 @@ sealed interface GiftSentOrReceived : CommonEvent { Upgrade.string -> Upgrade Transfer.string -> Transfer Resale.string -> Resale + GiftedUpgrade.string -> GiftedUpgrade + Offer.string -> Offer else -> Unknown(value) } @@ -254,13 +297,18 @@ sealed interface GiftSentOrReceived : CommonEvent { override val gift: Gift.Unique, @SerialName(originField) override val originTyped: Origin? = null, + @Deprecated("Use lastResaleCurrency and lastResaleAmount instead") @SerialName(lastResaleStarCountField) override val lastResaleStarCount: Int? = null, + @SerialName(lastResaleCurrencyField) + override val lastResaleCurrency: Currency? = null, + @SerialName(lastResaleAmountField) + override val lastResaleAmount: Long? = null, @SerialName(transferStarCountField) override val transferStarCount: Int? = null, @SerialName(nextTransferDateField) override val nextTransferDate: TelegramDate? = null - ) : Unique { + ) : UniqueGift { override val ownedGiftId: GiftId? get() = null @@ -271,12 +319,16 @@ sealed interface GiftSentOrReceived : CommonEvent { gift: Gift.Unique, origin: String?, lastResaleStarCount: Int? = null, + lastResaleCurrency: Currency? = null, + lastResaleAmount: Long? = null, transferStarCount: Int? = null, nextTransferDate: TelegramDate? = null ) : this( gift, origin ?.let { Origin.fromString(it) }, lastResaleStarCount, + lastResaleCurrency, + lastResaleAmount, transferStarCount, nextTransferDate ) @@ -290,13 +342,18 @@ sealed interface GiftSentOrReceived : CommonEvent { override val ownedGiftId: GiftId, @SerialName(originField) override val originTyped: Origin? = null, + @Deprecated("Use lastResaleCurrency and lastResaleAmount instead") @SerialName(lastResaleStarCountField) override val lastResaleStarCount: Int? = null, + @SerialName(lastResaleCurrencyField) + override val lastResaleCurrency: Currency? = null, + @SerialName(lastResaleAmountField) + override val lastResaleAmount: Long? = null, @SerialName(transferStarCountField) override val transferStarCount: Int? = null, @SerialName(nextTransferDateField) override val nextTransferDate: TelegramDate? = null - ) : Unique, GiftSentOrReceived.ReceivedInBusinessAccount { + ) : UniqueGift, GiftSentOrReceivedEvent.ReceivedInBusinessAccount { @Transient override val origin: String? = originTyped ?.string @@ -305,6 +362,8 @@ sealed interface GiftSentOrReceived : CommonEvent { ownedGiftId: GiftId, origin: String? = null, lastResaleStarCount: Int? = null, + lastResaleCurrency: Currency? = null, + lastResaleAmount: Long? = null, transferStarCount: Int? = null, nextTransferDate: TelegramDate? = null ) : this( @@ -312,12 +371,14 @@ sealed interface GiftSentOrReceived : CommonEvent { ownedGiftId = ownedGiftId, originTyped = origin ?.let { Origin.fromString(it) }, lastResaleStarCount = lastResaleStarCount, + lastResaleCurrency = lastResaleCurrency, + lastResaleAmount = lastResaleAmount, transferStarCount = transferStarCount, nextTransferDate = nextTransferDate ) } - companion object : KSerializer { + companion object : KSerializer { @Serializable private data class Surrogate( @SerialName(giftField) @@ -328,6 +389,10 @@ sealed interface GiftSentOrReceived : CommonEvent { val origin: Origin? = null, @SerialName(lastResaleStarCountField) val lastResaleStarCount: Int? = null, + @SerialName(lastResaleCurrencyField) + val lastResaleCurrency: Currency? = null, + @SerialName(lastResaleAmountField) + val lastResaleAmount: Long? = null, @SerialName(transferStarCountField) val transferStarCount: Int? = null, @SerialName(nextTransferDateField) @@ -337,14 +402,14 @@ sealed interface GiftSentOrReceived : CommonEvent { override val descriptor: SerialDescriptor get() = Surrogate.serializer().descriptor - override fun serialize(encoder: Encoder, value: Unique) { + override fun serialize(encoder: Encoder, value: UniqueGift) { when (value) { is Common -> Common.serializer().serialize(encoder, value) is ReceivedInBusinessAccount -> ReceivedInBusinessAccount.serializer().serialize(encoder, value) } } - override fun deserialize(decoder: Decoder): Unique { + override fun deserialize(decoder: Decoder): UniqueGift { val surrogate = Surrogate.serializer().deserialize(decoder) return when { @@ -353,6 +418,8 @@ sealed interface GiftSentOrReceived : CommonEvent { gift = surrogate.gift, originTyped = surrogate.origin, lastResaleStarCount = surrogate.lastResaleStarCount, + lastResaleCurrency = surrogate.lastResaleCurrency, + lastResaleAmount = surrogate.lastResaleAmount, transferStarCount = surrogate.transferStarCount, nextTransferDate = surrogate.nextTransferDate ) @@ -363,6 +430,8 @@ sealed interface GiftSentOrReceived : CommonEvent { ownedGiftId = surrogate.ownedGiftId, originTyped = surrogate.origin, lastResaleStarCount = surrogate.lastResaleStarCount, + lastResaleCurrency = surrogate.lastResaleCurrency, + lastResaleAmount = surrogate.lastResaleAmount, transferStarCount = surrogate.transferStarCount, nextTransferDate = surrogate.nextTransferDate ) @@ -390,3 +459,6 @@ sealed interface GiftSentOrReceived : CommonEvent { } } } + +@Deprecated("Renamed to GiftSentOrReceivedEvent", ReplaceWith("GiftSentOrReceivedEvent", "dev.inmo.tgbotapi.types.gifts.GiftSentOrReceivedEvent")) +typealias GiftSentOrReceived = GiftSentOrReceivedEvent diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/gifts/OwnedGift.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/gifts/OwnedGift.kt new file mode 100644 index 0000000000..5eb9746848 --- /dev/null +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/gifts/OwnedGift.kt @@ -0,0 +1,348 @@ +package dev.inmo.tgbotapi.types.gifts + +import dev.inmo.tgbotapi.abstracts.TextedInput +import dev.inmo.tgbotapi.types.* +import dev.inmo.tgbotapi.types.chat.PreviewUser +import dev.inmo.tgbotapi.types.message.ChatEvents.abstracts.CommonEvent +import dev.inmo.tgbotapi.types.message.RawMessageEntities +import dev.inmo.tgbotapi.types.message.asTextSources +import dev.inmo.tgbotapi.types.message.textsources.TextSource +import dev.inmo.tgbotapi.types.message.textsources.TextSourcesList +import dev.inmo.tgbotapi.types.message.toRawMessageEntities +import dev.inmo.tgbotapi.types.payments.abstracts.Currency +import kotlinx.serialization.KSerializer +import kotlinx.serialization.SerialName +import kotlinx.serialization.Serializable +import kotlinx.serialization.Transient +import kotlinx.serialization.builtins.serializer +import kotlinx.serialization.descriptors.SerialDescriptor +import kotlinx.serialization.encoding.Decoder +import kotlinx.serialization.encoding.Encoder +import kotlinx.serialization.json.JsonDecoder +import kotlinx.serialization.json.JsonElement +import kotlinx.serialization.json.jsonObject +import kotlinx.serialization.json.jsonPrimitive +import kotlin.jvm.JvmInline +import kotlin.jvm.JvmName + +@Serializable(OwnedGift.Companion::class) +sealed interface OwnedGift { + val gift: Gift + val sendDate: TelegramDate + val ownedGiftId: GiftId? + val senderUser: PreviewUser? + val isSaved: Boolean + + @Suppress("SERIALIZER_TYPE_INCOMPATIBLE") + @Serializable(OwnedGift.Companion::class) + sealed interface OwnedByBusinessAccount : OwnedGift { + override val ownedGiftId: GiftId + } + + @Suppress("SERIALIZER_TYPE_INCOMPATIBLE") + @Serializable(OwnedGift.Companion::class) + sealed interface Common : OwnedGift { + override val ownedGiftId: GiftId? + get() = null + } + + @Serializable(Regular.Companion::class) + sealed interface Regular : OwnedGift, TextedInput { + override val gift: Gift.Regular + val isPrivate: Boolean + val canBeUpgraded: Boolean + val wasRefunded: Boolean + val convertStarCount: Int? + val prepaidUpgradeStarCount: Int? + val isUpgradeSeparate: Boolean + val uniqueGiftNumber: Int? + + @Serializable + data class Common( + @SerialName(giftField) + override val gift: Gift.Regular, + @SerialName(sendDateField) + override val sendDate: TelegramDate, + @SerialName(senderUserField) + override val senderUser: PreviewUser? = null, + @SerialName(textField) + override val text: String? = null, + @SerialName(entitiesField) + private val entities: RawMessageEntities? = null, + @SerialName(isPrivateField) + override val isPrivate: Boolean = false, + @SerialName(isSavedField) + override val isSaved: Boolean = false, + @SerialName(canBeUpgradedField) + override val canBeUpgraded: Boolean = false, + @SerialName(wasRefundedField) + override val wasRefunded: Boolean = false, + @SerialName(convertStarCountField) + override val convertStarCount: Int? = null, + @SerialName(prepaidUpgradeStarCountField) + override val prepaidUpgradeStarCount: Int? = null, + @SerialName(isUpgradeSeparateField) + override val isUpgradeSeparate: Boolean = false, + @SerialName(uniqueGiftNumberField) + override val uniqueGiftNumber: Int? = null + ) : Regular, OwnedGift.Common { + override val textSources: List by lazy { + entities ?.asTextSources(text ?: return@lazy emptyList()) ?: emptyList() + } + } + + @Serializable + data class OwnedByBusinessAccount( + @SerialName(giftField) + override val gift: Gift.Regular, + @SerialName(sendDateField) + override val sendDate: TelegramDate, + @SerialName(ownedGiftIdField) + override val ownedGiftId: GiftId, + @SerialName(senderUserField) + override val senderUser: PreviewUser? = null, + @SerialName(textField) + override val text: String? = null, + @SerialName(entitiesField) + private val entities: RawMessageEntities? = null, + @SerialName(isPrivateField) + override val isPrivate: Boolean = false, + @SerialName(isSavedField) + override val isSaved: Boolean = false, + @SerialName(canBeUpgradedField) + override val canBeUpgraded: Boolean = false, + @SerialName(wasRefundedField) + override val wasRefunded: Boolean = false, + @SerialName(convertStarCountField) + override val convertStarCount: Int? = null, + @SerialName(prepaidUpgradeStarCountField) + override val prepaidUpgradeStarCount: Int? = null, + @SerialName(isUpgradeSeparateField) + override val isUpgradeSeparate: Boolean = false, + @SerialName(uniqueGiftNumberField) + override val uniqueGiftNumber: Int? = null + ) : Regular, OwnedGift.OwnedByBusinessAccount { + override val textSources: List by lazy { + entities ?.asTextSources(text ?: return@lazy emptyList()) ?: emptyList() + } + } + + companion object : KSerializer { + @Serializable + private data class Surrogate( + @SerialName(giftField) + val gift: Gift.Regular, + @SerialName(ownedGiftIdField) + val ownedGiftId: GiftId? = null, + @SerialName(senderUserField) + val senderUser: PreviewUser? = null, + @SerialName(sendDateField) + val sendDate: TelegramDate, + @SerialName(textField) + val text: String? = null, + @SerialName(entitiesField) + val entities: RawMessageEntities? = null, + @SerialName(isPrivateField) + val isPrivate: Boolean = false, + @SerialName(isSavedField) + val isSaved: Boolean = false, + @SerialName(canBeUpgradedField) + val canBeUpgraded: Boolean = false, + @SerialName(wasRefundedField) + val wasRefunded: Boolean = false, + @SerialName(convertStarCountField) + val convertStarCount: Int? = null, + @SerialName(prepaidUpgradeStarCountField) + val prepaidUpgradeStarCount: Int? = null, + @SerialName(isUpgradeSeparateField) + val isUpgradeSeparate: Boolean = false, + @SerialName(uniqueGiftNumberField) + val uniqueGiftNumber: Int? = null + ) + + override val descriptor: SerialDescriptor + get() = Surrogate.serializer().descriptor + + override fun serialize(encoder: Encoder, value: Regular) { + when (value) { + is Common -> Common.serializer().serialize(encoder, value) + is OwnedByBusinessAccount -> OwnedByBusinessAccount.serializer().serialize(encoder, value) + } + } + + override fun deserialize(decoder: Decoder): Regular { + val surrogate = Surrogate.serializer().deserialize(decoder) + + return when { + surrogate.ownedGiftId == null -> { + Common( + gift = surrogate.gift, + sendDate = surrogate.sendDate, + senderUser = surrogate.senderUser, + text = surrogate.text, + entities = surrogate.entities, + isPrivate = surrogate.isPrivate, + isSaved = surrogate.isSaved, + canBeUpgraded = surrogate.canBeUpgraded, + wasRefunded = surrogate.wasRefunded, + convertStarCount = surrogate.convertStarCount, + prepaidUpgradeStarCount = surrogate.prepaidUpgradeStarCount, + isUpgradeSeparate = surrogate.isUpgradeSeparate, + uniqueGiftNumber = surrogate.uniqueGiftNumber + ) + } + else -> { + OwnedByBusinessAccount( + gift = surrogate.gift, + sendDate = surrogate.sendDate, + ownedGiftId = surrogate.ownedGiftId, + senderUser = surrogate.senderUser, + text = surrogate.text, + entities = surrogate.entities, + isPrivate = surrogate.isPrivate, + isSaved = surrogate.isSaved, + canBeUpgraded = surrogate.canBeUpgraded, + wasRefunded = surrogate.wasRefunded, + convertStarCount = surrogate.convertStarCount, + prepaidUpgradeStarCount = surrogate.prepaidUpgradeStarCount, + isUpgradeSeparate = surrogate.isUpgradeSeparate, + uniqueGiftNumber = surrogate.uniqueGiftNumber + ) + } + } + } + } + } + + @Serializable(Unique.Companion::class) + sealed interface Unique : OwnedGift { + override val gift: Gift.Unique + val canBeTransferred: Boolean + val transferStarCount: Int? + val nextTransferDate: TelegramDate? + + @Serializable + data class Common( + @SerialName(giftField) + override val gift: Gift.Unique, + @SerialName(sendDateField) + override val sendDate: TelegramDate, + @SerialName(senderUserField) + override val senderUser: PreviewUser? = null, + @SerialName(isSavedField) + override val isSaved: Boolean = false, + @SerialName(canBeTransferredField) + override val canBeTransferred: Boolean = false, + @SerialName(transferStarCountField) + override val transferStarCount: Int? = null, + @SerialName(nextTransferDateField) + override val nextTransferDate: TelegramDate? = null + ) : Unique, OwnedGift.Common + + @Serializable + data class OwnedByBusinessAccount( + @SerialName(giftField) + override val gift: Gift.Unique, + @SerialName(sendDateField) + override val sendDate: TelegramDate, + @SerialName(ownedGiftIdField) + override val ownedGiftId: GiftId, + @SerialName(senderUserField) + override val senderUser: PreviewUser? = null, + @SerialName(isSavedField) + override val isSaved: Boolean = false, + @SerialName(canBeTransferredField) + override val canBeTransferred: Boolean = false, + @SerialName(transferStarCountField) + override val transferStarCount: Int? = null, + @SerialName(nextTransferDateField) + override val nextTransferDate: TelegramDate? = null + ) : Unique, OwnedGift.OwnedByBusinessAccount + + companion object : KSerializer { + @Serializable + private data class Surrogate( + @SerialName(giftField) + val gift: Gift.Unique, + @SerialName(ownedGiftIdField) + val ownedGiftId: GiftId? = null, + @SerialName(senderUserField) + val senderUser: PreviewUser? = null, + @SerialName(sendDateField) + val sendDate: TelegramDate, + @SerialName(isSavedField) + val isSaved: Boolean = false, + @SerialName(canBeTransferredField) + val canBeTransferred: Boolean = false, + @SerialName(transferStarCountField) + val transferStarCount: Int? = null, + @SerialName(nextTransferDateField) + val nextTransferDate: TelegramDate? = null + ) + + override val descriptor: SerialDescriptor + get() = Surrogate.serializer().descriptor + + override fun serialize(encoder: Encoder, value: Unique) { + when (value) { + is Common -> Common.serializer().serialize(encoder, value) + is OwnedByBusinessAccount -> OwnedByBusinessAccount.serializer().serialize(encoder, value) + } + } + + override fun deserialize(decoder: Decoder): Unique { + val surrogate = Surrogate.serializer().deserialize(decoder) + + return when { + surrogate.ownedGiftId == null -> { + Common( + gift = surrogate.gift, + sendDate = surrogate.sendDate, + senderUser = surrogate.senderUser, + isSaved = surrogate.isSaved, + canBeTransferred = surrogate.canBeTransferred, + transferStarCount = surrogate.transferStarCount, + nextTransferDate = surrogate.nextTransferDate + ) + } + else -> { + OwnedByBusinessAccount( + gift = surrogate.gift, + sendDate = surrogate.sendDate, + ownedGiftId = surrogate.ownedGiftId, + senderUser = surrogate.senderUser, + isSaved = surrogate.isSaved, + canBeTransferred = surrogate.canBeTransferred, + transferStarCount = surrogate.transferStarCount, + nextTransferDate = surrogate.nextTransferDate + ) + } + } + } + } + } + + companion object : KSerializer { + override val descriptor: SerialDescriptor + get() = JsonElement.serializer().descriptor + + override fun serialize(encoder: Encoder, value: OwnedGift) { + when (value) { + is Regular -> Regular.serialize(encoder, value) + is Unique -> Unique.serialize(encoder, value) + } + } + + override fun deserialize(decoder: Decoder): OwnedGift { + val json = (decoder as JsonDecoder) + val element = json.decodeJsonElement() + val type = element.jsonObject[typeField] ?.jsonPrimitive ?.content + + return when (type) { + "regular" -> json.json.decodeFromJsonElement(Regular, element) + "unique" -> json.json.decodeFromJsonElement(Unique, element) + else -> error("Unknown OwnedGift type: $type") + } + } + } +} diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/gifts/Rarity.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/gifts/Rarity.kt new file mode 100644 index 0000000000..cd02d3b155 --- /dev/null +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/gifts/Rarity.kt @@ -0,0 +1,53 @@ +package dev.inmo.tgbotapi.types.gifts + +import kotlinx.serialization.KSerializer +import kotlinx.serialization.Serializable +import kotlinx.serialization.builtins.serializer +import kotlinx.serialization.descriptors.SerialDescriptor +import kotlinx.serialization.encoding.Decoder +import kotlinx.serialization.encoding.Encoder + +@Serializable(Rarity.Companion::class) +sealed interface Rarity { + val name: String + + @Suppress("SERIALIZER_TYPE_INCOMPATIBLE") + @Serializable(Rarity.Companion::class) + data object Uncommon : Rarity { override val name: String = "uncommon" } + @Suppress("SERIALIZER_TYPE_INCOMPATIBLE") + @Serializable(Rarity.Companion::class) + data object Rare : Rarity { override val name: String = "rare" } + @Suppress("SERIALIZER_TYPE_INCOMPATIBLE") + @Serializable(Rarity.Companion::class) + data object Epic : Rarity { override val name: String = "epic" } + @Suppress("SERIALIZER_TYPE_INCOMPATIBLE") + @Serializable(Rarity.Companion::class) + data object Legendary : Rarity { override val name: String = "legendary" } + @Suppress("SERIALIZER_TYPE_INCOMPATIBLE") + @Serializable(Rarity.Companion::class) + data class Custom(override val name: String) : Rarity + + companion object : KSerializer { + override val descriptor: SerialDescriptor = String.serializer().descriptor + + fun fromString(value: String): Rarity = when (value) { + Uncommon.name -> Uncommon + Rare.name -> Rare + Epic.name -> Epic + Legendary.name -> Legendary + else -> Custom(value) + } + + override fun deserialize(decoder: Decoder): Rarity { + val value = decoder.decodeString() + return fromString(value) + } + + override fun serialize( + encoder: Encoder, + value: Rarity + ) { + encoder.encodeString(value.name) + } + } +} diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/gifts/UniqueGiftName.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/gifts/UniqueGiftName.kt new file mode 100644 index 0000000000..9b64b58104 --- /dev/null +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/gifts/UniqueGiftName.kt @@ -0,0 +1,14 @@ +package dev.inmo.tgbotapi.types.gifts + +import kotlinx.serialization.Serializable +import kotlin.jvm.JvmInline + +/** + * Represents a name for a unique gift, encapsulating its value as a single, immutable string. + */ +@Serializable +@JvmInline +value class UniqueGiftName(val value: String) { + val nftLink + get() = "https://t.me/nft/$value" +} diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/gifts/unique/UniqueGiftColors.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/gifts/unique/UniqueGiftColors.kt new file mode 100644 index 0000000000..8ad7fe805c --- /dev/null +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/gifts/unique/UniqueGiftColors.kt @@ -0,0 +1,23 @@ +package dev.inmo.tgbotapi.types.gifts.unique + +import dev.inmo.tgbotapi.types.* +import dev.inmo.tgbotapi.utils.RGBColor +import kotlinx.serialization.SerialName +import kotlinx.serialization.Serializable + + +@Serializable +data class UniqueGiftColors( + @SerialName(modelCustomEmojiIdField) + val modelCustomEmojiId: CustomEmojiId, + @SerialName(symbolCustomEmojiIdField) + val symbolCustomEmojiId: CustomEmojiId, + @SerialName(lightThemeMainColorField) + val lightThemeMainColor: RGBColor, + @SerialName(lightThemeOtherColorsField) + val lightThemeOtherColors: List, + @SerialName(darkThemeMainColorField) + val darkThemeMainColor: RGBColor, + @SerialName(darkThemeOtherColorsField) + val darkThemeOtherColors: List +) diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/gifts/unique/UniqueGiftModel.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/gifts/unique/UniqueGiftModel.kt index 28e3820c57..9a6948a117 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/gifts/unique/UniqueGiftModel.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/gifts/unique/UniqueGiftModel.kt @@ -1,7 +1,9 @@ package dev.inmo.tgbotapi.types.gifts.unique import dev.inmo.tgbotapi.types.files.Sticker +import dev.inmo.tgbotapi.types.gifts.Rarity import dev.inmo.tgbotapi.types.nameField +import dev.inmo.tgbotapi.types.rarityField import dev.inmo.tgbotapi.types.rarityPerMilleField import dev.inmo.tgbotapi.types.stickerField import kotlinx.serialization.SerialName @@ -15,5 +17,7 @@ data class UniqueGiftModel( @SerialName(stickerField) val sticker: Sticker, @SerialName(rarityPerMilleField) - val rarityPerMille: Int + val rarityPerMille: Int, + @SerialName(rarityField) + val rarity: Rarity? = null ) diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/ChatEvents/ChatOwnerChanged.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/ChatEvents/ChatOwnerChanged.kt new file mode 100644 index 0000000000..3e8423b524 --- /dev/null +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/ChatEvents/ChatOwnerChanged.kt @@ -0,0 +1,13 @@ +package dev.inmo.tgbotapi.types.message.ChatEvents + +import dev.inmo.tgbotapi.types.chat.CommonUser +import dev.inmo.tgbotapi.types.message.ChatEvents.abstracts.PublicChatEvent +import dev.inmo.tgbotapi.types.newOwnerField +import kotlinx.serialization.SerialName +import kotlinx.serialization.Serializable + +@Serializable +data class ChatOwnerChanged( + @SerialName(newOwnerField) + val newOwner: CommonUser +) : PublicChatEvent diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/ChatEvents/ChatOwnerLeft.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/ChatEvents/ChatOwnerLeft.kt new file mode 100644 index 0000000000..5f69625a91 --- /dev/null +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/ChatEvents/ChatOwnerLeft.kt @@ -0,0 +1,13 @@ +package dev.inmo.tgbotapi.types.message.ChatEvents + +import dev.inmo.tgbotapi.types.chat.CommonUser +import dev.inmo.tgbotapi.types.message.ChatEvents.abstracts.PublicChatEvent +import dev.inmo.tgbotapi.types.newOwnerField +import kotlinx.serialization.SerialName +import kotlinx.serialization.Serializable + +@Serializable +data class ChatOwnerLeft( + @SerialName(newOwnerField) + val newOwner: CommonUser? = null +) : PublicChatEvent diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/ChatEvents/abstracts/PrivateForumEvent.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/ChatEvents/abstracts/PrivateForumEvent.kt new file mode 100644 index 0000000000..ad0478336e --- /dev/null +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/ChatEvents/abstracts/PrivateForumEvent.kt @@ -0,0 +1,3 @@ +package dev.inmo.tgbotapi.types.message.ChatEvents.abstracts + +interface PrivateForumEvent : PrivateEvent diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/ChatEvents/forum/ForumTopicCreated.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/ChatEvents/forum/ForumTopicCreated.kt index b93064982d..fea981385b 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/ChatEvents/forum/ForumTopicCreated.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/ChatEvents/forum/ForumTopicCreated.kt @@ -3,7 +3,9 @@ package dev.inmo.tgbotapi.types.message.ChatEvents.forum import dev.inmo.tgbotapi.types.CustomEmojiId import dev.inmo.tgbotapi.types.iconColorField import dev.inmo.tgbotapi.types.iconCustomEmojiIdField +import dev.inmo.tgbotapi.types.isNameImplicitField import dev.inmo.tgbotapi.types.message.ChatEvents.abstracts.ForumEvent +import dev.inmo.tgbotapi.types.message.ChatEvents.abstracts.PrivateForumEvent import dev.inmo.tgbotapi.types.nameField import dev.inmo.tgbotapi.utils.RGBColor import kotlinx.serialization.SerialName @@ -16,5 +18,7 @@ data class ForumTopicCreated( @SerialName(iconColorField) val iconColor: RGBColor, @SerialName(iconCustomEmojiIdField) - val iconEmojiId: CustomEmojiId? = null -) : ForumEvent + val iconEmojiId: CustomEmojiId? = null, + @SerialName(isNameImplicitField) + val isNameImplicit: Boolean = false +) : ForumEvent, PrivateForumEvent diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/ChatEvents/forum/ForumTopicEdited.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/ChatEvents/forum/ForumTopicEdited.kt index ae3d4a8b7d..c4fd176614 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/ChatEvents/forum/ForumTopicEdited.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/ChatEvents/forum/ForumTopicEdited.kt @@ -4,6 +4,7 @@ import dev.inmo.tgbotapi.types.CustomEmojiId import dev.inmo.tgbotapi.types.iconColorField import dev.inmo.tgbotapi.types.iconCustomEmojiIdField import dev.inmo.tgbotapi.types.message.ChatEvents.abstracts.ForumEvent +import dev.inmo.tgbotapi.types.message.ChatEvents.abstracts.PrivateForumEvent import dev.inmo.tgbotapi.types.nameField import dev.inmo.tgbotapi.utils.RGBColor import kotlinx.serialization.SerialName @@ -15,4 +16,4 @@ data class ForumTopicEdited( val name: String, @SerialName(iconCustomEmojiIdField) val iconEmojiId: CustomEmojiId? = null -) : ForumEvent +) : ForumEvent, PrivateForumEvent diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/PrivateForumContentMessageImpl.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/PrivateForumContentMessageImpl.kt new file mode 100644 index 0000000000..84668bc749 --- /dev/null +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/PrivateForumContentMessageImpl.kt @@ -0,0 +1,36 @@ +package dev.inmo.tgbotapi.types.message + +import korlibs.time.DateTime +import dev.inmo.tgbotapi.types.* +import dev.inmo.tgbotapi.types.buttons.InlineKeyboardMarkup +import dev.inmo.tgbotapi.types.chat.* +import dev.inmo.tgbotapi.types.chat.CommonBot +import dev.inmo.tgbotapi.types.chat.User +import dev.inmo.tgbotapi.types.message.ChatEvents.forum.ForumTopicCreated +import dev.inmo.tgbotapi.types.message.abstracts.AccessibleMessage +import dev.inmo.tgbotapi.types.message.abstracts.PrivateContentMessage +import dev.inmo.tgbotapi.types.message.abstracts.PrivateForumContentMessage +import dev.inmo.tgbotapi.types.message.content.MessageContent +import kotlinx.serialization.SerialName + +data class PrivateForumContentMessageImpl( + override val messageId: MessageId, + override val threadId: MessageThreadId, + override val threadCreatingInfo: ForumTopicCreated?, + override val from: User, + override val chat: PreviewPrivateChat, + override val content: T, + override val date: DateTime, + override val editDate: DateTime?, + override val hasProtectedContent: Boolean, + override val forwardOrigin: MessageOrigin?, + override val replyInfo: ReplyInfo?, + override val replyMarkup: InlineKeyboardMarkup?, + override val senderBot: CommonBot?, + override val mediaGroupId: MediaGroupId?, + override val fromOffline: Boolean, + override val effectId: EffectId?, + @SerialName(paidStarCountField) + override val cost: Int? = null +) : PrivateForumContentMessage { +} diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/PrivateForumEventMessage.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/PrivateForumEventMessage.kt new file mode 100644 index 0000000000..208deb86ce --- /dev/null +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/PrivateForumEventMessage.kt @@ -0,0 +1,17 @@ +package dev.inmo.tgbotapi.types.message + +import korlibs.time.DateTime +import dev.inmo.tgbotapi.types.MessageId +import dev.inmo.tgbotapi.types.chat.PreviewPrivateChat +import dev.inmo.tgbotapi.types.chat.PreviewPrivateForumChat +import dev.inmo.tgbotapi.types.chat.PrivateChat +import dev.inmo.tgbotapi.types.message.ChatEvents.abstracts.PrivateEvent +import dev.inmo.tgbotapi.types.message.ChatEvents.abstracts.PrivateForumEvent +import dev.inmo.tgbotapi.types.message.abstracts.ChatEventMessage + +data class PrivateForumEventMessage( + override val messageId: MessageId, + override val chat: PreviewPrivateForumChat, + override val chatEvent: T, + override val date: DateTime +) : ChatEventMessage 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 62f35f6044..e7100a9dbc 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 @@ -14,7 +14,7 @@ import dev.inmo.tgbotapi.types.dice.Dice import dev.inmo.tgbotapi.types.files.* import dev.inmo.tgbotapi.types.files.Sticker import dev.inmo.tgbotapi.types.games.RawGame -import dev.inmo.tgbotapi.types.gifts.GiftSentOrReceived +import dev.inmo.tgbotapi.types.gifts.GiftSentOrReceivedEvent import dev.inmo.tgbotapi.types.giveaway.* import dev.inmo.tgbotapi.types.message.content.GiveawayContent import dev.inmo.tgbotapi.types.location.Location @@ -199,8 +199,11 @@ internal data class RawMessage( private val suggested_post_refunded: SuggestedPostRefunded? = null, private val suggested_post_info: SuggestedPostInfo? = null, // Gifts - private val gift: GiftSentOrReceived.Regular? = null, - private val unique_gift: GiftSentOrReceived.Unique? = null, + private val gift: GiftSentOrReceivedEvent.RegularGift? = null, + private val unique_gift: GiftSentOrReceivedEvent.UniqueGift? = null, + private val gift_upgrade_sent: GiftSentOrReceivedEvent.RegularGift? = null, + private val chat_owner_left: ChatOwnerLeft? = null, + private val chat_owner_changed: ChatOwnerChanged? = null, ) { @Suppress("SERIALIZER_TYPE_INCOMPATIBLE") private val checkedFrom = from ?.takeIf { !it.isFakeTelegramUser() } @@ -299,6 +302,8 @@ internal data class RawMessage( forum_topic_reopened != null -> forum_topic_reopened video_chat_ended != null -> video_chat_ended video_chat_participants_invited != null -> video_chat_participants_invited + chat_owner_left != null -> chat_owner_left + chat_owner_changed != null -> chat_owner_changed delete_chat_photo -> DeleteChatPhoto() group_chat_created -> GroupChatCreated( migrate_to_chat_id @@ -328,6 +333,7 @@ internal data class RawMessage( paid_message_price_changed != null -> paid_message_price_changed gift != null -> gift unique_gift != null -> unique_gift + gift_upgrade_sent != null -> gift_upgrade_sent checklist_tasks_done != null -> checklist_tasks_done checklist_tasks_added != null -> checklist_tasks_added direct_message_price_changed != null -> direct_message_price_changed @@ -378,12 +384,37 @@ internal data class RawMessage( chatEvent as? ChannelEvent ?: throwWrongChatEvent(ChannelEvent::class, chatEvent), date.asDate ) - is PreviewPrivateChat -> PrivateEventMessage( - messageId, - chat, - chatEvent as? PrivateEvent ?: throwWrongChatEvent(PrivateEvent::class, chatEvent), - date.asDate - ) + is PreviewPrivateChat -> if (chat is PrivateForumChat || is_topic_message == true || messageThreadId != null) { + PrivateEventMessage( + messageId, + if (chat is PrivateForumChat) { + chat + } else { + PrivateForumChatImpl( + id = if (messageThreadId == null) { + chat.id + } else { + ChatIdWithThreadId( + chat.id.chatId, + chat.id.threadId ?: messageThreadId + ) + }, + username = chat.username, + firstName = chat.firstName, + lastName = chat.lastName + ) + }, + chatEvent as? PrivateEvent ?: throwWrongChatEvent(PrivateEvent::class, chatEvent), + date.asDate + ) + } else { + PrivateEventMessage( + messageId, + chat, + chatEvent as? PrivateEvent ?: throwWrongChatEvent(PrivateEvent::class, chatEvent), + date.asDate + ) + } else -> error("Expected one of the public chats, but was $chat (in extracting of chat event message)") } } ?: content?.let { content -> @@ -746,23 +777,64 @@ internal data class RawMessage( } } is PreviewPrivateChat -> if (business_connection_id == null) { - PrivateContentMessageImpl( - messageId = messageId, - from = checkedFrom ?: from ?: error("Was detected common message, but owner (sender) of the message was not found"), - chat = chat, - content = content, - date = date.asDate, - editDate = edit_date?.asDate, - hasProtectedContent = has_protected_content == true, - forwardOrigin = forward_origin, - replyInfo = replyInfo, - replyMarkup = reply_markup, - senderBot = via_bot, - mediaGroupId = media_group_id, - fromOffline = is_from_offline, - effectId = effect_id, - cost = paid_star_count, - ) + when { + is_topic_message == true -> { + val chatId = ChatIdWithThreadId( + chat.id.chatId, + messageThreadId ?: error("Was detected forum private message, but message thread id was not found") + ) + val actualForumChat = when (chat) { + is PrivateForumChatImpl -> chat.copy(id = chatId) + is CommonUser -> chat.copy(id = chatId) + is CommonBot -> chat + is PrivateChatImpl -> PrivateForumChatImpl( + id = chatId, + username = chat.username, + firstName = chat.firstName, + lastName = chat.lastName + ) + } + PrivateForumContentMessageImpl( + messageId = messageId, + from = checkedFrom ?: from ?: error("Was detected common message, but owner (sender) of the message was not found"), + threadId = messageThreadId, + threadCreatingInfo = forum_topic_created, + chat = actualForumChat, + content = content, + date = date.asDate, + editDate = edit_date?.asDate, + hasProtectedContent = has_protected_content == true, + forwardOrigin = forward_origin, + replyInfo = replyInfo, + replyMarkup = reply_markup, + senderBot = via_bot, + mediaGroupId = media_group_id, + fromOffline = is_from_offline, + effectId = effect_id, + cost = paid_star_count, + ) + } + else -> { + PrivateContentMessageImpl( + messageId = messageId, + from = checkedFrom ?: from + ?: error("Was detected common message, but owner (sender) of the message was not found"), + chat = chat, + content = content, + date = date.asDate, + editDate = edit_date?.asDate, + hasProtectedContent = has_protected_content == true, + forwardOrigin = forward_origin, + replyInfo = replyInfo, + replyMarkup = reply_markup, + senderBot = via_bot, + mediaGroupId = media_group_id, + fromOffline = is_from_offline, + effectId = effect_id, + cost = paid_star_count, + ) + } + } } else { BusinessContentMessageImpl( messageId = messageId, diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/abstracts/PrivateForumContentMessage.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/abstracts/PrivateForumContentMessage.kt new file mode 100644 index 0000000000..5c50de026b --- /dev/null +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/abstracts/PrivateForumContentMessage.kt @@ -0,0 +1,9 @@ +package dev.inmo.tgbotapi.types.message.abstracts + +import dev.inmo.tgbotapi.types.MessageThreadId +import dev.inmo.tgbotapi.types.chat.PreviewPrivateChat +import dev.inmo.tgbotapi.types.message.content.MessageContent + +interface PrivateForumContentMessage : PrivateContentMessage, PossiblyTopicMessage { + override val threadId: MessageThreadId +} diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/textsources/TextMentionTextSource.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/textsources/TextMentionTextSource.kt index 63f0377e82..2975f86deb 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/textsources/TextMentionTextSource.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/textsources/TextMentionTextSource.kt @@ -17,9 +17,9 @@ data class TextMentionTextSource @RiskFeature(DirectInvocationOfTextSourceConstr val user: User, override val subsources: TextSourcesList ) : MultilevelTextSource { - override val markdown: String by lazy { source.textMentionMarkdown(user.id) } - override val markdownV2: String by lazy { textMentionMarkdownV2(user.id) } - override val html: String by lazy { textMentionHTML(user.id) } + override val markdown: String by lazy { source.textMentionMarkdown(user.id.toChatId()) } + override val markdownV2: String by lazy { textMentionMarkdownV2(user.id.toChatId()) } + override val html: String by lazy { textMentionHTML(user.id.toChatId()) } } fun mentionTextSource(parts: TextSourcesList, user: User) = TextMentionTextSource(parts.makeString(), user, parts) diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/passport/encrypted/EncryptedElementSerializer.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/passport/encrypted/EncryptedElementSerializer.kt index 1332885dd8..b2155d202a 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/passport/encrypted/EncryptedElementSerializer.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/passport/encrypted/EncryptedElementSerializer.kt @@ -52,6 +52,7 @@ object EncryptedElementSerializer : KSerializer { val json = value.let { encryptedElementsClassesByTypes.forEach { (key, encapsulator) -> val json = encapsulator.encapsulate(value) { data -> + @Suppress("UNCHECKED_CAST") nonstrictJsonFormat.encodeToJsonElement(this as KSerializer, data).jsonObject } ?: return@forEach return@let JsonObject(json + (typeField to JsonPrimitive(key))) diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/request/UsersShared.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/request/UsersShared.kt index 759ebdb22d..e21f149daf 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/request/UsersShared.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/request/UsersShared.kt @@ -23,7 +23,7 @@ data class UsersShared( ) : this(requestId, listOf(user)) override val chatId: ChatId - get() = userId + get() = userId.toChatId() companion object { operator fun invoke( diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/stories/StoryAreaType.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/stories/StoryAreaType.kt index 28e8f1a1e6..92b57a25f6 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/stories/StoryAreaType.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/stories/StoryAreaType.kt @@ -4,6 +4,7 @@ package dev.inmo.tgbotapi.types.stories import dev.inmo.micro_utils.colors.common.HEXAColor import dev.inmo.tgbotapi.types.* +import dev.inmo.tgbotapi.types.gifts.UniqueGiftName import dev.inmo.tgbotapi.types.location.LocationAddress import dev.inmo.tgbotapi.types.reactions.ReactionType import dev.inmo.tgbotapi.utils.IntRGB24HEXAColorSerializer @@ -94,7 +95,7 @@ sealed interface StoryAreaType { @Serializable data class UniqueGift( @SerialName(nameField) - val name: String + val name: UniqueGiftName ) : StoryAreaType { @EncodeDefault override val type: Type = Companion @@ -194,7 +195,7 @@ sealed interface StoryAreaType { ) is UniqueGift -> Surrogate( type = value.type.name, - name = value.name + name = value.name.value ) is Unknown -> Surrogate( type = value.type.name @@ -227,7 +228,7 @@ sealed interface StoryAreaType { backgroundColor = surrogate.backgroundColor ?: return unknown ) UniqueGift.name -> UniqueGift( - name = surrogate.name ?: return unknown + name = surrogate.name ?.let(::UniqueGiftName) ?: return unknown ) else -> unknown } diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/utils/CausedBy.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/utils/CausedBy.kt index 5d83955b6a..c6491282ef 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/utils/CausedBy.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/utils/CausedBy.kt @@ -6,10 +6,11 @@ fun Throwable.causedBy(kclass: KClass, additionalFilterOnHapp var current = this while (kclass.isInstance(current) == false) { when { - kclass.isInstance(current) -> return additionalFilterOnHappened(current as T) + kclass.isInstance(current) -> @Suppress("UNCHECKED_CAST") return additionalFilterOnHappened(current as T) else -> current = current.cause ?: return null } } + @Suppress("UNCHECKED_CAST") return current as T } diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/utils/DraftIdAllocator.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/utils/DraftIdAllocator.kt new file mode 100644 index 0000000000..5a2f4e5050 --- /dev/null +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/utils/DraftIdAllocator.kt @@ -0,0 +1,25 @@ +package dev.inmo.tgbotapi.utils + +import dev.inmo.tgbotapi.types.DraftId +import kotlinx.coroutines.NonCancellable.isActive +import kotlinx.coroutines.sync.Mutex +import kotlinx.coroutines.sync.withLock +import kotlin.random.Random + +class DraftIdAllocator { + val allocated = mutableSetOf() + val mutex = Mutex() + + suspend fun allocate(): DraftId = mutex.withLock { + while (isActive) { + val draftId = DraftId(Random.nextLong()) + if (allocated.add(draftId)) { + return draftId + } + } + error("Unable to allocate a unique draft ID") + } + suspend fun free(draftId: DraftId) = mutex.withLock { + allocated.remove(draftId) + } +} \ No newline at end of file diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/utils/PrivateChatToUser.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/utils/PrivateChatToUser.kt index 23342b4126..7d0d943ee6 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/utils/PrivateChatToUser.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/utils/PrivateChatToUser.kt @@ -1,6 +1,7 @@ package dev.inmo.tgbotapi.utils import dev.inmo.tgbotapi.types.chat.* +import dev.inmo.tgbotapi.types.toChatId /** * Trying to convert current [PrivateChat] to [User] @@ -13,9 +14,11 @@ import dev.inmo.tgbotapi.types.chat.* * language) */ fun PrivateChat.toUser(): User = when (this) { - is ExtendedPrivateChatImpl -> CommonUser(id, firstName, lastName, username) is CommonUser -> this is CommonBot -> this - is PrivateChatImpl -> CommonUser(id, firstName, lastName, username) is ExtendedBot -> this + is ExtendedPrivateChatImpl -> CommonUser(id, firstName, lastName, username) + is PrivateChatImpl -> CommonUser(id, firstName, lastName, username) + is ExtendedPrivateForumChatImpl -> CommonUser(id.toChatId(), firstName, lastName, username) + is PrivateForumChatImpl -> CommonUser(id.toChatId(), firstName, lastName, username) } diff --git a/tgbotapi.core/src/commonTest/kotlin/dev/inmo/tgbotapi/SimpleInputFilesTest.kt b/tgbotapi.core/src/commonTest/kotlin/dev/inmo/tgbotapi/SimpleInputFilesTest.kt index 946c902d84..f466ea7b44 100644 --- a/tgbotapi.core/src/commonTest/kotlin/dev/inmo/tgbotapi/SimpleInputFilesTest.kt +++ b/tgbotapi.core/src/commonTest/kotlin/dev/inmo/tgbotapi/SimpleInputFilesTest.kt @@ -2,6 +2,7 @@ package dev.inmo.tgbotapi import dev.inmo.tgbotapi.requests.abstracts.toInputFile import dev.inmo.tgbotapi.types.TgFileUniqueId +import dev.inmo.tgbotapi.types.files.FileSize import dev.inmo.tgbotapi.types.files.PhotoFile import dev.inmo.tgbotapi.types.media.MediaGroupMemberTelegramMediaSerializer import dev.inmo.tgbotapi.types.files.PhotoSize @@ -24,7 +25,7 @@ class SimpleInputFilesTest { val photoContent = PhotoContent( PhotoFile( listOf( - PhotoSize("example_file_id".toInputFile(), TgFileUniqueId("example_unique_file_id"), 100, 100, 100) + PhotoSize("example_file_id".toInputFile(), TgFileUniqueId("example_unique_file_id"), FileSize(100u), 100, 100) ) ) ) diff --git a/tgbotapi.utils/api/tgbotapi.utils.api b/tgbotapi.utils/api/tgbotapi.utils.api index 68d4cce07a..32490811ee 100644 --- a/tgbotapi.utils/api/tgbotapi.utils.api +++ b/tgbotapi.utils/api/tgbotapi.utils.api @@ -48,6 +48,8 @@ public final class dev/inmo/tgbotapi/extensions/utils/ClassCastsKt { public static final fun asChatInviteLinkWithLimitedMembers (Ldev/inmo/tgbotapi/types/ChatInviteLink;)Ldev/inmo/tgbotapi/types/ChatInviteLinkWithLimitedMembers; public static final fun asChatJoinRequestUpdate (Ldev/inmo/tgbotapi/types/update/abstracts/Update;)Ldev/inmo/tgbotapi/types/update/ChatJoinRequestUpdate; public static final fun asChatMemberUpdatedUpdate (Ldev/inmo/tgbotapi/types/update/abstracts/Update;)Ldev/inmo/tgbotapi/types/update/abstracts/ChatMemberUpdatedUpdate; + public static final fun asChatOwnerChanged (Ldev/inmo/tgbotapi/types/message/ChatEvents/abstracts/ChatEvent;)Ldev/inmo/tgbotapi/types/message/ChatEvents/ChatOwnerChanged; + public static final fun asChatOwnerLeft (Ldev/inmo/tgbotapi/types/message/ChatEvents/abstracts/ChatEvent;)Ldev/inmo/tgbotapi/types/message/ChatEvents/ChatOwnerLeft; public static final fun asChooseStickerAction (Ldev/inmo/tgbotapi/types/actions/BotAction;)Ldev/inmo/tgbotapi/types/actions/ChooseStickerAction; public static final fun asChosenInlineResultUpdate (Ldev/inmo/tgbotapi/types/update/abstracts/Update;)Ldev/inmo/tgbotapi/types/update/ChosenInlineResultUpdate; public static final fun asCodeTextSource (Ldev/inmo/tgbotapi/types/message/textsources/TextSource;)Ldev/inmo/tgbotapi/types/message/textsources/CodeTextSource; @@ -391,6 +393,8 @@ public final class dev/inmo/tgbotapi/extensions/utils/ClassCastsKt { public static final fun requireChatInviteLinkWithLimitedMembers (Ldev/inmo/tgbotapi/types/ChatInviteLink;)Ldev/inmo/tgbotapi/types/ChatInviteLinkWithLimitedMembers; public static final fun requireChatJoinRequestUpdate (Ldev/inmo/tgbotapi/types/update/abstracts/Update;)Ldev/inmo/tgbotapi/types/update/ChatJoinRequestUpdate; public static final fun requireChatMemberUpdatedUpdate (Ldev/inmo/tgbotapi/types/update/abstracts/Update;)Ldev/inmo/tgbotapi/types/update/abstracts/ChatMemberUpdatedUpdate; + public static final fun requireChatOwnerChanged (Ldev/inmo/tgbotapi/types/message/ChatEvents/abstracts/ChatEvent;)Ldev/inmo/tgbotapi/types/message/ChatEvents/ChatOwnerChanged; + public static final fun requireChatOwnerLeft (Ldev/inmo/tgbotapi/types/message/ChatEvents/abstracts/ChatEvent;)Ldev/inmo/tgbotapi/types/message/ChatEvents/ChatOwnerLeft; public static final fun requireChooseStickerAction (Ldev/inmo/tgbotapi/types/actions/BotAction;)Ldev/inmo/tgbotapi/types/actions/ChooseStickerAction; public static final fun requireChosenInlineResultUpdate (Ldev/inmo/tgbotapi/types/update/abstracts/Update;)Ldev/inmo/tgbotapi/types/update/ChosenInlineResultUpdate; public static final fun requireCodeTextSource (Ldev/inmo/tgbotapi/types/message/textsources/TextSource;)Ldev/inmo/tgbotapi/types/message/textsources/CodeTextSource; @@ -734,6 +738,8 @@ public final class dev/inmo/tgbotapi/extensions/utils/ClassCastsKt { public static final fun whenChatInviteLinkWithLimitedMembers (Ldev/inmo/tgbotapi/types/ChatInviteLink;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; public static final fun whenChatJoinRequestUpdate (Ldev/inmo/tgbotapi/types/update/abstracts/Update;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; public static final fun whenChatMemberUpdatedUpdate (Ldev/inmo/tgbotapi/types/update/abstracts/Update;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; + public static final fun whenChatOwnerChanged (Ldev/inmo/tgbotapi/types/message/ChatEvents/abstracts/ChatEvent;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; + public static final fun whenChatOwnerLeft (Ldev/inmo/tgbotapi/types/message/ChatEvents/abstracts/ChatEvent;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; public static final fun whenChooseStickerAction (Ldev/inmo/tgbotapi/types/actions/BotAction;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; public static final fun whenChosenInlineResultUpdate (Ldev/inmo/tgbotapi/types/update/abstracts/Update;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; public static final fun whenCodeTextSource (Ldev/inmo/tgbotapi/types/message/textsources/TextSource;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; @@ -1223,6 +1229,10 @@ public final class dev/inmo/tgbotapi/extensions/utils/ClassCastsNewKt { public static final fun chatMessageReactionsCountUpdatedUpdateOrThrow (Ldev/inmo/tgbotapi/types/update/abstracts/Update;)Ldev/inmo/tgbotapi/types/update/ChatMessageReactionsCountUpdatedUpdate; public static final fun chatOrNull (Ldev/inmo/tgbotapi/types/payments/stars/TransactionPartner;)Ldev/inmo/tgbotapi/types/payments/stars/TransactionPartner$Chat; public static final fun chatOrThrow (Ldev/inmo/tgbotapi/types/payments/stars/TransactionPartner;)Ldev/inmo/tgbotapi/types/payments/stars/TransactionPartner$Chat; + public static final fun chatOwnerChangedOrNull (Ldev/inmo/tgbotapi/types/message/ChatEvents/abstracts/ChatEvent;)Ldev/inmo/tgbotapi/types/message/ChatEvents/ChatOwnerChanged; + public static final fun chatOwnerChangedOrThrow (Ldev/inmo/tgbotapi/types/message/ChatEvents/abstracts/ChatEvent;)Ldev/inmo/tgbotapi/types/message/ChatEvents/ChatOwnerChanged; + public static final fun chatOwnerLeftOrNull (Ldev/inmo/tgbotapi/types/message/ChatEvents/abstracts/ChatEvent;)Ldev/inmo/tgbotapi/types/message/ChatEvents/ChatOwnerLeft; + public static final fun chatOwnerLeftOrThrow (Ldev/inmo/tgbotapi/types/message/ChatEvents/abstracts/ChatEvent;)Ldev/inmo/tgbotapi/types/message/ChatEvents/ChatOwnerLeft; public static final fun chatSharedOrNull (Ldev/inmo/tgbotapi/types/message/ChatEvents/abstracts/ChatEvent;)Ldev/inmo/tgbotapi/types/request/ChatShared; public static final fun chatSharedOrNull (Ldev/inmo/tgbotapi/types/request/RequestResponse;)Ldev/inmo/tgbotapi/types/request/ChatShared; public static final fun chatSharedOrThrow (Ldev/inmo/tgbotapi/types/message/ChatEvents/abstracts/ChatEvent;)Ldev/inmo/tgbotapi/types/request/ChatShared; @@ -1425,6 +1435,8 @@ public final class dev/inmo/tgbotapi/extensions/utils/ClassCastsNewKt { public static final fun extendedNonBotChatOrThrow (Ldev/inmo/tgbotapi/types/chat/Chat;)Ldev/inmo/tgbotapi/types/chat/ExtendedNonBotChat; public static final fun extendedPrivateChatOrNull (Ldev/inmo/tgbotapi/types/chat/Chat;)Ldev/inmo/tgbotapi/types/chat/ExtendedPrivateChat; public static final fun extendedPrivateChatOrThrow (Ldev/inmo/tgbotapi/types/chat/Chat;)Ldev/inmo/tgbotapi/types/chat/ExtendedPrivateChat; + public static final fun extendedPrivateForumChatOrNull (Ldev/inmo/tgbotapi/types/chat/Chat;)Ldev/inmo/tgbotapi/types/chat/ExtendedPrivateForumChat; + public static final fun extendedPrivateForumChatOrThrow (Ldev/inmo/tgbotapi/types/chat/Chat;)Ldev/inmo/tgbotapi/types/chat/ExtendedPrivateForumChat; public static final fun extendedPublicChatOrNull (Ldev/inmo/tgbotapi/types/chat/Chat;)Ldev/inmo/tgbotapi/types/chat/ExtendedPublicChat; public static final fun extendedPublicChatOrThrow (Ldev/inmo/tgbotapi/types/chat/Chat;)Ldev/inmo/tgbotapi/types/chat/ExtendedPublicChat; public static final fun extendedSupergroupChatOrNull (Ldev/inmo/tgbotapi/types/chat/Chat;)Ldev/inmo/tgbotapi/types/chat/ExtendedSupergroupChat; @@ -1501,22 +1513,22 @@ public final class dev/inmo/tgbotapi/extensions/utils/ClassCastsNewKt { public static final fun generalForumTopicUnhiddenOrThrow (Ldev/inmo/tgbotapi/types/message/ChatEvents/abstracts/ChatEvent;)Ldev/inmo/tgbotapi/types/message/ChatEvents/forum/GeneralForumTopicUnhidden; public static final fun giftCodeOrNull (Ldev/inmo/tgbotapi/types/boosts/ChatBoostSource;)Ldev/inmo/tgbotapi/types/boosts/ChatBoostSource$GiftCode; public static final fun giftCodeOrThrow (Ldev/inmo/tgbotapi/types/boosts/ChatBoostSource;)Ldev/inmo/tgbotapi/types/boosts/ChatBoostSource$GiftCode; - public static final fun giftSentOrReceivedOrNull (Ldev/inmo/tgbotapi/types/message/ChatEvents/abstracts/ChatEvent;)Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceived; - public static final fun giftSentOrReceivedOrThrow (Ldev/inmo/tgbotapi/types/message/ChatEvents/abstracts/ChatEvent;)Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceived; - public static final fun giftSentOrReceivedReceivedInBusinessAccountOrNull (Ldev/inmo/tgbotapi/types/message/ChatEvents/abstracts/ChatEvent;)Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceived$ReceivedInBusinessAccount; - public static final fun giftSentOrReceivedReceivedInBusinessAccountOrThrow (Ldev/inmo/tgbotapi/types/message/ChatEvents/abstracts/ChatEvent;)Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceived$ReceivedInBusinessAccount; - public static final fun giftSentOrReceivedRegularCommonOrNull (Ldev/inmo/tgbotapi/types/message/ChatEvents/abstracts/ChatEvent;)Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceived$Regular$Common; - public static final fun giftSentOrReceivedRegularCommonOrThrow (Ldev/inmo/tgbotapi/types/message/ChatEvents/abstracts/ChatEvent;)Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceived$Regular$Common; - public static final fun giftSentOrReceivedRegularOrNull (Ldev/inmo/tgbotapi/types/message/ChatEvents/abstracts/ChatEvent;)Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceived$Regular; - public static final fun giftSentOrReceivedRegularOrThrow (Ldev/inmo/tgbotapi/types/message/ChatEvents/abstracts/ChatEvent;)Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceived$Regular; - public static final fun giftSentOrReceivedRegularReceivedInBusinessAccountOrNull (Ldev/inmo/tgbotapi/types/message/ChatEvents/abstracts/ChatEvent;)Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceived$Regular$ReceivedInBusinessAccount; - public static final fun giftSentOrReceivedRegularReceivedInBusinessAccountOrThrow (Ldev/inmo/tgbotapi/types/message/ChatEvents/abstracts/ChatEvent;)Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceived$Regular$ReceivedInBusinessAccount; - public static final fun giftSentOrReceivedUniqueCommonOrNull (Ldev/inmo/tgbotapi/types/message/ChatEvents/abstracts/ChatEvent;)Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceived$Unique$Common; - public static final fun giftSentOrReceivedUniqueCommonOrThrow (Ldev/inmo/tgbotapi/types/message/ChatEvents/abstracts/ChatEvent;)Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceived$Unique$Common; - public static final fun giftSentOrReceivedUniqueOrNull (Ldev/inmo/tgbotapi/types/message/ChatEvents/abstracts/ChatEvent;)Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceived$Unique; - public static final fun giftSentOrReceivedUniqueOrThrow (Ldev/inmo/tgbotapi/types/message/ChatEvents/abstracts/ChatEvent;)Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceived$Unique; - public static final fun giftSentOrReceivedUniqueReceivedInBusinessAccountOrNull (Ldev/inmo/tgbotapi/types/message/ChatEvents/abstracts/ChatEvent;)Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceived$Unique$ReceivedInBusinessAccount; - public static final fun giftSentOrReceivedUniqueReceivedInBusinessAccountOrThrow (Ldev/inmo/tgbotapi/types/message/ChatEvents/abstracts/ChatEvent;)Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceived$Unique$ReceivedInBusinessAccount; + public static final fun giftSentOrReceivedEventOrNull (Ldev/inmo/tgbotapi/types/message/ChatEvents/abstracts/ChatEvent;)Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent; + public static final fun giftSentOrReceivedEventOrThrow (Ldev/inmo/tgbotapi/types/message/ChatEvents/abstracts/ChatEvent;)Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent; + public static final fun giftSentOrReceivedEventReceivedInBusinessAccountOrNull (Ldev/inmo/tgbotapi/types/message/ChatEvents/abstracts/ChatEvent;)Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent$ReceivedInBusinessAccount; + public static final fun giftSentOrReceivedEventReceivedInBusinessAccountOrThrow (Ldev/inmo/tgbotapi/types/message/ChatEvents/abstracts/ChatEvent;)Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent$ReceivedInBusinessAccount; + public static final fun giftSentOrReceivedEventRegularGiftCommonOrNull (Ldev/inmo/tgbotapi/types/message/ChatEvents/abstracts/ChatEvent;)Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent$RegularGift$Common; + public static final fun giftSentOrReceivedEventRegularGiftCommonOrThrow (Ldev/inmo/tgbotapi/types/message/ChatEvents/abstracts/ChatEvent;)Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent$RegularGift$Common; + public static final fun giftSentOrReceivedEventRegularGiftOrNull (Ldev/inmo/tgbotapi/types/message/ChatEvents/abstracts/ChatEvent;)Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent$RegularGift; + public static final fun giftSentOrReceivedEventRegularGiftOrThrow (Ldev/inmo/tgbotapi/types/message/ChatEvents/abstracts/ChatEvent;)Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent$RegularGift; + public static final fun giftSentOrReceivedEventRegularGiftReceivedInBusinessAccountOrNull (Ldev/inmo/tgbotapi/types/message/ChatEvents/abstracts/ChatEvent;)Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent$RegularGift$ReceivedInBusinessAccount; + public static final fun giftSentOrReceivedEventRegularGiftReceivedInBusinessAccountOrThrow (Ldev/inmo/tgbotapi/types/message/ChatEvents/abstracts/ChatEvent;)Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent$RegularGift$ReceivedInBusinessAccount; + public static final fun giftSentOrReceivedEventUniqueGiftCommonOrNull (Ldev/inmo/tgbotapi/types/message/ChatEvents/abstracts/ChatEvent;)Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent$UniqueGift$Common; + public static final fun giftSentOrReceivedEventUniqueGiftCommonOrThrow (Ldev/inmo/tgbotapi/types/message/ChatEvents/abstracts/ChatEvent;)Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent$UniqueGift$Common; + public static final fun giftSentOrReceivedEventUniqueGiftOrNull (Ldev/inmo/tgbotapi/types/message/ChatEvents/abstracts/ChatEvent;)Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent$UniqueGift; + public static final fun giftSentOrReceivedEventUniqueGiftOrThrow (Ldev/inmo/tgbotapi/types/message/ChatEvents/abstracts/ChatEvent;)Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent$UniqueGift; + public static final fun giftSentOrReceivedEventUniqueGiftReceivedInBusinessAccountOrNull (Ldev/inmo/tgbotapi/types/message/ChatEvents/abstracts/ChatEvent;)Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent$UniqueGift$ReceivedInBusinessAccount; + public static final fun giftSentOrReceivedEventUniqueGiftReceivedInBusinessAccountOrThrow (Ldev/inmo/tgbotapi/types/message/ChatEvents/abstracts/ChatEvent;)Ldev/inmo/tgbotapi/types/gifts/GiftSentOrReceivedEvent$UniqueGift$ReceivedInBusinessAccount; public static final fun giveawayClaimedOrNull (Ldev/inmo/tgbotapi/types/boosts/ChatBoostSource;)Ldev/inmo/tgbotapi/types/boosts/ChatBoostSource$Giveaway$Claimed; public static final fun giveawayClaimedOrThrow (Ldev/inmo/tgbotapi/types/boosts/ChatBoostSource;)Ldev/inmo/tgbotapi/types/boosts/ChatBoostSource$Giveaway$Claimed; public static final fun giveawayContentOrNull (Ldev/inmo/tgbotapi/types/message/content/ResendableContent;)Ldev/inmo/tgbotapi/types/message/content/GiveawayContent; @@ -1644,6 +1656,8 @@ public final class dev/inmo/tgbotapi/extensions/utils/ClassCastsNewKt { public static final fun ifChatMemberUpdatedUpdate (Ldev/inmo/tgbotapi/types/update/abstracts/Update;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; public static final fun ifChatMessageReactionUpdatedUpdate (Ldev/inmo/tgbotapi/types/update/abstracts/Update;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; public static final fun ifChatMessageReactionsCountUpdatedUpdate (Ldev/inmo/tgbotapi/types/update/abstracts/Update;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; + public static final fun ifChatOwnerChanged (Ldev/inmo/tgbotapi/types/message/ChatEvents/abstracts/ChatEvent;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; + public static final fun ifChatOwnerLeft (Ldev/inmo/tgbotapi/types/message/ChatEvents/abstracts/ChatEvent;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; public static final fun ifChatShared (Ldev/inmo/tgbotapi/types/message/ChatEvents/abstracts/ChatEvent;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; public static final fun ifChatShared (Ldev/inmo/tgbotapi/types/request/RequestResponse;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; public static final fun ifChatSharedRequest (Ldev/inmo/tgbotapi/types/message/ChatEvents/abstracts/ChatEvent;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; @@ -1745,6 +1759,7 @@ public final class dev/inmo/tgbotapi/extensions/utils/ClassCastsNewKt { public static final fun ifExtendedGroupChat (Ldev/inmo/tgbotapi/types/chat/Chat;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; public static final fun ifExtendedNonBotChat (Ldev/inmo/tgbotapi/types/chat/Chat;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; public static final fun ifExtendedPrivateChat (Ldev/inmo/tgbotapi/types/chat/Chat;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; + public static final fun ifExtendedPrivateForumChat (Ldev/inmo/tgbotapi/types/chat/Chat;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; public static final fun ifExtendedPublicChat (Ldev/inmo/tgbotapi/types/chat/Chat;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; public static final fun ifExtendedSupergroupChat (Ldev/inmo/tgbotapi/types/chat/Chat;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; public static final fun ifExternal (Ldev/inmo/tgbotapi/types/ReplyInfo;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; @@ -1783,14 +1798,14 @@ public final class dev/inmo/tgbotapi/extensions/utils/ClassCastsNewKt { public static final fun ifGeneralForumTopicHidden (Ldev/inmo/tgbotapi/types/message/ChatEvents/abstracts/ChatEvent;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; public static final fun ifGeneralForumTopicUnhidden (Ldev/inmo/tgbotapi/types/message/ChatEvents/abstracts/ChatEvent;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; public static final fun ifGiftCode (Ldev/inmo/tgbotapi/types/boosts/ChatBoostSource;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; - public static final fun ifGiftSentOrReceived (Ldev/inmo/tgbotapi/types/message/ChatEvents/abstracts/ChatEvent;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; - public static final fun ifGiftSentOrReceivedReceivedInBusinessAccount (Ldev/inmo/tgbotapi/types/message/ChatEvents/abstracts/ChatEvent;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; - public static final fun ifGiftSentOrReceivedRegular (Ldev/inmo/tgbotapi/types/message/ChatEvents/abstracts/ChatEvent;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; - public static final fun ifGiftSentOrReceivedRegularCommon (Ldev/inmo/tgbotapi/types/message/ChatEvents/abstracts/ChatEvent;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; - public static final fun ifGiftSentOrReceivedRegularReceivedInBusinessAccount (Ldev/inmo/tgbotapi/types/message/ChatEvents/abstracts/ChatEvent;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; - public static final fun ifGiftSentOrReceivedUnique (Ldev/inmo/tgbotapi/types/message/ChatEvents/abstracts/ChatEvent;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; - public static final fun ifGiftSentOrReceivedUniqueCommon (Ldev/inmo/tgbotapi/types/message/ChatEvents/abstracts/ChatEvent;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; - public static final fun ifGiftSentOrReceivedUniqueReceivedInBusinessAccount (Ldev/inmo/tgbotapi/types/message/ChatEvents/abstracts/ChatEvent;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; + public static final fun ifGiftSentOrReceivedEvent (Ldev/inmo/tgbotapi/types/message/ChatEvents/abstracts/ChatEvent;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; + public static final fun ifGiftSentOrReceivedEventReceivedInBusinessAccount (Ldev/inmo/tgbotapi/types/message/ChatEvents/abstracts/ChatEvent;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; + public static final fun ifGiftSentOrReceivedEventRegularGift (Ldev/inmo/tgbotapi/types/message/ChatEvents/abstracts/ChatEvent;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; + public static final fun ifGiftSentOrReceivedEventRegularGiftCommon (Ldev/inmo/tgbotapi/types/message/ChatEvents/abstracts/ChatEvent;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; + public static final fun ifGiftSentOrReceivedEventRegularGiftReceivedInBusinessAccount (Ldev/inmo/tgbotapi/types/message/ChatEvents/abstracts/ChatEvent;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; + public static final fun ifGiftSentOrReceivedEventUniqueGift (Ldev/inmo/tgbotapi/types/message/ChatEvents/abstracts/ChatEvent;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; + public static final fun ifGiftSentOrReceivedEventUniqueGiftCommon (Ldev/inmo/tgbotapi/types/message/ChatEvents/abstracts/ChatEvent;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; + public static final fun ifGiftSentOrReceivedEventUniqueGiftReceivedInBusinessAccount (Ldev/inmo/tgbotapi/types/message/ChatEvents/abstracts/ChatEvent;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; public static final fun ifGiveaway (Ldev/inmo/tgbotapi/types/boosts/ChatBoostSource;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; public static final fun ifGiveawayClaimed (Ldev/inmo/tgbotapi/types/boosts/ChatBoostSource;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; public static final fun ifGiveawayContent (Ldev/inmo/tgbotapi/types/message/content/ResendableContent;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; @@ -1975,6 +1990,7 @@ public final class dev/inmo/tgbotapi/extensions/utils/ClassCastsNewKt { public static final fun ifPreviewForumChat (Ldev/inmo/tgbotapi/types/chat/Chat;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; public static final fun ifPreviewGroupChat (Ldev/inmo/tgbotapi/types/chat/Chat;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; public static final fun ifPreviewPrivateChat (Ldev/inmo/tgbotapi/types/chat/Chat;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; + public static final fun ifPreviewPrivateForumChat (Ldev/inmo/tgbotapi/types/chat/Chat;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; public static final fun ifPreviewPublicChat (Ldev/inmo/tgbotapi/types/chat/Chat;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; public static final fun ifPreviewSuperPublicChat (Ldev/inmo/tgbotapi/types/chat/Chat;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; public static final fun ifPreviewSupergroupChat (Ldev/inmo/tgbotapi/types/chat/Chat;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; @@ -1986,6 +2002,12 @@ public final class dev/inmo/tgbotapi/extensions/utils/ClassCastsNewKt { public static final fun ifPrivateContentMessage (Ldev/inmo/tgbotapi/types/message/abstracts/Message;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; public static final fun ifPrivateEvent (Ldev/inmo/tgbotapi/types/message/ChatEvents/abstracts/ChatEvent;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; public static final fun ifPrivateEventMessage (Ldev/inmo/tgbotapi/types/message/abstracts/Message;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; + public static final fun ifPrivateForumChat (Ldev/inmo/tgbotapi/types/chat/Chat;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; + public static final fun ifPrivateForumContentMessage (Ldev/inmo/tgbotapi/abstracts/OptionallyWithUser;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; + public static final fun ifPrivateForumContentMessage (Ldev/inmo/tgbotapi/types/message/abstracts/Message;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; + public static final fun ifPrivateForumEvent (Ldev/inmo/tgbotapi/types/message/ChatEvents/abstracts/ChatEvent;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; + public static final fun ifPrivateForumEventMessage (Ldev/inmo/tgbotapi/types/message/abstracts/Message;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; + public static final fun ifPrivateUserChat (Ldev/inmo/tgbotapi/types/chat/Chat;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; public static final fun ifProximityAlertTriggered (Ldev/inmo/tgbotapi/types/message/ChatEvents/abstracts/ChatEvent;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; public static final fun ifPublicChat (Ldev/inmo/tgbotapi/types/chat/Chat;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; public static final fun ifPublicChatEvent (Ldev/inmo/tgbotapi/types/message/ChatEvents/abstracts/ChatEvent;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; @@ -2053,6 +2075,7 @@ public final class dev/inmo/tgbotapi/extensions/utils/ClassCastsNewKt { public static final fun ifSupergroupEvent (Ldev/inmo/tgbotapi/types/message/ChatEvents/abstracts/ChatEvent;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; public static final fun ifSupergroupEventMessage (Ldev/inmo/tgbotapi/abstracts/OptionallyWithUser;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; public static final fun ifSupergroupEventMessage (Ldev/inmo/tgbotapi/types/message/abstracts/Message;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; + public static final fun ifSupergroupForumChat (Ldev/inmo/tgbotapi/types/chat/Chat;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; public static final fun ifSwitchInlineQueryChosenChatInlineKeyboardButton (Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/InlineKeyboardButton;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; public static final fun ifSwitchInlineQueryCurrentChatInlineKeyboardButton (Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/InlineKeyboardButton;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; public static final fun ifSwitchInlineQueryInlineKeyboardButton (Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/InlineKeyboardButton;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; @@ -2131,6 +2154,7 @@ public final class dev/inmo/tgbotapi/extensions/utils/ClassCastsNewKt { public static final fun ifVideoFile (Ldev/inmo/tgbotapi/types/files/TelegramMediaFile;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; public static final fun ifVideoNoteContent (Ldev/inmo/tgbotapi/types/message/content/ResendableContent;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; public static final fun ifVideoNoteFile (Ldev/inmo/tgbotapi/types/files/TelegramMediaFile;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; + public static final fun ifVideoQuality (Ldev/inmo/tgbotapi/types/files/TelegramMediaFile;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; public static final fun ifVideoSticker (Ldev/inmo/tgbotapi/types/files/TelegramMediaFile;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; public static final fun ifVisualMediaGroupMemberTelegramMedia (Ldev/inmo/tgbotapi/types/media/TelegramMedia;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; public static final fun ifVisualMediaGroupPartContent (Ldev/inmo/tgbotapi/types/message/content/ResendableContent;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; @@ -2480,6 +2504,8 @@ public final class dev/inmo/tgbotapi/extensions/utils/ClassCastsNewKt { public static final fun previewGroupChatOrThrow (Ldev/inmo/tgbotapi/types/chat/Chat;)Ldev/inmo/tgbotapi/types/chat/PreviewGroupChat; public static final fun previewPrivateChatOrNull (Ldev/inmo/tgbotapi/types/chat/Chat;)Ldev/inmo/tgbotapi/types/chat/PreviewPrivateChat; public static final fun previewPrivateChatOrThrow (Ldev/inmo/tgbotapi/types/chat/Chat;)Ldev/inmo/tgbotapi/types/chat/PreviewPrivateChat; + public static final fun previewPrivateForumChatOrNull (Ldev/inmo/tgbotapi/types/chat/Chat;)Ldev/inmo/tgbotapi/types/chat/PreviewPrivateForumChat; + public static final fun previewPrivateForumChatOrThrow (Ldev/inmo/tgbotapi/types/chat/Chat;)Ldev/inmo/tgbotapi/types/chat/PreviewPrivateForumChat; public static final fun previewPublicChatOrNull (Ldev/inmo/tgbotapi/types/chat/Chat;)Ldev/inmo/tgbotapi/types/chat/PreviewPublicChat; public static final fun previewPublicChatOrThrow (Ldev/inmo/tgbotapi/types/chat/Chat;)Ldev/inmo/tgbotapi/types/chat/PreviewPublicChat; public static final fun previewSuperPublicChatOrNull (Ldev/inmo/tgbotapi/types/chat/Chat;)Ldev/inmo/tgbotapi/types/chat/PreviewSuperPublicChat; @@ -2502,6 +2528,18 @@ public final class dev/inmo/tgbotapi/extensions/utils/ClassCastsNewKt { public static final fun privateEventMessageOrThrow (Ldev/inmo/tgbotapi/types/message/abstracts/Message;)Ldev/inmo/tgbotapi/types/message/PrivateEventMessage; public static final fun privateEventOrNull (Ldev/inmo/tgbotapi/types/message/ChatEvents/abstracts/ChatEvent;)Ldev/inmo/tgbotapi/types/message/ChatEvents/abstracts/PrivateEvent; public static final fun privateEventOrThrow (Ldev/inmo/tgbotapi/types/message/ChatEvents/abstracts/ChatEvent;)Ldev/inmo/tgbotapi/types/message/ChatEvents/abstracts/PrivateEvent; + public static final fun privateForumChatOrNull (Ldev/inmo/tgbotapi/types/chat/Chat;)Ldev/inmo/tgbotapi/types/chat/PrivateForumChat; + public static final fun privateForumChatOrThrow (Ldev/inmo/tgbotapi/types/chat/Chat;)Ldev/inmo/tgbotapi/types/chat/PrivateForumChat; + public static final fun privateForumContentMessageOrNull (Ldev/inmo/tgbotapi/abstracts/OptionallyWithUser;)Ldev/inmo/tgbotapi/types/message/abstracts/PrivateForumContentMessage; + public static final fun privateForumContentMessageOrNull (Ldev/inmo/tgbotapi/types/message/abstracts/Message;)Ldev/inmo/tgbotapi/types/message/abstracts/PrivateForumContentMessage; + public static final fun privateForumContentMessageOrThrow (Ldev/inmo/tgbotapi/abstracts/OptionallyWithUser;)Ldev/inmo/tgbotapi/types/message/abstracts/PrivateForumContentMessage; + public static final fun privateForumContentMessageOrThrow (Ldev/inmo/tgbotapi/types/message/abstracts/Message;)Ldev/inmo/tgbotapi/types/message/abstracts/PrivateForumContentMessage; + public static final fun privateForumEventMessageOrNull (Ldev/inmo/tgbotapi/types/message/abstracts/Message;)Ldev/inmo/tgbotapi/types/message/PrivateForumEventMessage; + public static final fun privateForumEventMessageOrThrow (Ldev/inmo/tgbotapi/types/message/abstracts/Message;)Ldev/inmo/tgbotapi/types/message/PrivateForumEventMessage; + public static final fun privateForumEventOrNull (Ldev/inmo/tgbotapi/types/message/ChatEvents/abstracts/ChatEvent;)Ldev/inmo/tgbotapi/types/message/ChatEvents/abstracts/PrivateForumEvent; + public static final fun privateForumEventOrThrow (Ldev/inmo/tgbotapi/types/message/ChatEvents/abstracts/ChatEvent;)Ldev/inmo/tgbotapi/types/message/ChatEvents/abstracts/PrivateForumEvent; + public static final fun privateUserChatOrNull (Ldev/inmo/tgbotapi/types/chat/Chat;)Ldev/inmo/tgbotapi/types/chat/PrivateUserChat; + public static final fun privateUserChatOrThrow (Ldev/inmo/tgbotapi/types/chat/Chat;)Ldev/inmo/tgbotapi/types/chat/PrivateUserChat; public static final fun proximityAlertTriggeredOrNull (Ldev/inmo/tgbotapi/types/message/ChatEvents/abstracts/ChatEvent;)Ldev/inmo/tgbotapi/types/message/ChatEvents/ProximityAlertTriggered; public static final fun proximityAlertTriggeredOrThrow (Ldev/inmo/tgbotapi/types/message/ChatEvents/abstracts/ChatEvent;)Ldev/inmo/tgbotapi/types/message/ChatEvents/ProximityAlertTriggered; public static final fun publicChatEventOrNull (Ldev/inmo/tgbotapi/types/message/ChatEvents/abstracts/ChatEvent;)Ldev/inmo/tgbotapi/types/message/ChatEvents/abstracts/PublicChatEvent; @@ -2636,6 +2674,8 @@ public final class dev/inmo/tgbotapi/extensions/utils/ClassCastsNewKt { public static final fun supergroupEventMessageOrThrow (Ldev/inmo/tgbotapi/types/message/abstracts/Message;)Ldev/inmo/tgbotapi/types/message/abstracts/SupergroupEventMessage; public static final fun supergroupEventOrNull (Ldev/inmo/tgbotapi/types/message/ChatEvents/abstracts/ChatEvent;)Ldev/inmo/tgbotapi/types/message/ChatEvents/abstracts/SupergroupEvent; public static final fun supergroupEventOrThrow (Ldev/inmo/tgbotapi/types/message/ChatEvents/abstracts/ChatEvent;)Ldev/inmo/tgbotapi/types/message/ChatEvents/abstracts/SupergroupEvent; + public static final fun supergroupForumChatOrNull (Ldev/inmo/tgbotapi/types/chat/Chat;)Ldev/inmo/tgbotapi/types/chat/SupergroupForumChat; + public static final fun supergroupForumChatOrThrow (Ldev/inmo/tgbotapi/types/chat/Chat;)Ldev/inmo/tgbotapi/types/chat/SupergroupForumChat; public static final fun switchInlineQueryChosenChatInlineKeyboardButtonOrNull (Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/InlineKeyboardButton;)Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/SwitchInlineQueryChosenChatInlineKeyboardButton; public static final fun switchInlineQueryChosenChatInlineKeyboardButtonOrThrow (Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/InlineKeyboardButton;)Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/SwitchInlineQueryChosenChatInlineKeyboardButton; public static final fun switchInlineQueryCurrentChatInlineKeyboardButtonOrNull (Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/InlineKeyboardButton;)Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/SwitchInlineQueryCurrentChatInlineKeyboardButton; @@ -2792,6 +2832,8 @@ public final class dev/inmo/tgbotapi/extensions/utils/ClassCastsNewKt { public static final fun videoNoteContentOrThrow (Ldev/inmo/tgbotapi/types/message/content/ResendableContent;)Ldev/inmo/tgbotapi/types/message/content/VideoNoteContent; public static final fun videoNoteFileOrNull (Ldev/inmo/tgbotapi/types/files/TelegramMediaFile;)Ldev/inmo/tgbotapi/types/files/VideoNoteFile; public static final fun videoNoteFileOrThrow (Ldev/inmo/tgbotapi/types/files/TelegramMediaFile;)Ldev/inmo/tgbotapi/types/files/VideoNoteFile; + public static final fun videoQualityOrNull (Ldev/inmo/tgbotapi/types/files/TelegramMediaFile;)Ldev/inmo/tgbotapi/types/files/VideoQuality; + public static final fun videoQualityOrThrow (Ldev/inmo/tgbotapi/types/files/TelegramMediaFile;)Ldev/inmo/tgbotapi/types/files/VideoQuality; public static final fun videoStickerOrNull (Ldev/inmo/tgbotapi/types/files/TelegramMediaFile;)Ldev/inmo/tgbotapi/types/files/VideoSticker; public static final fun videoStickerOrThrow (Ldev/inmo/tgbotapi/types/files/TelegramMediaFile;)Ldev/inmo/tgbotapi/types/files/VideoSticker; public static final fun visualMediaGroupMemberTelegramMediaOrNull (Ldev/inmo/tgbotapi/types/media/TelegramMedia;)Ldev/inmo/tgbotapi/types/media/VisualMediaGroupMemberTelegramMedia; @@ -3006,8 +3048,8 @@ public final class dev/inmo/tgbotapi/extensions/utils/extensions/FilesDownloadin public final class dev/inmo/tgbotapi/extensions/utils/extensions/FlowsSameKt { public static final fun fromChat (Lkotlinx/coroutines/flow/Flow;Ldev/inmo/tgbotapi/types/ChatIdentifier;)Lkotlinx/coroutines/flow/Flow; public static final fun fromChat (Lkotlinx/coroutines/flow/Flow;Ldev/inmo/tgbotapi/types/chat/Chat;)Lkotlinx/coroutines/flow/Flow; + public static final fun fromUser (Lkotlinx/coroutines/flow/Flow;Ldev/inmo/tgbotapi/types/IdChatIdentifier;)Lkotlinx/coroutines/flow/Flow; public static final fun fromUser (Lkotlinx/coroutines/flow/Flow;Ldev/inmo/tgbotapi/types/chat/User;)Lkotlinx/coroutines/flow/Flow; - public static final fun fromUser-WiG6Fm4 (Lkotlinx/coroutines/flow/Flow;J)Lkotlinx/coroutines/flow/Flow; } public final class dev/inmo/tgbotapi/extensions/utils/extensions/SameKt { @@ -3166,7 +3208,7 @@ public final class dev/inmo/tgbotapi/extensions/utils/extensions/raw/ShippingQue public final class dev/inmo/tgbotapi/extensions/utils/extensions/raw/StickerKt { public static final fun getCustom_emoji_id (Ldev/inmo/tgbotapi/types/files/Sticker;)Ljava/lang/String; public static final fun getFile_id (Ldev/inmo/tgbotapi/types/files/Sticker;)Ldev/inmo/tgbotapi/requests/abstracts/FileId; - public static final fun getFile_size (Ldev/inmo/tgbotapi/types/files/Sticker;)Ljava/lang/Long; + public static final fun getFile_size (Ldev/inmo/tgbotapi/types/files/Sticker;)Ldev/inmo/tgbotapi/types/files/FileSize; public static final fun getFile_unique_id (Ldev/inmo/tgbotapi/types/files/Sticker;)Ljava/lang/String; public static final fun getMask_position (Ldev/inmo/tgbotapi/types/files/Sticker;)Ldev/inmo/tgbotapi/types/stickers/MaskPosition; public static final fun getPremium_animation (Ldev/inmo/tgbotapi/types/files/Sticker;)Ldev/inmo/tgbotapi/types/files/File; @@ -3278,7 +3320,7 @@ public final class dev/inmo/tgbotapi/extensions/utils/formatting/LinksFormatting public static synthetic fun makeTelegramStartattach$default (Ljava/lang/String;Ljava/lang/String;ILjava/lang/Object;)Ljava/lang/String; public static final fun makeTelegramStartattach-26ZnLnw (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; public static synthetic fun makeTelegramStartattach-26ZnLnw$default (Ljava/lang/String;Ljava/lang/String;ILjava/lang/Object;)Ljava/lang/String; - public static final fun makeUserLink-HZVsHAI (J)Ljava/lang/String; + public static final fun makeUserLink (Ldev/inmo/tgbotapi/types/IdChatIdentifier;)Ljava/lang/String; public static final fun makeUsernameDeepLinkPrefix (Ljava/lang/String;)Ljava/lang/String; public static final fun makeUsernameLink-zFai7VQ (Ljava/lang/String;Ldev/inmo/tgbotapi/types/MessageThreadId;)Ljava/lang/String; public static synthetic fun makeUsernameLink-zFai7VQ$default (Ljava/lang/String;Ldev/inmo/tgbotapi/types/MessageThreadId;ILjava/lang/Object;)Ljava/lang/String; @@ -3385,9 +3427,9 @@ public final class dev/inmo/tgbotapi/extensions/utils/formatting/StringFormattin public static final fun strikethroughHTML (Ljava/lang/String;)Ljava/lang/String; public static final fun strikethroughMarkdown (Ljava/lang/String;)Ljava/lang/String; public static final fun strikethroughMarkdownV2 (Ljava/lang/String;)Ljava/lang/String; - public static final fun textMentionHTML-WiG6Fm4 (Ljava/lang/String;J)Ljava/lang/String; - public static final fun textMentionMarkdown-WiG6Fm4 (Ljava/lang/String;J)Ljava/lang/String; - public static final fun textMentionMarkdownV2-WiG6Fm4 (Ljava/lang/String;J)Ljava/lang/String; + public static final fun textMentionHTML (Ljava/lang/String;Ldev/inmo/tgbotapi/types/IdChatIdentifier;)Ljava/lang/String; + public static final fun textMentionMarkdown (Ljava/lang/String;Ldev/inmo/tgbotapi/types/IdChatIdentifier;)Ljava/lang/String; + public static final fun textMentionMarkdownV2 (Ljava/lang/String;Ldev/inmo/tgbotapi/types/IdChatIdentifier;)Ljava/lang/String; public static final fun underline (Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;)Ljava/lang/String; public static final fun underlineHTML (Ljava/lang/String;)Ljava/lang/String; public static final fun underlineMarkdown (Ljava/lang/String;)Ljava/lang/String; @@ -3553,25 +3595,37 @@ public final class dev/inmo/tgbotapi/extensions/utils/shortcuts/RequestsExecutor public final class dev/inmo/tgbotapi/extensions/utils/types/buttons/InlineKeyboardBuilderKt { public static final fun build (Ldev/inmo/tgbotapi/utils/MatrixBuilder;)Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup; - public static final fun copyTextButton (Ldev/inmo/tgbotapi/utils/RowBuilder;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/CopyTextButtonData;)Z - public static final fun copyTextButton (Ldev/inmo/tgbotapi/utils/RowBuilder;Ljava/lang/String;Ljava/lang/String;)Z - public static final fun dataButton (Ldev/inmo/tgbotapi/utils/RowBuilder;Ljava/lang/String;Ljava/lang/String;)Z + public static final fun copyTextButton-TGGzX2M (Ldev/inmo/tgbotapi/utils/RowBuilder;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/CopyTextButtonData;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;)Z + public static final fun copyTextButton-TGGzX2M (Ldev/inmo/tgbotapi/utils/RowBuilder;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;)Z + public static synthetic fun copyTextButton-TGGzX2M$default (Ldev/inmo/tgbotapi/utils/RowBuilder;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/CopyTextButtonData;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;ILjava/lang/Object;)Z + public static synthetic fun copyTextButton-TGGzX2M$default (Ldev/inmo/tgbotapi/utils/RowBuilder;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;ILjava/lang/Object;)Z + public static final fun dataButton-TGGzX2M (Ldev/inmo/tgbotapi/utils/RowBuilder;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;)Z + public static synthetic fun dataButton-TGGzX2M$default (Ldev/inmo/tgbotapi/utils/RowBuilder;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;ILjava/lang/Object;)Z public static final fun flatInlineKeyboard (Lkotlin/jvm/functions/Function1;)Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup; - public static final fun gameButton (Ldev/inmo/tgbotapi/utils/RowBuilder;Ljava/lang/String;)Z + public static final fun gameButton-peVxY-Q (Ldev/inmo/tgbotapi/utils/RowBuilder;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;)Z + public static synthetic fun gameButton-peVxY-Q$default (Ldev/inmo/tgbotapi/utils/RowBuilder;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;ILjava/lang/Object;)Z public static final fun inlineKeyboard (Lkotlin/jvm/functions/Function1;)Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup; - public static final fun inlineQueryButton (Ldev/inmo/tgbotapi/utils/RowBuilder;Ljava/lang/String;Ljava/lang/String;)Z - public static final fun inlineQueryInAnyChosenChatButton (Ldev/inmo/tgbotapi/utils/RowBuilder;Ljava/lang/String;Ljava/lang/String;)Z - public static synthetic fun inlineQueryInAnyChosenChatButton$default (Ldev/inmo/tgbotapi/utils/RowBuilder;Ljava/lang/String;Ljava/lang/String;ILjava/lang/Object;)Z - public static final fun inlineQueryInChosenChatButton (Ldev/inmo/tgbotapi/utils/RowBuilder;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/SwitchInlineQueryChosenChat;)Z - public static final fun inlineQueryInChosenChatButton (Ldev/inmo/tgbotapi/utils/RowBuilder;Ljava/lang/String;Ljava/lang/String;ZZZZ)Z - public static synthetic fun inlineQueryInChosenChatButton$default (Ldev/inmo/tgbotapi/utils/RowBuilder;Ljava/lang/String;Ljava/lang/String;ZZZZILjava/lang/Object;)Z - public static final fun inlineQueryInCurrentChatButton (Ldev/inmo/tgbotapi/utils/RowBuilder;Ljava/lang/String;Ljava/lang/String;)Z - public static final fun loginButton (Ldev/inmo/tgbotapi/utils/RowBuilder;Ljava/lang/String;Ldev/inmo/tgbotapi/types/LoginURL;)Z + public static final fun inlineQueryButton-TGGzX2M (Ldev/inmo/tgbotapi/utils/RowBuilder;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;)Z + public static synthetic fun inlineQueryButton-TGGzX2M$default (Ldev/inmo/tgbotapi/utils/RowBuilder;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;ILjava/lang/Object;)Z + public static final fun inlineQueryInAnyChosenChatButton-TGGzX2M (Ldev/inmo/tgbotapi/utils/RowBuilder;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;)Z + public static synthetic fun inlineQueryInAnyChosenChatButton-TGGzX2M$default (Ldev/inmo/tgbotapi/utils/RowBuilder;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;ILjava/lang/Object;)Z + public static final fun inlineQueryInChosenChatButton-EEPG3Qg (Ldev/inmo/tgbotapi/utils/RowBuilder;Ljava/lang/String;Ljava/lang/String;ZZZZLjava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;)Z + public static synthetic fun inlineQueryInChosenChatButton-EEPG3Qg$default (Ldev/inmo/tgbotapi/utils/RowBuilder;Ljava/lang/String;Ljava/lang/String;ZZZZLjava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;ILjava/lang/Object;)Z + public static final fun inlineQueryInChosenChatButton-TGGzX2M (Ldev/inmo/tgbotapi/utils/RowBuilder;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/SwitchInlineQueryChosenChat;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;)Z + public static synthetic fun inlineQueryInChosenChatButton-TGGzX2M$default (Ldev/inmo/tgbotapi/utils/RowBuilder;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardButtons/SwitchInlineQueryChosenChat;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;ILjava/lang/Object;)Z + public static final fun inlineQueryInCurrentChatButton-TGGzX2M (Ldev/inmo/tgbotapi/utils/RowBuilder;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;)Z + public static synthetic fun inlineQueryInCurrentChatButton-TGGzX2M$default (Ldev/inmo/tgbotapi/utils/RowBuilder;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;ILjava/lang/Object;)Z + public static final fun loginButton-TGGzX2M (Ldev/inmo/tgbotapi/utils/RowBuilder;Ljava/lang/String;Ldev/inmo/tgbotapi/types/LoginURL;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;)Z + public static synthetic fun loginButton-TGGzX2M$default (Ldev/inmo/tgbotapi/utils/RowBuilder;Ljava/lang/String;Ldev/inmo/tgbotapi/types/LoginURL;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;ILjava/lang/Object;)Z public static final fun modified (Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Lkotlin/jvm/functions/Function1;)Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup; - public static final fun payButton (Ldev/inmo/tgbotapi/utils/RowBuilder;Ljava/lang/String;)Z - public static final fun urlButton (Ldev/inmo/tgbotapi/utils/RowBuilder;Ljava/lang/String;Ljava/lang/String;)Z - public static final fun webAppButton (Ldev/inmo/tgbotapi/utils/RowBuilder;Ljava/lang/String;Ldev/inmo/tgbotapi/types/webapps/WebAppInfo;)Z - public static final fun webAppButton (Ldev/inmo/tgbotapi/utils/RowBuilder;Ljava/lang/String;Ljava/lang/String;)Z + public static final fun payButton-peVxY-Q (Ldev/inmo/tgbotapi/utils/RowBuilder;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;)Z + public static synthetic fun payButton-peVxY-Q$default (Ldev/inmo/tgbotapi/utils/RowBuilder;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;ILjava/lang/Object;)Z + public static final fun urlButton-TGGzX2M (Ldev/inmo/tgbotapi/utils/RowBuilder;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;)Z + public static synthetic fun urlButton-TGGzX2M$default (Ldev/inmo/tgbotapi/utils/RowBuilder;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;ILjava/lang/Object;)Z + public static final fun webAppButton-TGGzX2M (Ldev/inmo/tgbotapi/utils/RowBuilder;Ljava/lang/String;Ldev/inmo/tgbotapi/types/webapps/WebAppInfo;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;)Z + public static final fun webAppButton-TGGzX2M (Ldev/inmo/tgbotapi/utils/RowBuilder;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;)Z + public static synthetic fun webAppButton-TGGzX2M$default (Ldev/inmo/tgbotapi/utils/RowBuilder;Ljava/lang/String;Ldev/inmo/tgbotapi/types/webapps/WebAppInfo;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;ILjava/lang/Object;)Z + public static synthetic fun webAppButton-TGGzX2M$default (Ldev/inmo/tgbotapi/utils/RowBuilder;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;ILjava/lang/Object;)Z } public final class dev/inmo/tgbotapi/extensions/utils/types/buttons/InlineKeyboardMarkupKt { @@ -3585,32 +3639,40 @@ public final class dev/inmo/tgbotapi/extensions/utils/types/buttons/ReplyKeyboar public static synthetic fun flatReplyKeyboard$default (Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/String;Ljava/lang/Boolean;Ljava/lang/Boolean;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/buttons/ReplyKeyboardMarkup; public static final fun replyKeyboard (Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/String;Ljava/lang/Boolean;Ljava/lang/Boolean;Lkotlin/jvm/functions/Function1;)Ldev/inmo/tgbotapi/types/buttons/ReplyKeyboardMarkup; public static synthetic fun replyKeyboard$default (Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/String;Ljava/lang/Boolean;Ljava/lang/Boolean;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/buttons/ReplyKeyboardMarkup; - public static final fun requestBotButton-6J3sOes (Ldev/inmo/tgbotapi/utils/RowBuilder;Ljava/lang/String;SLjava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;)Z - public static synthetic fun requestBotButton-6J3sOes$default (Ldev/inmo/tgbotapi/utils/RowBuilder;Ljava/lang/String;SLjava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;ILjava/lang/Object;)Z - public static final fun requestBotsButton-6xNxnbw (Ldev/inmo/tgbotapi/utils/RowBuilder;Ljava/lang/String;SILjava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;)Z - public static synthetic fun requestBotsButton-6xNxnbw$default (Ldev/inmo/tgbotapi/utils/RowBuilder;Ljava/lang/String;SILjava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;ILjava/lang/Object;)Z - public static final fun requestChannelButton-cvDvKfo (Ldev/inmo/tgbotapi/utils/RowBuilder;Ljava/lang/String;SLjava/lang/Boolean;Ljava/lang/Boolean;Ldev/inmo/tgbotapi/types/chat/member/ChatCommonAdministratorRights;Ldev/inmo/tgbotapi/types/chat/member/ChatCommonAdministratorRights;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;)Z - public static synthetic fun requestChannelButton-cvDvKfo$default (Ldev/inmo/tgbotapi/utils/RowBuilder;Ljava/lang/String;SLjava/lang/Boolean;Ljava/lang/Boolean;Ldev/inmo/tgbotapi/types/chat/member/ChatCommonAdministratorRights;Ldev/inmo/tgbotapi/types/chat/member/ChatCommonAdministratorRights;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;ILjava/lang/Object;)Z - public static final fun requestChatButton (Ldev/inmo/tgbotapi/utils/RowBuilder;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonRequestChat;)Z - public static final fun requestChatButton-n4yCVdQ (Ldev/inmo/tgbotapi/utils/RowBuilder;Ljava/lang/String;SLjava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ldev/inmo/tgbotapi/types/chat/member/ChatCommonAdministratorRights;Ldev/inmo/tgbotapi/types/chat/member/ChatCommonAdministratorRights;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;)Z - public static synthetic fun requestChatButton-n4yCVdQ$default (Ldev/inmo/tgbotapi/utils/RowBuilder;Ljava/lang/String;SLjava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ldev/inmo/tgbotapi/types/chat/member/ChatCommonAdministratorRights;Ldev/inmo/tgbotapi/types/chat/member/ChatCommonAdministratorRights;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;ILjava/lang/Object;)Z - public static final fun requestContactButton (Ldev/inmo/tgbotapi/utils/RowBuilder;Ljava/lang/String;)Z - public static final fun requestGroupButton-dh25vGQ (Ldev/inmo/tgbotapi/utils/RowBuilder;Ljava/lang/String;SLjava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ldev/inmo/tgbotapi/types/chat/member/ChatCommonAdministratorRights;Ldev/inmo/tgbotapi/types/chat/member/ChatCommonAdministratorRights;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;)Z - public static synthetic fun requestGroupButton-dh25vGQ$default (Ldev/inmo/tgbotapi/utils/RowBuilder;Ljava/lang/String;SLjava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ldev/inmo/tgbotapi/types/chat/member/ChatCommonAdministratorRights;Ldev/inmo/tgbotapi/types/chat/member/ChatCommonAdministratorRights;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;ILjava/lang/Object;)Z - public static final fun requestLocationButton (Ldev/inmo/tgbotapi/utils/RowBuilder;Ljava/lang/String;)Z - public static final fun requestPollButton (Ldev/inmo/tgbotapi/utils/RowBuilder;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonPollType;)Z - public static final fun requestUserButton-6xNxnbw (Ldev/inmo/tgbotapi/utils/RowBuilder;Ljava/lang/String;SLjava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;)Z - public static synthetic fun requestUserButton-6xNxnbw$default (Ldev/inmo/tgbotapi/utils/RowBuilder;Ljava/lang/String;SLjava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;ILjava/lang/Object;)Z - public static final fun requestUserOrBotButton-6J3sOes (Ldev/inmo/tgbotapi/utils/RowBuilder;Ljava/lang/String;SLjava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;)Z - public static synthetic fun requestUserOrBotButton-6J3sOes$default (Ldev/inmo/tgbotapi/utils/RowBuilder;Ljava/lang/String;SLjava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;ILjava/lang/Object;)Z - public static final fun requestUsersButton (Ldev/inmo/tgbotapi/utils/RowBuilder;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonRequestUsers;)Z - public static final fun requestUsersButton-XjXd-ic (Ldev/inmo/tgbotapi/utils/RowBuilder;Ljava/lang/String;SLjava/lang/Boolean;ILjava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;)Z - public static synthetic fun requestUsersButton-XjXd-ic$default (Ldev/inmo/tgbotapi/utils/RowBuilder;Ljava/lang/String;SLjava/lang/Boolean;ILjava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;ILjava/lang/Object;)Z - public static final fun requestUsersOrBotsButton-XjXd-ic (Ldev/inmo/tgbotapi/utils/RowBuilder;Ljava/lang/String;SLjava/lang/Boolean;ILjava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;)Z - public static synthetic fun requestUsersOrBotsButton-XjXd-ic$default (Ldev/inmo/tgbotapi/utils/RowBuilder;Ljava/lang/String;SLjava/lang/Boolean;ILjava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;ILjava/lang/Object;)Z - public static final fun simpleButton (Ldev/inmo/tgbotapi/utils/RowBuilder;Ljava/lang/String;)Z - public static final fun webAppButton (Ldev/inmo/tgbotapi/utils/RowBuilder;Ljava/lang/String;Ldev/inmo/tgbotapi/types/webapps/WebAppInfo;)Z - public static final fun webAppButton (Ldev/inmo/tgbotapi/utils/RowBuilder;Ljava/lang/String;Ljava/lang/String;)Z + public static final fun requestBotButton-saVQPX0 (Ldev/inmo/tgbotapi/utils/RowBuilder;Ljava/lang/String;SLjava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;)Z + public static synthetic fun requestBotButton-saVQPX0$default (Ldev/inmo/tgbotapi/utils/RowBuilder;Ljava/lang/String;SLjava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;ILjava/lang/Object;)Z + public static final fun requestBotsButton-gB4qrME (Ldev/inmo/tgbotapi/utils/RowBuilder;Ljava/lang/String;SILjava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;)Z + public static synthetic fun requestBotsButton-gB4qrME$default (Ldev/inmo/tgbotapi/utils/RowBuilder;Ljava/lang/String;SILjava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;ILjava/lang/Object;)Z + public static final fun requestChannelButton-OBc0hwI (Ldev/inmo/tgbotapi/utils/RowBuilder;Ljava/lang/String;SLjava/lang/Boolean;Ljava/lang/Boolean;Ldev/inmo/tgbotapi/types/chat/member/ChatCommonAdministratorRights;Ldev/inmo/tgbotapi/types/chat/member/ChatCommonAdministratorRights;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;)Z + public static synthetic fun requestChannelButton-OBc0hwI$default (Ldev/inmo/tgbotapi/utils/RowBuilder;Ljava/lang/String;SLjava/lang/Boolean;Ljava/lang/Boolean;Ldev/inmo/tgbotapi/types/chat/member/ChatCommonAdministratorRights;Ldev/inmo/tgbotapi/types/chat/member/ChatCommonAdministratorRights;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;ILjava/lang/Object;)Z + public static final fun requestChatButton-S4YyRvg (Ldev/inmo/tgbotapi/utils/RowBuilder;Ljava/lang/String;SLjava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ldev/inmo/tgbotapi/types/chat/member/ChatCommonAdministratorRights;Ldev/inmo/tgbotapi/types/chat/member/ChatCommonAdministratorRights;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;)Z + public static synthetic fun requestChatButton-S4YyRvg$default (Ldev/inmo/tgbotapi/utils/RowBuilder;Ljava/lang/String;SLjava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ldev/inmo/tgbotapi/types/chat/member/ChatCommonAdministratorRights;Ldev/inmo/tgbotapi/types/chat/member/ChatCommonAdministratorRights;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;ILjava/lang/Object;)Z + public static final fun requestChatButton-TGGzX2M (Ldev/inmo/tgbotapi/utils/RowBuilder;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonRequestChat;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;)Z + public static synthetic fun requestChatButton-TGGzX2M$default (Ldev/inmo/tgbotapi/utils/RowBuilder;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonRequestChat;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;ILjava/lang/Object;)Z + public static final fun requestContactButton-peVxY-Q (Ldev/inmo/tgbotapi/utils/RowBuilder;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;)Z + public static synthetic fun requestContactButton-peVxY-Q$default (Ldev/inmo/tgbotapi/utils/RowBuilder;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;ILjava/lang/Object;)Z + public static final fun requestGroupButton-07i2Weo (Ldev/inmo/tgbotapi/utils/RowBuilder;Ljava/lang/String;SLjava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ldev/inmo/tgbotapi/types/chat/member/ChatCommonAdministratorRights;Ldev/inmo/tgbotapi/types/chat/member/ChatCommonAdministratorRights;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;)Z + public static synthetic fun requestGroupButton-07i2Weo$default (Ldev/inmo/tgbotapi/utils/RowBuilder;Ljava/lang/String;SLjava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ldev/inmo/tgbotapi/types/chat/member/ChatCommonAdministratorRights;Ldev/inmo/tgbotapi/types/chat/member/ChatCommonAdministratorRights;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;ILjava/lang/Object;)Z + public static final fun requestLocationButton-peVxY-Q (Ldev/inmo/tgbotapi/utils/RowBuilder;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;)Z + public static synthetic fun requestLocationButton-peVxY-Q$default (Ldev/inmo/tgbotapi/utils/RowBuilder;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;ILjava/lang/Object;)Z + public static final fun requestPollButton-TGGzX2M (Ldev/inmo/tgbotapi/utils/RowBuilder;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonPollType;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;)Z + public static synthetic fun requestPollButton-TGGzX2M$default (Ldev/inmo/tgbotapi/utils/RowBuilder;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonPollType;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;ILjava/lang/Object;)Z + public static final fun requestUserButton-gB4qrME (Ldev/inmo/tgbotapi/utils/RowBuilder;Ljava/lang/String;SLjava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;)Z + public static synthetic fun requestUserButton-gB4qrME$default (Ldev/inmo/tgbotapi/utils/RowBuilder;Ljava/lang/String;SLjava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;ILjava/lang/Object;)Z + public static final fun requestUserOrBotButton-saVQPX0 (Ldev/inmo/tgbotapi/utils/RowBuilder;Ljava/lang/String;SLjava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;)Z + public static synthetic fun requestUserOrBotButton-saVQPX0$default (Ldev/inmo/tgbotapi/utils/RowBuilder;Ljava/lang/String;SLjava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;ILjava/lang/Object;)Z + public static final fun requestUsersButton-8qZnuvw (Ldev/inmo/tgbotapi/utils/RowBuilder;Ljava/lang/String;SLjava/lang/Boolean;ILjava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;)Z + public static synthetic fun requestUsersButton-8qZnuvw$default (Ldev/inmo/tgbotapi/utils/RowBuilder;Ljava/lang/String;SLjava/lang/Boolean;ILjava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;ILjava/lang/Object;)Z + public static final fun requestUsersButton-TGGzX2M (Ldev/inmo/tgbotapi/utils/RowBuilder;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonRequestUsers;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;)Z + public static synthetic fun requestUsersButton-TGGzX2M$default (Ldev/inmo/tgbotapi/utils/RowBuilder;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonRequestUsers;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;ILjava/lang/Object;)Z + public static final fun requestUsersOrBotsButton-8qZnuvw (Ldev/inmo/tgbotapi/utils/RowBuilder;Ljava/lang/String;SLjava/lang/Boolean;ILjava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;)Z + public static synthetic fun requestUsersOrBotsButton-8qZnuvw$default (Ldev/inmo/tgbotapi/utils/RowBuilder;Ljava/lang/String;SLjava/lang/Boolean;ILjava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;ILjava/lang/Object;)Z + public static final fun simpleButton-peVxY-Q (Ldev/inmo/tgbotapi/utils/RowBuilder;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;)Z + public static synthetic fun simpleButton-peVxY-Q$default (Ldev/inmo/tgbotapi/utils/RowBuilder;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;ILjava/lang/Object;)Z + public static final fun webAppButton-TGGzX2M (Ldev/inmo/tgbotapi/utils/RowBuilder;Ljava/lang/String;Ldev/inmo/tgbotapi/types/webapps/WebAppInfo;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;)Z + public static final fun webAppButton-TGGzX2M (Ldev/inmo/tgbotapi/utils/RowBuilder;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;)Z + public static synthetic fun webAppButton-TGGzX2M$default (Ldev/inmo/tgbotapi/utils/RowBuilder;Ljava/lang/String;Ldev/inmo/tgbotapi/types/webapps/WebAppInfo;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;ILjava/lang/Object;)Z + public static synthetic fun webAppButton-TGGzX2M$default (Ldev/inmo/tgbotapi/utils/RowBuilder;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonStyle;ILjava/lang/Object;)Z } public final class dev/inmo/tgbotapi/extensions/utils/types/buttons/ReplyKeyboardMarkupKt { diff --git a/tgbotapi.utils/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/utils/ClassCasts.kt b/tgbotapi.utils/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/utils/ClassCasts.kt index 6984efc27e..38f11d836e 100644 --- a/tgbotapi.utils/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/utils/ClassCasts.kt +++ b/tgbotapi.utils/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/utils/ClassCasts.kt @@ -3275,6 +3275,24 @@ inline fun ChatEvent.asChannelEvent(): ChannelEvent? = this as? ChannelEvent @PreviewFeature inline fun ChatEvent.requireChannelEvent(): ChannelEvent = this as ChannelEvent +@PreviewFeature +inline fun ChatEvent.whenChatOwnerLeft(block: (ChatOwnerLeft) -> T) = asChatOwnerLeft()?.let(block) + +@PreviewFeature +inline fun ChatEvent.asChatOwnerLeft(): ChatOwnerLeft? = this as? ChatOwnerLeft + +@PreviewFeature +inline fun ChatEvent.requireChatOwnerLeft(): ChatOwnerLeft = this as ChatOwnerLeft + +@PreviewFeature +inline fun ChatEvent.whenChatOwnerChanged(block: (ChatOwnerChanged) -> T) = asChatOwnerChanged()?.let(block) + +@PreviewFeature +inline fun ChatEvent.asChatOwnerChanged(): ChatOwnerChanged? = this as? ChatOwnerChanged + +@PreviewFeature +inline fun ChatEvent.requireChatOwnerChanged(): ChatOwnerChanged = this as ChatOwnerChanged + @PreviewFeature inline fun ChatEvent.whenPublicChatEvent(block: (PublicChatEvent) -> T) = asPublicChatEvent()?.let(block) diff --git a/tgbotapi.utils/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/utils/ClassCastsNew.kt b/tgbotapi.utils/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/utils/ClassCastsNew.kt index 935a8bc83d..49b4af8b4b 100644 --- a/tgbotapi.utils/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/utils/ClassCastsNew.kt +++ b/tgbotapi.utils/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/utils/ClassCastsNew.kt @@ -142,6 +142,7 @@ import dev.inmo.tgbotapi.types.chat.ExtendedForumChat import dev.inmo.tgbotapi.types.chat.ExtendedGroupChat import dev.inmo.tgbotapi.types.chat.ExtendedNonBotChat import dev.inmo.tgbotapi.types.chat.ExtendedPrivateChat +import dev.inmo.tgbotapi.types.chat.ExtendedPrivateForumChat import dev.inmo.tgbotapi.types.chat.ExtendedPublicChat import dev.inmo.tgbotapi.types.chat.ExtendedSupergroupChat import dev.inmo.tgbotapi.types.chat.ForumChat @@ -155,15 +156,19 @@ import dev.inmo.tgbotapi.types.chat.PreviewChat import dev.inmo.tgbotapi.types.chat.PreviewForumChat import dev.inmo.tgbotapi.types.chat.PreviewGroupChat import dev.inmo.tgbotapi.types.chat.PreviewPrivateChat +import dev.inmo.tgbotapi.types.chat.PreviewPrivateForumChat import dev.inmo.tgbotapi.types.chat.PreviewPublicChat import dev.inmo.tgbotapi.types.chat.PreviewSuperPublicChat import dev.inmo.tgbotapi.types.chat.PreviewSupergroupChat import dev.inmo.tgbotapi.types.chat.PreviewUser import dev.inmo.tgbotapi.types.chat.PreviewUsernameChat import dev.inmo.tgbotapi.types.chat.PrivateChat +import dev.inmo.tgbotapi.types.chat.PrivateForumChat +import dev.inmo.tgbotapi.types.chat.PrivateUserChat import dev.inmo.tgbotapi.types.chat.PublicChat import dev.inmo.tgbotapi.types.chat.SuperPublicChat import dev.inmo.tgbotapi.types.chat.SupergroupChat +import dev.inmo.tgbotapi.types.chat.SupergroupForumChat import dev.inmo.tgbotapi.types.chat.UnknownChatType import dev.inmo.tgbotapi.types.chat.UnknownExtendedChat import dev.inmo.tgbotapi.types.chat.User @@ -222,9 +227,10 @@ import dev.inmo.tgbotapi.types.files.UnknownSticker import dev.inmo.tgbotapi.types.files.UsefulAsPaidMediaFile import dev.inmo.tgbotapi.types.files.VideoFile import dev.inmo.tgbotapi.types.files.VideoNoteFile +import dev.inmo.tgbotapi.types.files.VideoQuality import dev.inmo.tgbotapi.types.files.VideoSticker import dev.inmo.tgbotapi.types.files.VoiceFile -import dev.inmo.tgbotapi.types.gifts.GiftSentOrReceived +import dev.inmo.tgbotapi.types.gifts.GiftSentOrReceivedEvent import dev.inmo.tgbotapi.types.giveaway.GiveawayCreated import dev.inmo.tgbotapi.types.giveaway.GiveawayPrivateResults import dev.inmo.tgbotapi.types.location.LiveLocation @@ -256,6 +262,8 @@ import dev.inmo.tgbotapi.types.media.WithCustomizableCaptionTelegramMedia import dev.inmo.tgbotapi.types.message.ChannelEventMessage import dev.inmo.tgbotapi.types.message.ChatEvents.ChannelChatCreated import dev.inmo.tgbotapi.types.message.ChatEvents.ChatBoostAdded +import dev.inmo.tgbotapi.types.message.ChatEvents.ChatOwnerChanged +import dev.inmo.tgbotapi.types.message.ChatEvents.ChatOwnerLeft import dev.inmo.tgbotapi.types.message.ChatEvents.DeleteChatPhoto import dev.inmo.tgbotapi.types.message.ChatEvents.GroupChatCreated import dev.inmo.tgbotapi.types.message.ChatEvents.LeftChatMemberEvent @@ -276,6 +284,7 @@ import dev.inmo.tgbotapi.types.message.ChatEvents.abstracts.CommonEvent import dev.inmo.tgbotapi.types.message.ChatEvents.abstracts.ForumEvent import dev.inmo.tgbotapi.types.message.ChatEvents.abstracts.GroupEvent import dev.inmo.tgbotapi.types.message.ChatEvents.abstracts.PrivateEvent +import dev.inmo.tgbotapi.types.message.ChatEvents.abstracts.PrivateForumEvent import dev.inmo.tgbotapi.types.message.ChatEvents.abstracts.PublicChatEvent import dev.inmo.tgbotapi.types.message.ChatEvents.abstracts.SupergroupEvent import dev.inmo.tgbotapi.types.message.ChatEvents.abstracts.VideoChatEvent @@ -301,6 +310,7 @@ import dev.inmo.tgbotapi.types.message.CommonSupergroupEventMessage import dev.inmo.tgbotapi.types.message.ForwardInfo import dev.inmo.tgbotapi.types.message.PassportMessage import dev.inmo.tgbotapi.types.message.PrivateEventMessage +import dev.inmo.tgbotapi.types.message.PrivateForumEventMessage import dev.inmo.tgbotapi.types.message.abstracts.AccessibleMessage import dev.inmo.tgbotapi.types.message.abstracts.AnonymousForumContentMessage import dev.inmo.tgbotapi.types.message.abstracts.AnonymousGroupContentMessage @@ -339,6 +349,7 @@ import dev.inmo.tgbotapi.types.message.abstracts.PossiblyTopicMessage import dev.inmo.tgbotapi.types.message.abstracts.PossiblyWithEffectMessage import dev.inmo.tgbotapi.types.message.abstracts.PotentiallyFromUserGroupContentMessage import dev.inmo.tgbotapi.types.message.abstracts.PrivateContentMessage +import dev.inmo.tgbotapi.types.message.abstracts.PrivateForumContentMessage import dev.inmo.tgbotapi.types.message.abstracts.PublicContentMessage import dev.inmo.tgbotapi.types.message.abstracts.SignedMessage import dev.inmo.tgbotapi.types.message.abstracts.SuggestedChannelDirectMessagesContentMessage @@ -796,6 +807,12 @@ public inline fun OptionallyWithUser.commonSuggestedChannelDirectMessagesContent public inline fun OptionallyWithUser.ifCommonSuggestedChannelDirectMessagesContentMessage(block: (CommonSuggestedChannelDirectMessagesContentMessage) -> T): T? = commonSuggestedChannelDirectMessagesContentMessageOrNull() ?.let(block) +public inline fun OptionallyWithUser.privateForumContentMessageOrNull(): PrivateForumContentMessage? = this as? dev.inmo.tgbotapi.types.message.abstracts.PrivateForumContentMessage + +public inline fun OptionallyWithUser.privateForumContentMessageOrThrow(): PrivateForumContentMessage = this as dev.inmo.tgbotapi.types.message.abstracts.PrivateForumContentMessage + +public inline fun OptionallyWithUser.ifPrivateForumContentMessage(block: (PrivateForumContentMessage) -> T): T? = privateForumContentMessageOrNull() ?.let(block) + public inline fun OptionallyWithUser.supergroupEventMessageOrNull(): SupergroupEventMessage? = this as? dev.inmo.tgbotapi.types.message.abstracts.SupergroupEventMessage public inline fun OptionallyWithUser.supergroupEventMessageOrThrow(): SupergroupEventMessage = this as dev.inmo.tgbotapi.types.message.abstracts.SupergroupEventMessage @@ -1330,6 +1347,12 @@ public inline fun Chat.extendedPrivateChatOrThrow(): ExtendedPrivateChat = this public inline fun Chat.ifExtendedPrivateChat(block: (ExtendedPrivateChat) -> T): T? = extendedPrivateChatOrNull() ?.let(block) +public inline fun Chat.extendedPrivateForumChatOrNull(): ExtendedPrivateForumChat? = this as? dev.inmo.tgbotapi.types.chat.ExtendedPrivateForumChat + +public inline fun Chat.extendedPrivateForumChatOrThrow(): ExtendedPrivateForumChat = this as dev.inmo.tgbotapi.types.chat.ExtendedPrivateForumChat + +public inline fun Chat.ifExtendedPrivateForumChat(block: (ExtendedPrivateForumChat) -> T): T? = extendedPrivateForumChatOrNull() ?.let(block) + public inline fun Chat.extendedPublicChatOrNull(): ExtendedPublicChat? = this as? dev.inmo.tgbotapi.types.chat.ExtendedPublicChat public inline fun Chat.extendedPublicChatOrThrow(): ExtendedPublicChat = this as dev.inmo.tgbotapi.types.chat.ExtendedPublicChat @@ -1420,6 +1443,18 @@ public inline fun Chat.privateChatOrThrow(): PrivateChat = this as dev.inmo.tgbo public inline fun Chat.ifPrivateChat(block: (PrivateChat) -> T): T? = privateChatOrNull() ?.let(block) +public inline fun Chat.privateUserChatOrNull(): PrivateUserChat? = this as? dev.inmo.tgbotapi.types.chat.PrivateUserChat + +public inline fun Chat.privateUserChatOrThrow(): PrivateUserChat = this as dev.inmo.tgbotapi.types.chat.PrivateUserChat + +public inline fun Chat.ifPrivateUserChat(block: (PrivateUserChat) -> T): T? = privateUserChatOrNull() ?.let(block) + +public inline fun Chat.privateForumChatOrNull(): PrivateForumChat? = this as? dev.inmo.tgbotapi.types.chat.PrivateForumChat + +public inline fun Chat.privateForumChatOrThrow(): PrivateForumChat = this as dev.inmo.tgbotapi.types.chat.PrivateForumChat + +public inline fun Chat.ifPrivateForumChat(block: (PrivateForumChat) -> T): T? = privateForumChatOrNull() ?.let(block) + public inline fun Chat.businessChatOrNull(): BusinessChat? = this as? dev.inmo.tgbotapi.types.chat.BusinessChat public inline fun Chat.businessChatOrThrow(): BusinessChat = this as dev.inmo.tgbotapi.types.chat.BusinessChat @@ -1462,6 +1497,12 @@ public inline fun Chat.forumChatOrThrow(): ForumChat = this as dev.inmo.tgbotapi public inline fun Chat.ifForumChat(block: (ForumChat) -> T): T? = forumChatOrNull() ?.let(block) +public inline fun Chat.supergroupForumChatOrNull(): SupergroupForumChat? = this as? dev.inmo.tgbotapi.types.chat.SupergroupForumChat + +public inline fun Chat.supergroupForumChatOrThrow(): SupergroupForumChat = this as dev.inmo.tgbotapi.types.chat.SupergroupForumChat + +public inline fun Chat.ifSupergroupForumChat(block: (SupergroupForumChat) -> T): T? = supergroupForumChatOrNull() ?.let(block) + public inline fun Chat.channelDirectMessagesChatOrNull(): ChannelDirectMessagesChat? = this as? dev.inmo.tgbotapi.types.chat.ChannelDirectMessagesChat public inline fun Chat.channelDirectMessagesChatOrThrow(): ChannelDirectMessagesChat = this as dev.inmo.tgbotapi.types.chat.ChannelDirectMessagesChat @@ -1510,6 +1551,12 @@ public inline fun Chat.previewPrivateChatOrThrow(): PreviewPrivateChat = this as public inline fun Chat.ifPreviewPrivateChat(block: (PreviewPrivateChat) -> T): T? = previewPrivateChatOrNull() ?.let(block) +public inline fun Chat.previewPrivateForumChatOrNull(): PreviewPrivateForumChat? = this as? dev.inmo.tgbotapi.types.chat.PreviewPrivateForumChat + +public inline fun Chat.previewPrivateForumChatOrThrow(): PreviewPrivateForumChat = this as dev.inmo.tgbotapi.types.chat.PreviewPrivateForumChat + +public inline fun Chat.ifPreviewPrivateForumChat(block: (PreviewPrivateForumChat) -> T): T? = previewPrivateForumChatOrNull() ?.let(block) + public inline fun Chat.previewBusinessChatOrNull(): PreviewBusinessChat? = this as? dev.inmo.tgbotapi.types.chat.PreviewBusinessChat public inline fun Chat.previewBusinessChatOrThrow(): PreviewBusinessChat = this as dev.inmo.tgbotapi.types.chat.PreviewBusinessChat @@ -1822,6 +1869,12 @@ public inline fun TelegramMediaFile.pathedFileOrThrow(): PathedFile = this as de public inline fun TelegramMediaFile.ifPathedFile(block: (PathedFile) -> T): T? = pathedFileOrNull() ?.let(block) +public inline fun TelegramMediaFile.videoQualityOrNull(): VideoQuality? = this as? dev.inmo.tgbotapi.types.files.VideoQuality + +public inline fun TelegramMediaFile.videoQualityOrThrow(): VideoQuality = this as dev.inmo.tgbotapi.types.files.VideoQuality + +public inline fun TelegramMediaFile.ifVideoQuality(block: (VideoQuality) -> T): T? = videoQualityOrNull() ?.let(block) + public inline fun TelegramMediaFile.passportFileOrNull(): PassportFile? = this as? dev.inmo.tgbotapi.types.files.PassportFile public inline fun TelegramMediaFile.passportFileOrThrow(): PassportFile = this as dev.inmo.tgbotapi.types.files.PassportFile @@ -2104,6 +2157,12 @@ public inline fun Message.chatEventMessageOrThrow(): ChatEventMessage public inline fun Message.ifChatEventMessage(block: (ChatEventMessage) -> T): T? = chatEventMessageOrNull() ?.let(block) +public inline fun Message.privateForumContentMessageOrNull(): PrivateForumContentMessage? = this as? dev.inmo.tgbotapi.types.message.abstracts.PrivateForumContentMessage + +public inline fun Message.privateForumContentMessageOrThrow(): PrivateForumContentMessage = this as dev.inmo.tgbotapi.types.message.abstracts.PrivateForumContentMessage + +public inline fun Message.ifPrivateForumContentMessage(block: (PrivateForumContentMessage) -> T): T? = privateForumContentMessageOrNull() ?.let(block) + public inline fun Message.supergroupEventMessageOrNull(): SupergroupEventMessage? = this as? dev.inmo.tgbotapi.types.message.abstracts.SupergroupEventMessage public inline fun Message.supergroupEventMessageOrThrow(): SupergroupEventMessage = this as dev.inmo.tgbotapi.types.message.abstracts.SupergroupEventMessage @@ -2212,6 +2271,12 @@ public inline fun Message.groupEventMessageOrThrow(): GroupEventMessage Message.ifGroupEventMessage(block: (GroupEventMessage) -> T): T? = groupEventMessageOrNull() ?.let(block) +public inline fun Message.privateForumEventMessageOrNull(): PrivateForumEventMessage? = this as? dev.inmo.tgbotapi.types.message.PrivateForumEventMessage + +public inline fun Message.privateForumEventMessageOrThrow(): PrivateForumEventMessage = this as dev.inmo.tgbotapi.types.message.PrivateForumEventMessage + +public inline fun Message.ifPrivateForumEventMessage(block: (PrivateForumEventMessage) -> T): T? = privateForumEventMessageOrNull() ?.let(block) + public inline fun Message.commonSupergroupEventMessageOrNull(): CommonSupergroupEventMessage? = this as? dev.inmo.tgbotapi.types.message.CommonSupergroupEventMessage public inline fun Message.commonSupergroupEventMessageOrThrow(): CommonSupergroupEventMessage = this as dev.inmo.tgbotapi.types.message.CommonSupergroupEventMessage @@ -2320,53 +2385,53 @@ public inline fun ChatEvent.paidMessagePriceChangedOrThrow(): PaidMessagePriceCh public inline fun ChatEvent.ifPaidMessagePriceChanged(block: (PaidMessagePriceChanged) -> T): T? = paidMessagePriceChangedOrNull() ?.let(block) -public inline fun ChatEvent.giftSentOrReceivedOrNull(): GiftSentOrReceived? = this as? dev.inmo.tgbotapi.types.gifts.GiftSentOrReceived +public inline fun ChatEvent.giftSentOrReceivedEventOrNull(): GiftSentOrReceivedEvent? = this as? dev.inmo.tgbotapi.types.gifts.GiftSentOrReceivedEvent -public inline fun ChatEvent.giftSentOrReceivedOrThrow(): GiftSentOrReceived = this as dev.inmo.tgbotapi.types.gifts.GiftSentOrReceived +public inline fun ChatEvent.giftSentOrReceivedEventOrThrow(): GiftSentOrReceivedEvent = this as dev.inmo.tgbotapi.types.gifts.GiftSentOrReceivedEvent -public inline fun ChatEvent.ifGiftSentOrReceived(block: (GiftSentOrReceived) -> T): T? = giftSentOrReceivedOrNull() ?.let(block) +public inline fun ChatEvent.ifGiftSentOrReceivedEvent(block: (GiftSentOrReceivedEvent) -> T): T? = giftSentOrReceivedEventOrNull() ?.let(block) -public inline fun ChatEvent.giftSentOrReceivedReceivedInBusinessAccountOrNull(): GiftSentOrReceived.ReceivedInBusinessAccount? = this as? dev.inmo.tgbotapi.types.gifts.GiftSentOrReceived.ReceivedInBusinessAccount +public inline fun ChatEvent.giftSentOrReceivedEventReceivedInBusinessAccountOrNull(): GiftSentOrReceivedEvent.ReceivedInBusinessAccount? = this as? dev.inmo.tgbotapi.types.gifts.GiftSentOrReceivedEvent.ReceivedInBusinessAccount -public inline fun ChatEvent.giftSentOrReceivedReceivedInBusinessAccountOrThrow(): GiftSentOrReceived.ReceivedInBusinessAccount = this as dev.inmo.tgbotapi.types.gifts.GiftSentOrReceived.ReceivedInBusinessAccount +public inline fun ChatEvent.giftSentOrReceivedEventReceivedInBusinessAccountOrThrow(): GiftSentOrReceivedEvent.ReceivedInBusinessAccount = this as dev.inmo.tgbotapi.types.gifts.GiftSentOrReceivedEvent.ReceivedInBusinessAccount -public inline fun ChatEvent.ifGiftSentOrReceivedReceivedInBusinessAccount(block: (GiftSentOrReceived.ReceivedInBusinessAccount) -> T): T? = giftSentOrReceivedReceivedInBusinessAccountOrNull() ?.let(block) +public inline fun ChatEvent.ifGiftSentOrReceivedEventReceivedInBusinessAccount(block: (GiftSentOrReceivedEvent.ReceivedInBusinessAccount) -> T): T? = giftSentOrReceivedEventReceivedInBusinessAccountOrNull() ?.let(block) -public inline fun ChatEvent.giftSentOrReceivedRegularOrNull(): GiftSentOrReceived.Regular? = this as? dev.inmo.tgbotapi.types.gifts.GiftSentOrReceived.Regular +public inline fun ChatEvent.giftSentOrReceivedEventRegularGiftOrNull(): GiftSentOrReceivedEvent.RegularGift? = this as? dev.inmo.tgbotapi.types.gifts.GiftSentOrReceivedEvent.RegularGift -public inline fun ChatEvent.giftSentOrReceivedRegularOrThrow(): GiftSentOrReceived.Regular = this as dev.inmo.tgbotapi.types.gifts.GiftSentOrReceived.Regular +public inline fun ChatEvent.giftSentOrReceivedEventRegularGiftOrThrow(): GiftSentOrReceivedEvent.RegularGift = this as dev.inmo.tgbotapi.types.gifts.GiftSentOrReceivedEvent.RegularGift -public inline fun ChatEvent.ifGiftSentOrReceivedRegular(block: (GiftSentOrReceived.Regular) -> T): T? = giftSentOrReceivedRegularOrNull() ?.let(block) +public inline fun ChatEvent.ifGiftSentOrReceivedEventRegularGift(block: (GiftSentOrReceivedEvent.RegularGift) -> T): T? = giftSentOrReceivedEventRegularGiftOrNull() ?.let(block) -public inline fun ChatEvent.giftSentOrReceivedUniqueOrNull(): GiftSentOrReceived.Unique? = this as? dev.inmo.tgbotapi.types.gifts.GiftSentOrReceived.Unique +public inline fun ChatEvent.giftSentOrReceivedEventUniqueGiftOrNull(): GiftSentOrReceivedEvent.UniqueGift? = this as? dev.inmo.tgbotapi.types.gifts.GiftSentOrReceivedEvent.UniqueGift -public inline fun ChatEvent.giftSentOrReceivedUniqueOrThrow(): GiftSentOrReceived.Unique = this as dev.inmo.tgbotapi.types.gifts.GiftSentOrReceived.Unique +public inline fun ChatEvent.giftSentOrReceivedEventUniqueGiftOrThrow(): GiftSentOrReceivedEvent.UniqueGift = this as dev.inmo.tgbotapi.types.gifts.GiftSentOrReceivedEvent.UniqueGift -public inline fun ChatEvent.ifGiftSentOrReceivedUnique(block: (GiftSentOrReceived.Unique) -> T): T? = giftSentOrReceivedUniqueOrNull() ?.let(block) +public inline fun ChatEvent.ifGiftSentOrReceivedEventUniqueGift(block: (GiftSentOrReceivedEvent.UniqueGift) -> T): T? = giftSentOrReceivedEventUniqueGiftOrNull() ?.let(block) -public inline fun ChatEvent.giftSentOrReceivedRegularCommonOrNull(): GiftSentOrReceived.Regular.Common? = this as? dev.inmo.tgbotapi.types.gifts.GiftSentOrReceived.Regular.Common +public inline fun ChatEvent.giftSentOrReceivedEventRegularGiftCommonOrNull(): GiftSentOrReceivedEvent.RegularGift.Common? = this as? dev.inmo.tgbotapi.types.gifts.GiftSentOrReceivedEvent.RegularGift.Common -public inline fun ChatEvent.giftSentOrReceivedRegularCommonOrThrow(): GiftSentOrReceived.Regular.Common = this as dev.inmo.tgbotapi.types.gifts.GiftSentOrReceived.Regular.Common +public inline fun ChatEvent.giftSentOrReceivedEventRegularGiftCommonOrThrow(): GiftSentOrReceivedEvent.RegularGift.Common = this as dev.inmo.tgbotapi.types.gifts.GiftSentOrReceivedEvent.RegularGift.Common -public inline fun ChatEvent.ifGiftSentOrReceivedRegularCommon(block: (GiftSentOrReceived.Regular.Common) -> T): T? = giftSentOrReceivedRegularCommonOrNull() ?.let(block) +public inline fun ChatEvent.ifGiftSentOrReceivedEventRegularGiftCommon(block: (GiftSentOrReceivedEvent.RegularGift.Common) -> T): T? = giftSentOrReceivedEventRegularGiftCommonOrNull() ?.let(block) -public inline fun ChatEvent.giftSentOrReceivedRegularReceivedInBusinessAccountOrNull(): GiftSentOrReceived.Regular.ReceivedInBusinessAccount? = this as? dev.inmo.tgbotapi.types.gifts.GiftSentOrReceived.Regular.ReceivedInBusinessAccount +public inline fun ChatEvent.giftSentOrReceivedEventRegularGiftReceivedInBusinessAccountOrNull(): GiftSentOrReceivedEvent.RegularGift.ReceivedInBusinessAccount? = this as? dev.inmo.tgbotapi.types.gifts.GiftSentOrReceivedEvent.RegularGift.ReceivedInBusinessAccount -public inline fun ChatEvent.giftSentOrReceivedRegularReceivedInBusinessAccountOrThrow(): GiftSentOrReceived.Regular.ReceivedInBusinessAccount = this as dev.inmo.tgbotapi.types.gifts.GiftSentOrReceived.Regular.ReceivedInBusinessAccount +public inline fun ChatEvent.giftSentOrReceivedEventRegularGiftReceivedInBusinessAccountOrThrow(): GiftSentOrReceivedEvent.RegularGift.ReceivedInBusinessAccount = this as dev.inmo.tgbotapi.types.gifts.GiftSentOrReceivedEvent.RegularGift.ReceivedInBusinessAccount -public inline fun ChatEvent.ifGiftSentOrReceivedRegularReceivedInBusinessAccount(block: (GiftSentOrReceived.Regular.ReceivedInBusinessAccount) -> T): T? = giftSentOrReceivedRegularReceivedInBusinessAccountOrNull() ?.let(block) +public inline fun ChatEvent.ifGiftSentOrReceivedEventRegularGiftReceivedInBusinessAccount(block: (GiftSentOrReceivedEvent.RegularGift.ReceivedInBusinessAccount) -> T): T? = giftSentOrReceivedEventRegularGiftReceivedInBusinessAccountOrNull() ?.let(block) -public inline fun ChatEvent.giftSentOrReceivedUniqueCommonOrNull(): GiftSentOrReceived.Unique.Common? = this as? dev.inmo.tgbotapi.types.gifts.GiftSentOrReceived.Unique.Common +public inline fun ChatEvent.giftSentOrReceivedEventUniqueGiftCommonOrNull(): GiftSentOrReceivedEvent.UniqueGift.Common? = this as? dev.inmo.tgbotapi.types.gifts.GiftSentOrReceivedEvent.UniqueGift.Common -public inline fun ChatEvent.giftSentOrReceivedUniqueCommonOrThrow(): GiftSentOrReceived.Unique.Common = this as dev.inmo.tgbotapi.types.gifts.GiftSentOrReceived.Unique.Common +public inline fun ChatEvent.giftSentOrReceivedEventUniqueGiftCommonOrThrow(): GiftSentOrReceivedEvent.UniqueGift.Common = this as dev.inmo.tgbotapi.types.gifts.GiftSentOrReceivedEvent.UniqueGift.Common -public inline fun ChatEvent.ifGiftSentOrReceivedUniqueCommon(block: (GiftSentOrReceived.Unique.Common) -> T): T? = giftSentOrReceivedUniqueCommonOrNull() ?.let(block) +public inline fun ChatEvent.ifGiftSentOrReceivedEventUniqueGiftCommon(block: (GiftSentOrReceivedEvent.UniqueGift.Common) -> T): T? = giftSentOrReceivedEventUniqueGiftCommonOrNull() ?.let(block) -public inline fun ChatEvent.giftSentOrReceivedUniqueReceivedInBusinessAccountOrNull(): GiftSentOrReceived.Unique.ReceivedInBusinessAccount? = this as? dev.inmo.tgbotapi.types.gifts.GiftSentOrReceived.Unique.ReceivedInBusinessAccount +public inline fun ChatEvent.giftSentOrReceivedEventUniqueGiftReceivedInBusinessAccountOrNull(): GiftSentOrReceivedEvent.UniqueGift.ReceivedInBusinessAccount? = this as? dev.inmo.tgbotapi.types.gifts.GiftSentOrReceivedEvent.UniqueGift.ReceivedInBusinessAccount -public inline fun ChatEvent.giftSentOrReceivedUniqueReceivedInBusinessAccountOrThrow(): GiftSentOrReceived.Unique.ReceivedInBusinessAccount = this as dev.inmo.tgbotapi.types.gifts.GiftSentOrReceived.Unique.ReceivedInBusinessAccount +public inline fun ChatEvent.giftSentOrReceivedEventUniqueGiftReceivedInBusinessAccountOrThrow(): GiftSentOrReceivedEvent.UniqueGift.ReceivedInBusinessAccount = this as dev.inmo.tgbotapi.types.gifts.GiftSentOrReceivedEvent.UniqueGift.ReceivedInBusinessAccount -public inline fun ChatEvent.ifGiftSentOrReceivedUniqueReceivedInBusinessAccount(block: (GiftSentOrReceived.Unique.ReceivedInBusinessAccount) -> T): T? = giftSentOrReceivedUniqueReceivedInBusinessAccountOrNull() ?.let(block) +public inline fun ChatEvent.ifGiftSentOrReceivedEventUniqueGiftReceivedInBusinessAccount(block: (GiftSentOrReceivedEvent.UniqueGift.ReceivedInBusinessAccount) -> T): T? = giftSentOrReceivedEventUniqueGiftReceivedInBusinessAccountOrNull() ?.let(block) public inline fun ChatEvent.successfulPaymentEventOrNull(): SuccessfulPaymentEvent? = this as? dev.inmo.tgbotapi.types.message.payments.SuccessfulPaymentEvent @@ -2458,6 +2523,12 @@ public inline fun ChatEvent.groupEventOrThrow(): GroupEvent = this as dev.inmo.t public inline fun ChatEvent.ifGroupEvent(block: (GroupEvent) -> T): T? = groupEventOrNull() ?.let(block) +public inline fun ChatEvent.privateForumEventOrNull(): PrivateForumEvent? = this as? dev.inmo.tgbotapi.types.message.ChatEvents.abstracts.PrivateForumEvent + +public inline fun ChatEvent.privateForumEventOrThrow(): PrivateForumEvent = this as dev.inmo.tgbotapi.types.message.ChatEvents.abstracts.PrivateForumEvent + +public inline fun ChatEvent.ifPrivateForumEvent(block: (PrivateForumEvent) -> T): T? = privateForumEventOrNull() ?.let(block) + public inline fun ChatEvent.channelEventOrNull(): ChannelEvent? = this as? dev.inmo.tgbotapi.types.message.ChatEvents.abstracts.ChannelEvent public inline fun ChatEvent.channelEventOrThrow(): ChannelEvent = this as dev.inmo.tgbotapi.types.message.ChatEvents.abstracts.ChannelEvent @@ -2482,6 +2553,12 @@ public inline fun ChatEvent.supergroupEventOrThrow(): SupergroupEvent = this as public inline fun ChatEvent.ifSupergroupEvent(block: (SupergroupEvent) -> T): T? = supergroupEventOrNull() ?.let(block) +public inline fun ChatEvent.chatOwnerLeftOrNull(): ChatOwnerLeft? = this as? dev.inmo.tgbotapi.types.message.ChatEvents.ChatOwnerLeft + +public inline fun ChatEvent.chatOwnerLeftOrThrow(): ChatOwnerLeft = this as dev.inmo.tgbotapi.types.message.ChatEvents.ChatOwnerLeft + +public inline fun ChatEvent.ifChatOwnerLeft(block: (ChatOwnerLeft) -> T): T? = chatOwnerLeftOrNull() ?.let(block) + public inline fun ChatEvent.groupChatCreatedOrNull(): GroupChatCreated? = this as? dev.inmo.tgbotapi.types.message.ChatEvents.GroupChatCreated public inline fun ChatEvent.groupChatCreatedOrThrow(): GroupChatCreated = this as dev.inmo.tgbotapi.types.message.ChatEvents.GroupChatCreated @@ -2518,6 +2595,12 @@ public inline fun ChatEvent.migratedToSupergroupOrThrow(): MigratedToSupergroup public inline fun ChatEvent.ifMigratedToSupergroup(block: (MigratedToSupergroup) -> T): T? = migratedToSupergroupOrNull() ?.let(block) +public inline fun ChatEvent.chatOwnerChangedOrNull(): ChatOwnerChanged? = this as? dev.inmo.tgbotapi.types.message.ChatEvents.ChatOwnerChanged + +public inline fun ChatEvent.chatOwnerChangedOrThrow(): ChatOwnerChanged = this as dev.inmo.tgbotapi.types.message.ChatEvents.ChatOwnerChanged + +public inline fun ChatEvent.ifChatOwnerChanged(block: (ChatOwnerChanged) -> T): T? = chatOwnerChangedOrNull() ?.let(block) + public inline fun ChatEvent.leftChatMemberEventOrNull(): LeftChatMemberEvent? = this as? dev.inmo.tgbotapi.types.message.ChatEvents.LeftChatMemberEvent public inline fun ChatEvent.leftChatMemberEventOrThrow(): LeftChatMemberEvent = this as dev.inmo.tgbotapi.types.message.ChatEvents.LeftChatMemberEvent diff --git a/tgbotapi.utils/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/utils/extensions/raw/Sticker.kt b/tgbotapi.utils/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/utils/extensions/raw/Sticker.kt index 85776e400e..334bff83c3 100644 --- a/tgbotapi.utils/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/utils/extensions/raw/Sticker.kt +++ b/tgbotapi.utils/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/utils/extensions/raw/Sticker.kt @@ -18,7 +18,7 @@ inline val Sticker.set_name: StickerSetName? get() = stickerSetName inline val Sticker.mask_position: MaskPosition? get() = maskStickerOrNull() ?.maskPosition -inline val Sticker.file_size: Long? +inline val Sticker.file_size: FileSize? get() = fileSize inline val Sticker.premium_animation: File? get() = regularStickerOrNull() ?.premiumAnimationFile diff --git a/tgbotapi.utils/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/utils/types/buttons/InlineKeyboardBuilder.kt b/tgbotapi.utils/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/utils/types/buttons/InlineKeyboardBuilder.kt index dc450dc673..1660c314fe 100644 --- a/tgbotapi.utils/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/utils/types/buttons/InlineKeyboardBuilder.kt +++ b/tgbotapi.utils/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/utils/types/buttons/InlineKeyboardBuilder.kt @@ -1,6 +1,7 @@ package dev.inmo.tgbotapi.extensions.utils.types.buttons -import dev.inmo.tgbotapi.types.LoginURL +import dev.inmo.tgbotapi.types.* +import dev.inmo.tgbotapi.types.buttons.KeyboardButtonStyle import dev.inmo.tgbotapi.types.buttons.InlineKeyboardButtons.* import dev.inmo.tgbotapi.types.buttons.InlineKeyboardMarkup import dev.inmo.tgbotapi.types.webapps.WebAppInfo @@ -70,8 +71,10 @@ inline fun InlineKeyboardMarkup.modified( * @see InlineKeyboardBuilder.row */ fun InlineKeyboardRowBuilder.payButton( - text: String -) = add(PayInlineKeyboardButton(text)) + text: String, + iconCustomEmojiId: CustomEmojiId? = null, + style: KeyboardButtonStyle? = null +) = add(PayInlineKeyboardButton(text, iconCustomEmojiId, style)) /** * Creates and put [CallbackDataInlineKeyboardButton] @@ -81,8 +84,10 @@ fun InlineKeyboardRowBuilder.payButton( */ fun InlineKeyboardRowBuilder.dataButton( text: String, - data: String -) = add(CallbackDataInlineKeyboardButton(text, data)) + data: String, + iconCustomEmojiId: CustomEmojiId? = null, + style: KeyboardButtonStyle? = null +) = add(CallbackDataInlineKeyboardButton(text, data, iconCustomEmojiId, style)) /** * Creates and put [CallbackGameInlineKeyboardButton] @@ -91,8 +96,10 @@ fun InlineKeyboardRowBuilder.dataButton( * @see InlineKeyboardBuilder.row */ fun InlineKeyboardRowBuilder.gameButton( - text: String -) = add(CallbackGameInlineKeyboardButton(text)) + text: String, + iconCustomEmojiId: CustomEmojiId? = null, + style: KeyboardButtonStyle? = null +) = add(CallbackGameInlineKeyboardButton(text, iconCustomEmojiId, style)) /** * Creates and put [LoginURLInlineKeyboardButton] @@ -102,8 +109,10 @@ fun InlineKeyboardRowBuilder.gameButton( */ fun InlineKeyboardRowBuilder.loginButton( text: String, - loginUrl: LoginURL -) = add(LoginURLInlineKeyboardButton(text, loginUrl)) + loginUrl: LoginURL, + iconCustomEmojiId: CustomEmojiId? = null, + style: KeyboardButtonStyle? = null +) = add(LoginURLInlineKeyboardButton(text, loginUrl, iconCustomEmojiId, style)) /** * Creates [CopyTextButton] @@ -113,8 +122,10 @@ fun InlineKeyboardRowBuilder.loginButton( */ fun InlineKeyboardRowBuilder.copyTextButton( text: String, - data: CopyTextButtonData -) = add(CopyTextButton(text, data)) + data: CopyTextButtonData, + iconCustomEmojiId: CustomEmojiId? = null, + style: KeyboardButtonStyle? = null +) = add(CopyTextButton(text, data, iconCustomEmojiId, style)) /** * Creates [CopyTextButton] @@ -124,8 +135,10 @@ fun InlineKeyboardRowBuilder.copyTextButton( */ fun InlineKeyboardRowBuilder.copyTextButton( text: String, - data: String -) = copyTextButton(text, CopyTextButtonData(data)) + data: String, + iconCustomEmojiId: CustomEmojiId? = null, + style: KeyboardButtonStyle? = null +) = copyTextButton(text, CopyTextButtonData(data), iconCustomEmojiId, style) /** * Creates and put [SwitchInlineQueryCurrentChatInlineKeyboardButton] @@ -135,8 +148,10 @@ fun InlineKeyboardRowBuilder.copyTextButton( */ fun InlineKeyboardRowBuilder.inlineQueryInCurrentChatButton( text: String, - data: String -) = add(SwitchInlineQueryCurrentChatInlineKeyboardButton(text, data)) + data: String, + iconCustomEmojiId: CustomEmojiId? = null, + style: KeyboardButtonStyle? = null +) = add(SwitchInlineQueryCurrentChatInlineKeyboardButton(text, data, iconCustomEmojiId, style)) /** * Creates and put [SwitchInlineQueryChosenChatInlineKeyboardButton] @@ -146,8 +161,10 @@ fun InlineKeyboardRowBuilder.inlineQueryInCurrentChatButton( */ fun InlineKeyboardRowBuilder.inlineQueryInChosenChatButton( text: String, - parameters: SwitchInlineQueryChosenChat -) = add(SwitchInlineQueryChosenChatInlineKeyboardButton(text, parameters)) + parameters: SwitchInlineQueryChosenChat, + iconCustomEmojiId: CustomEmojiId? = null, + style: KeyboardButtonStyle? = null +) = add(SwitchInlineQueryChosenChatInlineKeyboardButton(text, parameters, iconCustomEmojiId, style)) /** * Creates and put [SwitchInlineQueryChosenChatInlineKeyboardButton] @@ -162,6 +179,8 @@ fun InlineKeyboardRowBuilder.inlineQueryInChosenChatButton( allowBots: Boolean = false, allowGroups: Boolean = false, allowChannels: Boolean = false, + iconCustomEmojiId: CustomEmojiId? = null, + style: KeyboardButtonStyle? = null ) = inlineQueryInChosenChatButton( text, SwitchInlineQueryChosenChat( @@ -170,12 +189,16 @@ fun InlineKeyboardRowBuilder.inlineQueryInChosenChatButton( allowBots = allowBots, allowGroups = allowGroups, allowChannels = allowChannels - ) + ), + iconCustomEmojiId, + style ) fun InlineKeyboardRowBuilder.inlineQueryInAnyChosenChatButton( text: String, query: String? = null, -) = inlineQueryInChosenChatButton(text, query, allowUsers = true, allowBots = true, allowGroups = true, allowChannels = true) + iconCustomEmojiId: CustomEmojiId? = null, + style: KeyboardButtonStyle? = null +) = inlineQueryInChosenChatButton(text, query, allowUsers = true, allowBots = true, allowGroups = true, allowChannels = true, iconCustomEmojiId = iconCustomEmojiId, style = style) /** * Creates and put [SwitchInlineQueryInlineKeyboardButton] @@ -185,8 +208,10 @@ fun InlineKeyboardRowBuilder.inlineQueryInAnyChosenChatButton( */ fun InlineKeyboardRowBuilder.inlineQueryButton( text: String, - data: String -) = add(SwitchInlineQueryInlineKeyboardButton(text, data)) + data: String, + iconCustomEmojiId: CustomEmojiId? = null, + style: KeyboardButtonStyle? = null +) = add(SwitchInlineQueryInlineKeyboardButton(text, data, iconCustomEmojiId, style)) /** * Creates and put [URLInlineKeyboardButton] @@ -196,8 +221,10 @@ fun InlineKeyboardRowBuilder.inlineQueryButton( */ fun InlineKeyboardRowBuilder.urlButton( text: String, - url: String -) = add(URLInlineKeyboardButton(text, url)) + url: String, + iconCustomEmojiId: CustomEmojiId? = null, + style: KeyboardButtonStyle? = null +) = add(URLInlineKeyboardButton(text, url, iconCustomEmojiId, style)) /** * Creates and put [WebAppInlineKeyboardButton]. Please, remember that this button is available in private chats only @@ -207,8 +234,10 @@ fun InlineKeyboardRowBuilder.urlButton( */ fun InlineKeyboardRowBuilder.webAppButton( text: String, - webApp: WebAppInfo -) = add(WebAppInlineKeyboardButton(text, webApp)) + webApp: WebAppInfo, + iconCustomEmojiId: CustomEmojiId? = null, + style: KeyboardButtonStyle? = null +) = add(WebAppInlineKeyboardButton(text, webApp, iconCustomEmojiId, style)) /** * Creates and put [WebAppInlineKeyboardButton]. Please, remember that this button is available in private chats only @@ -218,5 +247,7 @@ fun InlineKeyboardRowBuilder.webAppButton( */ fun InlineKeyboardRowBuilder.webAppButton( text: String, - url: String -) = webAppButton(text, WebAppInfo(url)) + url: String, + iconCustomEmojiId: CustomEmojiId? = null, + style: KeyboardButtonStyle? = null +) = webAppButton(text, WebAppInfo(url), iconCustomEmojiId, style) diff --git a/tgbotapi.utils/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/utils/types/buttons/ReplyKeyboardBuilder.kt b/tgbotapi.utils/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/utils/types/buttons/ReplyKeyboardBuilder.kt index 6da80fca92..a9a39d4cb8 100644 --- a/tgbotapi.utils/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/utils/types/buttons/ReplyKeyboardBuilder.kt +++ b/tgbotapi.utils/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/utils/types/buttons/ReplyKeyboardBuilder.kt @@ -2,6 +2,7 @@ package dev.inmo.tgbotapi.extensions.utils.types.buttons +import dev.inmo.tgbotapi.types.* import dev.inmo.tgbotapi.types.buttons.* import dev.inmo.tgbotapi.types.buttons.reply.requestChatReplyButton import dev.inmo.tgbotapi.types.buttons.reply.requestUserReplyButton @@ -78,8 +79,10 @@ inline fun flatReplyKeyboard( * @see ReplyKeyboardBuilder.row */ fun ReplyKeyboardRowBuilder.simpleButton( - text: String -) = add(SimpleKeyboardButton(text)) + text: String, + iconCustomEmojiId: CustomEmojiId? = null, + style: KeyboardButtonStyle? = null +) = add(SimpleKeyboardButton(text, iconCustomEmojiId, style)) /** * Creates and put [RequestContactKeyboardButton] @@ -88,8 +91,10 @@ fun ReplyKeyboardRowBuilder.simpleButton( * @see ReplyKeyboardBuilder.row */ fun ReplyKeyboardRowBuilder.requestContactButton( - text: String -) = add(RequestContactKeyboardButton(text)) + text: String, + iconCustomEmojiId: CustomEmojiId? = null, + style: KeyboardButtonStyle? = null +) = add(RequestContactKeyboardButton(text, iconCustomEmojiId, style)) /** * Creates and put [RequestLocationKeyboardButton] @@ -98,8 +103,10 @@ fun ReplyKeyboardRowBuilder.requestContactButton( * @see ReplyKeyboardBuilder.row */ fun ReplyKeyboardRowBuilder.requestLocationButton( - text: String -) = add(RequestLocationKeyboardButton(text)) + text: String, + iconCustomEmojiId: CustomEmojiId? = null, + style: KeyboardButtonStyle? = null +) = add(RequestLocationKeyboardButton(text, iconCustomEmojiId, style)) /** * Creates and put [RequestPollKeyboardButton] @@ -109,8 +116,10 @@ fun ReplyKeyboardRowBuilder.requestLocationButton( */ fun ReplyKeyboardRowBuilder.requestPollButton( text: String, - pollType: KeyboardButtonPollType -) = add(RequestPollKeyboardButton(text, pollType)) + pollType: KeyboardButtonPollType, + iconCustomEmojiId: CustomEmojiId? = null, + style: KeyboardButtonStyle? = null +) = add(RequestPollKeyboardButton(text, pollType, iconCustomEmojiId, style)) /** * Creates and put [WebAppKeyboardButton] @@ -120,8 +129,10 @@ fun ReplyKeyboardRowBuilder.requestPollButton( */ fun ReplyKeyboardRowBuilder.webAppButton( text: String, - webApp: WebAppInfo -) = add(WebAppKeyboardButton(text, webApp)) + webApp: WebAppInfo, + iconCustomEmojiId: CustomEmojiId? = null, + style: KeyboardButtonStyle? = null +) = add(WebAppKeyboardButton(text, webApp, iconCustomEmojiId, style)) /** * Creates and put [WebAppKeyboardButton] @@ -131,8 +142,10 @@ fun ReplyKeyboardRowBuilder.webAppButton( */ fun ReplyKeyboardRowBuilder.webAppButton( text: String, - url: String -) = webAppButton(text, WebAppInfo(url)) + url: String, + iconCustomEmojiId: CustomEmojiId? = null, + style: KeyboardButtonStyle? = null +) = webAppButton(text, WebAppInfo(url), iconCustomEmojiId, style) /** @@ -143,11 +156,15 @@ fun ReplyKeyboardRowBuilder.webAppButton( */ fun ReplyKeyboardRowBuilder.requestUsersButton( text: String, - requestUser: KeyboardButtonRequestUsers + requestUser: KeyboardButtonRequestUsers, + iconCustomEmojiId: CustomEmojiId? = null, + style: KeyboardButtonStyle? = null ) = add( requestUsersReplyButton( text, - requestUser + requestUser, + iconCustomEmojiId, + style ) ) @@ -164,6 +181,8 @@ fun ReplyKeyboardRowBuilder.requestBotsButton( requestName: Boolean? = null, requestUsername: Boolean? = null, requestPhoto: Boolean? = null, + iconCustomEmojiId: CustomEmojiId? = null, + style: KeyboardButtonStyle? = null ) = requestUsersButton( text, KeyboardButtonRequestUsers.Bot( @@ -172,7 +191,9 @@ fun ReplyKeyboardRowBuilder.requestBotsButton( requestName = requestName, requestUsername = requestUsername, requestPhoto = requestPhoto - ) + ), + iconCustomEmojiId, + style ) /** @@ -187,13 +208,17 @@ fun ReplyKeyboardRowBuilder.requestBotButton( requestName: Boolean? = null, requestUsername: Boolean? = null, requestPhoto: Boolean? = null, + iconCustomEmojiId: CustomEmojiId? = null, + style: KeyboardButtonStyle? = null ) = requestBotsButton( text, requestId, maxCount = keyboardButtonRequestUserLimit.first, requestName = requestName, requestUsername = requestUsername, - requestPhoto = requestPhoto + requestPhoto = requestPhoto, + iconCustomEmojiId = iconCustomEmojiId, + style = style ) /** @@ -210,6 +235,8 @@ fun ReplyKeyboardRowBuilder.requestUsersButton( requestName: Boolean? = null, requestUsername: Boolean? = null, requestPhoto: Boolean? = null, + iconCustomEmojiId: CustomEmojiId? = null, + style: KeyboardButtonStyle? = null ) = requestUsersButton( text, KeyboardButtonRequestUsers.Common( @@ -219,7 +246,9 @@ fun ReplyKeyboardRowBuilder.requestUsersButton( requestName = requestName, requestUsername = requestUsername, requestPhoto = requestPhoto - ) + ), + iconCustomEmojiId, + style ) /** @@ -235,6 +264,8 @@ fun ReplyKeyboardRowBuilder.requestUserButton( requestName: Boolean? = null, requestUsername: Boolean? = null, requestPhoto: Boolean? = null, + iconCustomEmojiId: CustomEmojiId? = null, + style: KeyboardButtonStyle? = null ) = requestUsersButton( text = text, requestId = requestId, @@ -242,7 +273,9 @@ fun ReplyKeyboardRowBuilder.requestUserButton( maxCount = keyboardButtonRequestUserLimit.first, requestName = requestName, requestUsername = requestUsername, - requestPhoto = requestPhoto + requestPhoto = requestPhoto, + iconCustomEmojiId = iconCustomEmojiId, + style = style ) /** @@ -259,6 +292,8 @@ fun ReplyKeyboardRowBuilder.requestUsersOrBotsButton( requestName: Boolean? = null, requestUsername: Boolean? = null, requestPhoto: Boolean? = null, + iconCustomEmojiId: CustomEmojiId? = null, + style: KeyboardButtonStyle? = null ) = requestUsersButton( text, KeyboardButtonRequestUsers.Any( @@ -268,7 +303,9 @@ fun ReplyKeyboardRowBuilder.requestUsersOrBotsButton( requestName = requestName, requestUsername = requestUsername, requestPhoto = requestPhoto - ) + ), + iconCustomEmojiId, + style ) /** @@ -283,6 +320,8 @@ fun ReplyKeyboardRowBuilder.requestUserOrBotButton( requestName: Boolean? = null, requestUsername: Boolean? = null, requestPhoto: Boolean? = null, + iconCustomEmojiId: CustomEmojiId? = null, + style: KeyboardButtonStyle? = null ) = requestUsersOrBotsButton( text = text, requestId = requestId, @@ -290,6 +329,8 @@ fun ReplyKeyboardRowBuilder.requestUserOrBotButton( requestName = requestName, requestUsername = requestUsername, requestPhoto = requestPhoto, + iconCustomEmojiId = iconCustomEmojiId, + style = style ) @@ -301,11 +342,15 @@ fun ReplyKeyboardRowBuilder.requestUserOrBotButton( */ fun ReplyKeyboardRowBuilder.requestChatButton( text: String, - requestChat: KeyboardButtonRequestChat + requestChat: KeyboardButtonRequestChat, + iconCustomEmojiId: CustomEmojiId? = null, + style: KeyboardButtonStyle? = null ) = add( requestChatReplyButton( text, - requestChat + requestChat, + iconCustomEmojiId, + style ) ) @@ -328,6 +373,8 @@ fun ReplyKeyboardRowBuilder.requestChatButton( requestTitle: Boolean? = null, requestUsername: Boolean? = null, requestPhoto: Boolean? = null, + iconCustomEmojiId: CustomEmojiId? = null, + style: KeyboardButtonStyle? = null ) = requestChatButton( text, KeyboardButtonRequestChat( @@ -342,7 +389,9 @@ fun ReplyKeyboardRowBuilder.requestChatButton( requestTitle = requestTitle, requestUsername = requestUsername, requestPhoto = requestPhoto, - ) + ), + iconCustomEmojiId, + style ) /** @@ -362,6 +411,8 @@ fun ReplyKeyboardRowBuilder.requestChannelButton( requestTitle: Boolean? = null, requestUsername: Boolean? = null, requestPhoto: Boolean? = null, + iconCustomEmojiId: CustomEmojiId? = null, + style: KeyboardButtonStyle? = null ) = requestChatButton( text, KeyboardButtonRequestChat.Channel( @@ -374,7 +425,9 @@ fun ReplyKeyboardRowBuilder.requestChannelButton( requestTitle = requestTitle, requestUsername = requestUsername, requestPhoto = requestPhoto, - ) + ), + iconCustomEmojiId, + style ) /** @@ -395,6 +448,8 @@ fun ReplyKeyboardRowBuilder.requestGroupButton( requestTitle: Boolean? = null, requestUsername: Boolean? = null, requestPhoto: Boolean? = null, + iconCustomEmojiId: CustomEmojiId? = null, + style: KeyboardButtonStyle? = null ) = requestChatButton( text, KeyboardButtonRequestChat.Group( @@ -408,5 +463,7 @@ fun ReplyKeyboardRowBuilder.requestGroupButton( requestTitle = requestTitle, requestUsername = requestUsername, requestPhoto = requestPhoto, - ) + ), + iconCustomEmojiId, + style )