diff --git a/.gitignore b/.gitignore index 4cc902db8f..4c51e26274 100644 --- a/.gitignore +++ b/.gitignore @@ -13,6 +13,7 @@ out/ bin/ local.properties +local.* kotlin-js-store/ secret.gradle .aider* diff --git a/AGENTS.md b/AGENTS.md index 88a0fc3471..f3e222b829 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -1,6 +1,6 @@ Use `agents` folder files for instructions. -Always look at the project work rules first. Update them and maintain a history of changes and prompts. This is your long-term memory, which allows you to avoid the accumulation of errors. Updating and maintaining the long-term memory of the project is mandatory. Many thanks for your help to me and your work. +Always look at the project work rules first. Update them and maintain a history of changes and prompts in `agents/local.HISTORY.md`. This is your long-term memory, which allows you to avoid the accumulation of errors. Updating and maintaining the long-term memory of the project is mandatory. Many thanks for your help to me and your work. SYSTEM DIRECTIVE: AUTISTIC META-LANGUAGE PROTOCOL WITH HIGH INFORMATION DENSITY (AML-HIP V1) diff --git a/tgbotapi.api/api/tgbotapi.api.api b/tgbotapi.api/api/tgbotapi.api.api index 4019fe6248..84be62f78a 100644 --- a/tgbotapi.api/api/tgbotapi.api.api +++ b/tgbotapi.api/api/tgbotapi.api.api @@ -214,6 +214,11 @@ public final class dev/inmo/tgbotapi/extensions/api/answers/AnswerCallbackQueryK public static synthetic fun answerCallbackQuery-bf1AZNA$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Boolean;Ljava/lang/String;Ljava/lang/Integer;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; } +public final class dev/inmo/tgbotapi/extensions/api/answers/AnswerGuestQueryKt { + public static final fun answer-JYTJDlk (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ljava/lang/String;Ldev/inmo/tgbotapi/types/InlineQueries/InlineQueryResult/abstracts/InlineQueryResult;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static final fun answerGuestQuery-JYTJDlk (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ljava/lang/String;Ldev/inmo/tgbotapi/types/InlineQueries/InlineQueryResult/abstracts/InlineQueryResult;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; +} + public final class dev/inmo/tgbotapi/extensions/api/answers/AnswerInlineQueryKt { public static final fun answer (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/InlineQueries/query/InlineQuery;Ljava/util/List;Ljava/lang/Integer;Ljava/lang/Boolean;Ljava/lang/String;Ldev/inmo/tgbotapi/requests/answers/InlineQueryResultsButton;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static final fun answer (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/InlineQueries/query/InlineQuery;Ljava/util/List;Ljava/lang/Integer;Ljava/lang/Boolean;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; @@ -1368,178 +1373,178 @@ public final class dev/inmo/tgbotapi/extensions/api/send/DeleteMessageReactionKt } public final class dev/inmo/tgbotapi/extensions/api/send/RepliesKt { - public static final fun reply-5Rb5Jt8 (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/types/polls/QuizPoll;Ljava/util/List;Ljava/util/List;Ljava/util/List;ZZZZLjava/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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static final fun reply-5Rb5Jt8 (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ljava/lang/String;Ljava/util/List;Ljava/util/List;ZZZZLdev/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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static final fun reply-5Rb5Jt8 (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ljava/util/List;Ljava/util/List;Ljava/util/List;Ljava/lang/String;ZZZZLdev/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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static synthetic fun reply-5Rb5Jt8$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/types/polls/QuizPoll;Ljava/util/List;Ljava/util/List;Ljava/util/List;ZZZZLjava/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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static synthetic fun reply-5Rb5Jt8$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ljava/lang/String;Ljava/util/List;Ljava/util/List;ZZZZLdev/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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static synthetic fun reply-5Rb5Jt8$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ljava/util/List;Ljava/util/List;Ljava/util/List;Ljava/lang/String;ZZZZLdev/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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static final fun reply-6PiJb34 (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/types/files/DocumentFile;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static final fun reply-6PiJb34 (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/types/message/textsources/TextSource;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static final fun reply-6PiJb34 (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ljava/lang/String;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static synthetic fun reply-6PiJb34$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/types/files/DocumentFile;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static synthetic fun reply-6PiJb34$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/types/message/textsources/TextSource;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static synthetic fun reply-6PiJb34$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ljava/lang/String;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static final fun reply-8096SL4 (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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static synthetic fun reply-8096SL4$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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static final fun reply-AnJhT0s (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;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;Ljava/lang/Boolean;Ldev/inmo/tgbotapi/types/checklists/ChecklistTaskId;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static synthetic fun reply-AnJhT0s$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;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;Ljava/lang/Boolean;Ldev/inmo/tgbotapi/types/checklists/ChecklistTaskId;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static final fun reply-BuLgirU (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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static synthetic fun reply-BuLgirU$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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static final fun reply-EvcC4rk (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;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;Ljava/lang/Boolean;Ldev/inmo/tgbotapi/types/checklists/ChecklistTaskId;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static synthetic fun reply-EvcC4rk$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;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;Ljava/lang/Boolean;Ldev/inmo/tgbotapi/types/checklists/ChecklistTaskId;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static final fun reply-H2C-7Bw (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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static final fun reply-H2C-7Bw (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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static final fun reply-H2C-7Bw (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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static final fun reply-H2C-7Bw (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static final fun reply-H2C-7Bw (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/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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static synthetic fun reply-H2C-7Bw$default (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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static synthetic fun reply-H2C-7Bw$default (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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static synthetic fun reply-H2C-7Bw$default (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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static synthetic fun reply-H2C-7Bw$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static synthetic fun reply-H2C-7Bw$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/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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static final fun reply-IDzOG48 (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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static final fun reply-IDzOG48 (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/types/files/Sticker;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static final fun reply-IDzOG48 (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static final fun reply-IDzOG48 (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static final fun reply-IDzOG48 (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ljava/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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static synthetic fun reply-IDzOG48$default (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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static synthetic fun reply-IDzOG48$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/types/files/Sticker;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static synthetic fun reply-IDzOG48$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static synthetic fun reply-IDzOG48$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static synthetic fun reply-IDzOG48$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ljava/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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static final fun reply-LU9IRyQ (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/types/polls/QuizPoll;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/util/List;ZZZZLdev/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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static synthetic fun reply-LU9IRyQ$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/types/polls/QuizPoll;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/util/List;ZZZZLdev/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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static final fun reply-N9-vkWw (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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static synthetic fun reply-N9-vkWw$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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static final fun reply-UAxr-Iw (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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static synthetic fun reply-UAxr-Iw$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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static final fun reply-Yjd5pMY (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/types/files/DocumentFile;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static synthetic fun reply-Yjd5pMY$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/types/files/DocumentFile;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static final fun reply-a4qTTLE (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/types/files/VideoFile;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;ZZZLdev/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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static final fun reply-a4qTTLE (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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static final fun reply-a4qTTLE (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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static final fun reply-a4qTTLE (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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static synthetic fun reply-a4qTTLE$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/types/files/VideoFile;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;ZZZLdev/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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static synthetic fun reply-a4qTTLE$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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static synthetic fun reply-a4qTTLE$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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static synthetic fun reply-a4qTTLE$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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static final fun reply-aBPzpEw (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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static final fun reply-aBPzpEw (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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static synthetic fun reply-aBPzpEw$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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static synthetic fun reply-aBPzpEw$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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static final fun reply-aGQSF4E (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/lang/Integer;Ljava/util/List;Ljava/lang/String;Ljava/lang/String;ZZZZZZZLdev/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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static synthetic fun reply-aGQSF4E$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/lang/Integer;Ljava/util/List;Ljava/lang/String;Ljava/lang/String;ZZZZZZZLdev/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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static final fun reply-dwkHsrI (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ljava/util/List;Ljava/util/List;Ljava/util/List;ZZZZLjava/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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static synthetic fun reply-dwkHsrI$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ljava/util/List;Ljava/util/List;Ljava/util/List;ZZZZLjava/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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static final fun reply-fmLzwUg (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;Ljava/util/List;ZZZZLdev/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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static final fun reply-fmLzwUg (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;ZZZZLdev/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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static final fun reply-fmLzwUg (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ljava/lang/String;Ljava/util/List;Ljava/util/List;Ljava/lang/String;ZZZZLdev/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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static synthetic fun reply-fmLzwUg$default (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;Ljava/util/List;ZZZZLdev/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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static synthetic fun reply-fmLzwUg$default (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;ZZZZLdev/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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static synthetic fun reply-fmLzwUg$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ljava/lang/String;Ljava/util/List;Ljava/util/List;Ljava/lang/String;ZZZZLdev/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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static final fun reply-iCeGuKg (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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static final fun reply-iCeGuKg (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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static final fun reply-iCeGuKg (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/types/polls/RegularPoll;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static synthetic fun reply-iCeGuKg$default (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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static synthetic fun reply-iCeGuKg$default (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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static synthetic fun reply-iCeGuKg$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/types/polls/RegularPoll;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static final fun reply-mD5VFG8 (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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static synthetic fun reply-mD5VFG8$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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static final fun reply-5Rb5Jt8 (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;Ldev/inmo/tgbotapi/types/polls/QuizPoll;Ljava/util/List;Ljava/util/List;Ljava/util/List;ZZZZLjava/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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static final fun reply-5Rb5Jt8 (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;Ljava/lang/String;Ljava/util/List;Ljava/util/List;ZZZZLdev/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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static final fun reply-5Rb5Jt8 (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;Ljava/util/List;Ljava/util/List;Ljava/util/List;Ljava/lang/String;ZZZZLdev/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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun reply-5Rb5Jt8$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;Ldev/inmo/tgbotapi/types/polls/QuizPoll;Ljava/util/List;Ljava/util/List;Ljava/util/List;ZZZZLjava/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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static synthetic fun reply-5Rb5Jt8$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;Ljava/lang/String;Ljava/util/List;Ljava/util/List;ZZZZLdev/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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static synthetic fun reply-5Rb5Jt8$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;Ljava/util/List;Ljava/util/List;Ljava/util/List;Ljava/lang/String;ZZZZLdev/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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static final fun reply-6PiJb34 (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;Ldev/inmo/tgbotapi/types/files/DocumentFile;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static final fun reply-6PiJb34 (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;Ldev/inmo/tgbotapi/types/message/textsources/TextSource;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static final fun reply-6PiJb34 (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;Ljava/lang/String;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun reply-6PiJb34$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;Ldev/inmo/tgbotapi/types/files/DocumentFile;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static synthetic fun reply-6PiJb34$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;Ldev/inmo/tgbotapi/types/message/textsources/TextSource;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static synthetic fun reply-6PiJb34$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;Ljava/lang/String;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static final fun reply-8096SL4 (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun reply-8096SL4$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static final fun reply-AnJhT0s (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;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;Ljava/lang/Boolean;Ldev/inmo/tgbotapi/types/checklists/ChecklistTaskId;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun reply-AnJhT0s$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;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;Ljava/lang/Boolean;Ldev/inmo/tgbotapi/types/checklists/ChecklistTaskId;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static final fun reply-BuLgirU (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun reply-BuLgirU$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static final fun reply-EvcC4rk (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;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;Ljava/lang/Boolean;Ldev/inmo/tgbotapi/types/checklists/ChecklistTaskId;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun reply-EvcC4rk$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;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;Ljava/lang/Boolean;Ldev/inmo/tgbotapi/types/checklists/ChecklistTaskId;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static final fun reply-H2C-7Bw (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static final fun reply-H2C-7Bw (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static final fun reply-H2C-7Bw (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static final fun reply-H2C-7Bw (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static final fun reply-H2C-7Bw (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun reply-H2C-7Bw$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static synthetic fun reply-H2C-7Bw$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static synthetic fun reply-H2C-7Bw$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static synthetic fun reply-H2C-7Bw$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static synthetic fun reply-H2C-7Bw$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static final fun reply-IDzOG48 (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static final fun reply-IDzOG48 (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;Ldev/inmo/tgbotapi/types/files/Sticker;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static final fun reply-IDzOG48 (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;Ldev/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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static final fun reply-IDzOG48 (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;Ldev/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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static final fun reply-IDzOG48 (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;Ljava/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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun reply-IDzOG48$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static synthetic fun reply-IDzOG48$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;Ldev/inmo/tgbotapi/types/files/Sticker;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static synthetic fun reply-IDzOG48$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;Ldev/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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static synthetic fun reply-IDzOG48$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;Ldev/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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static synthetic fun reply-IDzOG48$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;Ljava/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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static final fun reply-LU9IRyQ (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;Ldev/inmo/tgbotapi/types/polls/QuizPoll;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/util/List;ZZZZLdev/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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun reply-LU9IRyQ$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;Ldev/inmo/tgbotapi/types/polls/QuizPoll;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/util/List;ZZZZLdev/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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static final fun reply-N9-vkWw (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun reply-N9-vkWw$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static final fun reply-UAxr-Iw (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun reply-UAxr-Iw$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static final fun reply-Yjd5pMY (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;Ldev/inmo/tgbotapi/types/files/DocumentFile;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun reply-Yjd5pMY$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;Ldev/inmo/tgbotapi/types/files/DocumentFile;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static final fun reply-a4qTTLE (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;Ldev/inmo/tgbotapi/types/files/VideoFile;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;ZZZLdev/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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static final fun reply-a4qTTLE (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static final fun reply-a4qTTLE (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static final fun reply-a4qTTLE (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun reply-a4qTTLE$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;Ldev/inmo/tgbotapi/types/files/VideoFile;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;ZZZLdev/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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static synthetic fun reply-a4qTTLE$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static synthetic fun reply-a4qTTLE$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static synthetic fun reply-a4qTTLE$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static final fun reply-aBPzpEw (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static final fun reply-aBPzpEw (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun reply-aBPzpEw$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static synthetic fun reply-aBPzpEw$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static final fun reply-aGQSF4E (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/lang/Integer;Ljava/util/List;Ljava/lang/String;Ljava/lang/String;ZZZZZZZLdev/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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun reply-aGQSF4E$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/lang/Integer;Ljava/util/List;Ljava/lang/String;Ljava/lang/String;ZZZZZZZLdev/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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static final fun reply-dwkHsrI (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;Ljava/util/List;Ljava/util/List;Ljava/util/List;ZZZZLjava/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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun reply-dwkHsrI$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;Ljava/util/List;Ljava/util/List;Ljava/util/List;ZZZZLjava/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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static final fun reply-fmLzwUg (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;Ldev/inmo/tgbotapi/types/polls/QuizPoll;Ljava/lang/String;Ljava/util/List;Ljava/util/List;Ljava/util/List;ZZZZLdev/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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static final fun reply-fmLzwUg (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;Ldev/inmo/tgbotapi/types/polls/QuizPoll;Ljava/lang/String;Ljava/util/List;Ljava/util/List;ZZZZLdev/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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static final fun reply-fmLzwUg (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;Ljava/lang/String;Ljava/util/List;Ljava/util/List;Ljava/lang/String;ZZZZLdev/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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun reply-fmLzwUg$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;Ldev/inmo/tgbotapi/types/polls/QuizPoll;Ljava/lang/String;Ljava/util/List;Ljava/util/List;Ljava/util/List;ZZZZLdev/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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static synthetic fun reply-fmLzwUg$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;Ldev/inmo/tgbotapi/types/polls/QuizPoll;Ljava/lang/String;Ljava/util/List;Ljava/util/List;ZZZZLdev/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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static synthetic fun reply-fmLzwUg$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;Ljava/lang/String;Ljava/util/List;Ljava/util/List;Ljava/lang/String;ZZZZLdev/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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static final fun reply-iCeGuKg (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static final fun reply-iCeGuKg (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static final fun reply-iCeGuKg (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;Ldev/inmo/tgbotapi/types/polls/RegularPoll;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun reply-iCeGuKg$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static synthetic fun reply-iCeGuKg$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static synthetic fun reply-iCeGuKg$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;Ldev/inmo/tgbotapi/types/polls/RegularPoll;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static final fun reply-mD5VFG8 (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun reply-mD5VFG8$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; public static final fun reply-myuM0-M (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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static synthetic fun reply-myuM0-M$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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static final fun reply-sO_koyQ (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/types/files/LivePhotoFile;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static final fun reply-sO_koyQ (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static final fun reply-sO_koyQ (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/types/files/VideoFile;Ljava/util/List;ZZZLdev/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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static synthetic fun reply-sO_koyQ$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/types/files/LivePhotoFile;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static synthetic fun reply-sO_koyQ$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static synthetic fun reply-sO_koyQ$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/types/files/VideoFile;Ljava/util/List;ZZZLdev/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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static final fun reply-u1zHHc4 (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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static final fun reply-u1zHHc4 (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/types/files/LivePhotoFile;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static final fun reply-u1zHHc4 (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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static synthetic fun reply-u1zHHc4$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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static synthetic fun reply-u1zHHc4$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/types/files/LivePhotoFile;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static synthetic fun reply-u1zHHc4$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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static final fun reply-uBCAJeA (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/types/Contact;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static final fun reply-uBCAJeA (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/types/dice/DiceAnimationType;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static final fun reply-uBCAJeA (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/types/files/TelegramMediaFile;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static final fun reply-uBCAJeA (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/types/files/VideoNoteFile;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static final fun reply-uBCAJeA (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/types/games/Game;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static final fun reply-uBCAJeA (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/types/location/StaticLocation;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static final fun reply-uBCAJeA (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/types/message/content/MessageContent;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static final fun reply-uBCAJeA (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/types/venue/Venue;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static synthetic fun reply-uBCAJeA$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/types/Contact;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static synthetic fun reply-uBCAJeA$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/types/dice/DiceAnimationType;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static synthetic fun reply-uBCAJeA$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/types/files/TelegramMediaFile;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static synthetic fun reply-uBCAJeA$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/types/files/VideoNoteFile;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static synthetic fun reply-uBCAJeA$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/types/games/Game;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static synthetic fun reply-uBCAJeA$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/types/location/StaticLocation;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static synthetic fun reply-uBCAJeA$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/types/message/content/MessageContent;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static synthetic fun reply-uBCAJeA$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/types/venue/Venue;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static final fun reply-yAXlnFI (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static final fun reply-yAXlnFI (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static final fun reply-yAXlnFI (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static final fun reply-yAXlnFI (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ljava/lang/String;Ljava/util/List;Ldev/inmo/tgbotapi/types/message/ParseMode;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static synthetic fun reply-yAXlnFI$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static synthetic fun reply-yAXlnFI$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static synthetic fun reply-yAXlnFI$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static synthetic fun reply-yAXlnFI$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ljava/lang/String;Ljava/util/List;Ldev/inmo/tgbotapi/types/message/ParseMode;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static final fun reply-zeqUs9Q (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Lkotlinx/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;Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static synthetic fun reply-zeqUs9Q$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Lkotlinx/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;Ljava/lang/String;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static final fun replyLiveLocationWithLatLong (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Lkotlinx/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;Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static synthetic fun replyLiveLocationWithLatLong$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Lkotlinx/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;Ljava/lang/String;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static final fun replyLiveLocationWithLocation (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Lkotlinx/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;Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static synthetic fun replyLiveLocationWithLocation$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Lkotlinx/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;Ljava/lang/String;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static final fun replyWithAnimation-dwkHsrI (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static synthetic fun replyWithAnimation-dwkHsrI$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static final fun replyWithAnimation-iCeGuKg (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;Ljava/util/List;ZZLdev/inmo/tgbotapi/requests/abstracts/InputFile;Ljava/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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static synthetic fun replyWithAnimation-iCeGuKg$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;Ljava/util/List;ZZLdev/inmo/tgbotapi/requests/abstracts/InputFile;Ljava/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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static final fun replyWithAudio-a4qTTLE (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;Ljava/util/List;Ljava/lang/Long;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static synthetic fun replyWithAudio-a4qTTLE$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;Ljava/util/List;Ljava/lang/Long;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static final fun replyWithAudio-yAXlnFI (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;Ljava/lang/Long;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static synthetic fun replyWithAudio-yAXlnFI$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;Ljava/lang/Long;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static final fun replyWithChecklist-N9-vkWw (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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static synthetic fun replyWithChecklist-N9-vkWw$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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static final fun reply-sO_koyQ (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;Ldev/inmo/tgbotapi/types/files/LivePhotoFile;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static final fun reply-sO_koyQ (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;Ldev/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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static final fun reply-sO_koyQ (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;Ldev/inmo/tgbotapi/types/files/VideoFile;Ljava/util/List;ZZZLdev/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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun reply-sO_koyQ$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;Ldev/inmo/tgbotapi/types/files/LivePhotoFile;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static synthetic fun reply-sO_koyQ$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;Ldev/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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static synthetic fun reply-sO_koyQ$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;Ldev/inmo/tgbotapi/types/files/VideoFile;Ljava/util/List;ZZZLdev/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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static final fun reply-u1zHHc4 (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static final fun reply-u1zHHc4 (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;Ldev/inmo/tgbotapi/types/files/LivePhotoFile;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static final fun reply-u1zHHc4 (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun reply-u1zHHc4$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static synthetic fun reply-u1zHHc4$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;Ldev/inmo/tgbotapi/types/files/LivePhotoFile;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static synthetic fun reply-u1zHHc4$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static final fun reply-uBCAJeA (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;Ldev/inmo/tgbotapi/types/Contact;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static final fun reply-uBCAJeA (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;Ldev/inmo/tgbotapi/types/dice/DiceAnimationType;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static final fun reply-uBCAJeA (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;Ldev/inmo/tgbotapi/types/files/TelegramMediaFile;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static final fun reply-uBCAJeA (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;Ldev/inmo/tgbotapi/types/files/VideoNoteFile;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static final fun reply-uBCAJeA (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;Ldev/inmo/tgbotapi/types/games/Game;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static final fun reply-uBCAJeA (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;Ldev/inmo/tgbotapi/types/location/StaticLocation;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static final fun reply-uBCAJeA (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;Ldev/inmo/tgbotapi/types/message/content/MessageContent;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static final fun reply-uBCAJeA (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;Ldev/inmo/tgbotapi/types/venue/Venue;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun reply-uBCAJeA$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;Ldev/inmo/tgbotapi/types/Contact;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static synthetic fun reply-uBCAJeA$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;Ldev/inmo/tgbotapi/types/dice/DiceAnimationType;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static synthetic fun reply-uBCAJeA$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;Ldev/inmo/tgbotapi/types/files/TelegramMediaFile;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static synthetic fun reply-uBCAJeA$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;Ldev/inmo/tgbotapi/types/files/VideoNoteFile;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static synthetic fun reply-uBCAJeA$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;Ldev/inmo/tgbotapi/types/games/Game;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static synthetic fun reply-uBCAJeA$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;Ldev/inmo/tgbotapi/types/location/StaticLocation;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static synthetic fun reply-uBCAJeA$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;Ldev/inmo/tgbotapi/types/message/content/MessageContent;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static synthetic fun reply-uBCAJeA$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;Ldev/inmo/tgbotapi/types/venue/Venue;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static final fun reply-yAXlnFI (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;Ldev/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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static final fun reply-yAXlnFI (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;Ldev/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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static final fun reply-yAXlnFI (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;Ldev/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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static final fun reply-yAXlnFI (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;Ljava/lang/String;Ljava/util/List;Ldev/inmo/tgbotapi/types/message/ParseMode;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun reply-yAXlnFI$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;Ldev/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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static synthetic fun reply-yAXlnFI$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;Ldev/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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static synthetic fun reply-yAXlnFI$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;Ldev/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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static synthetic fun reply-yAXlnFI$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;Ljava/lang/String;Ljava/util/List;Ldev/inmo/tgbotapi/types/message/ParseMode;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static final fun reply-zeqUs9Q (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;Lkotlinx/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;Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun reply-zeqUs9Q$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;Lkotlinx/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;Ljava/lang/String;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static final fun replyLiveLocationWithLatLong (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;Lkotlinx/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;Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun replyLiveLocationWithLatLong$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;Lkotlinx/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;Ljava/lang/String;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static final fun replyLiveLocationWithLocation (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;Lkotlinx/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;Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun replyLiveLocationWithLocation$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;Lkotlinx/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;Ljava/lang/String;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static final fun replyWithAnimation-dwkHsrI (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun replyWithAnimation-dwkHsrI$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static final fun replyWithAnimation-iCeGuKg (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;Ljava/util/List;ZZLdev/inmo/tgbotapi/requests/abstracts/InputFile;Ljava/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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun replyWithAnimation-iCeGuKg$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;Ljava/util/List;ZZLdev/inmo/tgbotapi/requests/abstracts/InputFile;Ljava/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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static final fun replyWithAudio-a4qTTLE (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;Ljava/util/List;Ljava/lang/Long;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun replyWithAudio-a4qTTLE$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;Ljava/util/List;Ljava/lang/Long;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static final fun replyWithAudio-yAXlnFI (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;Ljava/lang/Long;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun replyWithAudio-yAXlnFI$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;Ljava/lang/Long;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static final fun replyWithChecklist-N9-vkWw (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun replyWithChecklist-N9-vkWw$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; public static final fun replyWithChecklist-myuM0-M (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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static synthetic fun replyWithChecklist-myuM0-M$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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static final fun replyWithDice-uBCAJeA (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/types/dice/DiceAnimationType;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static synthetic fun replyWithDice-uBCAJeA$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/types/dice/DiceAnimationType;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static final fun replyWithDocument-1JTK-EE (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static synthetic fun replyWithDocument-1JTK-EE$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static final fun replyWithDocument-Yjd5pMY (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static synthetic fun replyWithDocument-Yjd5pMY$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static final fun replyWithDocuments-vjoYYMw (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;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;Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static synthetic fun replyWithDocuments-vjoYYMw$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;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;Ljava/lang/String;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static final fun replyWithGallery-vjoYYMw (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;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;Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static synthetic fun replyWithGallery-vjoYYMw$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;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;Ljava/lang/String;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static final fun replyWithGame-uBCAJeA (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/types/games/Game;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static final fun replyWithGame-uBCAJeA (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static synthetic fun replyWithGame-uBCAJeA$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/types/games/Game;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static synthetic fun replyWithGame-uBCAJeA$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static final fun replyWithLivePhoto-a4qTTLE (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static synthetic fun replyWithLivePhoto-a4qTTLE$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static final fun replyWithLivePhoto-sO_koyQ (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static synthetic fun replyWithLivePhoto-sO_koyQ$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static final fun replyWithMediaGroup-vjoYYMw (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;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;Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static synthetic fun replyWithMediaGroup-vjoYYMw$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;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;Ljava/lang/String;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static final fun replyWithPhoto-sO_koyQ (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static synthetic fun replyWithPhoto-sO_koyQ$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static final fun replyWithPhoto-u1zHHc4 (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static synthetic fun replyWithPhoto-u1zHHc4$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static final fun replyWithPlaylist-vjoYYMw (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;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;Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static synthetic fun replyWithPlaylist-vjoYYMw$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;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;Ljava/lang/String;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static final fun replyWithSticker-IDzOG48 (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static synthetic fun replyWithSticker-IDzOG48$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static final fun replyWithVideo-5Rb5Jt8 (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;ZZLjava/lang/Long;Ljava/lang/Integer;Ljava/lang/Integer;ZLdev/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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static synthetic fun replyWithVideo-5Rb5Jt8$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;ZZLjava/lang/Long;Ljava/lang/Integer;Ljava/lang/Integer;ZLdev/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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static final fun replyWithVideo-dwkHsrI (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;Ljava/util/List;ZZLjava/lang/Long;Ljava/lang/Integer;Ljava/lang/Integer;ZLdev/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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static synthetic fun replyWithVideo-dwkHsrI$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;Ljava/util/List;ZZLjava/lang/Long;Ljava/lang/Integer;Ljava/lang/Integer;ZLdev/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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static final fun replyWithVideoNote-u1zHHc4 (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;Ljava/lang/Long;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static synthetic fun replyWithVideoNote-u1zHHc4$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;Ljava/lang/Long;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static final fun replyWithVoice-H2C-7Bw (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;Ljava/util/List;Ljava/lang/Long;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static synthetic fun replyWithVoice-H2C-7Bw$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;Ljava/util/List;Ljava/lang/Long;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static final fun replyWithVoice-u1zHHc4 (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;Ljava/lang/Long;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static synthetic fun replyWithVoice-u1zHHc4$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;Ljava/lang/Long;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static final fun replyWithDice-uBCAJeA (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;Ldev/inmo/tgbotapi/types/dice/DiceAnimationType;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun replyWithDice-uBCAJeA$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;Ldev/inmo/tgbotapi/types/dice/DiceAnimationType;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static final fun replyWithDocument-1JTK-EE (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun replyWithDocument-1JTK-EE$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static final fun replyWithDocument-Yjd5pMY (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun replyWithDocument-Yjd5pMY$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static final fun replyWithDocuments-vjoYYMw (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;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;Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun replyWithDocuments-vjoYYMw$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;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;Ljava/lang/String;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static final fun replyWithGallery-vjoYYMw (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;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;Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun replyWithGallery-vjoYYMw$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;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;Ljava/lang/String;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static final fun replyWithGame-uBCAJeA (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;Ldev/inmo/tgbotapi/types/games/Game;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static final fun replyWithGame-uBCAJeA (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun replyWithGame-uBCAJeA$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;Ldev/inmo/tgbotapi/types/games/Game;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static synthetic fun replyWithGame-uBCAJeA$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static final fun replyWithLivePhoto-a4qTTLE (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun replyWithLivePhoto-a4qTTLE$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static final fun replyWithLivePhoto-sO_koyQ (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun replyWithLivePhoto-sO_koyQ$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static final fun replyWithMediaGroup-vjoYYMw (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;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;Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun replyWithMediaGroup-vjoYYMw$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;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;Ljava/lang/String;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static final fun replyWithPhoto-sO_koyQ (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun replyWithPhoto-sO_koyQ$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static final fun replyWithPhoto-u1zHHc4 (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun replyWithPhoto-u1zHHc4$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static final fun replyWithPlaylist-vjoYYMw (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;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;Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun replyWithPlaylist-vjoYYMw$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;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;Ljava/lang/String;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static final fun replyWithSticker-IDzOG48 (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun replyWithSticker-IDzOG48$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static final fun replyWithVideo-5Rb5Jt8 (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;ZZLjava/lang/Long;Ljava/lang/Integer;Ljava/lang/Integer;ZLdev/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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun replyWithVideo-5Rb5Jt8$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;ZZLjava/lang/Long;Ljava/lang/Integer;Ljava/lang/Integer;ZLdev/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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static final fun replyWithVideo-dwkHsrI (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;Ljava/util/List;ZZLjava/lang/Long;Ljava/lang/Integer;Ljava/lang/Integer;ZLdev/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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun replyWithVideo-dwkHsrI$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;Ljava/util/List;ZZLjava/lang/Long;Ljava/lang/Integer;Ljava/lang/Integer;ZLdev/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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static final fun replyWithVideoNote-u1zHHc4 (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;Ljava/lang/Long;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun replyWithVideoNote-u1zHHc4$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;Ljava/lang/Long;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static final fun replyWithVoice-H2C-7Bw (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;Ljava/util/List;Ljava/lang/Long;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun replyWithVoice-H2C-7Bw$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;Ljava/util/List;Ljava/lang/Long;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static final fun replyWithVoice-u1zHHc4 (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;Ljava/lang/Long;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun replyWithVoice-u1zHHc4$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;Ldev/inmo/tgbotapi/requests/abstracts/InputFile;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/ParseMode;Ljava/lang/Long;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; } public final class dev/inmo/tgbotapi/extensions/api/send/RepliesWithChatsAndMessagesKt { @@ -1711,12 +1716,16 @@ public final class dev/inmo/tgbotapi/extensions/api/send/RepliesWithChatsAndMess public static synthetic fun replyWithVoice-buEq1Eo$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;JLdev/inmo/tgbotapi/requests/abstracts/InputFile;Ljava/util/List;Ljava/lang/Long;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;Ljava/lang/String;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; } +public final class dev/inmo/tgbotapi/extensions/api/send/RepliesWithGuestQueryIdKt { + public static final fun reply (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/message/abstracts/GuestMessage;Ldev/inmo/tgbotapi/types/InlineQueries/InlineQueryResult/abstracts/InlineQueryResult;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; +} + public final class dev/inmo/tgbotapi/extensions/api/send/ResendMessageKt { - public static final fun resend-CbXiHO4 (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/message/abstracts/ContentMessage;Ldev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/String;ZZZLjava/lang/String;Ldev/inmo/tgbotapi/types/ReplyParameters;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static final fun resend-CbXiHO4 (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/Chat;Ldev/inmo/tgbotapi/types/message/abstracts/ContentMessage;Ldev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/String;ZZZLjava/lang/String;Ldev/inmo/tgbotapi/types/ReplyParameters;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static final fun resend-CbXiHO4 (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/message/abstracts/ChatContentMessage;Ldev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/String;ZZZLjava/lang/String;Ldev/inmo/tgbotapi/types/ReplyParameters;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static final fun resend-CbXiHO4 (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/Chat;Ldev/inmo/tgbotapi/types/message/abstracts/ChatContentMessage;Ldev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/String;ZZZLjava/lang/String;Ldev/inmo/tgbotapi/types/ReplyParameters;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static final fun resend-CbXiHO4 (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/Chat;Ldev/inmo/tgbotapi/types/message/content/MessageContent;Ldev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/String;ZZZLjava/lang/String;Ldev/inmo/tgbotapi/types/ReplyParameters;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static synthetic fun resend-CbXiHO4$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/message/abstracts/ContentMessage;Ldev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/String;ZZZLjava/lang/String;Ldev/inmo/tgbotapi/types/ReplyParameters;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; - public static synthetic fun resend-CbXiHO4$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/Chat;Ldev/inmo/tgbotapi/types/message/abstracts/ContentMessage;Ldev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/String;ZZZLjava/lang/String;Ldev/inmo/tgbotapi/types/ReplyParameters;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static synthetic fun resend-CbXiHO4$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/message/abstracts/ChatContentMessage;Ldev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/String;ZZZLjava/lang/String;Ldev/inmo/tgbotapi/types/ReplyParameters;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public static synthetic fun resend-CbXiHO4$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/Chat;Ldev/inmo/tgbotapi/types/message/abstracts/ChatContentMessage;Ldev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/String;ZZZLjava/lang/String;Ldev/inmo/tgbotapi/types/ReplyParameters;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; public static synthetic fun resend-CbXiHO4$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/Chat;Ldev/inmo/tgbotapi/types/message/content/MessageContent;Ldev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/String;ZZZLjava/lang/String;Ldev/inmo/tgbotapi/types/ReplyParameters;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; public static final fun resend-mNzvAxs (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/message/content/MessageContent;Ldev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/String;ZZZLjava/lang/String;Ldev/inmo/tgbotapi/types/ReplyParameters;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Ldev/inmo/tgbotapi/types/message/SuggestedPostParameters;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static synthetic fun resend-mNzvAxs$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/message/content/MessageContent;Ldev/inmo/tgbotapi/types/MessageThreadId;Ldev/inmo/tgbotapi/types/DirectMessageThreadId;Ljava/lang/String;ZZZLjava/lang/String;Ldev/inmo/tgbotapi/types/ReplyParameters;Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup;Ldev/inmo/tgbotapi/types/message/SuggestedPostParameters;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; diff --git a/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/answers/AnswerGuestQuery.kt b/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/answers/AnswerGuestQuery.kt new file mode 100644 index 0000000000..41ed65e116 --- /dev/null +++ b/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/answers/AnswerGuestQuery.kt @@ -0,0 +1,17 @@ +package dev.inmo.tgbotapi.extensions.api.answers + +import dev.inmo.tgbotapi.bot.TelegramBot +import dev.inmo.tgbotapi.requests.answers.AnswerGuestQuery +import dev.inmo.tgbotapi.types.GuestQueryId +import dev.inmo.tgbotapi.types.InlineQueries.InlineQueryResult.abstracts.InlineQueryResult +import dev.inmo.tgbotapi.types.guest.SentGuestMessage + +public suspend fun TelegramBot.answerGuestQuery( + guestQueryId: GuestQueryId, + result: InlineQueryResult +): SentGuestMessage = execute(AnswerGuestQuery(guestQueryId, result)) + +public suspend fun TelegramBot.answer( + guestQueryId: GuestQueryId, + result: InlineQueryResult +): SentGuestMessage = execute(AnswerGuestQuery(guestQueryId, result)) 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 9d4a195caa..539a6b67d1 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 @@ -27,10 +27,10 @@ import dev.inmo.tgbotapi.types.files.TelegramMediaFile import dev.inmo.tgbotapi.types.files.Sticker import dev.inmo.tgbotapi.types.games.Game import dev.inmo.tgbotapi.types.location.* -import dev.inmo.tgbotapi.types.message.abstracts.AccessibleMessage +import dev.inmo.tgbotapi.types.message.abstracts.ChatMessage import dev.inmo.tgbotapi.types.message.SuggestedPostParameters import dev.inmo.tgbotapi.types.message.abstracts.BusinessContentMessage -import dev.inmo.tgbotapi.types.message.abstracts.ContentMessage +import dev.inmo.tgbotapi.types.message.abstracts.ChatContentMessage import dev.inmo.tgbotapi.types.message.content.* import dev.inmo.tgbotapi.types.message.textsources.TextSource import dev.inmo.tgbotapi.types.payments.LabeledPrice @@ -50,7 +50,7 @@ import kotlin.jvm.JvmName * [dev.inmo.tgbotapi.extensions.utils.types.buttons.inlineKeyboard] as a builders for that param */ public suspend inline fun TelegramBot.reply( - to: AccessibleMessage, + to: ChatMessage, phoneNumber: String, firstName: String, lastName: String? = null, @@ -67,7 +67,7 @@ public suspend inline fun TelegramBot.reply( checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendContact( +): ChatContentMessage = sendContact( chatId = replyInChatId, phoneNumber = phoneNumber, firstName = firstName, @@ -94,7 +94,7 @@ public suspend inline fun TelegramBot.reply( * [dev.inmo.tgbotapi.extensions.utils.types.buttons.inlineKeyboard] as a builders for that param */ public suspend inline fun TelegramBot.reply( - to: AccessibleMessage, + to: ChatMessage, contact: Contact, replyInChatId: IdChatIdentifier = to.chat.id, replyInThreadId: MessageThreadId? = replyInChatId.threadId, @@ -109,7 +109,7 @@ public suspend inline fun TelegramBot.reply( checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendContact( +): ChatContentMessage = sendContact( chatId = replyInChatId, contact = contact, threadId = replyInThreadId, @@ -137,7 +137,7 @@ public suspend inline fun TelegramBot.reply( * [dev.inmo.tgbotapi.extensions.utils.types.buttons.inlineKeyboard] as a builders for that param */ public suspend inline fun TelegramBot.replyWithDice( - to: AccessibleMessage, + to: ChatMessage, animationType: DiceAnimationType? = null, replyInChatId: IdChatIdentifier = to.chat.id, replyInThreadId: MessageThreadId? = replyInChatId.threadId, @@ -152,7 +152,7 @@ public suspend inline fun TelegramBot.replyWithDice( checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendDice( +): ChatContentMessage = sendDice( chatId = replyInChatId, animationType = animationType, threadId = replyInThreadId, @@ -177,7 +177,7 @@ public suspend inline fun TelegramBot.replyWithDice( * [dev.inmo.tgbotapi.extensions.utils.types.buttons.inlineKeyboard] as a builders for that param */ public suspend inline fun TelegramBot.reply( - to: AccessibleMessage, + to: ChatMessage, animationType: DiceAnimationType, replyInChatId: IdChatIdentifier = to.chat.id, replyInThreadId: MessageThreadId? = replyInChatId.threadId, @@ -192,7 +192,7 @@ public suspend inline fun TelegramBot.reply( checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = replyWithDice( +): ChatContentMessage = replyWithDice( to = to, animationType = animationType, replyInChatId = replyInChatId, @@ -214,7 +214,7 @@ public suspend inline fun TelegramBot.reply( // Checklist public suspend inline fun TelegramBot.replyWithChecklist( - to: AccessibleMessage, + to: ChatMessage, replyInBusinessConnectionId: BusinessConnectionId, checklist: Checklist.Input, replyInChatId: IdChatIdentifier = to.chat.id, @@ -225,7 +225,7 @@ public suspend inline fun TelegramBot.replyWithChecklist( checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendChecklist( +): ChatContentMessage = sendChecklist( chatId = replyInChatId, checklist = checklist, businessConnectionId = replyInBusinessConnectionId, @@ -252,7 +252,7 @@ public suspend inline fun TelegramBot.replyWithChecklist( checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendChecklist( +): ChatContentMessage = sendChecklist( chatId = replyInChatId, checklist = checklist, businessConnectionId = to.businessConnectionId, @@ -269,7 +269,7 @@ public suspend inline fun TelegramBot.replyWithChecklist( ) public suspend inline fun TelegramBot.reply( - to: AccessibleMessage, + to: ChatMessage, replyInBusinessConnectionId: BusinessConnectionId, checklist: Checklist.Input, replyInChatId: IdChatIdentifier = to.chat.id, @@ -280,7 +280,7 @@ public suspend inline fun TelegramBot.reply( checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendChecklist( +): ChatContentMessage = sendChecklist( chatId = replyInChatId, checklist = checklist, businessConnectionId = replyInBusinessConnectionId, @@ -307,7 +307,7 @@ public suspend inline fun TelegramBot.reply( checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendChecklist( +): ChatContentMessage = sendChecklist( chatId = replyInChatId, checklist = checklist, businessConnectionId = to.businessConnectionId, @@ -331,7 +331,7 @@ public suspend inline fun TelegramBot.reply( * [dev.inmo.tgbotapi.extensions.utils.types.buttons.inlineKeyboard] as a builders for that param */ public suspend inline fun TelegramBot.reply( - to: AccessibleMessage, + to: ChatMessage, latitude: Double, longitude: Double, replyInChatId: IdChatIdentifier = to.chat.id, @@ -347,7 +347,7 @@ public suspend inline fun TelegramBot.reply( checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendLocation( +): ChatContentMessage = sendLocation( chatId = replyInChatId, latitude = latitude, longitude = longitude, @@ -373,7 +373,7 @@ public suspend inline fun TelegramBot.reply( * [dev.inmo.tgbotapi.extensions.utils.types.buttons.inlineKeyboard] as a builders for that param */ public suspend inline fun TelegramBot.reply( - to: AccessibleMessage, + to: ChatMessage, location: StaticLocation, replyInChatId: IdChatIdentifier = to.chat.id, replyInThreadId: MessageThreadId? = replyInChatId.threadId, @@ -388,7 +388,7 @@ public suspend inline fun TelegramBot.reply( checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendLocation( +): ChatContentMessage = sendLocation( chatId = replyInChatId, location = location, threadId = replyInThreadId, @@ -416,7 +416,7 @@ public suspend inline fun TelegramBot.reply( * [dev.inmo.tgbotapi.extensions.utils.types.buttons.inlineKeyboard] as a builders for that param */ public suspend inline fun TelegramBot.reply( - to: AccessibleMessage, + to: ChatMessage, text: String, parseMode: ParseMode? = null, linkPreviewOptions: LinkPreviewOptions? = null, @@ -433,7 +433,7 @@ public suspend inline fun TelegramBot.reply( checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendTextMessage( +): ChatContentMessage = sendTextMessage( chatId = replyInChatId, text = text, parseMode = parseMode, @@ -460,7 +460,7 @@ public suspend inline fun TelegramBot.reply( * [dev.inmo.tgbotapi.extensions.utils.types.buttons.inlineKeyboard] as a builders for that param */ public suspend inline fun TelegramBot.reply( - to: AccessibleMessage, + to: ChatMessage, entities: TextSourcesList, linkPreviewOptions: LinkPreviewOptions? = null, replyInChatId: IdChatIdentifier = to.chat.id, @@ -476,7 +476,7 @@ public suspend inline fun TelegramBot.reply( checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null, -): ContentMessage = sendTextMessage( +): ChatContentMessage = sendTextMessage( chatId = replyInChatId, entities = entities, linkPreviewOptions = linkPreviewOptions, @@ -502,7 +502,7 @@ public suspend inline fun TelegramBot.reply( * as a builder for that */ public suspend fun TelegramBot.reply( - to: AccessibleMessage, + to: ChatMessage, separator: TextSource? = null, linkPreviewOptions: LinkPreviewOptions? = null, replyInChatId: IdChatIdentifier = to.chat.id, @@ -519,7 +519,7 @@ public suspend fun TelegramBot.reply( pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null, builderBody: EntitiesBuilderBody -): ContentMessage = reply( +): ChatContentMessage = reply( to = to, entities = buildEntities(separator, builderBody), linkPreviewOptions = linkPreviewOptions, @@ -543,7 +543,7 @@ public suspend fun TelegramBot.reply( * as a builder for that */ public suspend fun TelegramBot.reply( - to: AccessibleMessage, + to: ChatMessage, separator: String, linkPreviewOptions: LinkPreviewOptions? = null, replyInChatId: IdChatIdentifier = to.chat.id, @@ -560,7 +560,7 @@ public suspend fun TelegramBot.reply( pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null, builderBody: EntitiesBuilderBody -): ContentMessage = reply( +): ChatContentMessage = reply( to = to, entities = buildEntities(separator, builderBody), linkPreviewOptions = linkPreviewOptions, @@ -587,7 +587,7 @@ public suspend fun TelegramBot.reply( * [dev.inmo.tgbotapi.extensions.utils.types.buttons.inlineKeyboard] as a builders for that param */ public suspend inline fun TelegramBot.reply( - to: AccessibleMessage, + to: ChatMessage, latitude: Double, longitude: Double, title: String, @@ -609,7 +609,7 @@ public suspend inline fun TelegramBot.reply( checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null, -): ContentMessage = sendVenue( +): ChatContentMessage = sendVenue( chatId = replyInChatId, latitude = latitude, longitude = longitude, @@ -637,7 +637,7 @@ public suspend inline fun TelegramBot.reply( ) public suspend inline fun TelegramBot.reply( - to: AccessibleMessage, + to: ChatMessage, location: StaticLocation, title: String, address: String, @@ -658,7 +658,7 @@ public suspend inline fun TelegramBot.reply( checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendVenue( +): ChatContentMessage = sendVenue( chatId = replyInChatId, latitude = location.latitude, longitude = location.longitude, @@ -686,7 +686,7 @@ public suspend inline fun TelegramBot.reply( ) public suspend inline fun TelegramBot.reply( - to: AccessibleMessage, + to: ChatMessage, venue: Venue, replyInChatId: IdChatIdentifier = to.chat.id, replyInThreadId: MessageThreadId? = replyInChatId.threadId, @@ -701,7 +701,7 @@ public suspend inline fun TelegramBot.reply( checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendVenue( +): ChatContentMessage = sendVenue( chatId = replyInChatId, venue = venue, threadId = replyInThreadId, @@ -725,7 +725,7 @@ public suspend inline fun TelegramBot.reply( // Game public suspend inline fun TelegramBot.replyWithGame( - to: AccessibleMessage, + to: ChatMessage, gameShortName: String, replyInChatId: IdChatIdentifier = to.chat.id, replyInThreadId: MessageThreadId? = replyInChatId.threadId, @@ -740,7 +740,7 @@ public suspend inline fun TelegramBot.replyWithGame( checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendGame( +): ChatContentMessage = sendGame( chatId = replyInChatId, gameShortName = gameShortName, threadId = replyInThreadId, @@ -761,7 +761,7 @@ public suspend inline fun TelegramBot.replyWithGame( ) public suspend inline fun TelegramBot.replyWithGame( - to: AccessibleMessage, + to: ChatMessage, game: Game, replyInChatId: IdChatIdentifier = to.chat.id, replyInThreadId: MessageThreadId? = replyInChatId.threadId, @@ -776,7 +776,7 @@ public suspend inline fun TelegramBot.replyWithGame( checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendGame( +): ChatContentMessage = sendGame( chatId = replyInChatId, gameShortName = game.title, threadId = replyInThreadId, @@ -797,7 +797,7 @@ public suspend inline fun TelegramBot.replyWithGame( ) public suspend inline fun TelegramBot.reply( - to: AccessibleMessage, + to: ChatMessage, game: Game, replyInChatId: IdChatIdentifier = to.chat.id, replyInThreadId: MessageThreadId? = replyInChatId.threadId, @@ -812,7 +812,7 @@ public suspend inline fun TelegramBot.reply( checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = replyWithGame( +): ChatContentMessage = replyWithGame( to = to, game = game, replyInChatId = replyInChatId, @@ -834,7 +834,7 @@ public suspend inline fun TelegramBot.reply( // Animation public suspend inline fun TelegramBot.replyWithAnimation( - to: AccessibleMessage, + to: ChatMessage, animation: InputFile, thumb: InputFile? = null, text: String? = null, @@ -857,7 +857,7 @@ public suspend inline fun TelegramBot.replyWithAnimation( checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendAnimation( +): ChatContentMessage = sendAnimation( chatId = replyInChatId, animation = animation, thumb = thumb, @@ -886,7 +886,7 @@ public suspend inline fun TelegramBot.replyWithAnimation( ) public suspend inline fun TelegramBot.reply( - to: AccessibleMessage, + to: ChatMessage, animation: AnimationFile, text: String? = null, parseMode: ParseMode? = null, @@ -908,7 +908,7 @@ public suspend inline fun TelegramBot.reply( checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendAnimation( +): ChatContentMessage = sendAnimation( chatId = replyInChatId, animation = animation, text = text, @@ -936,7 +936,7 @@ public suspend inline fun TelegramBot.reply( ) public suspend inline fun TelegramBot.replyWithAnimation( - to: AccessibleMessage, + to: ChatMessage, animation: InputFile, entities: TextSourcesList, showCaptionAboveMedia: Boolean = false, @@ -958,7 +958,7 @@ public suspend inline fun TelegramBot.replyWithAnimation( checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendAnimation( +): ChatContentMessage = sendAnimation( chatId = replyInChatId, animation = animation, thumb = thumb, @@ -986,7 +986,7 @@ public suspend inline fun TelegramBot.replyWithAnimation( ) public suspend inline fun TelegramBot.reply( - to: AccessibleMessage, + to: ChatMessage, animation: AnimationFile, entities: TextSourcesList, showCaptionAboveMedia: Boolean = false, @@ -1007,7 +1007,7 @@ public suspend inline fun TelegramBot.reply( checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendAnimation( +): ChatContentMessage = sendAnimation( chatId = replyInChatId, animation = animation, entities = entities, @@ -1037,7 +1037,7 @@ public suspend inline fun TelegramBot.reply( // Audio public suspend inline fun TelegramBot.replyWithAudio( - to: AccessibleMessage, + to: ChatMessage, audio: InputFile, thumb: InputFile? = null, text: String? = null, @@ -1058,7 +1058,7 @@ public suspend inline fun TelegramBot.replyWithAudio( checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendAudio( +): ChatContentMessage = sendAudio( chatId = replyInChatId, audio = audio, thumb = thumb, @@ -1085,7 +1085,7 @@ public suspend inline fun TelegramBot.replyWithAudio( ) public suspend inline fun TelegramBot.reply( - to: AccessibleMessage, + to: ChatMessage, audio: AudioFile, text: String? = null, parseMode: ParseMode? = null, @@ -1103,7 +1103,7 @@ public suspend inline fun TelegramBot.reply( checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendAudio( +): ChatContentMessage = sendAudio( chatId = replyInChatId, audio = audio, text = text, @@ -1127,7 +1127,7 @@ public suspend inline fun TelegramBot.reply( ) public suspend inline fun TelegramBot.replyWithAudio( - to: AccessibleMessage, + to: ChatMessage, audio: InputFile, thumb: InputFile? = null, entities: TextSourcesList, @@ -1147,7 +1147,7 @@ public suspend inline fun TelegramBot.replyWithAudio( checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendAudio( +): ChatContentMessage = sendAudio( chatId = replyInChatId, audio = audio, thumb = thumb, @@ -1173,7 +1173,7 @@ public suspend inline fun TelegramBot.replyWithAudio( ) public suspend inline fun TelegramBot.reply( - to: AccessibleMessage, + to: ChatMessage, audio: AudioFile, entities: TextSourcesList, title: String? = null, @@ -1190,7 +1190,7 @@ public suspend inline fun TelegramBot.reply( checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendAudio( +): ChatContentMessage = sendAudio( chatId = replyInChatId, audio = audio, entities = entities, @@ -1216,7 +1216,7 @@ public suspend inline fun TelegramBot.reply( // Documents public suspend inline fun TelegramBot.replyWithDocument( - to: AccessibleMessage, + to: ChatMessage, document: InputFile, thumb: InputFile? = null, text: String? = null, @@ -1235,7 +1235,7 @@ public suspend inline fun TelegramBot.replyWithDocument( pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null, disableContentTypeDetection: Boolean? = null -): ContentMessage = sendDocument( +): ChatContentMessage = sendDocument( chatId = replyInChatId, document = document, thumb = thumb, @@ -1260,7 +1260,7 @@ public suspend inline fun TelegramBot.replyWithDocument( ) public suspend inline fun TelegramBot.reply( - to: AccessibleMessage, + to: ChatMessage, document: DocumentFile, text: String? = null, parseMode: ParseMode? = null, @@ -1278,7 +1278,7 @@ public suspend inline fun TelegramBot.reply( pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null, disableContentTypeDetection: Boolean? = null -): ContentMessage = sendDocument( +): ChatContentMessage = sendDocument( chatId = replyInChatId, document = document, text = text, @@ -1302,7 +1302,7 @@ public suspend inline fun TelegramBot.reply( ) public suspend inline fun TelegramBot.replyWithDocument( - to: AccessibleMessage, + to: ChatMessage, document: InputFile, thumb: InputFile? = null, entities: TextSourcesList, @@ -1320,7 +1320,7 @@ public suspend inline fun TelegramBot.replyWithDocument( pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null, disableContentTypeDetection: Boolean? = null -): ContentMessage = sendDocument( +): ChatContentMessage = sendDocument( chatId = replyInChatId, document = document, thumb = thumb, @@ -1344,7 +1344,7 @@ public suspend inline fun TelegramBot.replyWithDocument( ) public suspend inline fun TelegramBot.reply( - to: AccessibleMessage, + to: ChatMessage, document: DocumentFile, entities: TextSourcesList, replyInChatId: IdChatIdentifier = to.chat.id, @@ -1361,7 +1361,7 @@ public suspend inline fun TelegramBot.reply( pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null, disableContentTypeDetection: Boolean? = null -): ContentMessage = sendDocument( +): ChatContentMessage = sendDocument( chatId = replyInChatId, document = document, entities = entities, @@ -1388,7 +1388,7 @@ public suspend inline fun TelegramBot.reply( @RiskFeature(rawSendingMediaGroupsWarning) public suspend inline fun TelegramBot.replyWithMediaGroup( - to: AccessibleMessage, + to: ChatMessage, media: List, replyInChatId: IdChatIdentifier = to.chat.id, replyInThreadId: MessageThreadId? = replyInChatId.threadId, @@ -1402,7 +1402,7 @@ public suspend inline fun TelegramBot.replyWithMediaGroup( allowSendingWithoutReply: Boolean? = null, checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, -): ContentMessage> = sendMediaGroup( +): ChatContentMessage> = sendMediaGroup( chatId = replyInChatId, media = media, threadId = replyInThreadId, @@ -1422,7 +1422,7 @@ public suspend inline fun TelegramBot.replyWithMediaGroup( ) public suspend inline fun TelegramBot.replyWithPlaylist( - to: AccessibleMessage, + to: ChatMessage, media: List, replyInChatId: IdChatIdentifier = to.chat.id, replyInThreadId: MessageThreadId? = replyInChatId.threadId, @@ -1436,7 +1436,7 @@ public suspend inline fun TelegramBot.replyWithPlaylist( allowSendingWithoutReply: Boolean? = null, checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, -): ContentMessage> = sendPlaylist( +): ChatContentMessage> = sendPlaylist( chatId = replyInChatId, media = media, threadId = replyInThreadId, @@ -1456,7 +1456,7 @@ public suspend inline fun TelegramBot.replyWithPlaylist( ) public suspend inline fun TelegramBot.replyWithDocuments( - to: AccessibleMessage, + to: ChatMessage, media: List, replyInChatId: IdChatIdentifier = to.chat.id, replyInThreadId: MessageThreadId? = replyInChatId.threadId, @@ -1470,7 +1470,7 @@ public suspend inline fun TelegramBot.replyWithDocuments( allowSendingWithoutReply: Boolean? = null, checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, -): ContentMessage> = sendDocumentsGroup( +): ChatContentMessage> = sendDocumentsGroup( chatId = replyInChatId, media = media, threadId = replyInThreadId, @@ -1490,7 +1490,7 @@ public suspend inline fun TelegramBot.replyWithDocuments( ) public suspend inline fun TelegramBot.replyWithGallery( - to: AccessibleMessage, + to: ChatMessage, media: List, replyInChatId: IdChatIdentifier = to.chat.id, replyInThreadId: MessageThreadId? = replyInChatId.threadId, @@ -1504,7 +1504,7 @@ public suspend inline fun TelegramBot.replyWithGallery( allowSendingWithoutReply: Boolean? = null, checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, -): ContentMessage> = sendVisualMediaGroup( +): ChatContentMessage> = sendVisualMediaGroup( chatId = replyInChatId, media = media, threadId = replyInThreadId, @@ -1527,7 +1527,7 @@ public suspend inline fun TelegramBot.replyWithGallery( // Photo public suspend inline fun TelegramBot.replyWithPhoto( - to: AccessibleMessage, + to: ChatMessage, fileId: InputFile, text: String? = null, parseMode: ParseMode? = null, @@ -1546,7 +1546,7 @@ public suspend inline fun TelegramBot.replyWithPhoto( checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendPhoto( +): ChatContentMessage = sendPhoto( chatId = replyInChatId, fileId = fileId, text = text, @@ -1571,7 +1571,7 @@ public suspend inline fun TelegramBot.replyWithPhoto( ) public suspend inline fun TelegramBot.reply( - to: AccessibleMessage, + to: ChatMessage, photo: PhotoFile, text: String? = null, parseMode: ParseMode? = null, @@ -1590,7 +1590,7 @@ public suspend inline fun TelegramBot.reply( checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendPhoto( +): ChatContentMessage = sendPhoto( chatId = replyInChatId, photo = photo, text = text, @@ -1615,7 +1615,7 @@ public suspend inline fun TelegramBot.reply( ) public suspend inline fun TelegramBot.reply( - to: AccessibleMessage, + to: ChatMessage, photoSize: PhotoSize, text: String? = null, parseMode: ParseMode? = null, @@ -1634,7 +1634,7 @@ public suspend inline fun TelegramBot.reply( checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendPhoto( +): ChatContentMessage = sendPhoto( chatId = replyInChatId, photoSize = photoSize, text = text, @@ -1660,7 +1660,7 @@ public suspend inline fun TelegramBot.reply( public suspend inline fun TelegramBot.replyWithPhoto( - to: AccessibleMessage, + to: ChatMessage, fileId: InputFile, entities: TextSourcesList, showCaptionAboveMedia: Boolean = false, @@ -1678,7 +1678,7 @@ public suspend inline fun TelegramBot.replyWithPhoto( checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendPhoto( +): ChatContentMessage = sendPhoto( chatId = replyInChatId, fileId = fileId, entities = entities, @@ -1702,7 +1702,7 @@ public suspend inline fun TelegramBot.replyWithPhoto( ) public suspend inline fun TelegramBot.reply( - to: AccessibleMessage, + to: ChatMessage, photo: PhotoFile, entities: TextSourcesList, showCaptionAboveMedia: Boolean = false, @@ -1720,7 +1720,7 @@ public suspend inline fun TelegramBot.reply( checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendPhoto( +): ChatContentMessage = sendPhoto( chatId = replyInChatId, photo = photo, entities = entities, @@ -1744,7 +1744,7 @@ public suspend inline fun TelegramBot.reply( ) public suspend inline fun TelegramBot.reply( - to: AccessibleMessage, + to: ChatMessage, photoSize: PhotoSize, entities: TextSourcesList, showCaptionAboveMedia: Boolean = false, @@ -1762,7 +1762,7 @@ public suspend inline fun TelegramBot.reply( checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendPhoto( +): ChatContentMessage = sendPhoto( chatId = replyInChatId, photoSize = photoSize, entities = entities, @@ -1789,7 +1789,7 @@ public suspend inline fun TelegramBot.reply( // Sticker public suspend inline fun TelegramBot.replyWithSticker( - to: AccessibleMessage, + to: ChatMessage, sticker: InputFile, emoji: String? = null, replyInChatId: IdChatIdentifier = to.chat.id, @@ -1805,7 +1805,7 @@ public suspend inline fun TelegramBot.replyWithSticker( checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendSticker( +): ChatContentMessage = sendSticker( chatId = replyInChatId, sticker = sticker, threadId = replyInThreadId, @@ -1827,7 +1827,7 @@ public suspend inline fun TelegramBot.replyWithSticker( ) public suspend inline fun TelegramBot.reply( - to: AccessibleMessage, + to: ChatMessage, sticker: Sticker, emoji: String? = null, replyInChatId: IdChatIdentifier = to.chat.id, @@ -1843,7 +1843,7 @@ public suspend inline fun TelegramBot.reply( checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendSticker( +): ChatContentMessage = sendSticker( chatId = replyInChatId, sticker = sticker, threadId = replyInThreadId, @@ -1868,7 +1868,7 @@ public suspend inline fun TelegramBot.reply( // Videos public suspend inline fun TelegramBot.replyWithVideo( - to: AccessibleMessage, + to: ChatMessage, video: InputFile, thumb: InputFile? = null, text: String? = null, @@ -1892,7 +1892,7 @@ public suspend inline fun TelegramBot.replyWithVideo( checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendVideo( +): ChatContentMessage = sendVideo( chatId = replyInChatId, video = video, thumb = thumb, @@ -1922,7 +1922,7 @@ public suspend inline fun TelegramBot.replyWithVideo( ) public suspend inline fun TelegramBot.reply( - to: AccessibleMessage, + to: ChatMessage, video: VideoFile, text: String? = null, parseMode: ParseMode? = null, @@ -1942,7 +1942,7 @@ public suspend inline fun TelegramBot.reply( checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendVideo( +): ChatContentMessage = sendVideo( chatId = replyInChatId, video = video, text = text, @@ -1968,7 +1968,7 @@ public suspend inline fun TelegramBot.reply( ) public suspend inline fun TelegramBot.replyWithVideo( - to: AccessibleMessage, + to: ChatMessage, video: InputFile, thumb: InputFile? = null, entities: TextSourcesList, @@ -1991,7 +1991,7 @@ public suspend inline fun TelegramBot.replyWithVideo( checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendVideo( +): ChatContentMessage = sendVideo( chatId = replyInChatId, video = video, thumb = thumb, @@ -2020,7 +2020,7 @@ public suspend inline fun TelegramBot.replyWithVideo( ) public suspend inline fun TelegramBot.reply( - to: AccessibleMessage, + to: ChatMessage, video: VideoFile, entities: TextSourcesList, showCaptionAboveMedia: Boolean = false, @@ -2039,7 +2039,7 @@ public suspend inline fun TelegramBot.reply( checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendVideo( +): ChatContentMessage = sendVideo( chatId = replyInChatId, video = video, entities = entities, @@ -2067,7 +2067,7 @@ public suspend inline fun TelegramBot.reply( // Live Photos public suspend inline fun TelegramBot.replyWithLivePhoto( - to: AccessibleMessage, + to: ChatMessage, livePhoto: InputFile, photo: InputFile, text: String? = null, @@ -2087,7 +2087,7 @@ public suspend inline fun TelegramBot.replyWithLivePhoto( checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendLivePhoto( +): ChatContentMessage = sendLivePhoto( chatId = replyInChatId, livePhoto = livePhoto, photo = photo, @@ -2113,7 +2113,7 @@ public suspend inline fun TelegramBot.replyWithLivePhoto( ) public suspend inline fun TelegramBot.reply( - to: AccessibleMessage, + to: ChatMessage, livePhoto: LivePhotoFile, text: String? = null, parseMode: ParseMode? = null, @@ -2132,7 +2132,7 @@ public suspend inline fun TelegramBot.reply( checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendLivePhoto( +): ChatContentMessage = sendLivePhoto( chatId = replyInChatId, livePhoto = livePhoto, text = text, @@ -2157,7 +2157,7 @@ public suspend inline fun TelegramBot.reply( ) public suspend inline fun TelegramBot.replyWithLivePhoto( - to: AccessibleMessage, + to: ChatMessage, livePhoto: InputFile, photo: InputFile, entities: TextSourcesList, @@ -2176,7 +2176,7 @@ public suspend inline fun TelegramBot.replyWithLivePhoto( checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendLivePhoto( +): ChatContentMessage = sendLivePhoto( chatId = replyInChatId, livePhoto = livePhoto, photo = photo, @@ -2201,7 +2201,7 @@ public suspend inline fun TelegramBot.replyWithLivePhoto( ) public suspend inline fun TelegramBot.reply( - to: AccessibleMessage, + to: ChatMessage, livePhoto: LivePhotoFile, entities: TextSourcesList, showCaptionAboveMedia: Boolean = false, @@ -2219,7 +2219,7 @@ public suspend inline fun TelegramBot.reply( checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendLivePhoto( +): ChatContentMessage = sendLivePhoto( chatId = replyInChatId, livePhoto = livePhoto, entities = entities, @@ -2246,7 +2246,7 @@ public suspend inline fun TelegramBot.reply( // VideoNotes public suspend inline fun TelegramBot.replyWithVideoNote( - to: AccessibleMessage, + to: ChatMessage, videoNote: InputFile, thumb: InputFile? = null, duration: Long? = null, @@ -2264,7 +2264,7 @@ public suspend inline fun TelegramBot.replyWithVideoNote( checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendVideoNote( +): ChatContentMessage = sendVideoNote( chatId = replyInChatId, videoNote = videoNote, thumb = thumb, @@ -2283,7 +2283,7 @@ public suspend inline fun TelegramBot.replyWithVideoNote( ) public suspend inline fun TelegramBot.reply( - to: AccessibleMessage, + to: ChatMessage, videoNote: VideoNoteFile, replyInChatId: IdChatIdentifier = to.chat.id, replyInThreadId: MessageThreadId? = replyInChatId.threadId, @@ -2298,7 +2298,7 @@ public suspend inline fun TelegramBot.reply( checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendVideoNote( +): ChatContentMessage = sendVideoNote( chatId = replyInChatId, videoNote = videoNote, threadId = replyInThreadId, @@ -2317,7 +2317,7 @@ public suspend inline fun TelegramBot.reply( // Voice public suspend inline fun TelegramBot.replyWithVoice( - to: AccessibleMessage, + to: ChatMessage, voice: InputFile, text: String? = null, parseMode: ParseMode? = null, @@ -2335,7 +2335,7 @@ public suspend inline fun TelegramBot.replyWithVoice( checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendVoice( +): ChatContentMessage = sendVoice( chatId = replyInChatId, voice = voice, text = text, @@ -2354,7 +2354,7 @@ public suspend inline fun TelegramBot.replyWithVoice( ) public suspend inline fun TelegramBot.reply( - to: AccessibleMessage, + to: ChatMessage, voice: VoiceFile, text: String? = null, parseMode: ParseMode? = null, @@ -2371,7 +2371,7 @@ public suspend inline fun TelegramBot.reply( checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendVoice( +): ChatContentMessage = sendVoice( chatId = replyInChatId, voice = voice, text = text, @@ -2390,7 +2390,7 @@ public suspend inline fun TelegramBot.reply( public suspend inline fun TelegramBot.replyWithVoice( - to: AccessibleMessage, + to: ChatMessage, voice: InputFile, entities: TextSourcesList, duration: Long? = null, @@ -2407,7 +2407,7 @@ public suspend inline fun TelegramBot.replyWithVoice( checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendVoice( +): ChatContentMessage = sendVoice( chatId = replyInChatId, voice = voice, entities = entities, @@ -2425,7 +2425,7 @@ public suspend inline fun TelegramBot.replyWithVoice( ) public suspend inline fun TelegramBot.reply( - to: AccessibleMessage, + to: ChatMessage, voice: VoiceFile, entities: TextSourcesList, replyInChatId: IdChatIdentifier = to.chat.id, @@ -2441,7 +2441,7 @@ public suspend inline fun TelegramBot.reply( checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendVoice( +): ChatContentMessage = sendVoice( chatId = replyInChatId, voice = voice, entities = entities, @@ -2465,7 +2465,7 @@ public suspend inline fun TelegramBot.reply( * as a builder for that */ public suspend inline fun TelegramBot.reply( - to: AccessibleMessage, + to: ChatMessage, title: String, description: String, payload: String, @@ -2495,7 +2495,7 @@ public suspend inline fun TelegramBot.reply( checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, replyMarkup: InlineKeyboardMarkup? = null -): ContentMessage = sendInvoice( +): ChatContentMessage = sendInvoice( chatId = replyInChatId, title = title, description = description, @@ -2531,7 +2531,7 @@ public suspend inline fun TelegramBot.reply( * as a builder for that */ public suspend inline fun TelegramBot.reply( - to: AccessibleMessage, + to: ChatMessage, title: String, description: String, payload: String, @@ -2550,7 +2550,7 @@ public suspend inline fun TelegramBot.reply( checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, replyMarkup: InlineKeyboardMarkup? = null -): ContentMessage = sendInvoice( +): ChatContentMessage = sendInvoice( chatId = replyInChatId, title = title, description = description, @@ -2574,7 +2574,7 @@ public suspend inline fun TelegramBot.reply( public suspend inline fun TelegramBot.reply( - to: AccessibleMessage, + to: ChatMessage, question: String, options: List, questionParseMode: ParseMode? = null, @@ -2595,7 +2595,7 @@ public suspend inline fun TelegramBot.reply( checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendRegularPoll( +): ChatContentMessage = sendRegularPoll( chatId = replyInChatId, question = question, options = options, @@ -2617,7 +2617,7 @@ public suspend inline fun TelegramBot.reply( ) public suspend inline fun TelegramBot.reply( - to: AccessibleMessage, + to: ChatMessage, poll: RegularPoll, question: String, questionParseMode: ParseMode? = null, @@ -2639,7 +2639,7 @@ public suspend inline fun TelegramBot.reply( checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendRegularPoll( +): ChatContentMessage = sendRegularPoll( chatId = replyInChatId, question = question, options = options, @@ -2662,7 +2662,7 @@ public suspend inline fun TelegramBot.reply( public suspend inline fun TelegramBot.reply( - to: AccessibleMessage, + to: ChatMessage, questionTextSources: List, options: List, isAnonymous: Boolean = true, @@ -2682,7 +2682,7 @@ public suspend inline fun TelegramBot.reply( checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendRegularPoll( +): ChatContentMessage = sendRegularPoll( chatId = replyInChatId, questionEntities = questionTextSources, options = options, @@ -2703,7 +2703,7 @@ public suspend inline fun TelegramBot.reply( ) public suspend inline fun TelegramBot.reply( - to: AccessibleMessage, + to: ChatMessage, poll: RegularPoll, questionTextSources: List = poll.questionTextSources, options: List = poll.options.map { it.asInput() }, @@ -2724,7 +2724,7 @@ public suspend inline fun TelegramBot.reply( checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendRegularPoll( +): ChatContentMessage = sendRegularPoll( chatId = replyInChatId, questionEntities = questionTextSources, options = options, @@ -2745,7 +2745,7 @@ public suspend inline fun TelegramBot.reply( ) public suspend inline fun TelegramBot.reply( - to: AccessibleMessage, + to: ChatMessage, question: String, options: List, correctOptionIds: List, @@ -2770,7 +2770,7 @@ public suspend inline fun TelegramBot.reply( checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendQuizPoll( +): ChatContentMessage = sendQuizPoll( chatId = replyInChatId, question = question, options = options, @@ -2796,7 +2796,7 @@ public suspend inline fun TelegramBot.reply( ) public suspend inline fun TelegramBot.reply( - to: AccessibleMessage, + to: ChatMessage, quizPoll: QuizPoll, question: String, explanation: String?, @@ -2823,7 +2823,7 @@ public suspend inline fun TelegramBot.reply( checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendQuizPoll( +): ChatContentMessage = sendQuizPoll( chatId = replyInChatId, question = question, options = options, @@ -2849,7 +2849,7 @@ public suspend inline fun TelegramBot.reply( ) public suspend inline fun TelegramBot.reply( - to: AccessibleMessage, + to: ChatMessage, questionTextSources: List, options: List, correctOptionIds: List, @@ -2873,7 +2873,7 @@ public suspend inline fun TelegramBot.reply( checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendQuizPoll( +): ChatContentMessage = sendQuizPoll( chatId = replyInChatId, questionEntities = questionTextSources, options = options, @@ -2898,7 +2898,7 @@ public suspend inline fun TelegramBot.reply( ) public suspend inline fun TelegramBot.reply( - to: AccessibleMessage, + to: ChatMessage, quizPoll: QuizPoll, explanation: String?, questionTextSources: List = quizPoll.questionTextSources, @@ -2924,7 +2924,7 @@ public suspend inline fun TelegramBot.reply( checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendQuizPoll( +): ChatContentMessage = sendQuizPoll( chatId = replyInChatId, questionEntities = questionTextSources, options = options, @@ -2949,7 +2949,7 @@ public suspend inline fun TelegramBot.reply( ) public suspend inline fun TelegramBot.reply( - to: AccessibleMessage, + to: ChatMessage, question: String, options: List, correctOptionIds: List, @@ -2973,7 +2973,7 @@ public suspend inline fun TelegramBot.reply( checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendQuizPoll( +): ChatContentMessage = sendQuizPoll( chatId = replyInChatId, question = question, options = options, @@ -2998,7 +2998,7 @@ public suspend inline fun TelegramBot.reply( ) public suspend inline fun TelegramBot.reply( - to: AccessibleMessage, + to: ChatMessage, quizPoll: QuizPoll, question: String, options: List = quizPoll.options.map { it.asInput() }, @@ -3024,7 +3024,7 @@ public suspend inline fun TelegramBot.reply( checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendQuizPoll( +): ChatContentMessage = sendQuizPoll( chatId = replyInChatId, question = question, options = options, @@ -3049,7 +3049,7 @@ public suspend inline fun TelegramBot.reply( ) public suspend inline fun TelegramBot.reply( - to: AccessibleMessage, + to: ChatMessage, questionTextSources: List, options: List, correctOptionIds: List, @@ -3072,7 +3072,7 @@ public suspend inline fun TelegramBot.reply( checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendQuizPoll( +): ChatContentMessage = sendQuizPoll( chatId = replyInChatId, questionEntities = questionTextSources, options = options, @@ -3096,7 +3096,7 @@ public suspend inline fun TelegramBot.reply( ) public suspend inline fun TelegramBot.reply( - to: AccessibleMessage, + to: ChatMessage, quizPoll: QuizPoll, questionTextSources: List = quizPoll.questionTextSources, options: List = quizPoll.options.map { it.asInput() }, @@ -3120,7 +3120,7 @@ public suspend inline fun TelegramBot.reply( checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendQuizPoll( +): ChatContentMessage = sendQuizPoll( chatId = replyInChatId, questionEntities = questionTextSources, options = options, @@ -3145,7 +3145,7 @@ public suspend inline fun TelegramBot.reply( public suspend inline fun TelegramBot.reply( - to: AccessibleMessage, + to: ChatMessage, poll: Poll, question: String, options: List = poll.options.map { it.asInput() }, @@ -3165,7 +3165,7 @@ public suspend inline fun TelegramBot.reply( checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = when (poll) { +): ChatContentMessage = when (poll) { is RegularPoll -> reply( toChatId = to.chat.id, toMessageId = to.messageId, @@ -3217,7 +3217,7 @@ public suspend inline fun TelegramBot.reply( ) } public suspend inline fun TelegramBot.reply( - to: AccessibleMessage, + to: ChatMessage, poll: Poll, questionTextSources: List = poll.questionTextSources, options: List = poll.options.map { it.asInput() }, @@ -3237,7 +3237,7 @@ public suspend inline fun TelegramBot.reply( checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = when (poll) { +): ChatContentMessage = when (poll) { is RegularPoll -> reply( toChatId = to.chat.id, toMessageId = to.messageId, @@ -3291,7 +3291,7 @@ public suspend inline fun TelegramBot.reply( public suspend inline fun TelegramBot.reply( - to: AccessibleMessage, + to: ChatMessage, fromChatId: ChatIdentifier, messageId: MessageId, text: String? = null, @@ -3328,7 +3328,7 @@ public suspend inline fun TelegramBot.reply( ) public suspend inline fun TelegramBot.reply( - to: AccessibleMessage, + to: ChatMessage, fromChat: Chat, messageId: MessageId, text: String? = null, @@ -3368,8 +3368,8 @@ public suspend inline fun TelegramBot.reply( ) public suspend inline fun TelegramBot.reply( - to: AccessibleMessage, - copy: AccessibleMessage, + to: ChatMessage, + copy: ChatMessage, text: String? = null, parseMode: ParseMode? = null, showCaptionAboveMedia: Boolean = false, @@ -3407,7 +3407,7 @@ public suspend inline fun TelegramBot.reply( ) public suspend fun TelegramBot.reply( - to: AccessibleMessage, + to: ChatMessage, content: MessageContent, replyInChatId: IdChatIdentifier = to.chat.id, replyInThreadId: MessageThreadId? = replyInChatId.threadId, @@ -3422,7 +3422,7 @@ public suspend fun TelegramBot.reply( checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null, -): AccessibleMessage = execute( +): ChatMessage = execute( content.createResend( chatId = replyInChatId, messageThreadId = replyInThreadId, @@ -3444,7 +3444,7 @@ public suspend fun TelegramBot.reply( * @see handleLiveLocation */ public suspend fun TelegramBot.reply( - to: AccessibleMessage, + to: ChatMessage, locationsFlow: Flow, liveTimeMillis: Long = defaultLivePeriodDelayMillis, replyInChatId: IdChatIdentifier = to.chat.id, @@ -3482,7 +3482,7 @@ public suspend fun TelegramBot.reply( @JvmName("replyLiveLocationWithLocation") @JsName("replyLiveLocationWithLocation") public suspend fun TelegramBot.reply( - to: AccessibleMessage, + to: ChatMessage, locationsFlow: Flow, liveTimeMillis: Long = defaultLivePeriodDelayMillis, replyInChatId: IdChatIdentifier = to.chat.id, @@ -3522,7 +3522,7 @@ public suspend fun TelegramBot.reply( @JvmName("replyLiveLocationWithLatLong") @JsName("replyLiveLocationWithLatLong") public suspend fun TelegramBot.reply( - to: AccessibleMessage, + to: ChatMessage, locationsFlow: Flow>, liveTimeMillis: Long = defaultLivePeriodDelayMillis, replyInChatId: IdChatIdentifier = to.chat.id, @@ -3555,7 +3555,7 @@ public suspend fun TelegramBot.reply( } public suspend fun TelegramBot.reply( - to: AccessibleMessage, + to: ChatMessage, mediaFile: TelegramMediaFile, replyInChatId: IdChatIdentifier = to.chat.id, replyInThreadId: MessageThreadId? = replyInChatId.threadId, @@ -3747,7 +3747,7 @@ public suspend fun TelegramBot.reply( } public suspend fun TelegramBot.reply( - to: AccessibleMessage, + to: ChatMessage, content: TextedMediaContent, text: String?, parseMode: ParseMode? = null, @@ -3904,7 +3904,7 @@ public suspend fun TelegramBot.reply( } public suspend fun TelegramBot.reply( - to: AccessibleMessage, + to: ChatMessage, content: TextedMediaContent, entities: TextSourcesList, replyInChatId: IdChatIdentifier = to.chat.id, @@ -4053,7 +4053,7 @@ public suspend fun TelegramBot.reply( } public suspend fun TelegramBot.reply( - to: AccessibleMessage, + to: ChatMessage, starCount: Int, media: List, entities: TextSourcesList, @@ -4097,7 +4097,7 @@ public suspend fun TelegramBot.reply( } public suspend fun TelegramBot.reply( - to: AccessibleMessage, + to: ChatMessage, starCount: Int, media: List, text: String? = null, 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 1abc0d3737..bd70cc07ba 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 @@ -30,7 +30,7 @@ import dev.inmo.tgbotapi.types.games.Game import dev.inmo.tgbotapi.types.location.* import dev.inmo.tgbotapi.types.message.abstracts.AccessibleMessage import dev.inmo.tgbotapi.types.message.SuggestedPostParameters -import dev.inmo.tgbotapi.types.message.abstracts.ContentMessage +import dev.inmo.tgbotapi.types.message.abstracts.ChatContentMessage import dev.inmo.tgbotapi.types.message.content.* import dev.inmo.tgbotapi.types.payments.LabeledPrice import dev.inmo.tgbotapi.types.payments.abstracts.Currency @@ -67,7 +67,7 @@ public suspend inline fun TelegramBot.reply( checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendContact( +): ChatContentMessage = sendContact( chatId = replyInChatId, phoneNumber = phoneNumber, firstName = firstName, @@ -105,7 +105,7 @@ public suspend inline fun TelegramBot.reply( checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendContact( +): ChatContentMessage = sendContact( chatId = replyInChatId, contact = contact, threadId = replyInThreadId, @@ -144,7 +144,7 @@ public suspend inline fun TelegramBot.replyWithDice( checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendDice( +): ChatContentMessage = sendDice( chatId = replyInChatId, animationType = animationType, threadId = replyInThreadId, @@ -180,7 +180,7 @@ public suspend inline fun TelegramBot.reply( checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = replyWithDice( +): ChatContentMessage = replyWithDice( toChatId = toChatId, toMessageId = toMessageId, animationType = animationType, @@ -219,7 +219,7 @@ public suspend inline fun TelegramBot.replyWithChecklist( checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendChecklist( +): ChatContentMessage = sendChecklist( chatId = replyInChatId, checklist = checklist, businessConnectionId = replyInBusinessConnectionId, @@ -247,7 +247,7 @@ public suspend inline fun TelegramBot.reply( checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendChecklist( +): ChatContentMessage = sendChecklist( chatId = replyInChatId, checklist = checklist, businessConnectionId = replyInBusinessConnectionId, @@ -283,7 +283,7 @@ public suspend inline fun TelegramBot.reply( checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendLocation( +): ChatContentMessage = sendLocation( chatId = replyInChatId, latitude = latitude, longitude = longitude, @@ -320,7 +320,7 @@ public suspend inline fun TelegramBot.reply( checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendLocation( +): ChatContentMessage = sendLocation( chatId = replyInChatId, location = location, threadId = replyInThreadId, @@ -361,7 +361,7 @@ public suspend inline fun TelegramBot.reply( checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendTextMessage( +): ChatContentMessage = sendTextMessage( chatId = replyInChatId, text = text, parseMode = parseMode, @@ -400,7 +400,7 @@ public suspend inline fun TelegramBot.reply( checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendTextMessage( +): ChatContentMessage = sendTextMessage( chatId = replyInChatId, entities = entities, linkPreviewOptions = linkPreviewOptions, @@ -439,7 +439,7 @@ public suspend fun TelegramBot.reply( pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null, builderBody: EntitiesBuilderBody -): ContentMessage = reply( +): ChatContentMessage = reply( toChatId = toChatId, toMessageId = toMessageId, entities = buildEntities(separator, builderBody), @@ -482,7 +482,7 @@ public suspend fun TelegramBot.reply( pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null, builderBody: EntitiesBuilderBody -): ContentMessage = reply( +): ChatContentMessage = reply( toChatId = toChatId, toMessageId = toMessageId, entities = buildEntities(separator, builderBody), @@ -533,7 +533,7 @@ public suspend inline fun TelegramBot.reply( checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendVenue( +): ChatContentMessage = sendVenue( chatId = replyInChatId, latitude = latitude, longitude = longitude, @@ -578,7 +578,7 @@ public suspend inline fun TelegramBot.reply( checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendVenue( +): ChatContentMessage = sendVenue( chatId = replyInChatId, latitude = location.latitude, longitude = location.longitude, @@ -617,7 +617,7 @@ public suspend inline fun TelegramBot.reply( checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendVenue( +): ChatContentMessage = sendVenue( chatId = replyInChatId, venue = venue, threadId = replyInThreadId, @@ -652,7 +652,7 @@ public suspend inline fun TelegramBot.replyWithGame( checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendGame( +): ChatContentMessage = sendGame( chatId = replyInChatId, gameShortName = gameShortName, threadId = replyInThreadId, @@ -684,7 +684,7 @@ public suspend inline fun TelegramBot.replyWithGame( checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendGame( +): ChatContentMessage = sendGame( chatId = replyInChatId, gameShortName = game.title, threadId = replyInThreadId, @@ -716,7 +716,7 @@ public suspend inline fun TelegramBot.reply( checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = replyWithGame( +): ChatContentMessage = replyWithGame( toChatId = toChatId, toMessageId = toMessageId, game = game, @@ -763,7 +763,7 @@ public suspend inline fun TelegramBot.replyWithAnimation( checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendAnimation( +): ChatContentMessage = sendAnimation( chatId = replyInChatId, animation = animation, thumb = thumb, @@ -810,7 +810,7 @@ public suspend inline fun TelegramBot.reply( checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendAnimation( +): ChatContentMessage = sendAnimation( chatId = replyInChatId, animation = animation, text = text, @@ -856,7 +856,7 @@ public suspend inline fun TelegramBot.replyWithAnimation( checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendAnimation( +): ChatContentMessage = sendAnimation( chatId = replyInChatId, animation = animation, thumb = thumb, @@ -901,7 +901,7 @@ public suspend inline fun TelegramBot.reply( checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendAnimation( +): ChatContentMessage = sendAnimation( chatId = replyInChatId, animation = animation, entities = entities, @@ -948,7 +948,7 @@ public suspend inline fun TelegramBot.replyWithAudio( checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendAudio( +): ChatContentMessage = sendAudio( chatId = replyInChatId, audio = audio, thumb = thumb, @@ -989,7 +989,7 @@ public suspend inline fun TelegramBot.reply( checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendAudio( +): ChatContentMessage = sendAudio( chatId = replyInChatId, audio = audio, text = text, @@ -1029,7 +1029,7 @@ public suspend inline fun TelegramBot.replyWithAudio( checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendAudio( +): ChatContentMessage = sendAudio( chatId = replyInChatId, audio = audio, thumb = thumb, @@ -1068,7 +1068,7 @@ public suspend inline fun TelegramBot.reply( checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendAudio( +): ChatContentMessage = sendAudio( chatId = replyInChatId, audio = audio, entities = entities, @@ -1109,7 +1109,7 @@ public suspend inline fun TelegramBot.replyWithDocument( pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null, disableContentTypeDetection: Boolean? = null -): ContentMessage = sendDocument( +): ChatContentMessage = sendDocument( chatId = replyInChatId, document = document, thumb = thumb, @@ -1148,7 +1148,7 @@ public suspend inline fun TelegramBot.reply( pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null, disableContentTypeDetection: Boolean? = null -): ContentMessage = sendDocument( +): ChatContentMessage = sendDocument( chatId = replyInChatId, document = document, text = text, @@ -1186,7 +1186,7 @@ public suspend inline fun TelegramBot.replyWithDocument( pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null, disableContentTypeDetection: Boolean? = null -): ContentMessage = sendDocument( +): ChatContentMessage = sendDocument( chatId = replyInChatId, document = document, thumb = thumb, @@ -1223,7 +1223,7 @@ public suspend inline fun TelegramBot.reply( pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null, disableContentTypeDetection: Boolean? = null -): ContentMessage = sendDocument( +): ChatContentMessage = sendDocument( chatId = replyInChatId, document = document, entities = entities, @@ -1260,7 +1260,7 @@ public suspend inline fun TelegramBot.replyWithMediaGroup( allowSendingWithoutReply: Boolean? = null, checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, -): ContentMessage> = sendMediaGroup( +): ChatContentMessage> = sendMediaGroup( chatId = replyInChatId, media = media, threadId = replyInThreadId, @@ -1290,7 +1290,7 @@ public suspend inline fun TelegramBot.replyWithPlaylist( allowSendingWithoutReply: Boolean? = null, checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, -): ContentMessage> = sendPlaylist( +): ChatContentMessage> = sendPlaylist( chatId = replyInChatId, media = media, threadId = replyInThreadId, @@ -1320,7 +1320,7 @@ public suspend inline fun TelegramBot.replyWithDocuments( allowSendingWithoutReply: Boolean? = null, checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, -): ContentMessage> = sendDocumentsGroup( +): ChatContentMessage> = sendDocumentsGroup( chatId = replyInChatId, media = media, threadId = replyInThreadId, @@ -1350,7 +1350,7 @@ public suspend inline fun TelegramBot.replyWithGallery( allowSendingWithoutReply: Boolean? = null, checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, -): ContentMessage> = sendVisualMediaGroup( +): ChatContentMessage> = sendVisualMediaGroup( chatId = replyInChatId, media = media, threadId = replyInThreadId, @@ -1388,7 +1388,7 @@ public suspend inline fun TelegramBot.replyWithPhoto( checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendPhoto( +): ChatContentMessage = sendPhoto( chatId = replyInChatId, fileId = fileId, text = text, @@ -1428,7 +1428,7 @@ public suspend inline fun TelegramBot.reply( checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendPhoto( +): ChatContentMessage = sendPhoto( chatId = replyInChatId, photo = photo, text = text, @@ -1468,7 +1468,7 @@ public suspend inline fun TelegramBot.reply( checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendPhoto( +): ChatContentMessage = sendPhoto( chatId = replyInChatId, photoSize = photoSize, text = text, @@ -1508,7 +1508,7 @@ public suspend inline fun TelegramBot.replyWithPhoto( checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendPhoto( +): ChatContentMessage = sendPhoto( chatId = replyInChatId, fileId = fileId, entities = entities, @@ -1546,7 +1546,7 @@ public suspend inline fun TelegramBot.reply( checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendPhoto( +): ChatContentMessage = sendPhoto( chatId = replyInChatId, photo = photo, entities = entities, @@ -1584,7 +1584,7 @@ public suspend inline fun TelegramBot.reply( checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendPhoto( +): ChatContentMessage = sendPhoto( chatId = replyInChatId, photoSize = photoSize, entities = entities, @@ -1623,7 +1623,7 @@ public suspend inline fun TelegramBot.replyWithSticker( checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendSticker( +): ChatContentMessage = sendSticker( chatId = replyInChatId, sticker = sticker, threadId = replyInThreadId, @@ -1657,7 +1657,7 @@ public suspend inline fun TelegramBot.reply( checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendSticker( +): ChatContentMessage = sendSticker( chatId = replyInChatId, sticker = sticker, threadId = replyInThreadId, @@ -1701,7 +1701,7 @@ public suspend inline fun TelegramBot.replyWithVideo( checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendVideo( +): ChatContentMessage = sendVideo( chatId = replyInChatId, video = video, thumb = thumb, @@ -1745,7 +1745,7 @@ public suspend inline fun TelegramBot.reply( checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendVideo( +): ChatContentMessage = sendVideo( chatId = replyInChatId, video = video, text = text, @@ -1788,7 +1788,7 @@ public suspend inline fun TelegramBot.replyWithVideo( checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendVideo( +): ChatContentMessage = sendVideo( chatId = replyInChatId, video = video, thumb = thumb, @@ -1830,7 +1830,7 @@ public suspend inline fun TelegramBot.reply( checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendVideo( +): ChatContentMessage = sendVideo( chatId = replyInChatId, video = video, entities = entities, @@ -1873,7 +1873,7 @@ public suspend inline fun TelegramBot.replyWithLivePhoto( checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendLivePhoto( +): ChatContentMessage = sendLivePhoto( chatId = replyInChatId, livePhoto = livePhoto, photo = photo, @@ -1914,7 +1914,7 @@ public suspend inline fun TelegramBot.reply( checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendLivePhoto( +): ChatContentMessage = sendLivePhoto( chatId = replyInChatId, livePhoto = livePhoto, text = text, @@ -1954,7 +1954,7 @@ public suspend inline fun TelegramBot.replyWithLivePhoto( checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendLivePhoto( +): ChatContentMessage = sendLivePhoto( chatId = replyInChatId, livePhoto = livePhoto, photo = photo, @@ -1993,7 +1993,7 @@ public suspend inline fun TelegramBot.reply( checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendLivePhoto( +): ChatContentMessage = sendLivePhoto( chatId = replyInChatId, livePhoto = livePhoto, entities = entities, @@ -2034,7 +2034,7 @@ public suspend inline fun TelegramBot.replyWithVideoNote( checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendVideoNote( +): ChatContentMessage = sendVideoNote( chatId = replyInChatId, videoNote = videoNote, thumb = thumb, @@ -2069,7 +2069,7 @@ public suspend inline fun TelegramBot.reply( checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendVideoNote( +): ChatContentMessage = sendVideoNote( chatId = replyInChatId, videoNote = videoNote, threadId = replyInThreadId, @@ -2107,7 +2107,7 @@ public suspend inline fun TelegramBot.replyWithVoice( checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendVoice( +): ChatContentMessage = sendVoice( chatId = replyInChatId, voice = voice, text = text, @@ -2144,7 +2144,7 @@ public suspend inline fun TelegramBot.reply( checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendVoice( +): ChatContentMessage = sendVoice( chatId = replyInChatId, voice = voice, text = text, @@ -2181,7 +2181,7 @@ public suspend inline fun TelegramBot.replyWithVoice( checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendVoice( +): ChatContentMessage = sendVoice( chatId = replyInChatId, voice = voice, entities = entities, @@ -2216,7 +2216,7 @@ public suspend inline fun TelegramBot.reply( checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendVoice( +): ChatContentMessage = sendVoice( chatId = replyInChatId, voice = voice, entities = entities, @@ -2271,7 +2271,7 @@ public suspend inline fun TelegramBot.reply( checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, replyMarkup: InlineKeyboardMarkup? = null -): ContentMessage = sendInvoice( +): ChatContentMessage = sendInvoice( chatId = replyInChatId, title = title, description = description, @@ -2327,7 +2327,7 @@ public suspend inline fun TelegramBot.reply( checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendRegularPoll( +): ChatContentMessage = sendRegularPoll( chatId = replyInChatId, question = question, options = options, @@ -2372,7 +2372,7 @@ public suspend inline fun TelegramBot.reply( checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendRegularPoll( +): ChatContentMessage = sendRegularPoll( chatId = replyInChatId, question = question, options = options, @@ -2416,7 +2416,7 @@ public suspend inline fun TelegramBot.reply( checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendRegularPoll( +): ChatContentMessage = sendRegularPoll( chatId = replyInChatId, questionEntities = questionTextSources, options = options, @@ -2459,7 +2459,7 @@ public suspend inline fun TelegramBot.reply( checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendRegularPoll( +): ChatContentMessage = sendRegularPoll( chatId = replyInChatId, questionEntities = questionTextSources, options = options, @@ -2506,7 +2506,7 @@ public suspend inline fun TelegramBot.reply( checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendQuizPoll( +): ChatContentMessage = sendQuizPoll( chatId = replyInChatId, question = question, options = options, @@ -2560,7 +2560,7 @@ public suspend inline fun TelegramBot.reply( checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendQuizPoll( +): ChatContentMessage = sendQuizPoll( chatId = replyInChatId, question = question, options = options, @@ -2611,7 +2611,7 @@ public suspend inline fun TelegramBot.reply( checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendQuizPoll( +): ChatContentMessage = sendQuizPoll( chatId = replyInChatId, questionEntities = questionTextSources, options = options, @@ -2663,7 +2663,7 @@ public suspend inline fun TelegramBot.reply( checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendQuizPoll( +): ChatContentMessage = sendQuizPoll( chatId = replyInChatId, questionEntities = questionTextSources, options = options, @@ -2713,7 +2713,7 @@ public suspend inline fun TelegramBot.reply( checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendQuizPoll( +): ChatContentMessage = sendQuizPoll( chatId = replyInChatId, question = question, options = options, @@ -2765,7 +2765,7 @@ public suspend inline fun TelegramBot.reply( checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendQuizPoll( +): ChatContentMessage = sendQuizPoll( chatId = replyInChatId, question = question, options = options, @@ -2814,7 +2814,7 @@ public suspend inline fun TelegramBot.reply( checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendQuizPoll( +): ChatContentMessage = sendQuizPoll( chatId = replyInChatId, questionEntities = questionTextSources, options = options, @@ -2864,7 +2864,7 @@ public suspend inline fun TelegramBot.reply( checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendQuizPoll( +): ChatContentMessage = sendQuizPoll( chatId = replyInChatId, questionEntities = questionTextSources, options = options, @@ -2910,7 +2910,7 @@ public suspend inline fun TelegramBot.reply( checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = when (poll) { +): ChatContentMessage = when (poll) { is RegularPoll -> reply( toChatId = toChatId, toMessageId = toMessageId, @@ -2982,7 +2982,7 @@ public suspend inline fun TelegramBot.reply( checklistTaskId: ChecklistTaskId? = null, pollOptionId: PollOptionPersistentId? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = when (poll) { +): ChatContentMessage = when (poll) { is RegularPoll -> reply( toChatId = toChatId, toMessageId = toMessageId, diff --git a/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/send/RepliesWithGuestQueryId.kt b/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/send/RepliesWithGuestQueryId.kt new file mode 100644 index 0000000000..e8a4a974a4 --- /dev/null +++ b/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/send/RepliesWithGuestQueryId.kt @@ -0,0 +1,16 @@ +package dev.inmo.tgbotapi.extensions.api.send + +import dev.inmo.tgbotapi.bot.TelegramBot +import dev.inmo.tgbotapi.extensions.api.answers.answer +import dev.inmo.tgbotapi.types.InlineQueries.InlineQueryResult.abstracts.InlineQueryResult +import dev.inmo.tgbotapi.types.guest.SentGuestMessage +import dev.inmo.tgbotapi.types.message.abstracts.GuestContentMessage +import dev.inmo.tgbotapi.types.message.abstracts.GuestMessage + +public suspend fun TelegramBot.reply( + message: GuestMessage, + queryResult: InlineQueryResult +): SentGuestMessage = answer( + message.guestQueryId, + queryResult +) \ No newline at end of file diff --git a/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/send/ResendMessage.kt b/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/send/ResendMessage.kt index cbcd4a7489..dd2c50c4e1 100644 --- a/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/send/ResendMessage.kt +++ b/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/send/ResendMessage.kt @@ -5,7 +5,7 @@ import dev.inmo.tgbotapi.types.* import dev.inmo.tgbotapi.types.business_connection.BusinessConnectionId import dev.inmo.tgbotapi.types.buttons.KeyboardMarkup import dev.inmo.tgbotapi.types.chat.Chat -import dev.inmo.tgbotapi.types.message.abstracts.ContentMessage +import dev.inmo.tgbotapi.types.message.abstracts.ChatContentMessage import dev.inmo.tgbotapi.types.message.content.MessageContent import dev.inmo.tgbotapi.types.message.SuggestedPostParameters @@ -26,7 +26,7 @@ public suspend inline fun TelegramBot.resend( replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null, suggestedPostParameters: SuggestedPostParameters? = null -): ContentMessage = execute( +): ChatContentMessage = execute( content.createResend( chatId = chatId, messageThreadId = messageThreadId, @@ -40,7 +40,7 @@ public suspend inline fun TelegramBot.resend( replyMarkup = replyMarkup, suggestedPostParameters = suggestedPostParameters, ) -) as ContentMessage +) as ChatContentMessage /** * This method will send [content] to the [chat] as is @@ -57,7 +57,7 @@ public suspend inline fun TelegramBot.resend( effectId: EffectId? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = resend( +): ChatContentMessage = resend( chatId = chat.id, content = content, messageThreadId = messageThreadId, @@ -78,7 +78,7 @@ public suspend inline fun TelegramBot.resend( */ public suspend inline fun TelegramBot.resend( chatId: ChatIdentifier, - message: ContentMessage, + message: ChatContentMessage, messageThreadId: MessageThreadId? = chatId.threadId, directMessageThreadId: DirectMessageThreadId? = chatId.directMessageThreadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, @@ -88,7 +88,7 @@ public suspend inline fun TelegramBot.resend( effectId: EffectId? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = resend( +): ChatContentMessage = resend( chatId = chatId, content = message.content, messageThreadId = messageThreadId, @@ -109,7 +109,7 @@ public suspend inline fun TelegramBot.resend( */ public suspend inline fun TelegramBot.resend( chat: Chat, - message: ContentMessage, + message: ChatContentMessage, messageThreadId: MessageThreadId? = chat.id.threadId, directMessageThreadId: DirectMessageThreadId? = chat.id.directMessageThreadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, @@ -119,7 +119,7 @@ public suspend inline fun TelegramBot.resend( effectId: EffectId? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = resend( +): ChatContentMessage = resend( chatId = chat.id, message = message, messageThreadId = messageThreadId, diff --git a/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/send/SendChecklist.kt b/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/send/SendChecklist.kt index d3606a2989..a3d9c10eb2 100644 --- a/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/send/SendChecklist.kt +++ b/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/send/SendChecklist.kt @@ -9,7 +9,7 @@ import dev.inmo.tgbotapi.types.ReplyParameters import dev.inmo.tgbotapi.types.business_connection.BusinessConnectionId import dev.inmo.tgbotapi.types.buttons.KeyboardMarkup import dev.inmo.tgbotapi.types.checklists.Checklist -import dev.inmo.tgbotapi.types.message.abstracts.ContentMessage +import dev.inmo.tgbotapi.types.message.abstracts.ChatContentMessage import dev.inmo.tgbotapi.types.message.content.ChecklistContent public suspend fun TelegramBot.sendChecklist( @@ -21,7 +21,7 @@ public suspend fun TelegramBot.sendChecklist( effectId: EffectId? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = execute( +): ChatContentMessage = execute( SendChecklist( chatId = chatId, checklist = checklist, @@ -42,7 +42,7 @@ public suspend fun TelegramBot.sendChecklist( effectId: EffectId? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = execute( +): ChatContentMessage = execute( SendChecklist( chatId = chatId, checklist = checklist, diff --git a/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/send/SendContact.kt b/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/send/SendContact.kt index 817da76e2a..16cb13bb0d 100644 --- a/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/send/SendContact.kt +++ b/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/send/SendContact.kt @@ -9,7 +9,7 @@ import dev.inmo.tgbotapi.types.business_connection.BusinessConnectionId import dev.inmo.tgbotapi.types.buttons.KeyboardMarkup import dev.inmo.tgbotapi.types.chat.Chat import dev.inmo.tgbotapi.types.message.SuggestedPostParameters -import dev.inmo.tgbotapi.types.message.abstracts.ContentMessage +import dev.inmo.tgbotapi.types.message.abstracts.ChatContentMessage import dev.inmo.tgbotapi.types.message.content.ContactContent /** @@ -31,7 +31,7 @@ public suspend fun TelegramBot.sendContact( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = execute( +): ChatContentMessage = execute( SendContact( chatId = chatId, phoneNumber = phoneNumber, @@ -67,7 +67,7 @@ public suspend fun TelegramBot.sendContact( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = execute( +): ChatContentMessage = execute( SendContact( chatId = chatId, contact = contact, @@ -103,7 +103,7 @@ public suspend fun TelegramBot.sendContact( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendContact( +): ChatContentMessage = sendContact( chatId = chat.id, phoneNumber = phoneNumber, firstName = firstName, @@ -137,7 +137,7 @@ public suspend fun TelegramBot.sendContact( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendContact( +): ChatContentMessage = sendContact( chatId = chat.id, contact = contact, threadId = threadId, diff --git a/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/send/SendDice.kt b/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/send/SendDice.kt index e93faacf24..3e60dc48e7 100644 --- a/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/send/SendDice.kt +++ b/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/send/SendDice.kt @@ -8,7 +8,7 @@ import dev.inmo.tgbotapi.types.buttons.KeyboardMarkup import dev.inmo.tgbotapi.types.chat.Chat import dev.inmo.tgbotapi.types.message.SuggestedPostParameters import dev.inmo.tgbotapi.types.dice.DiceAnimationType -import dev.inmo.tgbotapi.types.message.abstracts.ContentMessage +import dev.inmo.tgbotapi.types.message.abstracts.ChatContentMessage import dev.inmo.tgbotapi.types.message.content.DiceContent /** @@ -28,7 +28,7 @@ public suspend fun TelegramBot.sendDice( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = execute( +): ChatContentMessage = execute( SendDice( chatId = chatId, animationType = animationType, @@ -62,7 +62,7 @@ public suspend fun TelegramBot.sendDice( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendDice( +): ChatContentMessage = sendDice( chatId = chat.id, animationType = animationType, threadId = threadId, diff --git a/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/send/SendLiveLocation.kt b/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/send/SendLiveLocation.kt index a62d627972..4ee1692060 100644 --- a/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/send/SendLiveLocation.kt +++ b/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/send/SendLiveLocation.kt @@ -8,7 +8,7 @@ import dev.inmo.tgbotapi.types.buttons.KeyboardMarkup import dev.inmo.tgbotapi.types.chat.Chat import dev.inmo.tgbotapi.types.message.SuggestedPostParameters import dev.inmo.tgbotapi.types.location.Location -import dev.inmo.tgbotapi.types.message.abstracts.ContentMessage +import dev.inmo.tgbotapi.types.message.abstracts.ChatContentMessage import dev.inmo.tgbotapi.types.message.content.LiveLocationContent import dev.inmo.tgbotapi.types.message.content.LocationContent @@ -34,7 +34,7 @@ public suspend fun TelegramBot.sendLocation( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = execute( +): ChatContentMessage = execute( SendLiveLocation( chatId = chatId, latitude = latitude, @@ -77,7 +77,7 @@ public suspend fun TelegramBot.sendLocation( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendLocation( +): ChatContentMessage = sendLocation( chatId = chatId, latitude = location.latitude, longitude = location.longitude, @@ -119,7 +119,7 @@ public suspend fun TelegramBot.sendLocation( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendLocation( +): ChatContentMessage = sendLocation( chatId = chat.id, latitude = latitude, longitude = longitude, @@ -160,7 +160,7 @@ public suspend fun TelegramBot.sendLocation( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendLocation( +): ChatContentMessage = sendLocation( chatId = chat.id, latitude = location.latitude, longitude = location.longitude, @@ -202,7 +202,7 @@ public suspend fun TelegramBot.sendLiveLocation( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendLocation( +): ChatContentMessage = sendLocation( chatId = chatId, latitude = latitude, longitude = longitude, @@ -243,7 +243,7 @@ public suspend fun TelegramBot.sendLiveLocation( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendLocation( +): ChatContentMessage = sendLocation( chatId = chatId, latitude = location.latitude, longitude = location.longitude, @@ -285,7 +285,7 @@ public suspend fun TelegramBot.sendLiveLocation( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendLocation( +): ChatContentMessage = sendLocation( chatId = chat.id, latitude = latitude, longitude = longitude, @@ -326,7 +326,7 @@ public suspend fun TelegramBot.sendLiveLocation( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendLocation( +): ChatContentMessage = sendLocation( chatId = chat.id, latitude = location.latitude, longitude = location.longitude, diff --git a/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/send/SendMessage.kt b/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/send/SendMessage.kt index 2661097bf6..1faf19d20a 100644 --- a/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/send/SendMessage.kt +++ b/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/send/SendMessage.kt @@ -11,7 +11,7 @@ import dev.inmo.tgbotapi.types.message.ParseMode import dev.inmo.tgbotapi.types.message.SuggestedPostParameters import dev.inmo.tgbotapi.types.buttons.KeyboardMarkup import dev.inmo.tgbotapi.types.chat.Chat -import dev.inmo.tgbotapi.types.message.abstracts.ContentMessage +import dev.inmo.tgbotapi.types.message.abstracts.ChatContentMessage import dev.inmo.tgbotapi.types.message.content.TextContent import dev.inmo.tgbotapi.types.message.textsources.TextSource import dev.inmo.tgbotapi.utils.EntitiesBuilderBody @@ -36,7 +36,7 @@ public suspend fun TelegramBot.sendMessage( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = execute( +): ChatContentMessage = execute( SendTextMessage( chatId = chatId, text = text, @@ -74,7 +74,7 @@ public suspend fun TelegramBot.sendTextMessage( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendMessage( +): ChatContentMessage = sendMessage( chatId = chatId, text = text, parseMode = parseMode, @@ -110,7 +110,7 @@ public suspend fun TelegramBot.sendTextMessage( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendTextMessage( +): ChatContentMessage = sendTextMessage( chatId = chat.id, text = text, parseMode = parseMode, @@ -147,7 +147,7 @@ public suspend fun TelegramBot.sendMessage( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendMessage( +): ChatContentMessage = sendMessage( chatId = chat.id, text = text, parseMode = parseMode, @@ -182,7 +182,7 @@ public suspend fun TelegramBot.sendMessage( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = execute( +): ChatContentMessage = execute( SendTextMessage( chatId = chatId, entities = entities, @@ -219,7 +219,7 @@ public suspend fun TelegramBot.sendMessage( replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null, builderBody: EntitiesBuilderBody -): ContentMessage = sendMessage( +): ChatContentMessage = sendMessage( chatId = chatId, entities = buildEntities(separator, builderBody), linkPreviewOptions = linkPreviewOptions, @@ -255,7 +255,7 @@ public suspend fun TelegramBot.sendMessage( replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null, builderBody: EntitiesBuilderBody -): ContentMessage = sendMessage( +): ChatContentMessage = sendMessage( chatId = chatId, entities = buildEntities(separator, builderBody), linkPreviewOptions = linkPreviewOptions, @@ -289,7 +289,7 @@ public suspend fun TelegramBot.sendTextMessage( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendMessage( +): ChatContentMessage = sendMessage( chatId = chatId, entities = entities, linkPreviewOptions = linkPreviewOptions, @@ -324,7 +324,7 @@ public suspend fun TelegramBot.sendTextMessage( replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null, builderBody: EntitiesBuilderBody -): ContentMessage = sendTextMessage( +): ChatContentMessage = sendTextMessage( chatId = chatId, entities = buildEntities(separator, builderBody), linkPreviewOptions = linkPreviewOptions, @@ -360,7 +360,7 @@ public suspend fun TelegramBot.sendTextMessage( replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null, builderBody: EntitiesBuilderBody -): ContentMessage = sendTextMessage( +): ChatContentMessage = sendTextMessage( chatId = chatId, entities = buildEntities(separator, builderBody), linkPreviewOptions = linkPreviewOptions, @@ -394,7 +394,7 @@ public suspend fun TelegramBot.sendMessage( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendMessage( +): ChatContentMessage = sendMessage( chatId = chat.id, entities = entities, linkPreviewOptions = linkPreviewOptions, @@ -429,7 +429,7 @@ public suspend fun TelegramBot.sendMessage( replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null, builderBody: EntitiesBuilderBody -): ContentMessage = sendMessage( +): ChatContentMessage = sendMessage( chat = chat, entities = buildEntities(separator, builderBody), linkPreviewOptions = linkPreviewOptions, @@ -465,7 +465,7 @@ public suspend fun TelegramBot.sendMessage( replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null, builderBody: EntitiesBuilderBody -): ContentMessage = sendMessage( +): ChatContentMessage = sendMessage( chat = chat, entities = buildEntities(separator, builderBody), linkPreviewOptions = linkPreviewOptions, @@ -500,7 +500,7 @@ public suspend fun TelegramBot.sendTextMessage( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendTextMessage( +): ChatContentMessage = sendTextMessage( chatId = chat.id, entities = entities, linkPreviewOptions = linkPreviewOptions, @@ -535,7 +535,7 @@ public suspend fun TelegramBot.sendTextMessage( replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null, builderBody: EntitiesBuilderBody -): ContentMessage = sendTextMessage( +): ChatContentMessage = sendTextMessage( chat = chat, entities = buildEntities(separator, builderBody), linkPreviewOptions = linkPreviewOptions, @@ -571,7 +571,7 @@ public suspend fun TelegramBot.sendTextMessage( replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null, builderBody: EntitiesBuilderBody -): ContentMessage = sendTextMessage( +): ChatContentMessage = sendTextMessage( chat = chat, entities = buildEntities(separator, builderBody), linkPreviewOptions = linkPreviewOptions, diff --git a/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/send/SendStaticLocation.kt b/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/send/SendStaticLocation.kt index dc25dc5208..9dd355f9eb 100644 --- a/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/send/SendStaticLocation.kt +++ b/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/send/SendStaticLocation.kt @@ -10,7 +10,7 @@ import dev.inmo.tgbotapi.types.buttons.KeyboardMarkup import dev.inmo.tgbotapi.types.chat.Chat import dev.inmo.tgbotapi.types.message.SuggestedPostParameters import dev.inmo.tgbotapi.types.location.Location -import dev.inmo.tgbotapi.types.message.abstracts.ContentMessage +import dev.inmo.tgbotapi.types.message.abstracts.ChatContentMessage import dev.inmo.tgbotapi.types.message.content.LocationContent import dev.inmo.tgbotapi.types.message.content.StaticLocationContent @@ -32,7 +32,7 @@ public suspend fun TelegramBot.sendLocation( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = execute( +): ChatContentMessage = execute( SendStaticLocation( chatId = chatId, latitude = latitude, @@ -67,7 +67,7 @@ public suspend fun TelegramBot.sendLocation( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendLocation( +): ChatContentMessage = sendLocation( chatId = chatId, latitude = location.latitude, longitude = location.longitude, @@ -101,7 +101,7 @@ public suspend fun TelegramBot.sendLocation( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendLocation( +): ChatContentMessage = sendLocation( chatId = chat.id, latitude = latitude, longitude = longitude, @@ -134,7 +134,7 @@ public suspend fun TelegramBot.sendLocation( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendLocation( +): ChatContentMessage = sendLocation( chatId = chat.id, latitude = location.latitude, longitude = location.longitude, @@ -168,7 +168,7 @@ public suspend fun TelegramBot.sendStaticLocation( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendLocation( +): ChatContentMessage = sendLocation( chatId = chatId, latitude = latitude, longitude = longitude, @@ -201,7 +201,7 @@ public suspend fun TelegramBot.sendStaticLocation( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendLocation( +): ChatContentMessage = sendLocation( chatId = chatId, latitude = location.latitude, longitude = location.longitude, @@ -235,7 +235,7 @@ public suspend fun TelegramBot.sendStaticLocation( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendLocation( +): ChatContentMessage = sendLocation( chatId = chat.id, latitude = latitude, longitude = longitude, @@ -268,7 +268,7 @@ public suspend fun TelegramBot.sendStaticLocation( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendLocation( +): ChatContentMessage = sendLocation( chatId = chat.id, latitude = location.latitude, longitude = location.longitude, diff --git a/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/send/SendVenue.kt b/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/send/SendVenue.kt index 77f7277b7c..447cd72a9c 100644 --- a/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/send/SendVenue.kt +++ b/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/send/SendVenue.kt @@ -10,7 +10,7 @@ import dev.inmo.tgbotapi.types.buttons.KeyboardMarkup import dev.inmo.tgbotapi.types.chat.Chat import dev.inmo.tgbotapi.types.message.SuggestedPostParameters import dev.inmo.tgbotapi.types.location.StaticLocation -import dev.inmo.tgbotapi.types.message.abstracts.ContentMessage +import dev.inmo.tgbotapi.types.message.abstracts.ChatContentMessage import dev.inmo.tgbotapi.types.message.content.VenueContent import dev.inmo.tgbotapi.types.venue.Venue @@ -38,7 +38,7 @@ public suspend fun TelegramBot.sendVenue( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = execute( +): ChatContentMessage = execute( SendVenue( chatId = chatId, latitude = latitude, @@ -86,7 +86,7 @@ public suspend fun TelegramBot.sendVenue( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendVenue( +): ChatContentMessage = sendVenue( chatId = chat.id, latitude = latitude, longitude = longitude, @@ -131,7 +131,7 @@ public suspend fun TelegramBot.sendVenue( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendVenue( +): ChatContentMessage = sendVenue( chatId = chatId, latitude = location.latitude, longitude = location.longitude, @@ -176,7 +176,7 @@ public suspend fun TelegramBot.sendVenue( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendVenue( +): ChatContentMessage = sendVenue( chatId = chat.id, latitude = location.latitude, longitude = location.longitude, @@ -215,7 +215,7 @@ public suspend fun TelegramBot.sendVenue( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = execute( +): ChatContentMessage = execute( SendVenue( chatId = chatId, venue = venue, @@ -249,7 +249,7 @@ public suspend fun TelegramBot.sendVenue( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendVenue( +): ChatContentMessage = sendVenue( chatId = chat.id, venue = venue, threadId = threadId, 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 58ae545c64..b098ff1237 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 @@ -26,7 +26,7 @@ import dev.inmo.tgbotapi.types.location.Location import dev.inmo.tgbotapi.types.location.StaticLocation import dev.inmo.tgbotapi.types.media.* import dev.inmo.tgbotapi.types.message.ParseMode -import dev.inmo.tgbotapi.types.message.abstracts.ContentMessage +import dev.inmo.tgbotapi.types.message.abstracts.ChatContentMessage import dev.inmo.tgbotapi.types.message.content.* import dev.inmo.tgbotapi.types.message.textsources.TextSource import dev.inmo.tgbotapi.types.message.textsources.TextSourcesList @@ -78,7 +78,7 @@ public suspend fun TelegramBot.send( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendAnimation( +): ChatContentMessage = sendAnimation( chatId = chatId, animation = animation, text = text, @@ -125,7 +125,7 @@ public suspend fun TelegramBot.send( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendAnimation( +): ChatContentMessage = sendAnimation( chat = chat, animation = animation, text = text, @@ -171,7 +171,7 @@ public suspend fun TelegramBot.send( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendAnimation( +): ChatContentMessage = sendAnimation( chatId = chatId, animation = animation, entities = entities, @@ -216,7 +216,7 @@ public suspend fun TelegramBot.send( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendAnimation( +): ChatContentMessage = sendAnimation( chat = chat, animation = animation, entities = entities, @@ -258,7 +258,7 @@ public suspend fun TelegramBot.send( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendAudio( +): ChatContentMessage = sendAudio( chatId = chatId, audio = audio, text = text, @@ -297,7 +297,7 @@ public suspend fun TelegramBot.send( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendAudio( +): ChatContentMessage = sendAudio( chat = chat, audio = audio, text = text, @@ -335,7 +335,7 @@ public suspend inline fun TelegramBot.send( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendAudio( +): ChatContentMessage = sendAudio( chatId = chatId, audio = audio, entities = entities, @@ -372,7 +372,7 @@ public suspend inline fun TelegramBot.send( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendAudio( +): ChatContentMessage = sendAudio( chat = chat, audio = audio, entities = entities, @@ -409,7 +409,7 @@ public suspend fun TelegramBot.send( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendContact( +): ChatContentMessage = sendContact( chatId = chatId, phoneNumber = phoneNumber, firstName = firstName, @@ -444,7 +444,7 @@ public suspend fun TelegramBot.send( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendContact( +): ChatContentMessage = sendContact( chatId = chatId, contact = contact, threadId = threadId, @@ -479,7 +479,7 @@ public suspend fun TelegramBot.send( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendContact( +): ChatContentMessage = sendContact( chat = chat, phoneNumber = phoneNumber, firstName = firstName, @@ -514,7 +514,7 @@ public suspend fun TelegramBot.send( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendContact( +): ChatContentMessage = sendContact( chat = chat, contact = contact, threadId = threadId, @@ -547,7 +547,7 @@ public suspend fun TelegramBot.send( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendDice( +): ChatContentMessage = sendDice( chatId = chatId, animationType = animationType, threadId = threadId, @@ -580,7 +580,7 @@ public suspend fun TelegramBot.send( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendDice( +): ChatContentMessage = sendDice( chat = chat, animationType = animationType, threadId = threadId, @@ -605,7 +605,7 @@ public suspend fun TelegramBot.send( effectId: EffectId? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = execute( +): ChatContentMessage = execute( SendChecklist( chatId = chatId, checklist = checklist, @@ -626,7 +626,7 @@ public suspend fun TelegramBot.send( effectId: EffectId? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = execute( +): ChatContentMessage = execute( SendChecklist( chatId = chatId, checklist = checklist, @@ -660,7 +660,7 @@ public suspend fun TelegramBot.send( replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null, disableContentTypeDetection: Boolean? = null -): ContentMessage = sendDocument( +): ChatContentMessage = sendDocument( chatId = chatId, document = document, text = text, @@ -699,7 +699,7 @@ public suspend fun TelegramBot.send( replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null, disableContentTypeDetection: Boolean? = null -): ContentMessage = sendDocument( +): ChatContentMessage = sendDocument( chat = chat, document = document, text = text, @@ -737,7 +737,7 @@ public suspend inline fun TelegramBot.send( replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null, disableContentTypeDetection: Boolean? = null -): ContentMessage = sendDocument( +): ChatContentMessage = sendDocument( chatId = chatId, document = document, entities = entities, @@ -774,7 +774,7 @@ public suspend inline fun TelegramBot.send( replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null, disableContentTypeDetection: Boolean? = null -): ContentMessage = sendDocument( +): ChatContentMessage = sendDocument( chat = chat, document = document, entities = entities, @@ -809,7 +809,7 @@ public suspend fun TelegramBot.send( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendGame( +): ChatContentMessage = sendGame( chatId = chatId, game = game, threadId = threadId, @@ -842,7 +842,7 @@ public suspend fun TelegramBot.send( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendGame( +): ChatContentMessage = sendGame( chat = chat, game = game, threadId = threadId, @@ -890,7 +890,7 @@ public suspend fun TelegramBot.send( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: InlineKeyboardMarkup? = null -): ContentMessage = sendInvoice( +): ChatContentMessage = sendInvoice( chatId = chatId, title = title, description = description, @@ -951,7 +951,7 @@ public suspend fun TelegramBot.send( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: InlineKeyboardMarkup? = null -): ContentMessage = sendInvoice( +): ChatContentMessage = sendInvoice( user = user, title = title, description = description, @@ -998,7 +998,7 @@ public suspend fun TelegramBot.send( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendStaticLocation( +): ChatContentMessage = sendStaticLocation( chatId = chatId, latitude = latitude, longitude = longitude, @@ -1032,7 +1032,7 @@ public suspend fun TelegramBot.send( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendStaticLocation( +): ChatContentMessage = sendStaticLocation( chatId = chatId, location = location, threadId = threadId, @@ -1066,7 +1066,7 @@ public suspend fun TelegramBot.send( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendStaticLocation( +): ChatContentMessage = sendStaticLocation( chat = chat, latitude = latitude, longitude = longitude, @@ -1100,7 +1100,7 @@ public suspend fun TelegramBot.send( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendStaticLocation( +): ChatContentMessage = sendStaticLocation( chat = chat, location = location, threadId = threadId, @@ -1135,7 +1135,7 @@ public suspend fun TelegramBot.send( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendTextMessage( +): ChatContentMessage = sendTextMessage( chatId = chatId, text = text, parseMode = parseMode, @@ -1172,7 +1172,7 @@ public suspend fun TelegramBot.send( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendTextMessage( +): ChatContentMessage = sendTextMessage( chat = chat, text = text, parseMode = parseMode, @@ -1208,7 +1208,7 @@ public suspend fun TelegramBot.send( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendTextMessage( +): ChatContentMessage = sendTextMessage( chatId = chatId, entities = entities, linkPreviewOptions = linkPreviewOptions, @@ -1243,7 +1243,7 @@ public suspend fun TelegramBot.send( replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null, builderBody: EntitiesBuilderBody -): ContentMessage = send( +): ChatContentMessage = send( chatId = chatId, entities = buildEntities(separator, builderBody), linkPreviewOptions = linkPreviewOptions, @@ -1279,7 +1279,7 @@ public suspend fun TelegramBot.send( replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null, builderBody: EntitiesBuilderBody -): ContentMessage = send( +): ChatContentMessage = send( chatId = chatId, entities = buildEntities(separator, builderBody), linkPreviewOptions = linkPreviewOptions, @@ -1315,7 +1315,7 @@ public suspend fun TelegramBot.send( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendTextMessage( +): ChatContentMessage = sendTextMessage( chat = chat, entities = entities, linkPreviewOptions = linkPreviewOptions, @@ -1482,7 +1482,7 @@ public suspend fun TelegramBot.send( replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null, builderBody: EntitiesBuilderBody -): ContentMessage = send( +): ChatContentMessage = send( chat = chat, entities = buildEntities(separator, builderBody), linkPreviewOptions = linkPreviewOptions, @@ -1518,7 +1518,7 @@ public suspend fun TelegramBot.send( replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null, builderBody: EntitiesBuilderBody -): ContentMessage = send( +): ChatContentMessage = send( chat = chat, entities = buildEntities(separator, builderBody), linkPreviewOptions = linkPreviewOptions, @@ -1556,7 +1556,7 @@ public suspend fun TelegramBot.send( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendPhoto( +): ChatContentMessage = sendPhoto( chatId = chatId, photo = photo, text = text, @@ -1597,7 +1597,7 @@ public suspend fun TelegramBot.send( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendPaidMedia( +): ChatContentMessage = sendPaidMedia( chat = chat, starCount = starCount, media = media, @@ -1638,7 +1638,7 @@ public suspend fun TelegramBot.send( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendPaidMedia( +): ChatContentMessage = sendPaidMedia( chatId = chatId, starCount = starCount, media = media, @@ -1678,7 +1678,7 @@ public suspend fun TelegramBot.send( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendPaidMedia( +): ChatContentMessage = sendPaidMedia( chat = chat, starCount = starCount, media = media, @@ -1717,7 +1717,7 @@ public suspend fun TelegramBot.send( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendPaidMedia( +): ChatContentMessage = sendPaidMedia( chatId = chatId, starCount = starCount, media = media, @@ -1757,7 +1757,7 @@ public suspend fun TelegramBot.send( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendPhoto( +): ChatContentMessage = sendPhoto( chat = chat, photo = photo, text = text, @@ -1798,7 +1798,7 @@ public suspend fun TelegramBot.send( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendPhoto( +): ChatContentMessage = sendPhoto( chatId = chatId, photoSize = photoSize, text = text, @@ -1839,7 +1839,7 @@ public suspend fun TelegramBot.send( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendPhoto( +): ChatContentMessage = sendPhoto( chat = chat, photoSize = photoSize, text = text, @@ -1879,7 +1879,7 @@ public suspend inline fun TelegramBot.send( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendPhoto( +): ChatContentMessage = sendPhoto( chatId = chatId, photo = photo, entities = entities, @@ -1918,7 +1918,7 @@ public suspend inline fun TelegramBot.send( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendPhoto( +): ChatContentMessage = sendPhoto( chat = chat, photo = photo, entities = entities, @@ -1957,7 +1957,7 @@ public suspend inline fun TelegramBot.send( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendPhoto( +): ChatContentMessage = sendPhoto( chatId = chatId, photoSize = photoSize, entities = entities, @@ -1996,7 +1996,7 @@ public suspend inline fun TelegramBot.send( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendPhoto( +): ChatContentMessage = sendPhoto( chat = chat, photoSize = photoSize, entities = entities, @@ -2038,7 +2038,7 @@ public suspend fun TelegramBot.send( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendRegularPoll( +): ChatContentMessage = sendRegularPoll( chatId = chatId, question = question, options = options, @@ -2082,7 +2082,7 @@ public suspend fun TelegramBot.send( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendRegularPoll( +): ChatContentMessage = sendRegularPoll( chatId = chatId, questionEntities = questionTextSources, options = options, @@ -2127,7 +2127,7 @@ public suspend fun TelegramBot.send( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendRegularPoll( +): ChatContentMessage = sendRegularPoll( chatId = chatId, question = question, options = options, @@ -2172,7 +2172,7 @@ public suspend fun TelegramBot.send( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendRegularPoll( +): ChatContentMessage = sendRegularPoll( chatId = chatId, questionEntities = questionTextSources, options = options, @@ -2216,7 +2216,7 @@ public suspend fun TelegramBot.send( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendRegularPoll( +): ChatContentMessage = sendRegularPoll( chatId = chat.id, question = question, options = options, @@ -2262,7 +2262,7 @@ public suspend fun TelegramBot.send( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendRegularPoll( +): ChatContentMessage = sendRegularPoll( chatId = chat.id, question = question, options = options, @@ -2307,7 +2307,7 @@ public suspend fun TelegramBot.send( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendRegularPoll( +): ChatContentMessage = sendRegularPoll( chatId = chat.id, questionEntities = questionTextSources, options = options, @@ -2355,7 +2355,7 @@ public suspend fun TelegramBot.send( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendQuizPoll( +): ChatContentMessage = sendQuizPoll( chatId = chatId, question = question, options = options, @@ -2408,7 +2408,7 @@ public suspend fun TelegramBot.send( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendQuizPoll( +): ChatContentMessage = sendQuizPoll( chatId = chat.id, question = question, options = options, @@ -2462,7 +2462,7 @@ public suspend fun TelegramBot.send( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendQuizPoll( +): ChatContentMessage = sendQuizPoll( chatId = chatId, question = question, options = options, @@ -2516,7 +2516,7 @@ public suspend fun TelegramBot.send( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendQuizPoll( +): ChatContentMessage = sendQuizPoll( chatId = chat.id, question = question, options = options, @@ -2568,7 +2568,7 @@ public suspend fun TelegramBot.send( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendQuizPoll( +): ChatContentMessage = sendQuizPoll( chatId = chatId, questionEntities = questionTextSources, options = options, @@ -2619,7 +2619,7 @@ public suspend fun TelegramBot.send( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendQuizPoll( +): ChatContentMessage = sendQuizPoll( chatId = chat.id, questionEntities = questionTextSources, options = options, @@ -2671,7 +2671,7 @@ public suspend fun TelegramBot.send( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendQuizPoll( +): ChatContentMessage = sendQuizPoll( chatId = chatId, questionEntities = questionTextSources, options = options, @@ -2723,7 +2723,7 @@ public suspend fun TelegramBot.send( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendQuizPoll( +): ChatContentMessage = sendQuizPoll( chatId = chat.id, questionEntities = questionTextSources, options = options, @@ -2774,7 +2774,7 @@ public suspend fun TelegramBot.send( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendQuizPoll( +): ChatContentMessage = sendQuizPoll( chatId = chatId, question = question, options = options, @@ -2825,7 +2825,7 @@ public suspend fun TelegramBot.send( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendQuizPoll( +): ChatContentMessage = sendQuizPoll( chatId = chat.id, question = question, options = options, @@ -2877,7 +2877,7 @@ public suspend fun TelegramBot.send( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendQuizPoll( +): ChatContentMessage = sendQuizPoll( chatId = chatId, question = question, options = options, @@ -2929,7 +2929,7 @@ public suspend fun TelegramBot.send( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendQuizPoll( +): ChatContentMessage = sendQuizPoll( chatId = chat.id, question = question, options = options, @@ -2979,7 +2979,7 @@ public suspend fun TelegramBot.send( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendQuizPoll( +): ChatContentMessage = sendQuizPoll( chatId = chatId, questionEntities = questionTextSources, options = options, @@ -3028,7 +3028,7 @@ public suspend fun TelegramBot.send( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendQuizPoll( +): ChatContentMessage = sendQuizPoll( chatId = chat.id, questionEntities = questionTextSources, options = options, @@ -3078,7 +3078,7 @@ public suspend fun TelegramBot.send( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendQuizPoll( +): ChatContentMessage = sendQuizPoll( chatId = chatId, questionEntities = questionTextSources, options = options, @@ -3128,7 +3128,7 @@ public suspend fun TelegramBot.send( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendQuizPoll( +): ChatContentMessage = sendQuizPoll( chatId = chat.id, questionEntities = questionTextSources, options = options, @@ -3170,7 +3170,7 @@ public suspend fun TelegramBot.send( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendSticker( +): ChatContentMessage = sendSticker( chatId = chatId, sticker = sticker, threadId = threadId, @@ -3205,7 +3205,7 @@ public suspend fun TelegramBot.send( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendSticker( +): ChatContentMessage = sendSticker( chat = chat, sticker = sticker, threadId = threadId, @@ -3245,7 +3245,7 @@ public suspend fun TelegramBot.send( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendLiveLocation( +): ChatContentMessage = sendLiveLocation( chatId = chatId, latitude = latitude, longitude = longitude, @@ -3287,7 +3287,7 @@ public suspend fun TelegramBot.send( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendLiveLocation( +): ChatContentMessage = sendLiveLocation( chatId = chatId, location = location, livePeriod = livePeriod, @@ -3329,7 +3329,7 @@ public suspend fun TelegramBot.send( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendLiveLocation( +): ChatContentMessage = sendLiveLocation( chat = chat, latitude = latitude, longitude = longitude, @@ -3371,7 +3371,7 @@ public suspend fun TelegramBot.send( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendLiveLocation( +): ChatContentMessage = sendLiveLocation( chat = chat, location = location, livePeriod = livePeriod, @@ -3415,7 +3415,7 @@ public suspend fun TelegramBot.send( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendVenue( +): ChatContentMessage = sendVenue( chatId = chatId, latitude = latitude, longitude = longitude, @@ -3462,7 +3462,7 @@ public suspend fun TelegramBot.send( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendVenue( +): ChatContentMessage = sendVenue( chat = chat, latitude = latitude, longitude = longitude, @@ -3508,7 +3508,7 @@ public suspend fun TelegramBot.send( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendVenue( +): ChatContentMessage = sendVenue( chatId = chatId, location = location, title = title, @@ -3553,7 +3553,7 @@ public suspend fun TelegramBot.send( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendVenue( +): ChatContentMessage = sendVenue( chat = chat, location = location, title = title, @@ -3592,7 +3592,7 @@ public suspend fun TelegramBot.send( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendVenue( +): ChatContentMessage = sendVenue( chatId = chatId, venue = venue, threadId = threadId, @@ -3625,7 +3625,7 @@ public suspend fun TelegramBot.send( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendVenue( +): ChatContentMessage = sendVenue( chat = chat, venue = venue, threadId = threadId, @@ -3663,7 +3663,7 @@ public suspend fun TelegramBot.send( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendVideo( +): ChatContentMessage = sendVideo( chatId = chatId, video = video, text = text, @@ -3706,7 +3706,7 @@ public suspend fun TelegramBot.send( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendVideo( +): ChatContentMessage = sendVideo( chat = chat, video = video, text = text, @@ -3748,7 +3748,7 @@ public suspend inline fun TelegramBot.send( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendVideo( +): ChatContentMessage = sendVideo( chatId = chatId, video = video, entities = entities, @@ -3789,7 +3789,7 @@ public suspend inline fun TelegramBot.send( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendVideo( +): ChatContentMessage = sendVideo( chat = chat, video = video, entities = entities, @@ -3830,7 +3830,7 @@ public suspend fun TelegramBot.send( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendLivePhoto( +): ChatContentMessage = sendLivePhoto( chatId = chatId, livePhoto = livePhoto, text = text, @@ -3871,7 +3871,7 @@ public suspend fun TelegramBot.send( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendLivePhoto( +): ChatContentMessage = sendLivePhoto( chat = chat, livePhoto = livePhoto, text = text, @@ -3911,7 +3911,7 @@ public suspend inline fun TelegramBot.send( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendLivePhoto( +): ChatContentMessage = sendLivePhoto( chatId = chatId, livePhoto = livePhoto, entities = entities, @@ -3950,7 +3950,7 @@ public suspend inline fun TelegramBot.send( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendLivePhoto( +): ChatContentMessage = sendLivePhoto( chat = chat, livePhoto = livePhoto, entities = entities, @@ -3986,7 +3986,7 @@ public suspend fun TelegramBot.send( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendVideoNote( +): ChatContentMessage = sendVideoNote( chatId = chatId, videoNote = videoNote, threadId = threadId, @@ -4019,7 +4019,7 @@ public suspend fun TelegramBot.send( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendVideoNote( +): ChatContentMessage = sendVideoNote( chat = chat, videoNote = videoNote, threadId = threadId, @@ -4054,7 +4054,7 @@ public suspend fun TelegramBot.send( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendVoice( +): ChatContentMessage = sendVoice( chatId = chatId, voice = voice, text = text, @@ -4091,7 +4091,7 @@ public suspend fun TelegramBot.send( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendVoice( +): ChatContentMessage = sendVoice( chat = chat, voice = voice, text = text, @@ -4127,7 +4127,7 @@ public suspend inline fun TelegramBot.send( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendVoice( +): ChatContentMessage = sendVoice( chatId = chatId, voice = voice, entities = entities, @@ -4162,7 +4162,7 @@ public suspend inline fun TelegramBot.send( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendVoice( +): ChatContentMessage = sendVoice( chat = chat, voice = voice, entities = entities, @@ -4195,7 +4195,7 @@ public suspend fun TelegramBot.send( effectId: EffectId? = null, suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null -): ContentMessage> = sendMediaGroup( +): ChatContentMessage> = sendMediaGroup( chatId = chatId, media = media, threadId = threadId, @@ -4226,7 +4226,7 @@ public suspend fun TelegramBot.send( effectId: EffectId? = null, suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null -): ContentMessage> = sendMediaGroup( +): ChatContentMessage> = sendMediaGroup( chat = chat, media = media, threadId = threadId, @@ -4257,7 +4257,7 @@ public suspend fun TelegramBot.send( effectId: EffectId? = null, suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null -): ContentMessage> = sendMediaGroup( +): ChatContentMessage> = sendMediaGroup( chatId = chatId, media = media, threadId = threadId, @@ -4288,7 +4288,7 @@ public suspend fun TelegramBot.send( effectId: EffectId? = null, suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null -): ContentMessage> = sendMediaGroup( +): ChatContentMessage> = sendMediaGroup( chat = chat, media = media, threadId = threadId, @@ -4318,7 +4318,7 @@ public suspend fun TelegramBot.send( effectId: EffectId? = null, suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null -): ContentMessage> = sendPlaylist( +): ChatContentMessage> = sendPlaylist( chatId = chatId, media = media, threadId = threadId, @@ -4348,7 +4348,7 @@ public suspend fun TelegramBot.send( effectId: EffectId? = null, suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null -): ContentMessage> = sendPlaylist( +): ChatContentMessage> = sendPlaylist( chat = chat, media = media, threadId = threadId, @@ -4378,7 +4378,7 @@ public suspend fun TelegramBot.send( effectId: EffectId? = null, suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null -): ContentMessage> = sendPlaylist( +): ChatContentMessage> = sendPlaylist( chatId = chatId, media = media, threadId = threadId, @@ -4408,7 +4408,7 @@ public suspend fun TelegramBot.send( effectId: EffectId? = null, suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null -): ContentMessage> = sendPlaylist( +): ChatContentMessage> = sendPlaylist( chat = chat, media = media, threadId = threadId, @@ -4438,7 +4438,7 @@ public suspend fun TelegramBot.send( effectId: EffectId? = null, suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null -): ContentMessage> = sendDocumentsGroup( +): ChatContentMessage> = sendDocumentsGroup( chatId = chatId, media = media, threadId = threadId, @@ -4468,7 +4468,7 @@ public suspend fun TelegramBot.send( effectId: EffectId? = null, suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null -): ContentMessage> = sendDocumentsGroup( +): ChatContentMessage> = sendDocumentsGroup( chat = chat, media = media, threadId = threadId, @@ -4498,7 +4498,7 @@ public suspend fun TelegramBot.send( effectId: EffectId? = null, suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null -): ContentMessage> = sendDocumentsGroup( +): ChatContentMessage> = sendDocumentsGroup( chatId = chatId, media = media, threadId = threadId, @@ -4528,7 +4528,7 @@ public suspend fun TelegramBot.send( effectId: EffectId? = null, suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null -): ContentMessage> = sendDocumentsGroup( +): ChatContentMessage> = sendDocumentsGroup( chat = chat, media = media, threadId = threadId, @@ -4558,7 +4558,7 @@ public suspend fun TelegramBot.send( effectId: EffectId? = null, suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null -): ContentMessage> = sendVisualMediaGroup( +): ChatContentMessage> = sendVisualMediaGroup( chatId = chatId, media = media, threadId = threadId, @@ -4588,7 +4588,7 @@ public suspend fun TelegramBot.send( effectId: EffectId? = null, suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null -): ContentMessage> = sendVisualMediaGroup( +): ChatContentMessage> = sendVisualMediaGroup( chat = chat, media = media, threadId = threadId, @@ -4618,7 +4618,7 @@ public suspend fun TelegramBot.send( effectId: EffectId? = null, suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null -): ContentMessage> = sendVisualMediaGroup( +): ChatContentMessage> = sendVisualMediaGroup( chatId = chatId, media = media, threadId = threadId, @@ -4648,7 +4648,7 @@ public suspend fun TelegramBot.send( effectId: EffectId? = null, suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null -): ContentMessage> = sendVisualMediaGroup( +): ChatContentMessage> = sendVisualMediaGroup( chat = chat, media = media, threadId = threadId, diff --git a/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/send/games/SendGame.kt b/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/send/games/SendGame.kt index 045720c19c..b0dc3b2823 100644 --- a/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/send/games/SendGame.kt +++ b/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/send/games/SendGame.kt @@ -8,7 +8,7 @@ import dev.inmo.tgbotapi.types.buttons.KeyboardMarkup import dev.inmo.tgbotapi.types.chat.Chat import dev.inmo.tgbotapi.types.message.SuggestedPostParameters import dev.inmo.tgbotapi.types.games.Game -import dev.inmo.tgbotapi.types.message.abstracts.ContentMessage +import dev.inmo.tgbotapi.types.message.abstracts.ChatContentMessage import dev.inmo.tgbotapi.types.message.content.GameContent /** @@ -28,7 +28,7 @@ public suspend fun TelegramBot.sendGame( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = execute( +): ChatContentMessage = execute( SendGame( chatId = chatId, gameShortName = gameShortName, @@ -62,7 +62,7 @@ public suspend fun TelegramBot.sendGame( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendGame( +): ChatContentMessage = sendGame( chatId = chat.id, gameShortName = gameShortName, threadId = threadId, @@ -94,7 +94,7 @@ public suspend fun TelegramBot.sendGame( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendGame( +): ChatContentMessage = sendGame( chatId = chatId, gameShortName = game.title, threadId = threadId, @@ -126,7 +126,7 @@ public suspend fun TelegramBot.sendGame( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendGame( +): ChatContentMessage = sendGame( chatId = chat.id, gameShortName = game.title, threadId = threadId, diff --git a/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/send/media/SendAnimation.kt b/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/send/media/SendAnimation.kt index dc039bff29..8d54a27218 100644 --- a/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/send/media/SendAnimation.kt +++ b/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/send/media/SendAnimation.kt @@ -13,7 +13,7 @@ import dev.inmo.tgbotapi.types.message.SuggestedPostParameters import dev.inmo.tgbotapi.types.buttons.KeyboardMarkup import dev.inmo.tgbotapi.types.chat.Chat import dev.inmo.tgbotapi.types.files.AnimationFile -import dev.inmo.tgbotapi.types.message.abstracts.ContentMessage +import dev.inmo.tgbotapi.types.message.abstracts.ChatContentMessage import dev.inmo.tgbotapi.types.message.content.AnimationContent /** @@ -41,7 +41,7 @@ public suspend fun TelegramBot.sendAnimation( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = execute( +): ChatContentMessage = execute( SendAnimation( chatId = chatId, animation = animation, @@ -90,7 +90,7 @@ public suspend fun TelegramBot.sendAnimation( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendAnimation( +): ChatContentMessage = sendAnimation( chatId = chatId, animation = animation.fileId, thumb = animation.thumbnail ?.fileId, @@ -138,7 +138,7 @@ public suspend fun TelegramBot.sendAnimation( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendAnimation( +): ChatContentMessage = sendAnimation( chatId = chat.id, animation = animation, thumb = thumb, @@ -185,7 +185,7 @@ public suspend fun TelegramBot.sendAnimation( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendAnimation( +): ChatContentMessage = sendAnimation( chatId = chat.id, animation = animation, text = text, @@ -232,7 +232,7 @@ public suspend fun TelegramBot.sendAnimation( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = execute( +): ChatContentMessage = execute( SendAnimation( chatId = chatId, animation = animation, @@ -279,7 +279,7 @@ public suspend fun TelegramBot.sendAnimation( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendAnimation( +): ChatContentMessage = sendAnimation( chatId = chatId, animation = animation.fileId, thumb = animation.thumbnail ?.fileId, @@ -325,7 +325,7 @@ public suspend fun TelegramBot.sendAnimation( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendAnimation( +): ChatContentMessage = sendAnimation( chatId = chat.id, animation = animation, thumb = thumb, @@ -370,7 +370,7 @@ public suspend fun TelegramBot.sendAnimation( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendAnimation( +): ChatContentMessage = sendAnimation( chatId = chat.id, animation = animation, entities = entities, diff --git a/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/send/media/SendAudio.kt b/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/send/media/SendAudio.kt index 4933070cb8..153105152f 100644 --- a/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/send/media/SendAudio.kt +++ b/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/send/media/SendAudio.kt @@ -11,7 +11,7 @@ import dev.inmo.tgbotapi.types.message.SuggestedPostParameters import dev.inmo.tgbotapi.types.buttons.KeyboardMarkup import dev.inmo.tgbotapi.types.chat.Chat import dev.inmo.tgbotapi.types.files.AudioFile -import dev.inmo.tgbotapi.types.message.abstracts.ContentMessage +import dev.inmo.tgbotapi.types.message.abstracts.ChatContentMessage import dev.inmo.tgbotapi.types.message.content.AudioContent /** @@ -37,7 +37,7 @@ public suspend fun TelegramBot.sendAudio( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = execute( +): ChatContentMessage = execute( SendAudio( chatId = chatId, audio = audio, @@ -83,7 +83,7 @@ public suspend fun TelegramBot.sendAudio( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendAudio( +): ChatContentMessage = sendAudio( chatId = chat.id, audio = audio, thumb = thumb, @@ -124,7 +124,7 @@ public suspend fun TelegramBot.sendAudio( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendAudio( +): ChatContentMessage = sendAudio( chatId = chatId, audio = audio.fileId, thumb = audio.thumbnail ?.fileId, @@ -165,7 +165,7 @@ public suspend fun TelegramBot.sendAudio( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendAudio( +): ChatContentMessage = sendAudio( chatId = chat.id, audio = audio, text = text, @@ -206,7 +206,7 @@ public suspend inline fun TelegramBot.sendAudio( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = execute( +): ChatContentMessage = execute( SendAudio( chatId = chatId, audio = audio, @@ -250,7 +250,7 @@ public suspend inline fun TelegramBot.sendAudio( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendAudio( +): ChatContentMessage = sendAudio( chatId = chat.id, audio = audio, thumb = thumb, @@ -289,7 +289,7 @@ public suspend inline fun TelegramBot.sendAudio( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendAudio( +): ChatContentMessage = sendAudio( chatId = chatId, audio = audio.fileId, thumb = audio.thumbnail ?.fileId, @@ -328,7 +328,7 @@ public suspend inline fun TelegramBot.sendAudio( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendAudio( +): ChatContentMessage = sendAudio( chatId = chat.id, audio = audio, entities = entities, diff --git a/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/send/media/SendDocument.kt b/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/send/media/SendDocument.kt index 34fcab9c08..d5e201f4d9 100644 --- a/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/send/media/SendDocument.kt +++ b/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/send/media/SendDocument.kt @@ -11,7 +11,7 @@ import dev.inmo.tgbotapi.types.message.SuggestedPostParameters import dev.inmo.tgbotapi.types.buttons.KeyboardMarkup import dev.inmo.tgbotapi.types.chat.Chat import dev.inmo.tgbotapi.types.files.DocumentFile -import dev.inmo.tgbotapi.types.message.abstracts.ContentMessage +import dev.inmo.tgbotapi.types.message.abstracts.ChatContentMessage import dev.inmo.tgbotapi.types.message.content.DocumentContent /** @@ -35,7 +35,7 @@ public suspend fun TelegramBot.sendDocument( replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null, disableContentTypeDetection: Boolean? = null -): ContentMessage = execute( +): ChatContentMessage = execute( SendDocument( chatId = chatId, document = document, @@ -77,7 +77,7 @@ public suspend fun TelegramBot.sendDocument( replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null, disableContentTypeDetection: Boolean? = null -): ContentMessage = sendDocument( +): ChatContentMessage = sendDocument( chatId = chat.id, document = document, thumb = thumb, @@ -116,7 +116,7 @@ public suspend fun TelegramBot.sendDocument( replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null, disableContentTypeDetection: Boolean? = null -): ContentMessage = sendDocument( +): ChatContentMessage = sendDocument( chatId = chatId, document = document.fileId, thumb = document.thumbnail ?.fileId, @@ -155,7 +155,7 @@ public suspend fun TelegramBot.sendDocument( replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null, disableContentTypeDetection: Boolean? = null -): ContentMessage = sendDocument( +): ChatContentMessage = sendDocument( chatId = chat.id, document = document, text = text, @@ -193,7 +193,7 @@ public suspend inline fun TelegramBot.sendDocument( replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null, disableContentTypeDetection: Boolean? = null -): ContentMessage = execute( +): ChatContentMessage = execute( SendDocument( chatId = chatId, document = document, @@ -233,7 +233,7 @@ public suspend inline fun TelegramBot.sendDocument( replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null, disableContentTypeDetection: Boolean? = null -): ContentMessage = sendDocument( +): ChatContentMessage = sendDocument( chatId = chat.id, document = document, thumb = thumb, @@ -270,7 +270,7 @@ public suspend inline fun TelegramBot.sendDocument( replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null, disableContentTypeDetection: Boolean? = null -): ContentMessage = sendDocument( +): ChatContentMessage = sendDocument( chatId = chatId, document = document.fileId, thumb = document.thumbnail ?.fileId, @@ -307,7 +307,7 @@ public suspend inline fun TelegramBot.sendDocument( replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null, disableContentTypeDetection: Boolean? = null -): ContentMessage = sendDocument( +): ChatContentMessage = sendDocument( chatId = chat.id, document = document, entities = entities, diff --git a/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/send/media/SendLivePhoto.kt b/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/send/media/SendLivePhoto.kt index 442e7ddc7e..af1c384564 100644 --- a/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/send/media/SendLivePhoto.kt +++ b/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/send/media/SendLivePhoto.kt @@ -13,7 +13,7 @@ import dev.inmo.tgbotapi.types.message.SuggestedPostParameters import dev.inmo.tgbotapi.types.buttons.KeyboardMarkup import dev.inmo.tgbotapi.types.chat.Chat import dev.inmo.tgbotapi.types.files.LivePhotoFile -import dev.inmo.tgbotapi.types.message.abstracts.ContentMessage +import dev.inmo.tgbotapi.types.message.abstracts.ChatContentMessage import dev.inmo.tgbotapi.types.message.content.LivePhotoContent /** @@ -38,7 +38,7 @@ public suspend fun TelegramBot.sendLivePhoto( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = execute( +): ChatContentMessage = execute( SendLivePhoto( chatId = chatId, livePhoto = livePhoto, @@ -81,7 +81,7 @@ public suspend fun TelegramBot.sendLivePhoto( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendLivePhoto( +): ChatContentMessage = sendLivePhoto( chatId = chatId, livePhoto = livePhoto.fileId, photo = livePhoto.photo ?.fileId ?: livePhoto.fileId, @@ -123,7 +123,7 @@ public suspend fun TelegramBot.sendLivePhoto( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendLivePhoto( +): ChatContentMessage = sendLivePhoto( chatId = chat.id, livePhoto = livePhoto, photo = photo, @@ -164,7 +164,7 @@ public suspend fun TelegramBot.sendLivePhoto( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendLivePhoto( +): ChatContentMessage = sendLivePhoto( chatId = chat.id, livePhoto = livePhoto, text = text, @@ -204,7 +204,7 @@ public suspend inline fun TelegramBot.sendLivePhoto( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = execute( +): ChatContentMessage = execute( SendLivePhoto( chatId = chatId, livePhoto = livePhoto, @@ -245,7 +245,7 @@ public suspend inline fun TelegramBot.sendLivePhoto( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendLivePhoto( +): ChatContentMessage = sendLivePhoto( chatId = chatId, livePhoto = livePhoto.fileId, photo = livePhoto.photo ?.fileId ?: livePhoto.fileId, @@ -285,7 +285,7 @@ public suspend inline fun TelegramBot.sendLivePhoto( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendLivePhoto( +): ChatContentMessage = sendLivePhoto( chatId = chat.id, livePhoto = livePhoto, photo = photo, @@ -324,7 +324,7 @@ public suspend inline fun TelegramBot.sendLivePhoto( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendLivePhoto( +): ChatContentMessage = sendLivePhoto( chatId = chat.id, livePhoto = livePhoto, entities = entities, diff --git a/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/send/media/SendMediaGroup.kt b/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/send/media/SendMediaGroup.kt index 90aff2202d..50c0c13703 100644 --- a/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/send/media/SendMediaGroup.kt +++ b/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/send/media/SendMediaGroup.kt @@ -6,7 +6,7 @@ import dev.inmo.tgbotapi.types.* import dev.inmo.tgbotapi.types.business_connection.BusinessConnectionId import dev.inmo.tgbotapi.types.media.* import dev.inmo.tgbotapi.types.chat.Chat -import dev.inmo.tgbotapi.types.message.abstracts.ContentMessage +import dev.inmo.tgbotapi.types.message.abstracts.ChatContentMessage import dev.inmo.tgbotapi.types.message.content.* import dev.inmo.tgbotapi.types.message.SuggestedPostParameters import dev.inmo.tgbotapi.utils.RiskFeature @@ -28,7 +28,7 @@ public suspend fun TelegramBot.sendMediaGroup( effectId: EffectId? = null, suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null -): ContentMessage> = execute( +): ChatContentMessage> = execute( SendMediaGroup( chatId = chatId, media = media, @@ -60,7 +60,7 @@ public suspend fun TelegramBot.sendMediaGroup( effectId: EffectId? = null, suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null -): ContentMessage> = sendMediaGroup( +): ChatContentMessage> = sendMediaGroup( chatId = chat.id, media = media, threadId = threadId, @@ -91,7 +91,7 @@ public suspend fun TelegramBot.sendMediaGroup( effectId: EffectId? = null, suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null -): ContentMessage> = sendMediaGroup( +): ChatContentMessage> = sendMediaGroup( chatId = chatId, media = media.map { it.toMediaGroupMemberTelegramMedia() }, threadId = threadId, @@ -122,7 +122,7 @@ public suspend fun TelegramBot.sendMediaGroup( effectId: EffectId? = null, suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null -): ContentMessage> = sendMediaGroup( +): ChatContentMessage> = sendMediaGroup( chatId = chat.id, media = media, threadId = threadId, @@ -151,7 +151,7 @@ public suspend fun TelegramBot.sendPlaylist( effectId: EffectId? = null, suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null -): ContentMessage> = execute( +): ChatContentMessage> = execute( SendPlaylist( chatId = chatId, media = media, @@ -182,7 +182,7 @@ public suspend fun TelegramBot.sendPlaylist( effectId: EffectId? = null, suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null -): ContentMessage> = sendPlaylist( +): ChatContentMessage> = sendPlaylist( chatId = chat.id, media = media, threadId = threadId, @@ -212,7 +212,7 @@ public suspend fun TelegramBot.sendPlaylist( effectId: EffectId? = null, suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null -): ContentMessage> = sendPlaylist( +): ChatContentMessage> = sendPlaylist( chatId = chatId, media = media.map { it.toMediaGroupMemberTelegramMedia() }, threadId = threadId, @@ -242,7 +242,7 @@ public suspend fun TelegramBot.sendPlaylist( effectId: EffectId? = null, suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null -): ContentMessage> = sendPlaylist( +): ChatContentMessage> = sendPlaylist( chatId = chat.id, media = media, threadId = threadId, @@ -271,7 +271,7 @@ public suspend fun TelegramBot.sendDocumentsGroup( effectId: EffectId? = null, suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null -): ContentMessage> = execute( +): ChatContentMessage> = execute( SendDocumentsGroup( chatId = chatId, media = media, @@ -302,7 +302,7 @@ public suspend fun TelegramBot.sendDocumentsGroup( effectId: EffectId? = null, suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null -): ContentMessage> = sendDocumentsGroup( +): ChatContentMessage> = sendDocumentsGroup( chatId = chat.id, media = media, threadId = threadId, @@ -332,7 +332,7 @@ public suspend fun TelegramBot.sendDocumentsGroup( effectId: EffectId? = null, suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null -): ContentMessage> = sendDocumentsGroup( +): ChatContentMessage> = sendDocumentsGroup( chatId = chatId, media = media.map { it.toMediaGroupMemberTelegramMedia() }, threadId = threadId, @@ -362,7 +362,7 @@ public suspend fun TelegramBot.sendDocumentsGroup( effectId: EffectId? = null, suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null -): ContentMessage> = sendDocumentsGroup( +): ChatContentMessage> = sendDocumentsGroup( chatId = chat.id, media = media, threadId = threadId, @@ -391,7 +391,7 @@ public suspend fun TelegramBot.sendVisualMediaGroup( effectId: EffectId? = null, suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null -): ContentMessage> = execute( +): ChatContentMessage> = execute( SendVisualMediaGroup( chatId = chatId, media = media, @@ -422,7 +422,7 @@ public suspend fun TelegramBot.sendVisualMediaGroup( effectId: EffectId? = null, suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null -): ContentMessage> = sendVisualMediaGroup( +): ChatContentMessage> = sendVisualMediaGroup( chatId = chat.id, media = media, threadId = threadId, @@ -452,7 +452,7 @@ public suspend fun TelegramBot.sendVisualMediaGroup( effectId: EffectId? = null, suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null -): ContentMessage> = sendVisualMediaGroup( +): ChatContentMessage> = sendVisualMediaGroup( chatId = chatId, media = media.map { it.toMediaGroupMemberTelegramMedia() }, threadId = threadId, @@ -482,7 +482,7 @@ public suspend fun TelegramBot.sendVisualMediaGroup( effectId: EffectId? = null, suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null -): ContentMessage> = sendVisualMediaGroup( +): ChatContentMessage> = sendVisualMediaGroup( chatId = chat.id, media = media, threadId = threadId, diff --git a/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/send/media/SendPaidMedia.kt b/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/send/media/SendPaidMedia.kt index 44aab6e9e2..60d386f60d 100644 --- a/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/send/media/SendPaidMedia.kt +++ b/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/send/media/SendPaidMedia.kt @@ -12,7 +12,7 @@ import dev.inmo.tgbotapi.types.message.SuggestedPostParameters import dev.inmo.tgbotapi.types.buttons.KeyboardMarkup import dev.inmo.tgbotapi.types.chat.Chat import dev.inmo.tgbotapi.types.media.TelegramPaidMedia -import dev.inmo.tgbotapi.types.message.abstracts.ContentMessage +import dev.inmo.tgbotapi.types.message.abstracts.ChatContentMessage import dev.inmo.tgbotapi.types.message.content.PaidMediaInfoContent /** @@ -36,7 +36,7 @@ public suspend fun TelegramBot.sendPaidMedia( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = execute( +): ChatContentMessage = execute( SendPaidMedia( chatId = chatId, starCount = starCount, @@ -78,7 +78,7 @@ public suspend fun TelegramBot.sendPaidMedia( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendPaidMedia( +): ChatContentMessage = sendPaidMedia( chatId = chat.id, starCount = starCount, media = media, @@ -118,7 +118,7 @@ public suspend inline fun TelegramBot.sendPaidMedia( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = execute( +): ChatContentMessage = execute( SendPaidMedia( chatId = chatId, starCount = starCount, @@ -158,7 +158,7 @@ public suspend inline fun TelegramBot.sendPaidMedia( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendPaidMedia( +): ChatContentMessage = sendPaidMedia( chatId = chat.id, starCount = starCount, media = media, diff --git a/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/send/media/SendPhoto.kt b/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/send/media/SendPhoto.kt index 2143a69d20..587de2b873 100644 --- a/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/send/media/SendPhoto.kt +++ b/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/send/media/SendPhoto.kt @@ -13,7 +13,7 @@ import dev.inmo.tgbotapi.types.message.SuggestedPostParameters import dev.inmo.tgbotapi.types.buttons.KeyboardMarkup import dev.inmo.tgbotapi.types.chat.Chat import dev.inmo.tgbotapi.types.files.* -import dev.inmo.tgbotapi.types.message.abstracts.ContentMessage +import dev.inmo.tgbotapi.types.message.abstracts.ChatContentMessage import dev.inmo.tgbotapi.types.message.content.PhotoContent /** @@ -37,7 +37,7 @@ public suspend fun TelegramBot.sendPhoto( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = execute( +): ChatContentMessage = execute( SendPhoto( chatId = chatId, photo = fileId, @@ -79,7 +79,7 @@ public suspend fun TelegramBot.sendPhoto( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendPhoto( +): ChatContentMessage = sendPhoto( chatId = chat.id, fileId = fileId, text = text, @@ -119,7 +119,7 @@ public suspend fun TelegramBot.sendPhoto( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendPhoto( +): ChatContentMessage = sendPhoto( chatId = chatId, fileId = photo.biggest() ?.fileId ?: error("Photo content must not be empty"), text = text, @@ -159,7 +159,7 @@ public suspend fun TelegramBot.sendPhoto( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendPhoto( +): ChatContentMessage = sendPhoto( chatId = chat.id, photo = photo, text = text, @@ -199,7 +199,7 @@ public suspend fun TelegramBot.sendPhoto( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendPhoto( +): ChatContentMessage = sendPhoto( chatId = chatId, fileId = photoSize.fileId, text = text, @@ -239,7 +239,7 @@ public suspend fun TelegramBot.sendPhoto( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendPhoto( +): ChatContentMessage = sendPhoto( chatId = chat.id, photoSize = photoSize, text = text, @@ -279,7 +279,7 @@ public suspend inline fun TelegramBot.sendPhoto( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = execute( +): ChatContentMessage = execute( SendPhoto( chatId = chatId, photo = fileId, @@ -319,7 +319,7 @@ public suspend inline fun TelegramBot.sendPhoto( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendPhoto( +): ChatContentMessage = sendPhoto( chatId = chat.id, fileId = fileId, entities = entities, @@ -357,7 +357,7 @@ public suspend inline fun TelegramBot.sendPhoto( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendPhoto( +): ChatContentMessage = sendPhoto( chatId = chatId, fileId = photo.biggest() ?.fileId ?: error("Photo content must not be empty"), entities = entities, @@ -395,7 +395,7 @@ public suspend inline fun TelegramBot.sendPhoto( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendPhoto( +): ChatContentMessage = sendPhoto( chatId = chat.id, photo = photo, entities = entities, @@ -433,7 +433,7 @@ public suspend inline fun TelegramBot.sendPhoto( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendPhoto( +): ChatContentMessage = sendPhoto( chatId = chatId, fileId = photoSize.fileId, entities = entities, @@ -471,7 +471,7 @@ public suspend inline fun TelegramBot.sendPhoto( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendPhoto( +): ChatContentMessage = sendPhoto( chatId = chat.id, photoSize = photoSize, entities = entities, diff --git a/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/send/media/SendSticker.kt b/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/send/media/SendSticker.kt index dd45fad170..63050e18d7 100644 --- a/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/send/media/SendSticker.kt +++ b/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/send/media/SendSticker.kt @@ -10,7 +10,7 @@ import dev.inmo.tgbotapi.types.business_connection.BusinessConnectionId import dev.inmo.tgbotapi.types.buttons.KeyboardMarkup import dev.inmo.tgbotapi.types.chat.Chat import dev.inmo.tgbotapi.types.files.Sticker -import dev.inmo.tgbotapi.types.message.abstracts.ContentMessage +import dev.inmo.tgbotapi.types.message.abstracts.ChatContentMessage import dev.inmo.tgbotapi.types.message.content.StickerContent import dev.inmo.tgbotapi.types.message.SuggestedPostParameters @@ -32,7 +32,7 @@ public suspend fun TelegramBot.sendSticker( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = execute( +): ChatContentMessage = execute( SendSticker( chatId = chatId, sticker = sticker, @@ -68,7 +68,7 @@ public suspend fun TelegramBot.sendSticker( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendSticker( +): ChatContentMessage = sendSticker( chatId = chat.id, sticker = sticker, threadId = threadId, @@ -102,7 +102,7 @@ public suspend fun TelegramBot.sendSticker( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendSticker( +): ChatContentMessage = sendSticker( chatId = chatId, sticker = sticker.fileId, threadId = threadId, @@ -136,7 +136,7 @@ public suspend fun TelegramBot.sendSticker( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendSticker( +): ChatContentMessage = sendSticker( chat = chat, sticker = sticker.fileId, threadId = threadId, diff --git a/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/send/media/SendVideo.kt b/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/send/media/SendVideo.kt index 0551c68066..7dbefa1ab7 100644 --- a/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/send/media/SendVideo.kt +++ b/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/send/media/SendVideo.kt @@ -13,7 +13,7 @@ import dev.inmo.tgbotapi.types.message.SuggestedPostParameters import dev.inmo.tgbotapi.types.buttons.KeyboardMarkup import dev.inmo.tgbotapi.types.chat.Chat import dev.inmo.tgbotapi.types.files.VideoFile -import dev.inmo.tgbotapi.types.message.abstracts.ContentMessage +import dev.inmo.tgbotapi.types.message.abstracts.ChatContentMessage import dev.inmo.tgbotapi.types.message.content.VideoContent /** @@ -44,7 +44,7 @@ public suspend fun TelegramBot.sendVideo( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = execute( +): ChatContentMessage = execute( SendVideo( chatId = chatId, video = video, @@ -94,7 +94,7 @@ public suspend fun TelegramBot.sendVideo( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendVideo( +): ChatContentMessage = sendVideo( chatId = chatId, video = video.fileId, thumb = video.thumbnail ?.fileId, @@ -148,7 +148,7 @@ public suspend fun TelegramBot.sendVideo( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendVideo( +): ChatContentMessage = sendVideo( chatId = chat.id, video = video, thumb = thumb, @@ -197,7 +197,7 @@ public suspend fun TelegramBot.sendVideo( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendVideo( +): ChatContentMessage = sendVideo( chatId = chat.id, video = video, text = text, @@ -244,7 +244,7 @@ public suspend inline fun TelegramBot.sendVideo( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = execute( +): ChatContentMessage = execute( SendVideo( chatId = chatId, video = video, @@ -292,7 +292,7 @@ public suspend inline fun TelegramBot.sendVideo( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendVideo( +): ChatContentMessage = sendVideo( chatId = chatId, video = video.fileId, thumb = video.thumbnail ?.fileId, @@ -344,7 +344,7 @@ public suspend inline fun TelegramBot.sendVideo( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendVideo( +): ChatContentMessage = sendVideo( chatId = chat.id, video = video, thumb = thumb, @@ -391,7 +391,7 @@ public suspend inline fun TelegramBot.sendVideo( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendVideo( +): ChatContentMessage = sendVideo( chatId = chat.id, video = video, entities = entities, diff --git a/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/send/media/SendVideoNote.kt b/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/send/media/SendVideoNote.kt index 4bc764808b..2791e5c136 100644 --- a/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/send/media/SendVideoNote.kt +++ b/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/send/media/SendVideoNote.kt @@ -9,7 +9,7 @@ import dev.inmo.tgbotapi.types.buttons.KeyboardMarkup import dev.inmo.tgbotapi.types.chat.Chat import dev.inmo.tgbotapi.types.message.SuggestedPostParameters import dev.inmo.tgbotapi.types.files.VideoNoteFile -import dev.inmo.tgbotapi.types.message.abstracts.ContentMessage +import dev.inmo.tgbotapi.types.message.abstracts.ChatContentMessage import dev.inmo.tgbotapi.types.message.content.VideoNoteContent /** @@ -32,7 +32,7 @@ public suspend fun TelegramBot.sendVideoNote( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = execute( +): ChatContentMessage = execute( SendVideoNote( chatId = chatId, videoNote = videoNote, @@ -69,7 +69,7 @@ public suspend fun TelegramBot.sendVideoNote( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendVideoNote( +): ChatContentMessage = sendVideoNote( chatId = chatId, videoNote = videoNote.fileId, thumb = videoNote.thumbnail ?.fileId, @@ -107,7 +107,7 @@ public suspend fun TelegramBot.sendVideoNote( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendVideoNote( +): ChatContentMessage = sendVideoNote( chatId = chat.id, videoNote = videoNote, thumb = thumb, @@ -142,7 +142,7 @@ public suspend fun TelegramBot.sendVideoNote( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendVideoNote( +): ChatContentMessage = sendVideoNote( chatId = chat.id, videoNote = videoNote, threadId = threadId, diff --git a/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/send/media/SendVoice.kt b/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/send/media/SendVoice.kt index f282d09f10..f2b835a8ae 100644 --- a/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/send/media/SendVoice.kt +++ b/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/send/media/SendVoice.kt @@ -11,7 +11,7 @@ import dev.inmo.tgbotapi.types.message.SuggestedPostParameters import dev.inmo.tgbotapi.types.buttons.KeyboardMarkup import dev.inmo.tgbotapi.types.chat.Chat import dev.inmo.tgbotapi.types.files.VoiceFile -import dev.inmo.tgbotapi.types.message.abstracts.ContentMessage +import dev.inmo.tgbotapi.types.message.abstracts.ChatContentMessage import dev.inmo.tgbotapi.types.message.content.VoiceContent /** @@ -34,7 +34,7 @@ public suspend fun TelegramBot.sendVoice( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = execute( +): ChatContentMessage = execute( SendVoice( chatId = chatId, voice = voice, @@ -74,7 +74,7 @@ public suspend fun TelegramBot.sendVoice( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendVoice( +): ChatContentMessage = sendVoice( chatId = chat.id, voice = voice, text = text, @@ -111,7 +111,7 @@ public suspend fun TelegramBot.sendVoice( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendVoice( +): ChatContentMessage = sendVoice( chatId = chatId, voice = voice.fileId, text = text, @@ -148,7 +148,7 @@ public suspend fun TelegramBot.sendVoice( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendVoice( +): ChatContentMessage = sendVoice( chatId = chat.id, voice = voice, text = text, @@ -185,7 +185,7 @@ public suspend inline fun TelegramBot.sendVoice( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = execute( +): ChatContentMessage = execute( SendVoice( chatId = chatId, voice = voice, @@ -223,7 +223,7 @@ public suspend inline fun TelegramBot.sendVoice( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendVoice( +): ChatContentMessage = sendVoice( chatId = chat.id, voice = voice, entities = entities, @@ -258,7 +258,7 @@ public suspend inline fun TelegramBot.sendVoice( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendVoice( +): ChatContentMessage = sendVoice( chatId = chatId, voice = voice.fileId, entities = entities, @@ -292,7 +292,7 @@ public suspend inline fun TelegramBot.sendVoice( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = sendVoice( +): ChatContentMessage = sendVoice( chatId = chat.id, voice = voice, entities = entities, diff --git a/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/send/payments/SendInvoice.kt b/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/send/payments/SendInvoice.kt index b0452e98c0..e4731252d9 100644 --- a/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/send/payments/SendInvoice.kt +++ b/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/send/payments/SendInvoice.kt @@ -8,7 +8,7 @@ import dev.inmo.tgbotapi.types.* import dev.inmo.tgbotapi.types.buttons.InlineKeyboardMarkup import dev.inmo.tgbotapi.types.chat.CommonUser import dev.inmo.tgbotapi.types.message.SuggestedPostParameters -import dev.inmo.tgbotapi.types.message.abstracts.ContentMessage +import dev.inmo.tgbotapi.types.message.abstracts.ChatContentMessage import dev.inmo.tgbotapi.types.message.content.InvoiceContent import dev.inmo.tgbotapi.types.payments.LabeledPrice import dev.inmo.tgbotapi.types.payments.abstracts.Currency @@ -45,7 +45,7 @@ public suspend fun TelegramBot.sendInvoice( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: InlineKeyboardMarkup? = null -): ContentMessage = execute( +): ChatContentMessage = execute( SendInvoice( chatId = chatId, title = title, @@ -107,7 +107,7 @@ public suspend fun TelegramBot.sendInvoice( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: InlineKeyboardMarkup? = null -): ContentMessage = sendInvoice( +): ChatContentMessage = sendInvoice( chatId = user.id, title = title, description = description, @@ -159,7 +159,7 @@ public suspend fun TelegramBot.sendInvoice( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: InlineKeyboardMarkup? = null -): ContentMessage = execute( +): ChatContentMessage = execute( SendInvoice( chatId = chatId, title = title, @@ -199,7 +199,7 @@ public suspend fun TelegramBot.sendInvoice( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: InlineKeyboardMarkup? = null -): ContentMessage = sendInvoice( +): ChatContentMessage = sendInvoice( chatId = user.id, title = title, description = description, diff --git a/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/send/polls/SendQuizPoll.kt b/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/send/polls/SendQuizPoll.kt index 9552f52787..f47ae284b0 100644 --- a/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/send/polls/SendQuizPoll.kt +++ b/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/send/polls/SendQuizPoll.kt @@ -8,7 +8,7 @@ import dev.inmo.tgbotapi.types.buttons.KeyboardMarkup import dev.inmo.tgbotapi.types.media.InputPollMedia import dev.inmo.tgbotapi.types.message.ParseMode import dev.inmo.tgbotapi.types.message.SuggestedPostParameters -import dev.inmo.tgbotapi.types.message.abstracts.ContentMessage +import dev.inmo.tgbotapi.types.message.abstracts.ChatContentMessage import dev.inmo.tgbotapi.types.message.content.PollContent import dev.inmo.tgbotapi.types.message.textsources.TextSource import dev.inmo.tgbotapi.types.polls.InputPollOption @@ -47,7 +47,7 @@ public suspend fun TelegramBot.sendQuizPoll( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = execute( +): ChatContentMessage = execute( SendQuizPoll( chatId = chatId, question = question, @@ -114,7 +114,7 @@ public suspend fun TelegramBot.sendQuizPoll( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = execute( +): ChatContentMessage = execute( SendQuizPoll( chatId = chatId, questionEntities = questionEntities, @@ -179,7 +179,7 @@ public suspend fun TelegramBot.sendQuizPoll( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = execute( +): ChatContentMessage = execute( SendQuizPoll( chatId = chatId, question = question, @@ -242,7 +242,7 @@ public suspend fun TelegramBot.sendQuizPoll( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = execute( +): ChatContentMessage = execute( SendQuizPoll( chatId = chatId, questionEntities = questionEntities, @@ -306,7 +306,7 @@ public suspend fun TelegramBot.sendQuizPoll( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = execute( +): ChatContentMessage = execute( SendQuizPoll( chatId = chatId, question = question, @@ -371,7 +371,7 @@ public suspend fun TelegramBot.sendQuizPoll( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = execute( +): ChatContentMessage = execute( SendQuizPoll( chatId = chatId, questionEntities = questionEntities, @@ -434,7 +434,7 @@ public suspend fun TelegramBot.sendQuizPoll( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = execute( +): ChatContentMessage = execute( SendQuizPoll( chatId = chatId, question = question, @@ -495,7 +495,7 @@ public suspend fun TelegramBot.sendQuizPoll( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = execute( +): ChatContentMessage = execute( SendQuizPoll( chatId = chatId, questionEntities = questionEntities, diff --git a/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/send/polls/SendRegularPoll.kt b/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/send/polls/SendRegularPoll.kt index 5f90a4dad4..b54138573b 100644 --- a/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/send/polls/SendRegularPoll.kt +++ b/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/send/polls/SendRegularPoll.kt @@ -8,7 +8,7 @@ import dev.inmo.tgbotapi.types.buttons.KeyboardMarkup import dev.inmo.tgbotapi.types.media.InputPollMedia import dev.inmo.tgbotapi.types.message.ParseMode import dev.inmo.tgbotapi.types.message.SuggestedPostParameters -import dev.inmo.tgbotapi.types.message.abstracts.ContentMessage +import dev.inmo.tgbotapi.types.message.abstracts.ChatContentMessage import dev.inmo.tgbotapi.types.message.content.PollContent import dev.inmo.tgbotapi.types.message.textsources.TextSource import dev.inmo.tgbotapi.types.polls.InputPollOption @@ -44,7 +44,7 @@ public suspend fun TelegramBot.sendRegularPoll( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null, -): ContentMessage = execute( +): ChatContentMessage = execute( SendRegularPoll( chatId = chatId, question = question, @@ -105,7 +105,7 @@ public suspend fun TelegramBot.sendRegularPoll( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = execute( +): ChatContentMessage = execute( SendRegularPoll( chatId = chatId, questionTextSources = questionEntities, @@ -165,7 +165,7 @@ public suspend fun TelegramBot.sendRegularPoll( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = execute( +): ChatContentMessage = execute( SendRegularPoll( chatId = chatId, question = question, @@ -224,7 +224,7 @@ public suspend fun TelegramBot.sendRegularPoll( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): ContentMessage = execute( +): ChatContentMessage = execute( SendRegularPoll( chatId = chatId, questionTextSources = questionEntities, diff --git a/tgbotapi.behaviour_builder.fsm/api/tgbotapi.behaviour_builder.fsm.api b/tgbotapi.behaviour_builder.fsm/api/tgbotapi.behaviour_builder.fsm.api index fd88162aa5..93f344fc8f 100644 --- a/tgbotapi.behaviour_builder.fsm/api/tgbotapi.behaviour_builder.fsm.api +++ b/tgbotapi.behaviour_builder.fsm/api/tgbotapi.behaviour_builder.fsm.api @@ -104,6 +104,7 @@ public final class dev/inmo/tgbotapi/extensions/behaviour_builder/DefaultBehavio public fun getEditedMessageMediaGroupsFlow ()Lkotlinx/coroutines/flow/Flow; public fun getEditedMessagesFlow ()Lkotlinx/coroutines/flow/Flow; public fun getFlowsUpdatesFilter ()Ldev/inmo/tgbotapi/updateshandlers/FlowsUpdatesFilter; + public fun getGuestMessageUpdatesFlow ()Lkotlinx/coroutines/flow/Flow; public fun getInlineQueriesFlow ()Lkotlinx/coroutines/flow/Flow; public fun getLog ()Ldev/inmo/kslog/common/KSLog; public fun getManagedBotUpdatesFlow ()Lkotlinx/coroutines/flow/Flow; diff --git a/tgbotapi.behaviour_builder/api/tgbotapi.behaviour_builder.api b/tgbotapi.behaviour_builder/api/tgbotapi.behaviour_builder.api index 82da4a1023..68a8f984c4 100644 --- a/tgbotapi.behaviour_builder/api/tgbotapi.behaviour_builder.api +++ b/tgbotapi.behaviour_builder/api/tgbotapi.behaviour_builder.api @@ -920,9 +920,9 @@ public final class dev/inmo/tgbotapi/extensions/behaviour_builder/expectations/W 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 (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 (Ldev/inmo/tgbotapi/types/message/abstracts/CommonMessage;Ldev/inmo/tgbotapi/types/IdChatIdentifier;)Z + public static final fun isWithMention (Ldev/inmo/tgbotapi/types/message/abstracts/ChatContentMessage;Ldev/inmo/tgbotapi/types/chat/User;)Z + public static final fun isWithMention-eC7Nk8U (Ldev/inmo/tgbotapi/types/message/abstracts/ChatContentMessage;Ljava/lang/String;)Z + public static final fun isWithTextMention (Ldev/inmo/tgbotapi/types/message/abstracts/ChatContentMessage;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; @@ -1512,6 +1512,11 @@ public final class dev/inmo/tgbotapi/extensions/behaviour_builder/triggers_handl public static synthetic fun onWriteAccessAllowedOther$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 final class dev/inmo/tgbotapi/extensions/behaviour_builder/triggers_handling/GuestMessageTriggersKt { + public static final fun onGuestMessage (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 onGuestMessage$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 final class dev/inmo/tgbotapi/extensions/behaviour_builder/triggers_handling/InlineQueryTriggersKt { public static final fun onAnyInlineQuery (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 onAnyInlineQuery$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; diff --git a/tgbotapi.behaviour_builder/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/behaviour_builder/expectations/WaitCommandsMessages.kt b/tgbotapi.behaviour_builder/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/behaviour_builder/expectations/WaitCommandsMessages.kt index d6e3f070ed..9437eaffb9 100644 --- a/tgbotapi.behaviour_builder/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/behaviour_builder/expectations/WaitCommandsMessages.kt +++ b/tgbotapi.behaviour_builder/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/behaviour_builder/expectations/WaitCommandsMessages.kt @@ -12,7 +12,7 @@ import dev.inmo.tgbotapi.extensions.utils.extensions.parseCommandsWithArgsSource import dev.inmo.tgbotapi.extensions.utils.extensions.parseCommandsWithNamedArgs import dev.inmo.tgbotapi.requests.abstracts.Request import dev.inmo.tgbotapi.types.BotCommand -import dev.inmo.tgbotapi.types.message.abstracts.CommonMessage +import dev.inmo.tgbotapi.types.message.abstracts.ChatContentMessage import dev.inmo.tgbotapi.types.message.content.TextContent import dev.inmo.tgbotapi.types.message.textsources.BotCommandTextSource import dev.inmo.tgbotapi.types.message.textsources.TextSource @@ -66,7 +66,7 @@ fun BehaviourContext.waitCommandMessage( errorFactory: NullableRequestBuilder<*> = { null } ) = waitCommandMessage(botCommand.command, initRequest, excludeCommandsToOtherBots, errorFactory) -fun Flow>.requireCommandAtStart() = filter { +fun Flow>.requireCommandAtStart() = filter { it.content.textSources.firstOrNull() is BotCommandTextSource } @@ -76,7 +76,7 @@ fun Flow>.requireCommandAtStart() = filter { * * @see requireCommandAtStart */ -fun Flow>.requireSingleCommand() = filter { +fun Flow>.requireSingleCommand() = filter { var count = 0 it.content.textSources.forEach { @@ -94,23 +94,23 @@ fun Flow>.requireSingleCommand() = filter { /** * Subsequent [Flow] will retrieve only messages without [TextContent.textSources] which are not [BotCommandTextSource] */ -fun Flow>.requireCommandsWithoutParams() = filter { +fun Flow>.requireCommandsWithoutParams() = filter { it.content.textSources.none { it !is BotCommandTextSource } } /** - * Uses [parseCommandsWithArgsSources] on incoming text sources and map them with [CommonMessage] + * Uses [parseCommandsWithArgsSources] on incoming text sources and map them with [ChatContentMessage] */ -fun Flow>.commandsWithParams(): Flow, List>>>> = mapNotNull { +fun Flow>.commandsWithParams(): Flow, List>>>> = mapNotNull { it to it.content.textSources.parseCommandsWithArgsSources().toList() } /** - * Uses [parseCommandsWithArgs] on incoming text sources and map them with [CommonMessage] + * Uses [parseCommandsWithArgs] on incoming text sources and map them with [ChatContentMessage] */ -fun Flow>.commandsWithArgs( +fun Flow>.commandsWithArgs( argsSeparator: Regex = TelegramBotCommandsDefaults.defaultArgsSeparatorRegex -): Flow, List>>>> = mapNotNull { +): Flow, List>>>> = mapNotNull { val commandsWithArgs = it.content.textSources.parseCommandsWithArgs(argsSeparator).toList().ifEmpty { return@mapNotNull null } @@ -119,19 +119,19 @@ fun Flow>.commandsWithArgs( } /** - * Uses [parseCommandsWithArgs] on incoming text sources and map them with [CommonMessage] + * Uses [parseCommandsWithArgs] on incoming text sources and map them with [ChatContentMessage] */ -fun Flow>.commandsWithArgs( +fun Flow>.commandsWithArgs( argsSeparator: String -): Flow, List>>>> = commandsWithArgs(Regex(argsSeparator)) +): Flow, List>>>> = commandsWithArgs(Regex(argsSeparator)) /** - * Uses [parseCommandsWithNamedArgs] on incoming text sources and map them with [CommonMessage] + * Uses [parseCommandsWithNamedArgs] on incoming text sources and map them with [ChatContentMessage] */ -fun Flow>.commandsWithNamedArgs( +fun Flow>.commandsWithNamedArgs( argsSeparator: Regex = TelegramBotCommandsDefaults.defaultArgsSeparatorRegex, nameArgSeparator: Regex = TelegramBotCommandsDefaults.defaultNamesArgsSeparatorRegex, -): Flow, List>>>>> = mapNotNull { +): Flow, List>>>>> = mapNotNull { val commandsWithArgs = it.content.textSources.parseCommandsWithNamedArgs(argsSeparator, nameArgSeparator).toList().ifEmpty { return@mapNotNull null } @@ -140,18 +140,18 @@ fun Flow>.commandsWithNamedArgs( } /** - * Uses [parseCommandsWithNamedArgs] on incoming text sources and map them with [CommonMessage] + * Uses [parseCommandsWithNamedArgs] on incoming text sources and map them with [ChatContentMessage] */ -fun Flow>.commandsWithNamedArgs( +fun Flow>.commandsWithNamedArgs( argsSeparator: String, nameArgSeparator: Regex = TelegramBotCommandsDefaults.defaultNamesArgsSeparatorRegex, -): Flow, List>>>>> = commandsWithNamedArgs(Regex(argsSeparator), nameArgSeparator) +): Flow, List>>>>> = commandsWithNamedArgs(Regex(argsSeparator), nameArgSeparator) /** * Flat [commandsWithParams]. Each [Pair] of [BotCommandTextSource] and its [Array] of arg text sources will * be associated with its source message */ -fun Flow>.flattenCommandsWithParams() = commandsWithParams().flatMapConcat { (message, commandsWithParams) -> +fun Flow>.flattenCommandsWithParams() = commandsWithParams().flatMapConcat { (message, commandsWithParams) -> commandsWithParams.map { message to it }.asFlow() @@ -160,6 +160,6 @@ fun Flow>.flattenCommandsWithParams() = commandsWithP /** * Use [flattenCommandsWithParams] and filter out the commands which do not [matches] to [commandRegex] */ -fun Flow>.commandParams(commandRegex: Regex) = flattenCommandsWithParams().filter { (_, commandWithParams) -> +fun Flow>.commandParams(commandRegex: Regex) = flattenCommandsWithParams().filter { (_, commandWithParams) -> commandWithParams.first.command.matches(commandRegex) } diff --git a/tgbotapi.behaviour_builder/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/behaviour_builder/expectations/WaitContent.kt b/tgbotapi.behaviour_builder/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/behaviour_builder/expectations/WaitContent.kt index b1775fc259..42863ae53e 100644 --- a/tgbotapi.behaviour_builder/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/behaviour_builder/expectations/WaitContent.kt +++ b/tgbotapi.behaviour_builder/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/behaviour_builder/expectations/WaitContent.kt @@ -4,8 +4,7 @@ package dev.inmo.tgbotapi.extensions.behaviour_builder.expectations import dev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContext import dev.inmo.tgbotapi.requests.abstracts.Request -import dev.inmo.tgbotapi.types.giveaway.GiveawayPublicResults -import dev.inmo.tgbotapi.types.message.abstracts.CommonMessage +import dev.inmo.tgbotapi.types.message.abstracts.ChatContentMessage import dev.inmo.tgbotapi.types.message.content.* import dev.inmo.tgbotapi.utils.RiskFeature import dev.inmo.tgbotapi.utils.lowLevelRiskFeatureMessage @@ -13,7 +12,7 @@ import kotlinx.coroutines.flow.Flow import kotlinx.coroutines.flow.map import kotlinx.coroutines.flow.mapNotNull -typealias CommonMessageToContentMapper = suspend CommonMessage.() -> T? +typealias CommonMessageToContentMapper = suspend ChatContentMessage.() -> T? @RiskFeature(lowLevelRiskFeatureMessage) fun BehaviourContext.waitContent( diff --git a/tgbotapi.behaviour_builder/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/behaviour_builder/expectations/WaitContentMessage.kt b/tgbotapi.behaviour_builder/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/behaviour_builder/expectations/WaitContentMessage.kt index fa0fe4736c..34beb83fa4 100644 --- a/tgbotapi.behaviour_builder/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/behaviour_builder/expectations/WaitContentMessage.kt +++ b/tgbotapi.behaviour_builder/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/behaviour_builder/expectations/WaitContentMessage.kt @@ -5,7 +5,7 @@ package dev.inmo.tgbotapi.extensions.behaviour_builder.expectations import dev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContext import dev.inmo.tgbotapi.extensions.utils.withContentOrNull import dev.inmo.tgbotapi.requests.abstracts.Request -import dev.inmo.tgbotapi.types.message.abstracts.CommonMessage +import dev.inmo.tgbotapi.types.message.abstracts.ChatContentMessage import dev.inmo.tgbotapi.types.message.content.* import dev.inmo.tgbotapi.types.update.abstracts.BaseSentMessageUpdate import dev.inmo.tgbotapi.utils.RiskFeature @@ -13,23 +13,23 @@ import dev.inmo.tgbotapi.utils.lowLevelRiskFeatureMessage import kotlinx.coroutines.flow.Flow import kotlinx.coroutines.flow.mapNotNull -typealias CommonMessageToCommonMessageMapper = suspend CommonMessage.() -> CommonMessage? +typealias CommonMessageToCommonMessageMapper = suspend ChatContentMessage.() -> ChatContentMessage? @RiskFeature(lowLevelRiskFeatureMessage) fun BehaviourContext.waitContentMessage( initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null } -): Flow> = expectFlow( +): Flow> = expectFlow( initRequest, errorFactory ) { if (it !is BaseSentMessageUpdate) { return@expectFlow emptyList() } - listOfNotNull((it.data as? CommonMessage<*>)) + listOfNotNull((it.data as? ChatContentMessage<*>)) } -inline fun Flow>.mapWithContent() = mapNotNull { it.withContentOrNull() } +inline fun Flow>.mapWithContent() = mapNotNull { it.withContentOrNull() } fun BehaviourContext.waitAnyContentMessage( initRequest: Request<*>? = null, diff --git a/tgbotapi.behaviour_builder/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/behaviour_builder/expectations/WaitDeepLinks.kt b/tgbotapi.behaviour_builder/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/behaviour_builder/expectations/WaitDeepLinks.kt index fdbb5246b9..26ba006c81 100644 --- a/tgbotapi.behaviour_builder/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/behaviour_builder/expectations/WaitDeepLinks.kt +++ b/tgbotapi.behaviour_builder/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/behaviour_builder/expectations/WaitDeepLinks.kt @@ -3,16 +3,15 @@ package dev.inmo.tgbotapi.extensions.behaviour_builder.expectations import dev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContext import dev.inmo.tgbotapi.extensions.utils.regularTextSourceOrNull import dev.inmo.tgbotapi.requests.abstracts.Request -import dev.inmo.tgbotapi.types.message.abstracts.CommonMessage +import dev.inmo.tgbotapi.types.message.abstracts.ChatContentMessage import dev.inmo.tgbotapi.types.message.content.TextContent -import dev.inmo.tgbotapi.types.message.textsources.RegularTextSource import kotlinx.coroutines.flow.* fun BehaviourContext.waitDeepLinks( initRequest: Request<*>? = null, excludeCommandsToOtherBots: Boolean = true, errorFactory: NullableRequestBuilder<*> = { null }, -): Flow, String>> = waitCommandMessage( +): Flow, String>> = waitCommandMessage( command = "start", initRequest = initRequest, excludeCommandsToOtherBots = excludeCommandsToOtherBots, @@ -29,7 +28,7 @@ fun BehaviourContext.waitDeepLinks( initRequest: Request<*>? = null, excludeCommandsToOtherBots: Boolean = true, errorFactory: NullableRequestBuilder<*> = { null }, -): Flow, String>> = waitDeepLinks( +): Flow, String>> = waitDeepLinks( initRequest = initRequest, excludeCommandsToOtherBots = excludeCommandsToOtherBots, errorFactory = errorFactory @@ -42,7 +41,7 @@ fun BehaviourContext.waitDeepLinks( initRequest: Request<*>? = null, excludeCommandsToOtherBots: Boolean = true, errorFactory: NullableRequestBuilder<*> = { null }, -): Flow, String>> = waitDeepLinks( +): Flow, String>> = waitDeepLinks( regex = Regex(pattern = "^$deepLink$"), initRequest = initRequest, excludeCommandsToOtherBots = excludeCommandsToOtherBots, diff --git a/tgbotapi.behaviour_builder/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/behaviour_builder/expectations/WaitEditedContentMessage.kt b/tgbotapi.behaviour_builder/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/behaviour_builder/expectations/WaitEditedContentMessage.kt index 225e02c225..bb976aa065 100644 --- a/tgbotapi.behaviour_builder/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/behaviour_builder/expectations/WaitEditedContentMessage.kt +++ b/tgbotapi.behaviour_builder/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/behaviour_builder/expectations/WaitEditedContentMessage.kt @@ -3,10 +3,10 @@ package dev.inmo.tgbotapi.extensions.behaviour_builder.expectations import dev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContext -import dev.inmo.tgbotapi.extensions.utils.commonMessageOrNull +import dev.inmo.tgbotapi.extensions.utils.chatContentMessageOrNull import dev.inmo.tgbotapi.extensions.utils.withContent import dev.inmo.tgbotapi.requests.abstracts.Request -import dev.inmo.tgbotapi.types.message.abstracts.CommonMessage +import dev.inmo.tgbotapi.types.message.abstracts.ChatContentMessage import dev.inmo.tgbotapi.types.message.content.* import dev.inmo.tgbotapi.types.update.abstracts.BaseEditMessageUpdate import dev.inmo.tgbotapi.utils.RiskFeature @@ -17,13 +17,13 @@ import kotlinx.coroutines.flow.Flow inline fun BehaviourContext.waitEditedContentMessage( initRequest: Request<*>? = null, noinline errorFactory: NullableRequestBuilder<*> = { null } -): Flow> = expectFlow( +): Flow> = expectFlow( initRequest, errorFactory ) { val messages = when (it) { is BaseEditMessageUpdate -> { - val commonMessage = it.data.commonMessageOrNull() ?: return@expectFlow emptyList() + val commonMessage = it.data.chatContentMessageOrNull() ?: return@expectFlow emptyList() listOf(commonMessage) } else -> return@expectFlow emptyList() diff --git a/tgbotapi.behaviour_builder/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/behaviour_builder/expectations/WaitMediaGroup.kt b/tgbotapi.behaviour_builder/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/behaviour_builder/expectations/WaitMediaGroup.kt index f7fac24020..75c24e8462 100644 --- a/tgbotapi.behaviour_builder/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/behaviour_builder/expectations/WaitMediaGroup.kt +++ b/tgbotapi.behaviour_builder/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/behaviour_builder/expectations/WaitMediaGroup.kt @@ -4,7 +4,7 @@ package dev.inmo.tgbotapi.extensions.behaviour_builder.expectations import dev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContext import dev.inmo.tgbotapi.extensions.utils.baseSentMessageUpdateOrNull -import dev.inmo.tgbotapi.extensions.utils.commonMessageOrNull +import dev.inmo.tgbotapi.extensions.utils.chatContentMessageOrNull import dev.inmo.tgbotapi.extensions.utils.withContent import dev.inmo.tgbotapi.extensions.utils.withContentOrNull import dev.inmo.tgbotapi.requests.abstracts.Request @@ -18,7 +18,7 @@ inline fun BehaviourContext.buildMediaGroupW initRequest: Request<*>? = null, noinline errorFactory: NullableRequestBuilder<*> = { null } ): Flow> = flowsUpdatesFilter.expectFlow(bot, initRequest, errorFactory) { update -> - update.baseSentMessageUpdateOrNull() ?.data ?.commonMessageOrNull() ?.withContentOrNull>() ?.let { message -> + update.baseSentMessageUpdateOrNull() ?.data ?.chatContentMessageOrNull() ?.withContentOrNull>() ?.let { message -> if (message.content.group.all { it.content is T }) { @Suppress("UNCHECKED_CAST") listOf(message.content as MediaGroupContent) diff --git a/tgbotapi.behaviour_builder/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/behaviour_builder/expectations/WaitMediaGroupMessages.kt b/tgbotapi.behaviour_builder/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/behaviour_builder/expectations/WaitMediaGroupMessages.kt index d74c0fff9d..54e00b4967 100644 --- a/tgbotapi.behaviour_builder/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/behaviour_builder/expectations/WaitMediaGroupMessages.kt +++ b/tgbotapi.behaviour_builder/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/behaviour_builder/expectations/WaitMediaGroupMessages.kt @@ -2,8 +2,7 @@ package dev.inmo.tgbotapi.extensions.behaviour_builder.expectations import dev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContext import dev.inmo.tgbotapi.extensions.utils.baseSentMessageUpdateOrNull -import dev.inmo.tgbotapi.extensions.utils.commonMessageOrNull -import dev.inmo.tgbotapi.extensions.utils.withContent +import dev.inmo.tgbotapi.extensions.utils.chatContentMessageOrNull import dev.inmo.tgbotapi.extensions.utils.withContentOrNull import dev.inmo.tgbotapi.requests.abstracts.Request import dev.inmo.tgbotapi.types.message.content.* @@ -16,7 +15,7 @@ inline fun BehaviourContext.buildMediaGroupM initRequest: Request<*>? = null, noinline errorFactory: NullableRequestBuilder<*> = { null } ): Flow> = flowsUpdatesFilter.expectFlow(bot, initRequest, errorFactory) { update -> - update.baseSentMessageUpdateOrNull() ?.data ?.commonMessageOrNull() ?.withContentOrNull>() ?.let { message -> + update.baseSentMessageUpdateOrNull() ?.data ?.chatContentMessageOrNull() ?.withContentOrNull>() ?.let { message -> if (message.content.group.all { it.content is T }) { @Suppress("UNCHECKED_CAST") listOf(message as MediaGroupMessage) diff --git a/tgbotapi.behaviour_builder/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/behaviour_builder/expectations/WaitMention.kt b/tgbotapi.behaviour_builder/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/behaviour_builder/expectations/WaitMention.kt index d366f98a0b..a89418840a 100644 --- a/tgbotapi.behaviour_builder/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/behaviour_builder/expectations/WaitMention.kt +++ b/tgbotapi.behaviour_builder/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/behaviour_builder/expectations/WaitMention.kt @@ -7,8 +7,7 @@ import dev.inmo.tgbotapi.requests.abstracts.Request import dev.inmo.tgbotapi.types.UserId import dev.inmo.tgbotapi.types.Username import dev.inmo.tgbotapi.types.chat.User -import dev.inmo.tgbotapi.types.message.abstracts.CommonMessage -import dev.inmo.tgbotapi.types.message.content.MessageContent +import dev.inmo.tgbotapi.types.message.abstracts.ChatContentMessage import dev.inmo.tgbotapi.types.message.content.TextedContent import kotlinx.coroutines.flow.Flow import kotlinx.coroutines.flow.filter @@ -43,7 +42,7 @@ fun TextedContent.isWithTextMention(userId: UserId) = textSources.any { /** * Uses [isWithMention] with [user] [Username] (is presented) or [isWithTextMention] with [user] [UserId] to determine - * user mentioning in [this] [CommonMessage] + * user mentioning in [this] [ChatContentMessage] */ fun TextedContent.isWithMention(user: User): Boolean = user.username ?.let { username -> isWithMention(username) } == true || isWithTextMention(user.id) diff --git a/tgbotapi.behaviour_builder/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/behaviour_builder/expectations/WaitMentionMessage.kt b/tgbotapi.behaviour_builder/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/behaviour_builder/expectations/WaitMentionMessage.kt index adf69d6d54..7cb3eb523d 100644 --- a/tgbotapi.behaviour_builder/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/behaviour_builder/expectations/WaitMentionMessage.kt +++ b/tgbotapi.behaviour_builder/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/behaviour_builder/expectations/WaitMentionMessage.kt @@ -1,45 +1,43 @@ package dev.inmo.tgbotapi.extensions.behaviour_builder.expectations import dev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContext -import dev.inmo.tgbotapi.extensions.utils.whenMentionTextSource -import dev.inmo.tgbotapi.extensions.utils.whenTextMentionTextSource import dev.inmo.tgbotapi.requests.abstracts.Request import dev.inmo.tgbotapi.types.UserId import dev.inmo.tgbotapi.types.Username import dev.inmo.tgbotapi.types.chat.User -import dev.inmo.tgbotapi.types.message.abstracts.CommonMessage +import dev.inmo.tgbotapi.types.message.abstracts.ChatContentMessage import dev.inmo.tgbotapi.types.message.content.TextedContent import kotlinx.coroutines.flow.Flow import kotlinx.coroutines.flow.filter -fun CommonMessage.isWithMention(username: Username) = content.isWithMention(username) +fun ChatContentMessage.isWithMention(username: Username) = content.isWithMention(username) -fun CommonMessage.isWithTextMention(userId: UserId) = content.isWithTextMention(userId) +fun ChatContentMessage.isWithTextMention(userId: UserId) = content.isWithTextMention(userId) /** * Uses [isWithMention] with [user] [Username] (is presented) or [isWithTextMention] with [user] [UserId] to determine - * user mentioning in [this] [CommonMessage] + * user mentioning in [this] [ChatContentMessage] */ -fun CommonMessage.isWithMention(user: User): Boolean = content.isWithMention(user) +fun ChatContentMessage.isWithMention(user: User): Boolean = content.isWithMention(user) /** * Uses [isWithMention] passing [username] as argument to take only messages with [username] mentions or text mentions */ -fun Flow>.filterMentionsMessages(username: Username) = filter { +fun Flow>.filterMentionsMessages(username: Username) = filter { it.isWithMention(username) } /** * Uses [isWithTextMention] passing [userId] as argument to take only messages with [userId] text mentions */ -fun Flow>.filterTextMentionsMessages(userId: UserId) = filter { +fun Flow>.filterTextMentionsMessages(userId: UserId) = filter { it.isWithTextMention(userId) } /** * Uses [isWithMention] passing [user] as argument to take only messages with [user] mentions or text mentions */ -fun Flow>.filterMentionsMessages(user: User) = filter { +fun Flow>.filterMentionsMessages(user: User) = filter { it.isWithMention(user) } diff --git a/tgbotapi.behaviour_builder/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/behaviour_builder/filters/MessageFilterExcludingMediaGroups.kt b/tgbotapi.behaviour_builder/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/behaviour_builder/filters/MessageFilterExcludingMediaGroups.kt index 469ab1954e..334f95a990 100644 --- a/tgbotapi.behaviour_builder/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/behaviour_builder/filters/MessageFilterExcludingMediaGroups.kt +++ b/tgbotapi.behaviour_builder/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/behaviour_builder/filters/MessageFilterExcludingMediaGroups.kt @@ -9,5 +9,5 @@ import dev.inmo.tgbotapi.types.message.content.MediaGroupMessage * Allow only messages which are not [MediaGroupMessage] */ val CommonMessageFilterExcludeMediaGroups = SimpleFilter { - it !is CommonMessage<*> || it.content !is MediaGroupContent<*> + it !is ChatContentMessage<*> || it.content !is MediaGroupContent<*> } diff --git a/tgbotapi.behaviour_builder/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/behaviour_builder/triggers_handling/ContentTriggers.kt b/tgbotapi.behaviour_builder/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/behaviour_builder/triggers_handling/ContentTriggers.kt index 2af2d4ca5f..6ab5711dc6 100644 --- a/tgbotapi.behaviour_builder/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/behaviour_builder/triggers_handling/ContentTriggers.kt +++ b/tgbotapi.behaviour_builder/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/behaviour_builder/triggers_handling/ContentTriggers.kt @@ -11,21 +11,19 @@ import dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories.Mar import dev.inmo.tgbotapi.extensions.utils.whenCommonMessage import dev.inmo.tgbotapi.extensions.utils.withContentOrNull import dev.inmo.tgbotapi.types.files.TelegramMediaFile -import dev.inmo.tgbotapi.types.giveaway.GiveawayPublicResults -import dev.inmo.tgbotapi.types.message.abstracts.ChatEventMessage -import dev.inmo.tgbotapi.types.message.abstracts.CommonMessage +import dev.inmo.tgbotapi.types.message.abstracts.ChatContentMessage import dev.inmo.tgbotapi.types.message.content.* import dev.inmo.tgbotapi.types.update.abstracts.BaseSentMessageUpdate import dev.inmo.tgbotapi.types.update.abstracts.Update -typealias CommonMessageFilter = SimpleFilter> +typealias CommonMessageFilter = SimpleFilter> internal inline fun BC.onContentMessageWithType( initialFilter: CommonMessageFilter? = null, - noinline subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver, Update>? = MessageFilterByChat, - markerFactory: MarkerFactory, Any>? = ByChatMessageMarkerFactory, - noinline additionalSubcontextInitialAction: CustomBehaviourContextAndTwoTypesReceiver>? = null, - noinline scenarioReceiver: CustomBehaviourContextAndTypeReceiver> + noinline subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver, Update>? = MessageFilterByChat, + markerFactory: MarkerFactory, Any>? = ByChatMessageMarkerFactory, + noinline additionalSubcontextInitialAction: CustomBehaviourContextAndTwoTypesReceiver>? = null, + noinline scenarioReceiver: CustomBehaviourContextAndTypeReceiver> ) = on(markerFactory, initialFilter, subcontextUpdatesFilter, additionalSubcontextInitialAction, scenarioReceiver) { when (it) { is BaseSentMessageUpdate -> it.data.whenCommonMessage(::listOfNotNull) @@ -51,10 +49,10 @@ internal inline fun BC.onCon */ fun BC.onContentMessage( initialFilter: CommonMessageFilter? = null, - subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver, Update>? = MessageFilterByChat, - markerFactory: MarkerFactory, Any>? = ByChatMessageMarkerFactory, - additionalSubcontextInitialAction: CustomBehaviourContextAndTwoTypesReceiver>? = null, - scenarioReceiver: CustomBehaviourContextAndTypeReceiver> + subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver, Update>? = MessageFilterByChat, + markerFactory: MarkerFactory, Any>? = ByChatMessageMarkerFactory, + additionalSubcontextInitialAction: CustomBehaviourContextAndTwoTypesReceiver>? = null, + scenarioReceiver: CustomBehaviourContextAndTypeReceiver> ) = onContentMessageWithType( initialFilter, subcontextUpdatesFilter, diff --git a/tgbotapi.behaviour_builder/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/behaviour_builder/triggers_handling/DeepLinkHandling.kt b/tgbotapi.behaviour_builder/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/behaviour_builder/triggers_handling/DeepLinkHandling.kt index 78a9e26971..23cb4b6b81 100644 --- a/tgbotapi.behaviour_builder/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/behaviour_builder/triggers_handling/DeepLinkHandling.kt +++ b/tgbotapi.behaviour_builder/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/behaviour_builder/triggers_handling/DeepLinkHandling.kt @@ -2,7 +2,6 @@ package dev.inmo.tgbotapi.extensions.behaviour_builder.triggers_handling -import dev.inmo.micro_utils.coroutines.* import dev.inmo.tgbotapi.extensions.behaviour_builder.* import dev.inmo.tgbotapi.extensions.behaviour_builder.filters.MessageFilterByChat import dev.inmo.tgbotapi.extensions.behaviour_builder.utils.SimpleFilter @@ -10,7 +9,6 @@ import dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories.ByC import dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories.MarkerFactory import dev.inmo.tgbotapi.extensions.behaviour_builder.utils.times import dev.inmo.tgbotapi.extensions.utils.* -import dev.inmo.tgbotapi.types.message.abstracts.CommonMessage import dev.inmo.tgbotapi.types.message.content.TextContent import dev.inmo.tgbotapi.types.message.content.TextMessage import dev.inmo.tgbotapi.types.message.textsources.RegularTextSource @@ -38,7 +36,7 @@ fun BC.onDeepLink( additionalSubcontextInitialAction, scenarioReceiver, ) { - (it.messageUpdateOrNull()) ?.data ?.commonMessageOrNull() ?.withContentOrNull() ?.let { message -> + (it.messageUpdateOrNull()) ?.data ?.chatContentMessageOrNull() ?.withContentOrNull() ?.let { message -> message to (message.content.textSources.getOrNull(1) ?.source ?.removePrefix(" ") ?.decodeURLQueryComponent() ?: return@let null) } ?.let(::listOfNotNull) }.also { diff --git a/tgbotapi.behaviour_builder/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/behaviour_builder/triggers_handling/EditedContentTriggers.kt b/tgbotapi.behaviour_builder/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/behaviour_builder/triggers_handling/EditedContentTriggers.kt index b72d784abf..2b67d153f3 100644 --- a/tgbotapi.behaviour_builder/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/behaviour_builder/triggers_handling/EditedContentTriggers.kt +++ b/tgbotapi.behaviour_builder/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/behaviour_builder/triggers_handling/EditedContentTriggers.kt @@ -6,20 +6,18 @@ import dev.inmo.tgbotapi.extensions.behaviour_builder.filters.MessageFilterByCha import dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories.ByChatMessageMarkerFactory import dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories.MarkerFactory import dev.inmo.tgbotapi.extensions.utils.baseEditMessageUpdateOrNull -import dev.inmo.tgbotapi.extensions.utils.editMessageUpdateOrNull import dev.inmo.tgbotapi.extensions.utils.withContent import dev.inmo.tgbotapi.types.files.TelegramMediaFile -import dev.inmo.tgbotapi.types.message.abstracts.CommonMessage +import dev.inmo.tgbotapi.types.message.abstracts.ChatContentMessage import dev.inmo.tgbotapi.types.message.content.* -import dev.inmo.tgbotapi.types.update.abstracts.BaseEditMessageUpdate import dev.inmo.tgbotapi.types.update.abstracts.Update internal inline fun BC.onEditedContent( initialFilter: CommonMessageFilter? = null, - noinline subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver, Update>? = MessageFilterByChat, - markerFactory: MarkerFactory, Any>? = ByChatMessageMarkerFactory, - noinline additionalSubcontextInitialAction: CustomBehaviourContextAndTwoTypesReceiver>? = null, - noinline scenarioReceiver: CustomBehaviourContextAndTypeReceiver> + noinline subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver, Update>? = MessageFilterByChat, + markerFactory: MarkerFactory, Any>? = ByChatMessageMarkerFactory, + noinline additionalSubcontextInitialAction: CustomBehaviourContextAndTwoTypesReceiver>? = null, + noinline scenarioReceiver: CustomBehaviourContextAndTypeReceiver> ) = on(markerFactory, initialFilter, subcontextUpdatesFilter, additionalSubcontextInitialAction, scenarioReceiver) { it.baseEditMessageUpdateOrNull() ?.data ?.withContent() ?.let(::listOfNotNull) } @@ -40,10 +38,10 @@ internal inline fun BC.onEdi */ fun BC.onEditedContentMessage( initialFilter: CommonMessageFilter? = null, - subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver, Update>? = MessageFilterByChat, - markerFactory: MarkerFactory, Any>? = ByChatMessageMarkerFactory, - additionalSubcontextInitialAction: CustomBehaviourContextAndTwoTypesReceiver>? = null, - scenarioReceiver: CustomBehaviourContextAndTypeReceiver> + subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver, Update>? = MessageFilterByChat, + markerFactory: MarkerFactory, Any>? = ByChatMessageMarkerFactory, + additionalSubcontextInitialAction: CustomBehaviourContextAndTwoTypesReceiver>? = null, + scenarioReceiver: CustomBehaviourContextAndTypeReceiver> )= onEditedContent( initialFilter, subcontextUpdatesFilter, diff --git a/tgbotapi.behaviour_builder/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/behaviour_builder/triggers_handling/GuestMessageTriggers.kt b/tgbotapi.behaviour_builder/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/behaviour_builder/triggers_handling/GuestMessageTriggers.kt new file mode 100644 index 0000000000..e984e97b3d --- /dev/null +++ b/tgbotapi.behaviour_builder/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/behaviour_builder/triggers_handling/GuestMessageTriggers.kt @@ -0,0 +1,27 @@ +package dev.inmo.tgbotapi.extensions.behaviour_builder.triggers_handling + +import dev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContext +import dev.inmo.tgbotapi.extensions.behaviour_builder.CustomBehaviourContextAndTwoTypesReceiver +import dev.inmo.tgbotapi.extensions.behaviour_builder.CustomBehaviourContextAndTypeReceiver +import dev.inmo.tgbotapi.extensions.behaviour_builder.utils.SimpleFilter +import dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories.ByChatMessageMarkerFactory +import dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories.MarkerFactory +import dev.inmo.tgbotapi.extensions.utils.guestMessageUpdateOrNull +import dev.inmo.tgbotapi.types.message.abstracts.GuestContentMessage +import dev.inmo.tgbotapi.types.update.abstracts.Update + +/** + * @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]. + * @param [markerFactory] **Pass null to handle requests fully parallel**. Will be used to identify different "stream". + * @param scenarioReceiver Main callback which will be used to handle incoming data if [initialFilter] will pass that data + */ +fun BC.onGuestMessage( + initialFilter: SimpleFilter>? = null, + subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver, Update>? = null, + markerFactory: MarkerFactory, Any>? = ByChatMessageMarkerFactory, + additionalSubcontextInitialAction: CustomBehaviourContextAndTwoTypesReceiver>? = null, + scenarioReceiver: CustomBehaviourContextAndTypeReceiver> +) = on(markerFactory, initialFilter, subcontextUpdatesFilter, additionalSubcontextInitialAction, scenarioReceiver) { + (it.guestMessageUpdateOrNull() ?.data) ?.let(::listOfNotNull) +} diff --git a/tgbotapi.behaviour_builder/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/behaviour_builder/triggers_handling/MediaGroupMessagesTriggers.kt b/tgbotapi.behaviour_builder/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/behaviour_builder/triggers_handling/MediaGroupMessagesTriggers.kt index 0cdddbb4aa..6af9e72b0b 100644 --- a/tgbotapi.behaviour_builder/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/behaviour_builder/triggers_handling/MediaGroupMessagesTriggers.kt +++ b/tgbotapi.behaviour_builder/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/behaviour_builder/triggers_handling/MediaGroupMessagesTriggers.kt @@ -7,9 +7,8 @@ import dev.inmo.tgbotapi.extensions.behaviour_builder.utils.SimpleFilter import dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories.ByChatMessageMarkerFactory import dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories.MarkerFactory import dev.inmo.tgbotapi.extensions.utils.baseSentMessageUpdateOrNull -import dev.inmo.tgbotapi.extensions.utils.commonMessageOrNull +import dev.inmo.tgbotapi.extensions.utils.chatContentMessageOrNull import dev.inmo.tgbotapi.extensions.utils.withContentOrNull -import dev.inmo.tgbotapi.types.message.abstracts.CommonMessage import dev.inmo.tgbotapi.types.message.content.* import dev.inmo.tgbotapi.types.update.abstracts.Update import dev.inmo.tgbotapi.utils.PreviewFeature @@ -22,7 +21,7 @@ internal inline fun B noinline additionalSubcontextInitialAction: CustomBehaviourContextAndTwoTypesReceiver>? = null, noinline scenarioReceiver: CustomBehaviourContextAndTypeReceiver> ) = on(markerFactory, initialFilter, subcontextUpdatesFilter, additionalSubcontextInitialAction, scenarioReceiver) { - it.baseSentMessageUpdateOrNull() ?.data ?.commonMessageOrNull() ?.withContentOrNull>() ?.let { + it.baseSentMessageUpdateOrNull() ?.data ?.chatContentMessageOrNull() ?.withContentOrNull>() ?.let { if (it.content.group.all { it.content is T }) { @Suppress("UNCHECKED_CAST") listOf(it as MediaGroupMessage) diff --git a/tgbotapi.behaviour_builder/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/behaviour_builder/triggers_handling/MediaGroupTriggers.kt b/tgbotapi.behaviour_builder/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/behaviour_builder/triggers_handling/MediaGroupTriggers.kt index ea0b932f9b..1e6fd70ae5 100644 --- a/tgbotapi.behaviour_builder/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/behaviour_builder/triggers_handling/MediaGroupTriggers.kt +++ b/tgbotapi.behaviour_builder/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/behaviour_builder/triggers_handling/MediaGroupTriggers.kt @@ -7,9 +7,8 @@ import dev.inmo.tgbotapi.extensions.behaviour_builder.utils.SimpleFilter import dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories.AnyMarkerFactory import dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories.MarkerFactory import dev.inmo.tgbotapi.extensions.utils.baseSentMessageUpdateOrNull -import dev.inmo.tgbotapi.extensions.utils.commonMessageOrNull +import dev.inmo.tgbotapi.extensions.utils.chatContentMessageOrNull import dev.inmo.tgbotapi.extensions.utils.withContentOrNull -import dev.inmo.tgbotapi.types.message.abstracts.CommonMessage import dev.inmo.tgbotapi.types.message.content.* import dev.inmo.tgbotapi.types.update.abstracts.Update import dev.inmo.tgbotapi.utils.PreviewFeature @@ -22,7 +21,7 @@ internal inline fun B noinline additionalSubcontextInitialAction: CustomBehaviourContextAndTwoTypesReceiver>? = null, noinline scenarioReceiver: CustomBehaviourContextAndTypeReceiver> ) = on(markerFactory, initialFilter, subcontextUpdatesFilter, additionalSubcontextInitialAction, scenarioReceiver) { - it.baseSentMessageUpdateOrNull() ?.data ?.commonMessageOrNull() ?.withContentOrNull>() ?.let { + it.baseSentMessageUpdateOrNull() ?.data ?.chatContentMessageOrNull() ?.withContentOrNull>() ?.let { if (it.content.group.all { it.content is T }) { @Suppress("UNCHECKED_CAST") listOf(it.content as MediaGroupContent) diff --git a/tgbotapi.behaviour_builder/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/behaviour_builder/triggers_handling/MentionTriggers.kt b/tgbotapi.behaviour_builder/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/behaviour_builder/triggers_handling/MentionTriggers.kt index c659908ce3..915fa265a2 100644 --- a/tgbotapi.behaviour_builder/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/behaviour_builder/triggers_handling/MentionTriggers.kt +++ b/tgbotapi.behaviour_builder/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/behaviour_builder/triggers_handling/MentionTriggers.kt @@ -11,7 +11,7 @@ import dev.inmo.tgbotapi.extensions.behaviour_builder.utils.times import dev.inmo.tgbotapi.types.UserId import dev.inmo.tgbotapi.types.Username import dev.inmo.tgbotapi.types.chat.User -import dev.inmo.tgbotapi.types.message.abstracts.CommonMessage +import dev.inmo.tgbotapi.types.message.abstracts.ChatContentMessage import dev.inmo.tgbotapi.types.message.content.AnimationContent import dev.inmo.tgbotapi.types.message.content.AudioContent import dev.inmo.tgbotapi.types.message.content.DocumentContent @@ -29,10 +29,10 @@ import dev.inmo.tgbotapi.types.update.abstracts.Update internal inline fun BC.onMention( username: Username, initialFilter: CommonMessageFilter? = null, - noinline subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver, Update>? = null, - markerFactory: MarkerFactory, Any>? = AnyMarkerFactory(), - noinline additionalSubcontextInitialAction: CustomBehaviourContextAndTwoTypesReceiver>? = null, - noinline scenarioReceiver: CustomBehaviourContextAndTypeReceiver> + noinline subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver, Update>? = null, + markerFactory: MarkerFactory, Any>? = AnyMarkerFactory(), + noinline additionalSubcontextInitialAction: CustomBehaviourContextAndTwoTypesReceiver>? = null, + noinline scenarioReceiver: CustomBehaviourContextAndTypeReceiver> ) = onContentMessageWithType( initialFilter * { it.content.isWithMention(username) @@ -46,10 +46,10 @@ internal inline fun BC.onMent internal inline fun BC.onTextMention( userId: UserId, initialFilter: CommonMessageFilter? = null, - noinline subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver, Update>? = null, - markerFactory: MarkerFactory, Any>? = AnyMarkerFactory(), - noinline additionalSubcontextInitialAction: CustomBehaviourContextAndTwoTypesReceiver>? = null, - noinline scenarioReceiver: CustomBehaviourContextAndTypeReceiver> + noinline subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver, Update>? = null, + markerFactory: MarkerFactory, Any>? = AnyMarkerFactory(), + noinline additionalSubcontextInitialAction: CustomBehaviourContextAndTwoTypesReceiver>? = null, + noinline scenarioReceiver: CustomBehaviourContextAndTypeReceiver> ) = onContentMessageWithType( initialFilter * { it.content.isWithTextMention(userId) @@ -63,10 +63,10 @@ internal inline fun BC.onText internal inline fun BC.onMention( user: User, initialFilter: CommonMessageFilter? = null, - noinline subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver, Update>? = null, - markerFactory: MarkerFactory, Any>? = AnyMarkerFactory(), - noinline additionalSubcontextInitialAction: CustomBehaviourContextAndTwoTypesReceiver>? = null, - noinline scenarioReceiver: CustomBehaviourContextAndTypeReceiver> + noinline subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver, Update>? = null, + markerFactory: MarkerFactory, Any>? = AnyMarkerFactory(), + noinline additionalSubcontextInitialAction: CustomBehaviourContextAndTwoTypesReceiver>? = null, + noinline scenarioReceiver: CustomBehaviourContextAndTypeReceiver> ) = onContentMessageWithType( initialFilter * { it.content.isWithMention(user) @@ -86,10 +86,10 @@ internal inline fun BC.onMent fun BC.onMentionWithAnyContent( username: Username, initialFilter: CommonMessageFilter? = null, - subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver, Update>? = null, - markerFactory: MarkerFactory, Any>? = AnyMarkerFactory(), - additionalSubcontextInitialAction: CustomBehaviourContextAndTwoTypesReceiver>? = null, - scenarioReceiver: CustomBehaviourContextAndTypeReceiver> + subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver, Update>? = null, + markerFactory: MarkerFactory, Any>? = AnyMarkerFactory(), + additionalSubcontextInitialAction: CustomBehaviourContextAndTwoTypesReceiver>? = null, + scenarioReceiver: CustomBehaviourContextAndTypeReceiver> ) = onMention(username, initialFilter, subcontextUpdatesFilter, markerFactory, additionalSubcontextInitialAction, scenarioReceiver) /** @@ -100,10 +100,10 @@ fun BC.onMentionWithAnyContent( fun BC.onTextMentionWithAnyContent( userId: UserId, initialFilter: CommonMessageFilter? = null, - subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver, Update>? = null, - markerFactory: MarkerFactory, Any>? = AnyMarkerFactory(), - additionalSubcontextInitialAction: CustomBehaviourContextAndTwoTypesReceiver>? = null, - scenarioReceiver: CustomBehaviourContextAndTypeReceiver> + subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver, Update>? = null, + markerFactory: MarkerFactory, Any>? = AnyMarkerFactory(), + additionalSubcontextInitialAction: CustomBehaviourContextAndTwoTypesReceiver>? = null, + scenarioReceiver: CustomBehaviourContextAndTypeReceiver> ) = onTextMention(userId, initialFilter, subcontextUpdatesFilter, markerFactory, additionalSubcontextInitialAction, scenarioReceiver) /** @@ -114,10 +114,10 @@ fun BC.onTextMentionWithAnyContent( fun BC.onMentionWithAnyContent( user: User, initialFilter: CommonMessageFilter? = null, - subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver, Update>? = null, - markerFactory: MarkerFactory, Any>? = AnyMarkerFactory(), - additionalSubcontextInitialAction: CustomBehaviourContextAndTwoTypesReceiver>? = null, - scenarioReceiver: CustomBehaviourContextAndTypeReceiver> + subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver, Update>? = null, + markerFactory: MarkerFactory, Any>? = AnyMarkerFactory(), + additionalSubcontextInitialAction: CustomBehaviourContextAndTwoTypesReceiver>? = null, + scenarioReceiver: CustomBehaviourContextAndTypeReceiver> ) = onMention(user, initialFilter, subcontextUpdatesFilter, markerFactory, additionalSubcontextInitialAction, scenarioReceiver) @@ -130,10 +130,10 @@ fun BC.onMentionWithAnyContent( fun BC.onMentionWithVoiceContent( username: Username, initialFilter: CommonMessageFilter? = null, - subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver, Update>? = null, - markerFactory: MarkerFactory, Any>? = AnyMarkerFactory(), - additionalSubcontextInitialAction: CustomBehaviourContextAndTwoTypesReceiver>? = null, - scenarioReceiver: CustomBehaviourContextAndTypeReceiver> + subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver, Update>? = null, + markerFactory: MarkerFactory, Any>? = AnyMarkerFactory(), + additionalSubcontextInitialAction: CustomBehaviourContextAndTwoTypesReceiver>? = null, + scenarioReceiver: CustomBehaviourContextAndTypeReceiver> ) = onMention(username, initialFilter, subcontextUpdatesFilter, markerFactory, additionalSubcontextInitialAction, scenarioReceiver) /** @@ -144,10 +144,10 @@ fun BC.onMentionWithVoiceContent( fun BC.onTextMentionWithVoiceContent( userId: UserId, initialFilter: CommonMessageFilter? = null, - subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver, Update>? = null, - markerFactory: MarkerFactory, Any>? = AnyMarkerFactory(), - additionalSubcontextInitialAction: CustomBehaviourContextAndTwoTypesReceiver>? = null, - scenarioReceiver: CustomBehaviourContextAndTypeReceiver> + subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver, Update>? = null, + markerFactory: MarkerFactory, Any>? = AnyMarkerFactory(), + additionalSubcontextInitialAction: CustomBehaviourContextAndTwoTypesReceiver>? = null, + scenarioReceiver: CustomBehaviourContextAndTypeReceiver> ) = onTextMention(userId, initialFilter, subcontextUpdatesFilter, markerFactory, additionalSubcontextInitialAction, scenarioReceiver) /** @@ -158,10 +158,10 @@ fun BC.onTextMentionWithVoiceContent( fun BC.onMentionWithVoiceContent( user: User, initialFilter: CommonMessageFilter? = null, - subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver, Update>? = null, - markerFactory: MarkerFactory, Any>? = AnyMarkerFactory(), - additionalSubcontextInitialAction: CustomBehaviourContextAndTwoTypesReceiver>? = null, - scenarioReceiver: CustomBehaviourContextAndTypeReceiver> + subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver, Update>? = null, + markerFactory: MarkerFactory, Any>? = AnyMarkerFactory(), + additionalSubcontextInitialAction: CustomBehaviourContextAndTwoTypesReceiver>? = null, + scenarioReceiver: CustomBehaviourContextAndTypeReceiver> ) = onMention(user, initialFilter, subcontextUpdatesFilter, markerFactory, additionalSubcontextInitialAction, scenarioReceiver) @@ -174,10 +174,10 @@ fun BC.onMentionWithVoiceContent( fun BC.onMentionWithMediaGroupContent( username: Username, initialFilter: CommonMessageFilter>? = null, - subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver>, Update>? = null, - markerFactory: MarkerFactory>, Any>? = AnyMarkerFactory(), - additionalSubcontextInitialAction: CustomBehaviourContextAndTwoTypesReceiver>>? = null, - scenarioReceiver: CustomBehaviourContextAndTypeReceiver>> + subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver>, Update>? = null, + markerFactory: MarkerFactory>, Any>? = AnyMarkerFactory(), + additionalSubcontextInitialAction: CustomBehaviourContextAndTwoTypesReceiver>>? = null, + scenarioReceiver: CustomBehaviourContextAndTypeReceiver>> ) = onMention(username, initialFilter, subcontextUpdatesFilter, markerFactory, additionalSubcontextInitialAction, scenarioReceiver) /** @@ -188,10 +188,10 @@ fun BC.onMentionWithMediaGroupContent( fun BC.onTextMentionWithMediaGroupContent( userId: UserId, initialFilter: CommonMessageFilter>? = null, - subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver>, Update>? = null, - markerFactory: MarkerFactory>, Any>? = AnyMarkerFactory(), - additionalSubcontextInitialAction: CustomBehaviourContextAndTwoTypesReceiver>>? = null, - scenarioReceiver: CustomBehaviourContextAndTypeReceiver>> + subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver>, Update>? = null, + markerFactory: MarkerFactory>, Any>? = AnyMarkerFactory(), + additionalSubcontextInitialAction: CustomBehaviourContextAndTwoTypesReceiver>>? = null, + scenarioReceiver: CustomBehaviourContextAndTypeReceiver>> ) = onTextMention(userId, initialFilter, subcontextUpdatesFilter, markerFactory, additionalSubcontextInitialAction, scenarioReceiver) /** @@ -202,10 +202,10 @@ fun BC.onTextMentionWithMediaGroupContent( fun BC.onMentionWithMediaGroupContent( user: User, initialFilter: CommonMessageFilter>? = null, - subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver>, Update>? = null, - markerFactory: MarkerFactory>, Any>? = AnyMarkerFactory(), - additionalSubcontextInitialAction: CustomBehaviourContextAndTwoTypesReceiver>>? = null, - scenarioReceiver: CustomBehaviourContextAndTypeReceiver>> + subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver>, Update>? = null, + markerFactory: MarkerFactory>, Any>? = AnyMarkerFactory(), + additionalSubcontextInitialAction: CustomBehaviourContextAndTwoTypesReceiver>>? = null, + scenarioReceiver: CustomBehaviourContextAndTypeReceiver>> ) = onMention(user, initialFilter, subcontextUpdatesFilter, markerFactory, additionalSubcontextInitialAction, scenarioReceiver) @@ -218,10 +218,10 @@ fun BC.onMentionWithMediaGroupContent( fun BC.onMentionWithMediaGroupPartContent( username: Username, initialFilter: CommonMessageFilter? = null, - subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver, Update>? = null, - markerFactory: MarkerFactory, Any>? = AnyMarkerFactory(), - additionalSubcontextInitialAction: CustomBehaviourContextAndTwoTypesReceiver>? = null, - scenarioReceiver: CustomBehaviourContextAndTypeReceiver> + subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver, Update>? = null, + markerFactory: MarkerFactory, Any>? = AnyMarkerFactory(), + additionalSubcontextInitialAction: CustomBehaviourContextAndTwoTypesReceiver>? = null, + scenarioReceiver: CustomBehaviourContextAndTypeReceiver> ) = onMention(username, initialFilter, subcontextUpdatesFilter, markerFactory, additionalSubcontextInitialAction, scenarioReceiver) /** @@ -232,10 +232,10 @@ fun BC.onMentionWithMediaGroupPartContent( fun BC.onTextMentionWithMediaGroupPartContent( userId: UserId, initialFilter: CommonMessageFilter? = null, - subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver, Update>? = null, - markerFactory: MarkerFactory, Any>? = AnyMarkerFactory(), - additionalSubcontextInitialAction: CustomBehaviourContextAndTwoTypesReceiver>? = null, - scenarioReceiver: CustomBehaviourContextAndTypeReceiver> + subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver, Update>? = null, + markerFactory: MarkerFactory, Any>? = AnyMarkerFactory(), + additionalSubcontextInitialAction: CustomBehaviourContextAndTwoTypesReceiver>? = null, + scenarioReceiver: CustomBehaviourContextAndTypeReceiver> ) = onTextMention(userId, initialFilter, subcontextUpdatesFilter, markerFactory, additionalSubcontextInitialAction, scenarioReceiver) /** @@ -246,10 +246,10 @@ fun BC.onTextMentionWithMediaGroupPartContent( fun BC.onMentionWithMediaGroupPartContent( user: User, initialFilter: CommonMessageFilter? = null, - subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver, Update>? = null, - markerFactory: MarkerFactory, Any>? = AnyMarkerFactory(), - additionalSubcontextInitialAction: CustomBehaviourContextAndTwoTypesReceiver>? = null, - scenarioReceiver: CustomBehaviourContextAndTypeReceiver> + subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver, Update>? = null, + markerFactory: MarkerFactory, Any>? = AnyMarkerFactory(), + additionalSubcontextInitialAction: CustomBehaviourContextAndTwoTypesReceiver>? = null, + scenarioReceiver: CustomBehaviourContextAndTypeReceiver> ) = onMention(user, initialFilter, subcontextUpdatesFilter, markerFactory, additionalSubcontextInitialAction, scenarioReceiver) @@ -262,10 +262,10 @@ fun BC.onMentionWithMediaGroupPartContent( fun BC.onMentionWithAudioContent( username: Username, initialFilter: CommonMessageFilter? = null, - subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver, Update>? = null, - markerFactory: MarkerFactory, Any>? = AnyMarkerFactory(), - additionalSubcontextInitialAction: CustomBehaviourContextAndTwoTypesReceiver>? = null, - scenarioReceiver: CustomBehaviourContextAndTypeReceiver> + subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver, Update>? = null, + markerFactory: MarkerFactory, Any>? = AnyMarkerFactory(), + additionalSubcontextInitialAction: CustomBehaviourContextAndTwoTypesReceiver>? = null, + scenarioReceiver: CustomBehaviourContextAndTypeReceiver> ) = onMention(username, initialFilter, subcontextUpdatesFilter, markerFactory, additionalSubcontextInitialAction, scenarioReceiver) /** @@ -276,10 +276,10 @@ fun BC.onMentionWithAudioContent( fun BC.onTextMentionWithAudioContent( userId: UserId, initialFilter: CommonMessageFilter? = null, - subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver, Update>? = null, - markerFactory: MarkerFactory, Any>? = AnyMarkerFactory(), - additionalSubcontextInitialAction: CustomBehaviourContextAndTwoTypesReceiver>? = null, - scenarioReceiver: CustomBehaviourContextAndTypeReceiver> + subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver, Update>? = null, + markerFactory: MarkerFactory, Any>? = AnyMarkerFactory(), + additionalSubcontextInitialAction: CustomBehaviourContextAndTwoTypesReceiver>? = null, + scenarioReceiver: CustomBehaviourContextAndTypeReceiver> ) = onTextMention(userId, initialFilter, subcontextUpdatesFilter, markerFactory, additionalSubcontextInitialAction, scenarioReceiver) /** @@ -290,10 +290,10 @@ fun BC.onTextMentionWithAudioContent( fun BC.onMentionWithAudioContent( user: User, initialFilter: CommonMessageFilter? = null, - subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver, Update>? = null, - markerFactory: MarkerFactory, Any>? = AnyMarkerFactory(), - additionalSubcontextInitialAction: CustomBehaviourContextAndTwoTypesReceiver>? = null, - scenarioReceiver: CustomBehaviourContextAndTypeReceiver> + subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver, Update>? = null, + markerFactory: MarkerFactory, Any>? = AnyMarkerFactory(), + additionalSubcontextInitialAction: CustomBehaviourContextAndTwoTypesReceiver>? = null, + scenarioReceiver: CustomBehaviourContextAndTypeReceiver> ) = onMention(user, initialFilter, subcontextUpdatesFilter, markerFactory, additionalSubcontextInitialAction, scenarioReceiver) @@ -306,10 +306,10 @@ fun BC.onMentionWithAudioContent( fun BC.onMentionWithDocumentContent( username: Username, initialFilter: CommonMessageFilter? = null, - subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver, Update>? = null, - markerFactory: MarkerFactory, Any>? = AnyMarkerFactory(), - additionalSubcontextInitialAction: CustomBehaviourContextAndTwoTypesReceiver>? = null, - scenarioReceiver: CustomBehaviourContextAndTypeReceiver> + subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver, Update>? = null, + markerFactory: MarkerFactory, Any>? = AnyMarkerFactory(), + additionalSubcontextInitialAction: CustomBehaviourContextAndTwoTypesReceiver>? = null, + scenarioReceiver: CustomBehaviourContextAndTypeReceiver> ) = onMention(username, initialFilter, subcontextUpdatesFilter, markerFactory, additionalSubcontextInitialAction, scenarioReceiver) /** @@ -320,10 +320,10 @@ fun BC.onMentionWithDocumentContent( fun BC.onTextMentionWithDocumentContent( userId: UserId, initialFilter: CommonMessageFilter? = null, - subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver, Update>? = null, - markerFactory: MarkerFactory, Any>? = AnyMarkerFactory(), - additionalSubcontextInitialAction: CustomBehaviourContextAndTwoTypesReceiver>? = null, - scenarioReceiver: CustomBehaviourContextAndTypeReceiver> + subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver, Update>? = null, + markerFactory: MarkerFactory, Any>? = AnyMarkerFactory(), + additionalSubcontextInitialAction: CustomBehaviourContextAndTwoTypesReceiver>? = null, + scenarioReceiver: CustomBehaviourContextAndTypeReceiver> ) = onTextMention(userId, initialFilter, subcontextUpdatesFilter, markerFactory, additionalSubcontextInitialAction, scenarioReceiver) /** @@ -334,10 +334,10 @@ fun BC.onTextMentionWithDocumentContent( fun BC.onMentionWithDocumentContent( user: User, initialFilter: CommonMessageFilter? = null, - subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver, Update>? = null, - markerFactory: MarkerFactory, Any>? = AnyMarkerFactory(), - additionalSubcontextInitialAction: CustomBehaviourContextAndTwoTypesReceiver>? = null, - scenarioReceiver: CustomBehaviourContextAndTypeReceiver> + subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver, Update>? = null, + markerFactory: MarkerFactory, Any>? = AnyMarkerFactory(), + additionalSubcontextInitialAction: CustomBehaviourContextAndTwoTypesReceiver>? = null, + scenarioReceiver: CustomBehaviourContextAndTypeReceiver> ) = onMention(user, initialFilter, subcontextUpdatesFilter, markerFactory, additionalSubcontextInitialAction, scenarioReceiver) @@ -350,10 +350,10 @@ fun BC.onMentionWithDocumentContent( fun BC.onMentionWithVisualMediaGroupPartContent( username: Username, initialFilter: CommonMessageFilter? = null, - subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver, Update>? = null, - markerFactory: MarkerFactory, Any>? = AnyMarkerFactory(), - additionalSubcontextInitialAction: CustomBehaviourContextAndTwoTypesReceiver>? = null, - scenarioReceiver: CustomBehaviourContextAndTypeReceiver> + subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver, Update>? = null, + markerFactory: MarkerFactory, Any>? = AnyMarkerFactory(), + additionalSubcontextInitialAction: CustomBehaviourContextAndTwoTypesReceiver>? = null, + scenarioReceiver: CustomBehaviourContextAndTypeReceiver> ) = onMention(username, initialFilter, subcontextUpdatesFilter, markerFactory, additionalSubcontextInitialAction, scenarioReceiver) /** @@ -364,10 +364,10 @@ fun BC.onMentionWithVisualMediaGroupPartContent( fun BC.onTextMentionWithVisualMediaGroupPartContent( userId: UserId, initialFilter: CommonMessageFilter? = null, - subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver, Update>? = null, - markerFactory: MarkerFactory, Any>? = AnyMarkerFactory(), - additionalSubcontextInitialAction: CustomBehaviourContextAndTwoTypesReceiver>? = null, - scenarioReceiver: CustomBehaviourContextAndTypeReceiver> + subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver, Update>? = null, + markerFactory: MarkerFactory, Any>? = AnyMarkerFactory(), + additionalSubcontextInitialAction: CustomBehaviourContextAndTwoTypesReceiver>? = null, + scenarioReceiver: CustomBehaviourContextAndTypeReceiver> ) = onTextMention(userId, initialFilter, subcontextUpdatesFilter, markerFactory, additionalSubcontextInitialAction, scenarioReceiver) /** @@ -378,10 +378,10 @@ fun BC.onTextMentionWithVisualMediaGroupPartContent( fun BC.onMentionWithVisualMediaGroupPartContent( user: User, initialFilter: CommonMessageFilter? = null, - subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver, Update>? = null, - markerFactory: MarkerFactory, Any>? = AnyMarkerFactory(), - additionalSubcontextInitialAction: CustomBehaviourContextAndTwoTypesReceiver>? = null, - scenarioReceiver: CustomBehaviourContextAndTypeReceiver> + subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver, Update>? = null, + markerFactory: MarkerFactory, Any>? = AnyMarkerFactory(), + additionalSubcontextInitialAction: CustomBehaviourContextAndTwoTypesReceiver>? = null, + scenarioReceiver: CustomBehaviourContextAndTypeReceiver> ) = onMention(user, initialFilter, subcontextUpdatesFilter, markerFactory, additionalSubcontextInitialAction, scenarioReceiver) @@ -394,10 +394,10 @@ fun BC.onMentionWithVisualMediaGroupPartContent( fun BC.onMentionWithVideoContent( username: Username, initialFilter: CommonMessageFilter? = null, - subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver, Update>? = null, - markerFactory: MarkerFactory, Any>? = AnyMarkerFactory(), - additionalSubcontextInitialAction: CustomBehaviourContextAndTwoTypesReceiver>? = null, - scenarioReceiver: CustomBehaviourContextAndTypeReceiver> + subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver, Update>? = null, + markerFactory: MarkerFactory, Any>? = AnyMarkerFactory(), + additionalSubcontextInitialAction: CustomBehaviourContextAndTwoTypesReceiver>? = null, + scenarioReceiver: CustomBehaviourContextAndTypeReceiver> ) = onMention(username, initialFilter, subcontextUpdatesFilter, markerFactory, additionalSubcontextInitialAction, scenarioReceiver) /** @@ -408,10 +408,10 @@ fun BC.onMentionWithVideoContent( fun BC.onMentionWithLivePhotoContent( username: Username, initialFilter: CommonMessageFilter? = null, - subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver, Update>? = null, - markerFactory: MarkerFactory, Any>? = AnyMarkerFactory(), - additionalSubcontextInitialAction: CustomBehaviourContextAndTwoTypesReceiver>? = null, - scenarioReceiver: CustomBehaviourContextAndTypeReceiver> + subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver, Update>? = null, + markerFactory: MarkerFactory, Any>? = AnyMarkerFactory(), + additionalSubcontextInitialAction: CustomBehaviourContextAndTwoTypesReceiver>? = null, + scenarioReceiver: CustomBehaviourContextAndTypeReceiver> ) = onMention(username, initialFilter, subcontextUpdatesFilter, markerFactory, additionalSubcontextInitialAction, scenarioReceiver) /** @@ -422,10 +422,10 @@ fun BC.onMentionWithLivePhotoContent( fun BC.onTextMentionWithVideoContent( userId: UserId, initialFilter: CommonMessageFilter? = null, - subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver, Update>? = null, - markerFactory: MarkerFactory, Any>? = AnyMarkerFactory(), - additionalSubcontextInitialAction: CustomBehaviourContextAndTwoTypesReceiver>? = null, - scenarioReceiver: CustomBehaviourContextAndTypeReceiver> + subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver, Update>? = null, + markerFactory: MarkerFactory, Any>? = AnyMarkerFactory(), + additionalSubcontextInitialAction: CustomBehaviourContextAndTwoTypesReceiver>? = null, + scenarioReceiver: CustomBehaviourContextAndTypeReceiver> ) = onTextMention(userId, initialFilter, subcontextUpdatesFilter, markerFactory, additionalSubcontextInitialAction, scenarioReceiver) /** @@ -436,10 +436,10 @@ fun BC.onTextMentionWithVideoContent( fun BC.onTextMentionWithLivePhotoContent( userId: UserId, initialFilter: CommonMessageFilter? = null, - subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver, Update>? = null, - markerFactory: MarkerFactory, Any>? = AnyMarkerFactory(), - additionalSubcontextInitialAction: CustomBehaviourContextAndTwoTypesReceiver>? = null, - scenarioReceiver: CustomBehaviourContextAndTypeReceiver> + subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver, Update>? = null, + markerFactory: MarkerFactory, Any>? = AnyMarkerFactory(), + additionalSubcontextInitialAction: CustomBehaviourContextAndTwoTypesReceiver>? = null, + scenarioReceiver: CustomBehaviourContextAndTypeReceiver> ) = onTextMention(userId, initialFilter, subcontextUpdatesFilter, markerFactory, additionalSubcontextInitialAction, scenarioReceiver) /** @@ -450,10 +450,10 @@ fun BC.onTextMentionWithLivePhotoContent( fun BC.onMentionWithVideoContent( user: User, initialFilter: CommonMessageFilter? = null, - subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver, Update>? = null, - markerFactory: MarkerFactory, Any>? = AnyMarkerFactory(), - additionalSubcontextInitialAction: CustomBehaviourContextAndTwoTypesReceiver>? = null, - scenarioReceiver: CustomBehaviourContextAndTypeReceiver> + subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver, Update>? = null, + markerFactory: MarkerFactory, Any>? = AnyMarkerFactory(), + additionalSubcontextInitialAction: CustomBehaviourContextAndTwoTypesReceiver>? = null, + scenarioReceiver: CustomBehaviourContextAndTypeReceiver> ) = onMention(user, initialFilter, subcontextUpdatesFilter, markerFactory, additionalSubcontextInitialAction, scenarioReceiver) /** @@ -464,10 +464,10 @@ fun BC.onMentionWithVideoContent( fun BC.onMentionWithLivePhotoContent( user: User, initialFilter: CommonMessageFilter? = null, - subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver, Update>? = null, - markerFactory: MarkerFactory, Any>? = AnyMarkerFactory(), - additionalSubcontextInitialAction: CustomBehaviourContextAndTwoTypesReceiver>? = null, - scenarioReceiver: CustomBehaviourContextAndTypeReceiver> + subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver, Update>? = null, + markerFactory: MarkerFactory, Any>? = AnyMarkerFactory(), + additionalSubcontextInitialAction: CustomBehaviourContextAndTwoTypesReceiver>? = null, + scenarioReceiver: CustomBehaviourContextAndTypeReceiver> ) = onMention(user, initialFilter, subcontextUpdatesFilter, markerFactory, additionalSubcontextInitialAction, scenarioReceiver) @@ -480,10 +480,10 @@ fun BC.onMentionWithLivePhotoContent( fun BC.onMentionWithPhotoContent( username: Username, initialFilter: CommonMessageFilter? = null, - subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver, Update>? = null, - markerFactory: MarkerFactory, Any>? = AnyMarkerFactory(), - additionalSubcontextInitialAction: CustomBehaviourContextAndTwoTypesReceiver>? = null, - scenarioReceiver: CustomBehaviourContextAndTypeReceiver> + subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver, Update>? = null, + markerFactory: MarkerFactory, Any>? = AnyMarkerFactory(), + additionalSubcontextInitialAction: CustomBehaviourContextAndTwoTypesReceiver>? = null, + scenarioReceiver: CustomBehaviourContextAndTypeReceiver> ) = onMention(username, initialFilter, subcontextUpdatesFilter, markerFactory, additionalSubcontextInitialAction, scenarioReceiver) /** @@ -494,10 +494,10 @@ fun BC.onMentionWithPhotoContent( fun BC.onTextMentionWithPhotoContent( userId: UserId, initialFilter: CommonMessageFilter? = null, - subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver, Update>? = null, - markerFactory: MarkerFactory, Any>? = AnyMarkerFactory(), - additionalSubcontextInitialAction: CustomBehaviourContextAndTwoTypesReceiver>? = null, - scenarioReceiver: CustomBehaviourContextAndTypeReceiver> + subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver, Update>? = null, + markerFactory: MarkerFactory, Any>? = AnyMarkerFactory(), + additionalSubcontextInitialAction: CustomBehaviourContextAndTwoTypesReceiver>? = null, + scenarioReceiver: CustomBehaviourContextAndTypeReceiver> ) = onTextMention(userId, initialFilter, subcontextUpdatesFilter, markerFactory, additionalSubcontextInitialAction, scenarioReceiver) /** @@ -508,10 +508,10 @@ fun BC.onTextMentionWithPhotoContent( fun BC.onMentionWithPhotoContent( user: User, initialFilter: CommonMessageFilter? = null, - subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver, Update>? = null, - markerFactory: MarkerFactory, Any>? = AnyMarkerFactory(), - additionalSubcontextInitialAction: CustomBehaviourContextAndTwoTypesReceiver>? = null, - scenarioReceiver: CustomBehaviourContextAndTypeReceiver> + subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver, Update>? = null, + markerFactory: MarkerFactory, Any>? = AnyMarkerFactory(), + additionalSubcontextInitialAction: CustomBehaviourContextAndTwoTypesReceiver>? = null, + scenarioReceiver: CustomBehaviourContextAndTypeReceiver> ) = onMention(user, initialFilter, subcontextUpdatesFilter, markerFactory, additionalSubcontextInitialAction, scenarioReceiver) @@ -524,10 +524,10 @@ fun BC.onMentionWithPhotoContent( fun BC.onMentionWithAnimationContent( username: Username, initialFilter: CommonMessageFilter? = null, - subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver, Update>? = null, - markerFactory: MarkerFactory, Any>? = AnyMarkerFactory(), - additionalSubcontextInitialAction: CustomBehaviourContextAndTwoTypesReceiver>? = null, - scenarioReceiver: CustomBehaviourContextAndTypeReceiver> + subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver, Update>? = null, + markerFactory: MarkerFactory, Any>? = AnyMarkerFactory(), + additionalSubcontextInitialAction: CustomBehaviourContextAndTwoTypesReceiver>? = null, + scenarioReceiver: CustomBehaviourContextAndTypeReceiver> ) = onMention(username, initialFilter, subcontextUpdatesFilter, markerFactory, additionalSubcontextInitialAction, scenarioReceiver) /** @@ -538,10 +538,10 @@ fun BC.onMentionWithAnimationContent( fun BC.onTextMentionWithAnimationContent( userId: UserId, initialFilter: CommonMessageFilter? = null, - subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver, Update>? = null, - markerFactory: MarkerFactory, Any>? = AnyMarkerFactory(), - additionalSubcontextInitialAction: CustomBehaviourContextAndTwoTypesReceiver>? = null, - scenarioReceiver: CustomBehaviourContextAndTypeReceiver> + subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver, Update>? = null, + markerFactory: MarkerFactory, Any>? = AnyMarkerFactory(), + additionalSubcontextInitialAction: CustomBehaviourContextAndTwoTypesReceiver>? = null, + scenarioReceiver: CustomBehaviourContextAndTypeReceiver> ) = onTextMention(userId, initialFilter, subcontextUpdatesFilter, markerFactory, additionalSubcontextInitialAction, scenarioReceiver) /** @@ -552,10 +552,10 @@ fun BC.onTextMentionWithAnimationContent( fun BC.onMentionWithAnimationContent( user: User, initialFilter: CommonMessageFilter? = null, - subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver, Update>? = null, - markerFactory: MarkerFactory, Any>? = AnyMarkerFactory(), - additionalSubcontextInitialAction: CustomBehaviourContextAndTwoTypesReceiver>? = null, - scenarioReceiver: CustomBehaviourContextAndTypeReceiver> + subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver, Update>? = null, + markerFactory: MarkerFactory, Any>? = AnyMarkerFactory(), + additionalSubcontextInitialAction: CustomBehaviourContextAndTwoTypesReceiver>? = null, + scenarioReceiver: CustomBehaviourContextAndTypeReceiver> ) = onMention(user, initialFilter, subcontextUpdatesFilter, markerFactory, additionalSubcontextInitialAction, scenarioReceiver) @@ -568,10 +568,10 @@ fun BC.onMentionWithAnimationContent( fun BC.onMentionWithTextContent( username: Username, initialFilter: CommonMessageFilter? = null, - subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver, Update>? = null, - markerFactory: MarkerFactory, Any>? = AnyMarkerFactory(), - additionalSubcontextInitialAction: CustomBehaviourContextAndTwoTypesReceiver>? = null, - scenarioReceiver: CustomBehaviourContextAndTypeReceiver> + subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver, Update>? = null, + markerFactory: MarkerFactory, Any>? = AnyMarkerFactory(), + additionalSubcontextInitialAction: CustomBehaviourContextAndTwoTypesReceiver>? = null, + scenarioReceiver: CustomBehaviourContextAndTypeReceiver> ) = onMention(username, initialFilter, subcontextUpdatesFilter, markerFactory, additionalSubcontextInitialAction, scenarioReceiver) /** @@ -582,10 +582,10 @@ fun BC.onMentionWithTextContent( fun BC.onTextMentionWithTextContent( userId: UserId, initialFilter: CommonMessageFilter? = null, - subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver, Update>? = null, - markerFactory: MarkerFactory, Any>? = AnyMarkerFactory(), - additionalSubcontextInitialAction: CustomBehaviourContextAndTwoTypesReceiver>? = null, - scenarioReceiver: CustomBehaviourContextAndTypeReceiver> + subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver, Update>? = null, + markerFactory: MarkerFactory, Any>? = AnyMarkerFactory(), + additionalSubcontextInitialAction: CustomBehaviourContextAndTwoTypesReceiver>? = null, + scenarioReceiver: CustomBehaviourContextAndTypeReceiver> ) = onTextMention(userId, initialFilter, subcontextUpdatesFilter, markerFactory, additionalSubcontextInitialAction, scenarioReceiver) /** @@ -596,9 +596,9 @@ fun BC.onTextMentionWithTextContent( fun BC.onMentionWithTextContent( user: User, initialFilter: CommonMessageFilter? = null, - subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver, Update>? = null, - markerFactory: MarkerFactory, Any>? = AnyMarkerFactory(), - additionalSubcontextInitialAction: CustomBehaviourContextAndTwoTypesReceiver>? = null, - scenarioReceiver: CustomBehaviourContextAndTypeReceiver> + subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver, Update>? = null, + markerFactory: MarkerFactory, Any>? = AnyMarkerFactory(), + additionalSubcontextInitialAction: CustomBehaviourContextAndTwoTypesReceiver>? = null, + scenarioReceiver: CustomBehaviourContextAndTypeReceiver> ) = onMention(user, initialFilter, subcontextUpdatesFilter, markerFactory, additionalSubcontextInitialAction, scenarioReceiver) diff --git a/tgbotapi.core/api/tgbotapi.core.api b/tgbotapi.core/api/tgbotapi.core.api index af59c835a6..3081621de7 100644 --- a/tgbotapi.core/api/tgbotapi.core.api +++ b/tgbotapi.core/api/tgbotapi.core.api @@ -245,6 +245,10 @@ public abstract interface class dev/inmo/tgbotapi/abstracts/types/WithOptionalBu public abstract fun getBusinessConnectionId-nXr5wdE ()Ljava/lang/String; } +public abstract interface class dev/inmo/tgbotapi/abstracts/types/WithOptionalGuestQueryId { + public abstract fun getGuestQueryId-BCLlPIY ()Ljava/lang/String; +} + public abstract interface class dev/inmo/tgbotapi/abstracts/types/WithReplyMarkup { public abstract fun getReplyMarkup ()Ldev/inmo/tgbotapi/types/buttons/KeyboardMarkup; } @@ -1226,6 +1230,38 @@ public final class dev/inmo/tgbotapi/requests/answers/AnswerCallbackQueryKt { public static synthetic fun createAnswer$default (Ldev/inmo/tgbotapi/types/queries/callback/CallbackQuery;Ljava/lang/String;Ljava/lang/Boolean;Ljava/lang/String;Ljava/lang/Integer;ILjava/lang/Object;)Ldev/inmo/tgbotapi/requests/answers/AnswerCallbackQuery; } +public final class dev/inmo/tgbotapi/requests/answers/AnswerGuestQuery : dev/inmo/tgbotapi/requests/abstracts/SimpleRequest { + public static final field Companion Ldev/inmo/tgbotapi/requests/answers/AnswerGuestQuery$Companion; + public synthetic fun (Ljava/lang/String;Ldev/inmo/tgbotapi/types/InlineQueries/InlineQueryResult/abstracts/InlineQueryResult;Lkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1-87nd9ik ()Ljava/lang/String; + public final fun component2 ()Ldev/inmo/tgbotapi/types/InlineQueries/InlineQueryResult/abstracts/InlineQueryResult; + public final fun copy--VhfLvE (Ljava/lang/String;Ldev/inmo/tgbotapi/types/InlineQueries/InlineQueryResult/abstracts/InlineQueryResult;)Ldev/inmo/tgbotapi/requests/answers/AnswerGuestQuery; + public static synthetic fun copy--VhfLvE$default (Ldev/inmo/tgbotapi/requests/answers/AnswerGuestQuery;Ljava/lang/String;Ldev/inmo/tgbotapi/types/InlineQueries/InlineQueryResult/abstracts/InlineQueryResult;ILjava/lang/Object;)Ldev/inmo/tgbotapi/requests/answers/AnswerGuestQuery; + public fun equals (Ljava/lang/Object;)Z + public final fun getGuestQueryId-87nd9ik ()Ljava/lang/String; + 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 fun hashCode ()I + public fun method ()Ljava/lang/String; + public fun toString ()Ljava/lang/String; +} + +public final synthetic class dev/inmo/tgbotapi/requests/answers/AnswerGuestQuery$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Ldev/inmo/tgbotapi/requests/answers/AnswerGuestQuery$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/inmo/tgbotapi/requests/answers/AnswerGuestQuery; + 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/answers/AnswerGuestQuery;)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/answers/AnswerGuestQuery$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + public final class dev/inmo/tgbotapi/requests/answers/AnswerInlineQuery : dev/inmo/tgbotapi/requests/abstracts/SimpleRequest { public static final field Companion Ldev/inmo/tgbotapi/requests/answers/AnswerInlineQuery$Companion; public synthetic fun (Ljava/lang/String;Ljava/util/List;Ljava/lang/Integer;Ljava/lang/Boolean;Ljava/lang/String;Ldev/inmo/tgbotapi/requests/answers/InlineQueryResultsButton;ILkotlin/jvm/internal/DefaultConstructorMarker;)V @@ -10973,6 +11009,7 @@ public final class dev/inmo/tgbotapi/types/CommonKt { 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 guestQueryIdField 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; @@ -11303,6 +11340,7 @@ public final class dev/inmo/tgbotapi/types/CommonKt { public static final field suggestedUsernameField Ljava/lang/String; public static final field supportInlineQueriesField Ljava/lang/String; public static final field supportStreamingField Ljava/lang/String; + public static final field supportsGuestQueriesField Ljava/lang/String; public static final field supportsStreamingField Ljava/lang/String; public static final field switchInlineQueryChosenChatField Ljava/lang/String; public static final field switchInlineQueryCurrentChatField Ljava/lang/String; @@ -11829,6 +11867,36 @@ public final class dev/inmo/tgbotapi/types/GiftId$Companion { public final fun serializer ()Lkotlinx/serialization/KSerializer; } +public final class dev/inmo/tgbotapi/types/GuestQueryId { + public static final field Companion Ldev/inmo/tgbotapi/types/GuestQueryId$Companion; + public static final synthetic fun box-impl (Ljava/lang/String;)Ldev/inmo/tgbotapi/types/GuestQueryId; + public static fun constructor-impl (Ljava/lang/String;)Ljava/lang/String; + public fun equals (Ljava/lang/Object;)Z + public static fun equals-impl (Ljava/lang/String;Ljava/lang/Object;)Z + public static final fun equals-impl0 (Ljava/lang/String;Ljava/lang/String;)Z + public final fun getString ()Ljava/lang/String; + public fun hashCode ()I + public static fun hashCode-impl (Ljava/lang/String;)I + public fun toString ()Ljava/lang/String; + public static fun toString-impl (Ljava/lang/String;)Ljava/lang/String; + public final synthetic fun unbox-impl ()Ljava/lang/String; +} + +public final synthetic class dev/inmo/tgbotapi/types/GuestQueryId$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Ldev/inmo/tgbotapi/types/GuestQueryId$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun deserialize-HWSHt_w (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-oDZeUUE (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/String;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class dev/inmo/tgbotapi/types/GuestQueryId$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + public abstract interface class dev/inmo/tgbotapi/types/IdChatIdentifier : dev/inmo/tgbotapi/types/ChatIdentifier { public static final field Companion Ldev/inmo/tgbotapi/types/IdChatIdentifier$Companion; public fun getBusinessConnectionId-nXr5wdE ()Ljava/lang/String; @@ -14952,6 +15020,7 @@ public final class dev/inmo/tgbotapi/types/UpdateTypesKt { public static final field UPDATE_EDITED_BUSINESS_MESSAGE Ljava/lang/String; public static final field UPDATE_EDITED_CHANNEL_POST Ljava/lang/String; public static final field UPDATE_EDITED_MESSAGE Ljava/lang/String; + public static final field UPDATE_GUEST_MESSAGE Ljava/lang/String; public static final field UPDATE_INLINE_QUERY Ljava/lang/String; public static final field UPDATE_MANAGED_BOT Ljava/lang/String; public static final field UPDATE_MESSAGE Ljava/lang/String; @@ -18166,30 +18235,31 @@ 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 (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;ZILkotlin/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;ZLkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZZZZZLdev/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;ZILkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZZZZZLdev/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;ZLkotlin/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 component10 ()Ldev/inmo/tgbotapi/types/ChatPhoto; + public final fun component11-f3WtEc0 ()I + public final fun component12-mg_h9nU ()Ldev/inmo/tgbotapi/types/colors/ColorId; public final fun component13-GbmMWyQ ()Ljava/lang/String; - public final fun component14 ()I - public final fun component15 ()Z + public final fun component14-GbmMWyQ ()Ljava/lang/String; + public final fun component15 ()I 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 component18 ()Z + public final fun component19 ()Ldev/inmo/tgbotapi/types/gifts/AcceptedGiftTypes; public final fun component2 ()Ljava/lang/String; - public final fun component20 ()Z + public final fun component20 ()Ldev/inmo/tgbotapi/types/gifts/unique/UniqueGiftColors; + public final fun component21 ()Z public final fun component3 ()Ljava/lang/String; public final fun component4-san03mo ()Ljava/lang/String; public final fun component5 ()Z public final fun component6 ()Z public final fun component7 ()Z public final fun component8 ()Z - public final fun component9 ()Ldev/inmo/tgbotapi/types/ChatPhoto; - public final fun copy-vM2md78 (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;Z)Ldev/inmo/tgbotapi/types/chat/ExtendedBot; - public static synthetic fun copy-vM2md78$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;ZILjava/lang/Object;)Ldev/inmo/tgbotapi/types/chat/ExtendedBot; + public final fun component9 ()Z + public final fun copy-PETKox0 (Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZZZZZLdev/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;Z)Ldev/inmo/tgbotapi/types/chat/ExtendedBot; + public static synthetic fun copy-PETKox0$default (Ldev/inmo/tgbotapi/types/chat/ExtendedBot;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZZZZZLdev/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;ZILjava/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; @@ -18209,6 +18279,7 @@ public final class dev/inmo/tgbotapi/types/chat/ExtendedBot : dev/inmo/tgbotapi/ 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 getSupportsGuestQueries ()Z public final fun getSupportsInlineQueries ()Z public fun getUniqueGiftColors ()Ldev/inmo/tgbotapi/types/gifts/unique/UniqueGiftColors; public fun getUsername-san03mo ()Ljava/lang/String; @@ -20526,13 +20597,13 @@ public final class dev/inmo/tgbotapi/types/checklists/ChecklistTaskId$Companion public final class dev/inmo/tgbotapi/types/checklists/ChecklistTasksAdded : dev/inmo/tgbotapi/types/message/ChatEvents/abstracts/CommonEvent { public static final field Companion Ldev/inmo/tgbotapi/types/checklists/ChecklistTasksAdded$Companion; - public fun (Ldev/inmo/tgbotapi/types/message/abstracts/CommonMessage;Ljava/util/List;)V - public final fun component1 ()Ldev/inmo/tgbotapi/types/message/abstracts/CommonMessage; + public fun (Ldev/inmo/tgbotapi/types/message/abstracts/ChatContentMessage;Ljava/util/List;)V + public final fun component1 ()Ldev/inmo/tgbotapi/types/message/abstracts/ChatContentMessage; public final fun component2 ()Ljava/util/List; - public final fun copy (Ldev/inmo/tgbotapi/types/message/abstracts/CommonMessage;Ljava/util/List;)Ldev/inmo/tgbotapi/types/checklists/ChecklistTasksAdded; - public static synthetic fun copy$default (Ldev/inmo/tgbotapi/types/checklists/ChecklistTasksAdded;Ldev/inmo/tgbotapi/types/message/abstracts/CommonMessage;Ljava/util/List;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/checklists/ChecklistTasksAdded; + public final fun copy (Ldev/inmo/tgbotapi/types/message/abstracts/ChatContentMessage;Ljava/util/List;)Ldev/inmo/tgbotapi/types/checklists/ChecklistTasksAdded; + public static synthetic fun copy$default (Ldev/inmo/tgbotapi/types/checklists/ChecklistTasksAdded;Ldev/inmo/tgbotapi/types/message/abstracts/ChatContentMessage;Ljava/util/List;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/checklists/ChecklistTasksAdded; public fun equals (Ljava/lang/Object;)Z - public final fun getChecklistMessage ()Ldev/inmo/tgbotapi/types/message/abstracts/CommonMessage; + public final fun getChecklistMessage ()Ldev/inmo/tgbotapi/types/message/abstracts/ChatContentMessage; public final fun getTasks ()Ljava/util/List; public fun hashCode ()I public fun toString ()Ljava/lang/String; @@ -20555,15 +20626,15 @@ public final class dev/inmo/tgbotapi/types/checklists/ChecklistTasksAdded$Compan public final class dev/inmo/tgbotapi/types/checklists/ChecklistTasksDone : dev/inmo/tgbotapi/types/message/ChatEvents/abstracts/CommonEvent { public static final field Companion Ldev/inmo/tgbotapi/types/checklists/ChecklistTasksDone$Companion; - public fun (Ldev/inmo/tgbotapi/types/message/abstracts/CommonMessage;Ljava/util/List;Ljava/util/List;)V - public synthetic fun (Ldev/inmo/tgbotapi/types/message/abstracts/CommonMessage;Ljava/util/List;Ljava/util/List;ILkotlin/jvm/internal/DefaultConstructorMarker;)V - public final fun component1 ()Ldev/inmo/tgbotapi/types/message/abstracts/CommonMessage; + public fun (Ldev/inmo/tgbotapi/types/message/abstracts/ChatContentMessage;Ljava/util/List;Ljava/util/List;)V + public synthetic fun (Ldev/inmo/tgbotapi/types/message/abstracts/ChatContentMessage;Ljava/util/List;Ljava/util/List;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Ldev/inmo/tgbotapi/types/message/abstracts/ChatContentMessage; public final fun component2 ()Ljava/util/List; public final fun component3 ()Ljava/util/List; - public final fun copy (Ldev/inmo/tgbotapi/types/message/abstracts/CommonMessage;Ljava/util/List;Ljava/util/List;)Ldev/inmo/tgbotapi/types/checklists/ChecklistTasksDone; - public static synthetic fun copy$default (Ldev/inmo/tgbotapi/types/checklists/ChecklistTasksDone;Ldev/inmo/tgbotapi/types/message/abstracts/CommonMessage;Ljava/util/List;Ljava/util/List;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/checklists/ChecklistTasksDone; + public final fun copy (Ldev/inmo/tgbotapi/types/message/abstracts/ChatContentMessage;Ljava/util/List;Ljava/util/List;)Ldev/inmo/tgbotapi/types/checklists/ChecklistTasksDone; + public static synthetic fun copy$default (Ldev/inmo/tgbotapi/types/checklists/ChecklistTasksDone;Ldev/inmo/tgbotapi/types/message/abstracts/ChatContentMessage;Ljava/util/List;Ljava/util/List;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/checklists/ChecklistTasksDone; public fun equals (Ljava/lang/Object;)Z - public final fun getChecklistMessage ()Ldev/inmo/tgbotapi/types/message/abstracts/CommonMessage; + public final fun getChecklistMessage ()Ldev/inmo/tgbotapi/types/message/abstracts/ChatContentMessage; public final fun getMarkedAsDone ()Ljava/util/List; public final fun getMarkedAsNotDone ()Ljava/util/List; public fun hashCode ()I @@ -23847,6 +23918,33 @@ public final class dev/inmo/tgbotapi/types/giveaway/GiveawayResults$Companion { public final fun serializer ()Lkotlinx/serialization/KSerializer; } +public final class dev/inmo/tgbotapi/types/guest/SentGuestMessage { + public static final field Companion Ldev/inmo/tgbotapi/types/guest/SentGuestMessage$Companion; + public synthetic fun (Ljava/lang/String;Lkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1-u1p_GH0 ()Ljava/lang/String; + public final fun copy-_tnj6io (Ljava/lang/String;)Ldev/inmo/tgbotapi/types/guest/SentGuestMessage; + public static synthetic fun copy-_tnj6io$default (Ldev/inmo/tgbotapi/types/guest/SentGuestMessage;Ljava/lang/String;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/guest/SentGuestMessage; + public fun equals (Ljava/lang/Object;)Z + public final fun getInlineMessageId-u1p_GH0 ()Ljava/lang/String; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public final synthetic class dev/inmo/tgbotapi/types/guest/SentGuestMessage$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Ldev/inmo/tgbotapi/types/guest/SentGuestMessage$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/inmo/tgbotapi/types/guest/SentGuestMessage; + 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/guest/SentGuestMessage;)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/guest/SentGuestMessage$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + public final class dev/inmo/tgbotapi/types/location/LiveLocation : dev/inmo/tgbotapi/abstracts/Headed, dev/inmo/tgbotapi/abstracts/Livable, dev/inmo/tgbotapi/abstracts/ProximityAlertable, dev/inmo/tgbotapi/types/location/Location { public static final field Companion Ldev/inmo/tgbotapi/types/location/LiveLocation$Companion; public static final field INDEFINITE_LIVE_PERIOD I @@ -26561,6 +26659,57 @@ public final class dev/inmo/tgbotapi/types/message/FromChannelSuggestedChannelDi public fun toString ()Ljava/lang/String; } +public final class dev/inmo/tgbotapi/types/message/GuestContentMessageImpl : dev/inmo/tgbotapi/types/message/abstracts/GuestContentMessage { + public synthetic fun (JLdev/inmo/tgbotapi/types/chat/User;Ldev/inmo/tgbotapi/types/chat/PreviewChat;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/content/MessageContent;DLkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/message/MessageOrigin;Ldev/inmo/tgbotapi/types/ReplyInfo;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ljava/lang/String;Ldev/inmo/tgbotapi/types/chat/User;Ldev/inmo/tgbotapi/types/chat/PreviewChat;ZLjava/lang/Integer;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (JLdev/inmo/tgbotapi/types/chat/User;Ldev/inmo/tgbotapi/types/chat/PreviewChat;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/content/MessageContent;DLkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/message/MessageOrigin;Ldev/inmo/tgbotapi/types/ReplyInfo;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ljava/lang/String;Ldev/inmo/tgbotapi/types/chat/User;Ldev/inmo/tgbotapi/types/chat/PreviewChat;ZLjava/lang/Integer;Lkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1-APLFQys ()J + public final fun component10 ()Ldev/inmo/tgbotapi/types/ReplyInfo; + public final fun component11 ()Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup; + public final fun component12 ()Ldev/inmo/tgbotapi/types/chat/CommonBot; + public final fun component13-CsYhHCU ()Ljava/lang/String; + public final fun component14 ()Ldev/inmo/tgbotapi/types/chat/User; + public final fun component15 ()Ldev/inmo/tgbotapi/types/chat/PreviewChat; + public final fun component16 ()Z + public final fun component17 ()Ljava/lang/Integer; + public final fun component2 ()Ldev/inmo/tgbotapi/types/chat/User; + public final fun component3 ()Ldev/inmo/tgbotapi/types/chat/PreviewChat; + public final fun component4-87nd9ik ()Ljava/lang/String; + public final fun component5 ()Ldev/inmo/tgbotapi/types/message/content/MessageContent; + public final fun component6-Wg0KzQs ()D + public final fun component7-Ivn3T5g ()Lkorlibs/time/DateTime; + public final fun component8 ()Z + public final fun component9 ()Ldev/inmo/tgbotapi/types/message/MessageOrigin; + public final fun copy-sw4s1ag (JLdev/inmo/tgbotapi/types/chat/User;Ldev/inmo/tgbotapi/types/chat/PreviewChat;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/content/MessageContent;DLkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/message/MessageOrigin;Ldev/inmo/tgbotapi/types/ReplyInfo;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ljava/lang/String;Ldev/inmo/tgbotapi/types/chat/User;Ldev/inmo/tgbotapi/types/chat/PreviewChat;ZLjava/lang/Integer;)Ldev/inmo/tgbotapi/types/message/GuestContentMessageImpl; + public static synthetic fun copy-sw4s1ag$default (Ldev/inmo/tgbotapi/types/message/GuestContentMessageImpl;JLdev/inmo/tgbotapi/types/chat/User;Ldev/inmo/tgbotapi/types/chat/PreviewChat;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/content/MessageContent;DLkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/message/MessageOrigin;Ldev/inmo/tgbotapi/types/ReplyInfo;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ljava/lang/String;Ldev/inmo/tgbotapi/types/chat/User;Ldev/inmo/tgbotapi/types/chat/PreviewChat;ZLjava/lang/Integer;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/message/GuestContentMessageImpl; + public fun equals (Ljava/lang/Object;)Z + public fun getBusinessConnectionId-nXr5wdE ()Ljava/lang/String; + public fun getChat ()Ldev/inmo/tgbotapi/types/chat/PreviewChat; + 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 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 getGuestBotCallerChat ()Ldev/inmo/tgbotapi/types/chat/PreviewChat; + public fun getGuestBotCallerUser ()Ldev/inmo/tgbotapi/types/chat/User; + public fun getGuestQueryId-87nd9ik ()Ljava/lang/String; + public synthetic fun getGuestQueryId-BCLlPIY ()Ljava/lang/String; + 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 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/HTMLParseMode : dev/inmo/tgbotapi/types/message/ParseMode { public static final field INSTANCE Ldev/inmo/tgbotapi/types/message/HTMLParseMode; public fun getParseModeName ()Ljava/lang/String; @@ -26789,7 +26938,7 @@ public final class dev/inmo/tgbotapi/types/message/ParseModeSerializer : kotlinx public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V } -public final class dev/inmo/tgbotapi/types/message/PassportMessage : dev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage, dev/inmo/tgbotapi/types/message/abstracts/FromUserMessage { +public final class dev/inmo/tgbotapi/types/message/PassportMessage : dev/inmo/tgbotapi/types/message/abstracts/ChatMessage, dev/inmo/tgbotapi/types/message/abstracts/FromUserMessage { public synthetic fun (JLdev/inmo/tgbotapi/types/chat/PreviewChat;Ldev/inmo/tgbotapi/types/chat/User;DLdev/inmo/tgbotapi/types/passport/PassportData;Lkotlin/jvm/internal/DefaultConstructorMarker;)V public final fun component1-APLFQys ()J public final fun component2 ()Ldev/inmo/tgbotapi/types/chat/PreviewChat; @@ -27199,7 +27348,18 @@ public final class dev/inmo/tgbotapi/types/message/abstracts/ChannelPaidPost$Def public static fun isPaidPost (Ldev/inmo/tgbotapi/types/message/abstracts/ChannelPaidPost;)Z } -public abstract interface class dev/inmo/tgbotapi/types/message/abstracts/ChatEventMessage : dev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage { +public abstract interface class dev/inmo/tgbotapi/types/message/abstracts/ChatContentMessage : dev/inmo/tgbotapi/types/message/abstracts/ChatMessage, dev/inmo/tgbotapi/types/message/abstracts/CommonContentMessage { +} + +public final class dev/inmo/tgbotapi/types/message/abstracts/ChatContentMessage$DefaultImpls { + public static fun getBusinessConnectionId-nXr5wdE (Ldev/inmo/tgbotapi/types/message/abstracts/ChatContentMessage;)Ljava/lang/String; + public static fun getForwardInfo (Ldev/inmo/tgbotapi/types/message/abstracts/ChatContentMessage;)Ldev/inmo/tgbotapi/types/message/ForwardInfo; + public static fun getForwardable (Ldev/inmo/tgbotapi/types/message/abstracts/ChatContentMessage;)Z + public static fun getMetaInfo-fV8YnZ8 (Ldev/inmo/tgbotapi/types/message/abstracts/ChatContentMessage;)Lkotlin/Triple; + public static fun getReplyTo (Ldev/inmo/tgbotapi/types/message/abstracts/ChatContentMessage;)Ldev/inmo/tgbotapi/types/message/abstracts/Message; +} + +public abstract interface class dev/inmo/tgbotapi/types/message/abstracts/ChatEventMessage : dev/inmo/tgbotapi/types/message/abstracts/ChatMessage { public abstract fun getChatEvent ()Ldev/inmo/tgbotapi/types/message/ChatEvents/abstracts/ChatEvent; } @@ -27208,6 +27368,14 @@ public final class dev/inmo/tgbotapi/types/message/abstracts/ChatEventMessage$De public static fun getMetaInfo-fV8YnZ8 (Ldev/inmo/tgbotapi/types/message/abstracts/ChatEventMessage;)Lkotlin/Triple; } +public abstract interface class dev/inmo/tgbotapi/types/message/abstracts/ChatMessage : dev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage { +} + +public final class dev/inmo/tgbotapi/types/message/abstracts/ChatMessage$DefaultImpls { + public static fun getBusinessConnectionId-nXr5wdE (Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;)Ljava/lang/String; + public static fun getMetaInfo-fV8YnZ8 (Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage;)Lkotlin/Triple; +} + public abstract interface class dev/inmo/tgbotapi/types/message/abstracts/CommonChannelDirectMessagesContentMessage : dev/inmo/tgbotapi/types/message/abstracts/ChannelDirectMessagesContentMessage, dev/inmo/tgbotapi/types/message/abstracts/FromUserMessage, dev/inmo/tgbotapi/types/message/abstracts/PotentiallyFromUserGroupContentMessage { } @@ -27221,6 +27389,17 @@ public final class dev/inmo/tgbotapi/types/message/abstracts/CommonChannelDirect public static fun getUser (Ldev/inmo/tgbotapi/types/message/abstracts/CommonChannelDirectMessagesContentMessage;)Ldev/inmo/tgbotapi/types/chat/User; } +public abstract interface class dev/inmo/tgbotapi/types/message/abstracts/CommonContentMessage : dev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage, dev/inmo/tgbotapi/types/message/abstracts/ContentMessage, dev/inmo/tgbotapi/types/message/abstracts/PossiblyBusinessMessage, dev/inmo/tgbotapi/types/message/abstracts/PossiblyEditedMessage, dev/inmo/tgbotapi/types/message/abstracts/PossiblyForwardedMessage, dev/inmo/tgbotapi/types/message/abstracts/PossiblyMarkedUp, dev/inmo/tgbotapi/types/message/abstracts/PossiblyMediaGroupMessage, dev/inmo/tgbotapi/types/message/abstracts/PossiblyOfflineMessage, dev/inmo/tgbotapi/types/message/abstracts/PossiblyPaidMessage, dev/inmo/tgbotapi/types/message/abstracts/PossiblyReplyMessage { +} + +public final class dev/inmo/tgbotapi/types/message/abstracts/CommonContentMessage$DefaultImpls { + public static fun getBusinessConnectionId-nXr5wdE (Ldev/inmo/tgbotapi/types/message/abstracts/CommonContentMessage;)Ljava/lang/String; + public static fun getForwardInfo (Ldev/inmo/tgbotapi/types/message/abstracts/CommonContentMessage;)Ldev/inmo/tgbotapi/types/message/ForwardInfo; + public static fun getForwardable (Ldev/inmo/tgbotapi/types/message/abstracts/CommonContentMessage;)Z + public static fun getMetaInfo-fV8YnZ8 (Ldev/inmo/tgbotapi/types/message/abstracts/CommonContentMessage;)Lkotlin/Triple; + public static fun getReplyTo (Ldev/inmo/tgbotapi/types/message/abstracts/CommonContentMessage;)Ldev/inmo/tgbotapi/types/message/abstracts/Message; +} + public abstract interface class dev/inmo/tgbotapi/types/message/abstracts/CommonForumContentMessage : dev/inmo/tgbotapi/types/message/abstracts/ForumContentMessage, dev/inmo/tgbotapi/types/message/abstracts/FromUserMessage, dev/inmo/tgbotapi/types/message/abstracts/PotentiallyFromUserGroupContentMessage { } @@ -27246,17 +27425,6 @@ public final class dev/inmo/tgbotapi/types/message/abstracts/CommonGroupContentM public static fun getUser (Ldev/inmo/tgbotapi/types/message/abstracts/CommonGroupContentMessage;)Ldev/inmo/tgbotapi/types/chat/User; } -public abstract interface class dev/inmo/tgbotapi/types/message/abstracts/CommonMessage : dev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage, dev/inmo/tgbotapi/types/message/abstracts/ContentMessage, dev/inmo/tgbotapi/types/message/abstracts/PossiblyBusinessMessage, dev/inmo/tgbotapi/types/message/abstracts/PossiblyEditedMessage, dev/inmo/tgbotapi/types/message/abstracts/PossiblyForwardedMessage, dev/inmo/tgbotapi/types/message/abstracts/PossiblyMarkedUp, dev/inmo/tgbotapi/types/message/abstracts/PossiblyMediaGroupMessage, dev/inmo/tgbotapi/types/message/abstracts/PossiblyOfflineMessage, dev/inmo/tgbotapi/types/message/abstracts/PossiblyPaidMessage, dev/inmo/tgbotapi/types/message/abstracts/PossiblyReplyMessage { -} - -public final class dev/inmo/tgbotapi/types/message/abstracts/CommonMessage$DefaultImpls { - public static fun getBusinessConnectionId-nXr5wdE (Ldev/inmo/tgbotapi/types/message/abstracts/CommonMessage;)Ljava/lang/String; - public static fun getForwardInfo (Ldev/inmo/tgbotapi/types/message/abstracts/CommonMessage;)Ldev/inmo/tgbotapi/types/message/ForwardInfo; - public static fun getForwardable (Ldev/inmo/tgbotapi/types/message/abstracts/CommonMessage;)Z - public static fun getMetaInfo-fV8YnZ8 (Ldev/inmo/tgbotapi/types/message/abstracts/CommonMessage;)Lkotlin/Triple; - public static fun getReplyTo (Ldev/inmo/tgbotapi/types/message/abstracts/CommonMessage;)Ldev/inmo/tgbotapi/types/message/abstracts/Message; -} - public abstract interface class dev/inmo/tgbotapi/types/message/abstracts/CommonSuggestedChannelDirectMessagesContentMessage : dev/inmo/tgbotapi/types/message/abstracts/FromUserMessage, dev/inmo/tgbotapi/types/message/abstracts/PotentiallyFromUserGroupContentMessage, dev/inmo/tgbotapi/types/message/abstracts/SuggestedChannelDirectMessagesContentMessage { } @@ -27394,6 +27562,25 @@ public final class dev/inmo/tgbotapi/types/message/abstracts/GroupEventMessage$D public static fun getUser (Ldev/inmo/tgbotapi/types/message/abstracts/GroupEventMessage;)Ldev/inmo/tgbotapi/types/chat/User; } +public abstract interface class dev/inmo/tgbotapi/types/message/abstracts/GuestContentMessage : dev/inmo/tgbotapi/types/message/abstracts/CommonContentMessage, dev/inmo/tgbotapi/types/message/abstracts/FromUserMessage, dev/inmo/tgbotapi/types/message/abstracts/GuestMessage, dev/inmo/tgbotapi/types/message/abstracts/PossiblySentViaBot, dev/inmo/tgbotapi/types/message/abstracts/SpecialMessage { + public abstract fun getGuestQueryId-87nd9ik ()Ljava/lang/String; +} + +public final class dev/inmo/tgbotapi/types/message/abstracts/GuestContentMessage$DefaultImpls { + public static fun getBusinessConnectionId-nXr5wdE (Ldev/inmo/tgbotapi/types/message/abstracts/GuestContentMessage;)Ljava/lang/String; + public static fun getForwardInfo (Ldev/inmo/tgbotapi/types/message/abstracts/GuestContentMessage;)Ldev/inmo/tgbotapi/types/message/ForwardInfo; + public static fun getForwardable (Ldev/inmo/tgbotapi/types/message/abstracts/GuestContentMessage;)Z + public static fun getMetaInfo-fV8YnZ8 (Ldev/inmo/tgbotapi/types/message/abstracts/GuestContentMessage;)Lkotlin/Triple; + public static fun getReplyTo (Ldev/inmo/tgbotapi/types/message/abstracts/GuestContentMessage;)Ldev/inmo/tgbotapi/types/message/abstracts/Message; + public static fun getUser (Ldev/inmo/tgbotapi/types/message/abstracts/GuestContentMessage;)Ldev/inmo/tgbotapi/types/chat/User; +} + +public abstract interface class dev/inmo/tgbotapi/types/message/abstracts/GuestMessage : dev/inmo/tgbotapi/abstracts/types/WithOptionalGuestQueryId { + public abstract fun getGuestBotCallerChat ()Ldev/inmo/tgbotapi/types/chat/PreviewChat; + public abstract fun getGuestBotCallerUser ()Ldev/inmo/tgbotapi/types/chat/User; + public abstract fun getGuestQueryId-87nd9ik ()Ljava/lang/String; +} + public final class dev/inmo/tgbotapi/types/message/abstracts/InaccessibleMessage : dev/inmo/tgbotapi/types/message/abstracts/Message { public static final field Companion Ldev/inmo/tgbotapi/types/message/abstracts/InaccessibleMessage$Companion; public synthetic fun (Ldev/inmo/tgbotapi/types/chat/PreviewChat;JLkotlin/jvm/internal/DefaultConstructorMarker;)V @@ -27476,7 +27663,7 @@ public final class dev/inmo/tgbotapi/types/message/abstracts/Message$MetaInfo$Co public final fun serializer ()Lkotlinx/serialization/KSerializer; } -public abstract interface class dev/inmo/tgbotapi/types/message/abstracts/OptionallyFromUserMessage : dev/inmo/tgbotapi/abstracts/OptionallyFromUser, dev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage { +public abstract interface class dev/inmo/tgbotapi/types/message/abstracts/OptionallyFromUserMessage : dev/inmo/tgbotapi/abstracts/OptionallyFromUser, dev/inmo/tgbotapi/types/message/abstracts/Message { } public final class dev/inmo/tgbotapi/types/message/abstracts/OptionallyFromUserMessage$DefaultImpls { @@ -27493,7 +27680,7 @@ public final class dev/inmo/tgbotapi/types/message/abstracts/PossiblyBusinessMes public static fun getBusinessConnectionId-nXr5wdE (Ldev/inmo/tgbotapi/types/message/abstracts/PossiblyBusinessMessage;)Ljava/lang/String; } -public abstract interface class dev/inmo/tgbotapi/types/message/abstracts/PossiblyEditedMessage : dev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage { +public abstract interface class dev/inmo/tgbotapi/types/message/abstracts/PossiblyEditedMessage : dev/inmo/tgbotapi/types/message/abstracts/Message { public abstract fun getEditDate-Ivn3T5g ()Lkorlibs/time/DateTime; } @@ -27502,7 +27689,7 @@ public final class dev/inmo/tgbotapi/types/message/abstracts/PossiblyEditedMessa public static fun getMetaInfo-fV8YnZ8 (Ldev/inmo/tgbotapi/types/message/abstracts/PossiblyEditedMessage;)Lkotlin/Triple; } -public abstract interface class dev/inmo/tgbotapi/types/message/abstracts/PossiblyForwardedMessage : dev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage { +public abstract interface class dev/inmo/tgbotapi/types/message/abstracts/PossiblyForwardedMessage : dev/inmo/tgbotapi/types/message/abstracts/Message { public fun getForwardInfo ()Ldev/inmo/tgbotapi/types/message/ForwardInfo; public abstract fun getForwardOrigin ()Ldev/inmo/tgbotapi/types/message/MessageOrigin; } @@ -27545,7 +27732,7 @@ public final class dev/inmo/tgbotapi/types/message/abstracts/PossiblyPaidMessage public static fun getMetaInfo-fV8YnZ8 (Ldev/inmo/tgbotapi/types/message/abstracts/PossiblyPaidMessage;)Lkotlin/Triple; } -public abstract interface class dev/inmo/tgbotapi/types/message/abstracts/PossiblyPaymentMessage : dev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage { +public abstract interface class dev/inmo/tgbotapi/types/message/abstracts/PossiblyPaymentMessage : dev/inmo/tgbotapi/types/message/abstracts/ChatMessage { public abstract fun getPaymentInfo ()Ldev/inmo/tgbotapi/types/message/payments/abstracts/PaymentInfo; } @@ -27567,7 +27754,7 @@ public abstract interface class dev/inmo/tgbotapi/types/message/abstracts/Possib public abstract fun getSenderBot ()Ldev/inmo/tgbotapi/types/chat/CommonBot; } -public abstract interface class dev/inmo/tgbotapi/types/message/abstracts/PossiblySentViaBotCommonMessage : dev/inmo/tgbotapi/types/message/abstracts/CommonMessage, dev/inmo/tgbotapi/types/message/abstracts/PossiblySentViaBot { +public abstract interface class dev/inmo/tgbotapi/types/message/abstracts/PossiblySentViaBotCommonMessage : dev/inmo/tgbotapi/types/message/abstracts/ChatContentMessage, dev/inmo/tgbotapi/types/message/abstracts/PossiblySentViaBot { } public final class dev/inmo/tgbotapi/types/message/abstracts/PossiblySentViaBotCommonMessage$DefaultImpls { @@ -27578,7 +27765,7 @@ public final class dev/inmo/tgbotapi/types/message/abstracts/PossiblySentViaBotC public static fun getReplyTo (Ldev/inmo/tgbotapi/types/message/abstracts/PossiblySentViaBotCommonMessage;)Ldev/inmo/tgbotapi/types/message/abstracts/Message; } -public abstract interface class dev/inmo/tgbotapi/types/message/abstracts/PossiblyTopicMessage : dev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage { +public abstract interface class dev/inmo/tgbotapi/types/message/abstracts/PossiblyTopicMessage : dev/inmo/tgbotapi/types/message/abstracts/ChatMessage { public abstract fun getThreadCreatingInfo ()Ldev/inmo/tgbotapi/types/message/ChatEvents/forum/ForumTopicCreated; public abstract fun getThreadId-S3HF-10 ()Ldev/inmo/tgbotapi/types/MessageThreadId; } @@ -27647,7 +27834,7 @@ public final class dev/inmo/tgbotapi/types/message/abstracts/PublicContentMessag public static fun getReplyTo (Ldev/inmo/tgbotapi/types/message/abstracts/PublicContentMessage;)Ldev/inmo/tgbotapi/types/message/abstracts/Message; } -public abstract interface class dev/inmo/tgbotapi/types/message/abstracts/SignedMessage : dev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage { +public abstract interface class dev/inmo/tgbotapi/types/message/abstracts/SignedMessage : dev/inmo/tgbotapi/types/message/abstracts/ChatMessage { public abstract fun getAuthorSignature ()Ljava/lang/String; } @@ -27656,6 +27843,14 @@ public final class dev/inmo/tgbotapi/types/message/abstracts/SignedMessage$Defau public static fun getMetaInfo-fV8YnZ8 (Ldev/inmo/tgbotapi/types/message/abstracts/SignedMessage;)Lkotlin/Triple; } +public abstract interface class dev/inmo/tgbotapi/types/message/abstracts/SpecialMessage : dev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage { +} + +public final class dev/inmo/tgbotapi/types/message/abstracts/SpecialMessage$DefaultImpls { + public static fun getBusinessConnectionId-nXr5wdE (Ldev/inmo/tgbotapi/types/message/abstracts/SpecialMessage;)Ljava/lang/String; + public static fun getMetaInfo-fV8YnZ8 (Ldev/inmo/tgbotapi/types/message/abstracts/SpecialMessage;)Lkotlin/Triple; +} + public abstract interface class dev/inmo/tgbotapi/types/message/abstracts/SuggestedChannelDirectMessagesContentMessage : dev/inmo/tgbotapi/types/message/abstracts/ChannelDirectMessagesContentMessage { public abstract fun getSuggestedPostInfo ()Ldev/inmo/tgbotapi/types/message/ChatEvents/suggested/SuggestedPostInfo; } @@ -27691,7 +27886,7 @@ public final class dev/inmo/tgbotapi/types/message/abstracts/UnconnectedFromChan public static fun getSenderChat (Ldev/inmo/tgbotapi/types/message/abstracts/UnconnectedFromChannelGroupContentMessage;)Ldev/inmo/tgbotapi/types/chat/PreviewChannelChat; } -public final class dev/inmo/tgbotapi/types/message/abstracts/UnknownMessageType : dev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage { +public final class dev/inmo/tgbotapi/types/message/abstracts/UnknownMessageType : dev/inmo/tgbotapi/types/message/abstracts/ChatMessage { public synthetic fun (JLdev/inmo/tgbotapi/types/chat/PreviewChat;DLjava/lang/Exception;Lkotlin/jvm/internal/DefaultConstructorMarker;)V public final fun component1-APLFQys ()J public final fun component2 ()Ldev/inmo/tgbotapi/types/chat/PreviewChat; @@ -28200,16 +28395,16 @@ public final class dev/inmo/tgbotapi/types/message/content/MediaGroupCollectionC public final class dev/inmo/tgbotapi/types/message/content/MediaGroupCollectionContent$PartWrapper { public static final field Companion Ldev/inmo/tgbotapi/types/message/content/MediaGroupCollectionContent$PartWrapper$Companion; - public synthetic fun (JLdev/inmo/tgbotapi/types/message/content/MediaGroupPartContent;Ldev/inmo/tgbotapi/types/message/abstracts/PossiblySentViaBotCommonMessage;Lkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (JLdev/inmo/tgbotapi/types/message/content/MediaGroupPartContent;Ldev/inmo/tgbotapi/types/message/abstracts/CommonContentMessage;Lkotlin/jvm/internal/DefaultConstructorMarker;)V public final fun component1-APLFQys ()J public final fun component2 ()Ldev/inmo/tgbotapi/types/message/content/MediaGroupPartContent; - public final fun component3 ()Ldev/inmo/tgbotapi/types/message/abstracts/PossiblySentViaBotCommonMessage; - public final fun copy-mydxz3Q (JLdev/inmo/tgbotapi/types/message/content/MediaGroupPartContent;Ldev/inmo/tgbotapi/types/message/abstracts/PossiblySentViaBotCommonMessage;)Ldev/inmo/tgbotapi/types/message/content/MediaGroupCollectionContent$PartWrapper; - public static synthetic fun copy-mydxz3Q$default (Ldev/inmo/tgbotapi/types/message/content/MediaGroupCollectionContent$PartWrapper;JLdev/inmo/tgbotapi/types/message/content/MediaGroupPartContent;Ldev/inmo/tgbotapi/types/message/abstracts/PossiblySentViaBotCommonMessage;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/message/content/MediaGroupCollectionContent$PartWrapper; + public final fun component3 ()Ldev/inmo/tgbotapi/types/message/abstracts/CommonContentMessage; + public final fun copy-mydxz3Q (JLdev/inmo/tgbotapi/types/message/content/MediaGroupPartContent;Ldev/inmo/tgbotapi/types/message/abstracts/CommonContentMessage;)Ldev/inmo/tgbotapi/types/message/content/MediaGroupCollectionContent$PartWrapper; + public static synthetic fun copy-mydxz3Q$default (Ldev/inmo/tgbotapi/types/message/content/MediaGroupCollectionContent$PartWrapper;JLdev/inmo/tgbotapi/types/message/content/MediaGroupPartContent;Ldev/inmo/tgbotapi/types/message/abstracts/CommonContentMessage;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/message/content/MediaGroupCollectionContent$PartWrapper; public fun equals (Ljava/lang/Object;)Z public final fun getContent ()Ldev/inmo/tgbotapi/types/message/content/MediaGroupPartContent; public final fun getMessageId-APLFQys ()J - public final fun getSourceMessage ()Ldev/inmo/tgbotapi/types/message/abstracts/PossiblySentViaBotCommonMessage; + public final fun getSourceMessage ()Ldev/inmo/tgbotapi/types/message/abstracts/CommonContentMessage; public fun hashCode ()I public fun toString ()Ljava/lang/String; } @@ -34413,8 +34608,8 @@ public final class dev/inmo/tgbotapi/types/update/BusinessMessageUpdate : dev/in public synthetic fun (JLdev/inmo/tgbotapi/types/message/abstracts/BusinessContentMessage;Lkotlin/jvm/internal/DefaultConstructorMarker;)V public final fun component1-4k5XoGU ()J public final fun component2 ()Ldev/inmo/tgbotapi/types/message/abstracts/BusinessContentMessage; - public fun copy (Ldev/inmo/tgbotapi/types/message/abstracts/ContentMessage;)Ldev/inmo/tgbotapi/types/update/BusinessMessageUpdate; - public synthetic fun copy (Ldev/inmo/tgbotapi/types/message/abstracts/ContentMessage;)Ldev/inmo/tgbotapi/types/update/abstracts/BaseSentMessageUpdate; + public fun copy (Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;)Ldev/inmo/tgbotapi/types/update/BusinessMessageUpdate; + public synthetic fun copy (Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;)Ldev/inmo/tgbotapi/types/update/abstracts/BaseSentMessageUpdate; public final fun copy-VElHuNg (JLdev/inmo/tgbotapi/types/message/abstracts/BusinessContentMessage;)Ldev/inmo/tgbotapi/types/update/BusinessMessageUpdate; public static synthetic fun copy-VElHuNg$default (Ldev/inmo/tgbotapi/types/update/BusinessMessageUpdate;JLdev/inmo/tgbotapi/types/message/abstracts/BusinessContentMessage;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/update/BusinessMessageUpdate; public fun equals (Ljava/lang/Object;)Z @@ -34444,7 +34639,7 @@ public final class dev/inmo/tgbotapi/types/update/ChannelPostUpdate : dev/inmo/t public synthetic fun (JLdev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Lkotlin/jvm/internal/DefaultConstructorMarker;)V public final fun component1-4k5XoGU ()J public final fun component2 ()Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage; - public fun copy (Ldev/inmo/tgbotapi/types/message/abstracts/ContentMessage;)Ldev/inmo/tgbotapi/types/update/abstracts/BaseSentMessageUpdate; + public fun copy (Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;)Ldev/inmo/tgbotapi/types/update/abstracts/BaseSentMessageUpdate; public final fun copy-VElHuNg (JLdev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;)Ldev/inmo/tgbotapi/types/update/ChannelPostUpdate; public static synthetic fun copy-VElHuNg$default (Ldev/inmo/tgbotapi/types/update/ChannelPostUpdate;JLdev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/update/ChannelPostUpdate; public fun equals (Ljava/lang/Object;)Z @@ -34640,7 +34835,7 @@ public final class dev/inmo/tgbotapi/types/update/EditBusinessMessageUpdate : de public fun equals (Ljava/lang/Object;)Z public synthetic fun getData ()Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage; public fun getData ()Ldev/inmo/tgbotapi/types/message/abstracts/BusinessContentMessage; - public synthetic fun getData ()Ldev/inmo/tgbotapi/types/message/abstracts/CommonMessage; + public synthetic fun getData ()Ldev/inmo/tgbotapi/types/message/abstracts/ChatContentMessage; public synthetic fun getData ()Ljava/lang/Object; public fun getUpdateId-4k5XoGU ()J public fun hashCode ()I @@ -34648,14 +34843,14 @@ public final class dev/inmo/tgbotapi/types/update/EditBusinessMessageUpdate : de } public final class dev/inmo/tgbotapi/types/update/EditChannelPostUpdate : dev/inmo/tgbotapi/types/update/abstracts/BaseEditMessageUpdate { - public synthetic fun (JLdev/inmo/tgbotapi/types/message/abstracts/CommonMessage;Lkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (JLdev/inmo/tgbotapi/types/message/abstracts/ChatContentMessage;Lkotlin/jvm/internal/DefaultConstructorMarker;)V public final fun component1-4k5XoGU ()J - public final fun component2 ()Ldev/inmo/tgbotapi/types/message/abstracts/CommonMessage; - public final fun copy-VElHuNg (JLdev/inmo/tgbotapi/types/message/abstracts/CommonMessage;)Ldev/inmo/tgbotapi/types/update/EditChannelPostUpdate; - public static synthetic fun copy-VElHuNg$default (Ldev/inmo/tgbotapi/types/update/EditChannelPostUpdate;JLdev/inmo/tgbotapi/types/message/abstracts/CommonMessage;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/update/EditChannelPostUpdate; + public final fun component2 ()Ldev/inmo/tgbotapi/types/message/abstracts/ChatContentMessage; + public final fun copy-VElHuNg (JLdev/inmo/tgbotapi/types/message/abstracts/ChatContentMessage;)Ldev/inmo/tgbotapi/types/update/EditChannelPostUpdate; + public static synthetic fun copy-VElHuNg$default (Ldev/inmo/tgbotapi/types/update/EditChannelPostUpdate;JLdev/inmo/tgbotapi/types/message/abstracts/ChatContentMessage;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/update/EditChannelPostUpdate; public fun equals (Ljava/lang/Object;)Z public synthetic fun getData ()Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage; - public fun getData ()Ldev/inmo/tgbotapi/types/message/abstracts/CommonMessage; + public fun getData ()Ldev/inmo/tgbotapi/types/message/abstracts/ChatContentMessage; public synthetic fun getData ()Ljava/lang/Object; public fun getUpdateId-4k5XoGU ()J public fun hashCode ()I @@ -34663,14 +34858,31 @@ public final class dev/inmo/tgbotapi/types/update/EditChannelPostUpdate : dev/in } public final class dev/inmo/tgbotapi/types/update/EditMessageUpdate : dev/inmo/tgbotapi/types/update/abstracts/BaseEditMessageUpdate { - public synthetic fun (JLdev/inmo/tgbotapi/types/message/abstracts/CommonMessage;Lkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (JLdev/inmo/tgbotapi/types/message/abstracts/ChatContentMessage;Lkotlin/jvm/internal/DefaultConstructorMarker;)V public final fun component1-4k5XoGU ()J - public final fun component2 ()Ldev/inmo/tgbotapi/types/message/abstracts/CommonMessage; - public final fun copy-VElHuNg (JLdev/inmo/tgbotapi/types/message/abstracts/CommonMessage;)Ldev/inmo/tgbotapi/types/update/EditMessageUpdate; - public static synthetic fun copy-VElHuNg$default (Ldev/inmo/tgbotapi/types/update/EditMessageUpdate;JLdev/inmo/tgbotapi/types/message/abstracts/CommonMessage;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/update/EditMessageUpdate; + public final fun component2 ()Ldev/inmo/tgbotapi/types/message/abstracts/ChatContentMessage; + public final fun copy-VElHuNg (JLdev/inmo/tgbotapi/types/message/abstracts/ChatContentMessage;)Ldev/inmo/tgbotapi/types/update/EditMessageUpdate; + public static synthetic fun copy-VElHuNg$default (Ldev/inmo/tgbotapi/types/update/EditMessageUpdate;JLdev/inmo/tgbotapi/types/message/abstracts/ChatContentMessage;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/update/EditMessageUpdate; public fun equals (Ljava/lang/Object;)Z public synthetic fun getData ()Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage; - public fun getData ()Ldev/inmo/tgbotapi/types/message/abstracts/CommonMessage; + public fun getData ()Ldev/inmo/tgbotapi/types/message/abstracts/ChatContentMessage; + public synthetic fun getData ()Ljava/lang/Object; + public fun getUpdateId-4k5XoGU ()J + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public final class dev/inmo/tgbotapi/types/update/GuestMessageUpdate : dev/inmo/tgbotapi/types/update/abstracts/BaseSentMessageUpdate { + public synthetic fun (JLdev/inmo/tgbotapi/types/message/abstracts/GuestContentMessage;Lkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1-4k5XoGU ()J + public final fun component2 ()Ldev/inmo/tgbotapi/types/message/abstracts/GuestContentMessage; + public fun copy (Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;)Ldev/inmo/tgbotapi/types/update/GuestMessageUpdate; + public synthetic fun copy (Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;)Ldev/inmo/tgbotapi/types/update/abstracts/BaseSentMessageUpdate; + public final fun copy-VElHuNg (JLdev/inmo/tgbotapi/types/message/abstracts/GuestContentMessage;)Ldev/inmo/tgbotapi/types/update/GuestMessageUpdate; + public static synthetic fun copy-VElHuNg$default (Ldev/inmo/tgbotapi/types/update/GuestMessageUpdate;JLdev/inmo/tgbotapi/types/message/abstracts/GuestContentMessage;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/update/GuestMessageUpdate; + public fun equals (Ljava/lang/Object;)Z + public synthetic fun getData ()Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage; + public fun getData ()Ldev/inmo/tgbotapi/types/message/abstracts/GuestContentMessage; public synthetic fun getData ()Ljava/lang/Object; public fun getUpdateId-4k5XoGU ()J public fun hashCode ()I @@ -34725,8 +34937,8 @@ public final class dev/inmo/tgbotapi/types/update/MessageUpdate : dev/inmo/tgbot public synthetic fun (JLdev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Lkotlin/jvm/internal/DefaultConstructorMarker;)V public final fun component1-4k5XoGU ()J public final fun component2 ()Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage; - public fun copy (Ldev/inmo/tgbotapi/types/message/abstracts/ContentMessage;)Ldev/inmo/tgbotapi/types/update/MessageUpdate; - public synthetic fun copy (Ldev/inmo/tgbotapi/types/message/abstracts/ContentMessage;)Ldev/inmo/tgbotapi/types/update/abstracts/BaseSentMessageUpdate; + public fun copy (Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;)Ldev/inmo/tgbotapi/types/update/MessageUpdate; + public synthetic fun copy (Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;)Ldev/inmo/tgbotapi/types/update/abstracts/BaseSentMessageUpdate; public final fun copy-VElHuNg (JLdev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;)Ldev/inmo/tgbotapi/types/update/MessageUpdate; public static synthetic fun copy-VElHuNg$default (Ldev/inmo/tgbotapi/types/update/MessageUpdate;JLdev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/update/MessageUpdate; public fun equals (Ljava/lang/Object;)Z @@ -34838,7 +35050,7 @@ public final class dev/inmo/tgbotapi/types/update/ShippingQueryUpdate : dev/inmo } public abstract interface class dev/inmo/tgbotapi/types/update/abstracts/BaseEditMessageUpdate : dev/inmo/tgbotapi/types/update/abstracts/BaseMessageUpdate { - public abstract fun getData ()Ldev/inmo/tgbotapi/types/message/abstracts/CommonMessage; + public abstract fun getData ()Ldev/inmo/tgbotapi/types/message/abstracts/ChatContentMessage; } public abstract interface class dev/inmo/tgbotapi/types/update/abstracts/BaseMessageUpdate : dev/inmo/tgbotapi/types/update/abstracts/Update { @@ -34846,7 +35058,7 @@ public abstract interface class dev/inmo/tgbotapi/types/update/abstracts/BaseMes } public abstract interface class dev/inmo/tgbotapi/types/update/abstracts/BaseSentMessageUpdate : dev/inmo/tgbotapi/types/update/abstracts/BaseMessageUpdate { - public abstract fun copy (Ldev/inmo/tgbotapi/types/message/abstracts/ContentMessage;)Ldev/inmo/tgbotapi/types/update/abstracts/BaseSentMessageUpdate; + public abstract fun copy (Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;)Ldev/inmo/tgbotapi/types/update/abstracts/BaseSentMessageUpdate; } public abstract interface class dev/inmo/tgbotapi/types/update/abstracts/ChatMemberUpdatedUpdate : dev/inmo/tgbotapi/types/update/abstracts/Update { @@ -35007,6 +35219,7 @@ public abstract class dev/inmo/tgbotapi/updateshandlers/AbstractFlowsUpdatesFilt public fun getEditedChannelPostsFlow ()Lkotlinx/coroutines/flow/Flow; public fun getEditedMessageMediaGroupsFlow ()Lkotlinx/coroutines/flow/Flow; public fun getEditedMessagesFlow ()Lkotlinx/coroutines/flow/Flow; + public fun getGuestMessageUpdatesFlow ()Lkotlinx/coroutines/flow/Flow; public fun getInlineQueriesFlow ()Lkotlinx/coroutines/flow/Flow; public fun getManagedBotUpdatesFlow ()Lkotlinx/coroutines/flow/Flow; public fun getMessageMediaGroupsFlow ()Lkotlinx/coroutines/flow/Flow; @@ -35049,6 +35262,7 @@ public abstract interface class dev/inmo/tgbotapi/updateshandlers/FlowsUpdatesFi public abstract fun getEditedChannelPostsFlow ()Lkotlinx/coroutines/flow/Flow; public fun getEditedMessageMediaGroupsFlow ()Lkotlinx/coroutines/flow/Flow; public abstract fun getEditedMessagesFlow ()Lkotlinx/coroutines/flow/Flow; + public abstract fun getGuestMessageUpdatesFlow ()Lkotlinx/coroutines/flow/Flow; public abstract fun getInlineQueriesFlow ()Lkotlinx/coroutines/flow/Flow; public abstract fun getManagedBotUpdatesFlow ()Lkotlinx/coroutines/flow/Flow; public fun getMessageMediaGroupsFlow ()Lkotlinx/coroutines/flow/Flow; @@ -35571,7 +35785,7 @@ public final class dev/inmo/tgbotapi/utils/extensions/AsReferenceKt { } public final class dev/inmo/tgbotapi/utils/extensions/MediaGroupContentMessageCreatorKt { - public static final fun asMediaGroupMessage (Ljava/util/List;)Ldev/inmo/tgbotapi/types/message/abstracts/PossiblySentViaBotCommonMessage; + public static final fun asMediaGroupMessage (Ljava/util/List;)Ldev/inmo/tgbotapi/types/message/abstracts/CommonContentMessage; } public final class dev/inmo/tgbotapi/utils/extensions/OptionalDirectMessageThreadIdKt { diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/abstracts/types/WithOptionalGuestQueryId.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/abstracts/types/WithOptionalGuestQueryId.kt new file mode 100644 index 0000000000..f4720347e5 --- /dev/null +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/abstracts/types/WithOptionalGuestQueryId.kt @@ -0,0 +1,7 @@ +package dev.inmo.tgbotapi.abstracts.types + +import dev.inmo.tgbotapi.types.GuestQueryId + +interface WithOptionalGuestQueryId { + val guestQueryId: GuestQueryId? +} diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/answers/AnswerGuestQuery.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/answers/AnswerGuestQuery.kt new file mode 100644 index 0000000000..ff14480077 --- /dev/null +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/answers/AnswerGuestQuery.kt @@ -0,0 +1,26 @@ +package dev.inmo.tgbotapi.requests.answers + +import dev.inmo.tgbotapi.requests.abstracts.SimpleRequest +import dev.inmo.tgbotapi.types.GuestQueryId +import dev.inmo.tgbotapi.types.InlineQueries.InlineQueryResult.abstracts.InlineQueryResult +import dev.inmo.tgbotapi.types.guest.SentGuestMessage +import dev.inmo.tgbotapi.types.guestQueryIdField +import dev.inmo.tgbotapi.types.resultField +import kotlinx.serialization.DeserializationStrategy +import kotlinx.serialization.SerialName +import kotlinx.serialization.SerializationStrategy +import kotlinx.serialization.Serializable + +@Serializable +data class AnswerGuestQuery( + @SerialName(guestQueryIdField) + val guestQueryId: GuestQueryId, + @SerialName(resultField) + val result: InlineQueryResult +) : SimpleRequest { + override fun method(): String = "answerGuestQuery" + override val resultDeserializer: DeserializationStrategy + get() = SentGuestMessage.serializer() + override val requestSerializer: SerializationStrategy<*> + get() = serializer() +} diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/send/SendChecklist.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/send/SendChecklist.kt index 63012d5fef..6bca372aee 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/send/SendChecklist.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/send/SendChecklist.kt @@ -14,13 +14,14 @@ import dev.inmo.tgbotapi.types.* import dev.inmo.tgbotapi.types.business_connection.BusinessConnectionId import dev.inmo.tgbotapi.types.buttons.KeyboardMarkup import dev.inmo.tgbotapi.types.checklists.Checklist +import dev.inmo.tgbotapi.types.message.abstracts.ChatContentMessage import dev.inmo.tgbotapi.types.message.abstracts.ContentMessage import dev.inmo.tgbotapi.types.message.abstracts.TelegramBotAPIMessageDeserializationStrategyClass import dev.inmo.tgbotapi.types.message.content.ChecklistContent import dev.inmo.tgbotapi.types.message.content.GameContent import kotlinx.serialization.* -private val commonResultDeserializer: DeserializationStrategy> +private val commonResultDeserializer: DeserializationStrategy> = TelegramBotAPIMessageDeserializationStrategyClass() @Serializable @@ -41,7 +42,7 @@ data class SendChecklist ( override val replyParameters: ReplyParameters? = null, @SerialName(replyMarkupField) override val replyMarkup: KeyboardMarkup? = null -) : SendChatMessageRequest>, +) : SendChatMessageRequest>, WithReplyParameters, DisableNotification, ProtectContent, @@ -68,7 +69,7 @@ data class SendChecklist ( ) override fun method(): String = "sendChecklist" - override val resultDeserializer: DeserializationStrategy> + override val resultDeserializer: DeserializationStrategy> get() = commonResultDeserializer override val requestSerializer: SerializationStrategy<*> get() = serializer() diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/send/SendContact.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/send/SendContact.kt index 4bcb8d8846..0c2fc23083 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/send/SendContact.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/send/SendContact.kt @@ -7,12 +7,13 @@ import dev.inmo.tgbotapi.types.* import dev.inmo.tgbotapi.types.business_connection.BusinessConnectionId import dev.inmo.tgbotapi.types.buttons.KeyboardMarkup import dev.inmo.tgbotapi.types.message.SuggestedPostParameters +import dev.inmo.tgbotapi.types.message.abstracts.ChatContentMessage import dev.inmo.tgbotapi.types.message.abstracts.ContentMessage import dev.inmo.tgbotapi.types.message.abstracts.TelegramBotAPIMessageDeserializationStrategyClass import dev.inmo.tgbotapi.types.message.content.ContactContent import kotlinx.serialization.* -private val commonResultDeserializer: DeserializationStrategy> +private val commonResultDeserializer: DeserializationStrategy> = TelegramBotAPIMessageDeserializationStrategyClass() @Serializable @@ -49,8 +50,8 @@ data class SendContact( override val replyParameters: ReplyParameters? = null, @SerialName(replyMarkupField) override val replyMarkup: KeyboardMarkup? = null -) : SendContentMessageRequest>, - ReplyingMarkupSendMessageRequest> +) : SendContentMessageRequest>, + ReplyingMarkupSendMessageRequest> { constructor( chatId: ChatIdentifier, @@ -83,7 +84,7 @@ data class SendContact( ) override fun method(): String = "sendContact" - override val resultDeserializer: DeserializationStrategy> + override val resultDeserializer: DeserializationStrategy> get() = commonResultDeserializer override val requestSerializer: SerializationStrategy<*> get() = serializer() diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/send/SendDice.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/send/SendDice.kt index baef3d0ea1..5774df8629 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/send/SendDice.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/send/SendDice.kt @@ -10,12 +10,13 @@ import dev.inmo.tgbotapi.types.business_connection.BusinessConnectionId import dev.inmo.tgbotapi.types.buttons.KeyboardMarkup import dev.inmo.tgbotapi.types.dice.DiceAnimationType import dev.inmo.tgbotapi.types.message.SuggestedPostParameters +import dev.inmo.tgbotapi.types.message.abstracts.ChatContentMessage import dev.inmo.tgbotapi.types.message.abstracts.ContentMessage import dev.inmo.tgbotapi.types.message.abstracts.TelegramBotAPIMessageDeserializationStrategyClass import dev.inmo.tgbotapi.types.message.content.DiceContent import kotlinx.serialization.* -internal val DiceContentMessageResultDeserializer: DeserializationStrategy> +internal val DiceContentMessageResultDeserializer: DeserializationStrategy> = TelegramBotAPIMessageDeserializationStrategyClass() @Serializable @@ -48,13 +49,13 @@ data class SendDice( override val replyParameters: ReplyParameters? = null, @SerialName(replyMarkupField) override val replyMarkup: KeyboardMarkup? = null -) : SendContentMessageRequest>, ReplyingMarkupSendMessageRequest>, WithReplyParameters, DisableNotification, +) : SendContentMessageRequest>, ReplyingMarkupSendMessageRequest>, WithReplyParameters, DisableNotification, OptionallyBusinessConnectionRequest { override val requestSerializer: SerializationStrategy<*> get() = serializer() override fun method(): String = "sendDice" - override val resultDeserializer: DeserializationStrategy> + override val resultDeserializer: DeserializationStrategy> get() = DiceContentMessageResultDeserializer } diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/send/SendLocation.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/send/SendLocation.kt index 5e29f952b3..cf2eedab22 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/send/SendLocation.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/send/SendLocation.kt @@ -7,6 +7,7 @@ import dev.inmo.tgbotapi.types.business_connection.BusinessConnectionId import dev.inmo.tgbotapi.types.buttons.KeyboardMarkup import dev.inmo.tgbotapi.types.location.LiveLocation import dev.inmo.tgbotapi.types.message.SuggestedPostParameters +import dev.inmo.tgbotapi.types.message.abstracts.ChatContentMessage import dev.inmo.tgbotapi.types.message.abstracts.ContentMessage import dev.inmo.tgbotapi.types.message.abstracts.TelegramBotAPIMessageDeserializationStrategyClass import dev.inmo.tgbotapi.types.message.content.* @@ -17,13 +18,13 @@ import kotlinx.serialization.encoding.Decoder import kotlinx.serialization.encoding.Encoder -private val commonResultDeserializer: DeserializationStrategy> +private val commonResultDeserializer: DeserializationStrategy> = TelegramBotAPIMessageDeserializationStrategyClass() -private val liveResultDeserializer: DeserializationStrategy> +private val liveResultDeserializer: DeserializationStrategy> = TelegramBotAPIMessageDeserializationStrategyClass() -private val staticResultDeserializer: DeserializationStrategy> +private val staticResultDeserializer: DeserializationStrategy> = TelegramBotAPIMessageDeserializationStrategyClass() fun SendLocation( @@ -125,9 +126,9 @@ fun SendLiveLocation( ) @Serializable(SendLocation.Companion::class) -sealed interface SendLocation : SendContentMessageRequest>, - ReplyingMarkupSendMessageRequest>, - PositionedSendMessageRequest>, +sealed interface SendLocation : SendContentMessageRequest>, + ReplyingMarkupSendMessageRequest>, + PositionedSendMessageRequest>, HorizontallyAccured, Livable, ProximityAlertable, @@ -179,7 +180,7 @@ sealed interface SendLocation : SendContentMessageRequest { - override val resultDeserializer: DeserializationStrategy> + override val resultDeserializer: DeserializationStrategy> get() = liveResultDeserializer override val requestSerializer: SerializationStrategy<*> get() = serializer() @@ -237,7 +238,7 @@ sealed interface SendLocation : SendContentMessageRequest> + override val resultDeserializer: DeserializationStrategy> get() = staticResultDeserializer override val requestSerializer: SerializationStrategy<*> get() = serializer() diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/send/SendMessage.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/send/SendMessage.kt index ccd1a82c67..e343f8cd34 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/send/SendMessage.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/send/SendMessage.kt @@ -10,6 +10,7 @@ import dev.inmo.tgbotapi.types.message.parseModeField import dev.inmo.tgbotapi.types.buttons.KeyboardMarkup import dev.inmo.tgbotapi.types.message.* import dev.inmo.tgbotapi.types.message.RawMessageEntity +import dev.inmo.tgbotapi.types.message.abstracts.ChatContentMessage import dev.inmo.tgbotapi.types.message.abstracts.ContentMessage import dev.inmo.tgbotapi.types.message.abstracts.TelegramBotAPIMessageDeserializationStrategyClass import dev.inmo.tgbotapi.types.message.content.TextContent @@ -18,7 +19,7 @@ import dev.inmo.tgbotapi.utils.extensions.makeString import dev.inmo.tgbotapi.utils.throwRangeError import kotlinx.serialization.* -internal val TextContentMessageResultDeserializer: DeserializationStrategy> +internal val TextContentMessageResultDeserializer: DeserializationStrategy> = TelegramBotAPIMessageDeserializationStrategyClass() fun SendTextMessage( @@ -123,9 +124,9 @@ data class SendTextMessage internal constructor( override val replyParameters: ReplyParameters? = null, @SerialName(replyMarkupField) override val replyMarkup: KeyboardMarkup? = null -) : SendContentMessageRequest>, - ReplyingMarkupSendMessageRequest>, - TextableSendMessageRequest>, +) : SendContentMessageRequest>, + ReplyingMarkupSendMessageRequest>, + TextableSendMessageRequest>, LinkPreviewOptionsContainer { override val textSources: TextSourcesList? by lazy { @@ -139,7 +140,7 @@ data class SendTextMessage internal constructor( } override fun method(): String = "sendMessage" - override val resultDeserializer: DeserializationStrategy> + override val resultDeserializer: DeserializationStrategy> get() = TextContentMessageResultDeserializer override val requestSerializer: SerializationStrategy<*> get() = serializer() diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/send/SendVenue.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/send/SendVenue.kt index ea79b32e30..fbcde5b9cd 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/send/SendVenue.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/send/SendVenue.kt @@ -5,13 +5,14 @@ import dev.inmo.tgbotapi.types.* import dev.inmo.tgbotapi.types.business_connection.BusinessConnectionId import dev.inmo.tgbotapi.types.buttons.KeyboardMarkup import dev.inmo.tgbotapi.types.message.SuggestedPostParameters +import dev.inmo.tgbotapi.types.message.abstracts.ChatContentMessage import dev.inmo.tgbotapi.types.message.abstracts.ContentMessage import dev.inmo.tgbotapi.types.message.abstracts.TelegramBotAPIMessageDeserializationStrategyClass import dev.inmo.tgbotapi.types.message.content.VenueContent import dev.inmo.tgbotapi.types.venue.Venue import kotlinx.serialization.* -private val commonResultDeserializer: DeserializationStrategy> +private val commonResultDeserializer: DeserializationStrategy> = TelegramBotAPIMessageDeserializationStrategyClass() @Serializable @@ -58,10 +59,10 @@ data class SendVenue( override val replyParameters: ReplyParameters? = null, @SerialName(replyMarkupField) override val replyMarkup: KeyboardMarkup? = null -) : SendContentMessageRequest>, - PositionedSendMessageRequest>, - TitledSendMessageRequest>, - ReplyingMarkupSendMessageRequest> +) : SendContentMessageRequest>, + ReplyingMarkupSendMessageRequest>, + TitledSendMessageRequest>, + PositionedSendMessageRequest> { constructor( chatId: ChatIdentifier, @@ -99,7 +100,7 @@ data class SendVenue( ) override fun method(): String = "sendVenue" - override val resultDeserializer: DeserializationStrategy> + override val resultDeserializer: DeserializationStrategy> get() = commonResultDeserializer override val requestSerializer: SerializationStrategy<*> get() = serializer() diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/send/games/SendGame.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/send/games/SendGame.kt index 392e43263c..254f58f77b 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/send/games/SendGame.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/send/games/SendGame.kt @@ -7,12 +7,13 @@ import dev.inmo.tgbotapi.types.* import dev.inmo.tgbotapi.types.business_connection.BusinessConnectionId import dev.inmo.tgbotapi.types.buttons.KeyboardMarkup import dev.inmo.tgbotapi.types.message.SuggestedPostParameters +import dev.inmo.tgbotapi.types.message.abstracts.ChatContentMessage import dev.inmo.tgbotapi.types.message.abstracts.ContentMessage import dev.inmo.tgbotapi.types.message.abstracts.TelegramBotAPIMessageDeserializationStrategyClass import dev.inmo.tgbotapi.types.message.content.GameContent import kotlinx.serialization.* -private val commonResultDeserializer: DeserializationStrategy> +private val commonResultDeserializer: DeserializationStrategy> = TelegramBotAPIMessageDeserializationStrategyClass() @Serializable @@ -45,10 +46,10 @@ data class SendGame ( override val replyParameters: ReplyParameters? = null, @SerialName(replyMarkupField) override val replyMarkup: KeyboardMarkup? = null -) : SendContentMessageRequest>, +) : SendContentMessageRequest>, WithReplyMarkup { override fun method(): String = "sendGame" - override val resultDeserializer: DeserializationStrategy> + override val resultDeserializer: DeserializationStrategy> get() = commonResultDeserializer override val requestSerializer: SerializationStrategy<*> get() = serializer() diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/send/media/SendAnimation.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/send/media/SendAnimation.kt index 2266ac443b..3b905036de 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/send/media/SendAnimation.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/send/media/SendAnimation.kt @@ -14,6 +14,7 @@ import dev.inmo.tgbotapi.types.message.parseModeField import dev.inmo.tgbotapi.types.buttons.KeyboardMarkup import dev.inmo.tgbotapi.types.message.* import dev.inmo.tgbotapi.types.message.RawMessageEntity +import dev.inmo.tgbotapi.types.message.abstracts.ChatContentMessage import dev.inmo.tgbotapi.types.message.abstracts.ContentMessage import dev.inmo.tgbotapi.types.message.abstracts.TelegramBotAPIMessageDeserializationStrategyClass import dev.inmo.tgbotapi.types.message.content.AnimationContent @@ -44,7 +45,7 @@ fun SendAnimation( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): Request> { +): Request> { val animationAsFile = animation as? MultipartFile val thumbAsFile = thumbnail as? MultipartFile @@ -102,7 +103,7 @@ fun SendAnimation( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): Request> { +): Request> { val animationAsFile = animation as? MultipartFile val thumbAsFile = thumbnail as? MultipartFile @@ -140,7 +141,7 @@ fun SendAnimation( } } -private val commonResultDeserializer: DeserializationStrategy> +private val commonResultDeserializer: DeserializationStrategy> = TelegramBotAPIMessageDeserializationStrategyClass() @ConsistentCopyVisibility @@ -192,14 +193,14 @@ data class SendAnimationData internal constructor( override val replyParameters: ReplyParameters? = null, @SerialName(replyMarkupField) override val replyMarkup: KeyboardMarkup? = null -) : DataRequest>, - SendContentMessageRequest>, - ReplyingMarkupSendMessageRequest>, - TextableSendMessageRequest>, - ThumbedSendMessageRequest>, - DuratedSendMessageRequest>, - SizedSendMessageRequest>, - WithCustomizableCaptionRequest>, +) : DataRequest>, + SendContentMessageRequest>, + ReplyingMarkupSendMessageRequest>, + TextableSendMessageRequest>, + ThumbedSendMessageRequest>, + DuratedSendMessageRequest>, + SizedSendMessageRequest>, + WithCustomizableCaptionRequest>, OptionallyWithSpoilerRequest { override val textSources: TextSourcesList? by lazy { @@ -215,7 +216,7 @@ data class SendAnimationData internal constructor( } override fun method(): String = "sendAnimation" - override val resultDeserializer: DeserializationStrategy> + override val resultDeserializer: DeserializationStrategy> get() = commonResultDeserializer override val requestSerializer: SerializationStrategy<*> get() = serializer() diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/send/media/SendAudio.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/send/media/SendAudio.kt index 9443b6b899..ad065e3e80 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/send/media/SendAudio.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/send/media/SendAudio.kt @@ -15,6 +15,7 @@ import dev.inmo.tgbotapi.types.message.parseModeField import dev.inmo.tgbotapi.types.buttons.KeyboardMarkup import dev.inmo.tgbotapi.types.message.* import dev.inmo.tgbotapi.types.message.RawMessageEntity +import dev.inmo.tgbotapi.types.message.abstracts.ChatContentMessage import dev.inmo.tgbotapi.types.message.abstracts.ContentMessage import dev.inmo.tgbotapi.types.message.abstracts.TelegramBotAPIMessageDeserializationStrategyClass import dev.inmo.tgbotapi.types.message.content.AudioContent @@ -43,7 +44,7 @@ fun SendAudio( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): Request> { +): Request> { val audioAsFile = audio as? MultipartFile val thumbAsFile = thumbnail as? MultipartFile @@ -97,7 +98,7 @@ fun SendAudio( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): Request> { +): Request> { val audioAsFile = audio as? MultipartFile val thumbAsFile = thumbnail as? MultipartFile @@ -133,7 +134,7 @@ fun SendAudio( } } -private val commonResultDeserializer: DeserializationStrategy> +private val commonResultDeserializer: DeserializationStrategy> = TelegramBotAPIMessageDeserializationStrategyClass() @ConsistentCopyVisibility @@ -181,13 +182,13 @@ data class SendAudioData internal constructor( override val replyParameters: ReplyParameters? = null, @SerialName(replyMarkupField) override val replyMarkup: KeyboardMarkup? = null -) : DataRequest>, - SendContentMessageRequest>, - ReplyingMarkupSendMessageRequest>, - TextableSendMessageRequest>, - ThumbedSendMessageRequest>, - TitledSendMessageRequest>, - DuratedSendMessageRequest>, +) : DataRequest>, + SendContentMessageRequest>, + ReplyingMarkupSendMessageRequest>, + TextableSendMessageRequest>, + ThumbedSendMessageRequest>, + TitledSendMessageRequest>, + DuratedSendMessageRequest>, Performerable { override val textSources: List? by lazy { @@ -203,7 +204,7 @@ data class SendAudioData internal constructor( } override fun method(): String = "sendAudio" - override val resultDeserializer: DeserializationStrategy> + override val resultDeserializer: DeserializationStrategy> get() = commonResultDeserializer override val requestSerializer: SerializationStrategy<*> get() = serializer() diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/send/media/SendDocument.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/send/media/SendDocument.kt index 4e0697a52b..4a42b75914 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/send/media/SendDocument.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/send/media/SendDocument.kt @@ -14,6 +14,7 @@ import dev.inmo.tgbotapi.types.message.parseModeField import dev.inmo.tgbotapi.types.buttons.KeyboardMarkup import dev.inmo.tgbotapi.types.message.* import dev.inmo.tgbotapi.types.message.RawMessageEntity +import dev.inmo.tgbotapi.types.message.abstracts.ChatContentMessage import dev.inmo.tgbotapi.types.message.abstracts.ContentMessage import dev.inmo.tgbotapi.types.message.abstracts.TelegramBotAPIMessageDeserializationStrategyClass import dev.inmo.tgbotapi.types.message.content.DocumentContent @@ -49,7 +50,7 @@ fun SendDocument( replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null, disableContentTypeDetection: Boolean? = null -): Request> { +): Request> { val documentAsFile = document as? MultipartFile val thumbAsFile = thumbnail as? MultipartFile @@ -108,7 +109,7 @@ fun SendDocument( replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null, disableContentTypeDetection: Boolean? = null -): Request> { +): Request> { val documentAsFile = document as? MultipartFile val thumbAsFile = thumbnail as? MultipartFile @@ -142,7 +143,7 @@ fun SendDocument( } } -private val commonResultDeserializer: DeserializationStrategy> +private val commonResultDeserializer: DeserializationStrategy> = TelegramBotAPIMessageDeserializationStrategyClass() /** @@ -195,11 +196,11 @@ data class SendDocumentData internal constructor( override val replyMarkup: KeyboardMarkup? = null, @SerialName(disableContentTypeDetectionField) val disableContentTypeDetection: Boolean? = null -) : DataRequest>, - SendContentMessageRequest>, - ReplyingMarkupSendMessageRequest>, - TextableSendMessageRequest>, - ThumbedSendMessageRequest> +) : DataRequest>, + SendContentMessageRequest>, + ReplyingMarkupSendMessageRequest>, + TextableSendMessageRequest>, + ThumbedSendMessageRequest> { override val textSources: TextSourcesList? by lazy { rawEntities ?.asTextSources(text ?: return@lazy null) @@ -214,7 +215,7 @@ data class SendDocumentData internal constructor( } override fun method(): String = "sendDocument" - override val resultDeserializer: DeserializationStrategy> + override val resultDeserializer: DeserializationStrategy> get() = commonResultDeserializer override val requestSerializer: SerializationStrategy<*> get() = serializer() diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/send/media/SendLivePhoto.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/send/media/SendLivePhoto.kt index 7cb1841d1e..99cb38b092 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/send/media/SendLivePhoto.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/send/media/SendLivePhoto.kt @@ -14,6 +14,7 @@ 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.ChatContentMessage import dev.inmo.tgbotapi.types.message.abstracts.ContentMessage import dev.inmo.tgbotapi.types.message.abstracts.TelegramBotAPIMessageDeserializationStrategyClass import dev.inmo.tgbotapi.types.message.content.LivePhotoContent @@ -41,7 +42,7 @@ fun SendLivePhoto( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): Request> { +): Request> { val livePhotoAsFile = livePhoto as? MultipartFile val photoAsFile = photo as? MultipartFile @@ -93,7 +94,7 @@ fun SendLivePhoto( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): Request> { +): Request> { val livePhotoAsFile = livePhoto as? MultipartFile val photoAsFile = photo as? MultipartFile @@ -128,7 +129,7 @@ fun SendLivePhoto( } } -private val commonResultDeserializer: DeserializationStrategy> +private val commonResultDeserializer: DeserializationStrategy> = TelegramBotAPIMessageDeserializationStrategyClass() @ConsistentCopyVisibility @@ -174,11 +175,11 @@ data class SendLivePhotoData internal constructor( override val replyParameters: ReplyParameters? = null, @SerialName(replyMarkupField) override val replyMarkup: KeyboardMarkup? = null -) : DataRequest>, - SendContentMessageRequest>, - ReplyingMarkupSendMessageRequest>, - TextableSendMessageRequest>, - WithCustomizableCaptionRequest>, +) : DataRequest>, + SendContentMessageRequest>, + ReplyingMarkupSendMessageRequest>, + TextableSendMessageRequest>, + WithCustomizableCaptionRequest>, OptionallyWithSpoilerRequest { override val textSources: TextSourcesList? by lazy { @@ -194,7 +195,7 @@ data class SendLivePhotoData internal constructor( } override fun method(): String = "sendLivePhoto" - override val resultDeserializer: DeserializationStrategy> + override val resultDeserializer: DeserializationStrategy> get() = commonResultDeserializer override val requestSerializer: SerializationStrategy<*> get() = serializer() diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/send/media/SendMediaGroup.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/send/media/SendMediaGroup.kt index 2324d915d7..e825d5629f 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/send/media/SendMediaGroup.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/send/media/SendMediaGroup.kt @@ -11,8 +11,9 @@ import dev.inmo.tgbotapi.types.* import dev.inmo.tgbotapi.types.business_connection.BusinessConnectionId import dev.inmo.tgbotapi.types.media.* import dev.inmo.tgbotapi.types.message.SuggestedPostParameters +import dev.inmo.tgbotapi.types.message.abstracts.CommonContentMessage +import dev.inmo.tgbotapi.types.message.abstracts.ChatContentMessage import dev.inmo.tgbotapi.types.message.abstracts.ContentMessage -import dev.inmo.tgbotapi.types.message.abstracts.PossiblySentViaBotCommonMessage import dev.inmo.tgbotapi.types.message.abstracts.TelegramBotAPIMessageDeserializeOnlySerializerClass import dev.inmo.tgbotapi.types.message.content.MediaGroupPartContent import dev.inmo.tgbotapi.types.message.content.VisualMediaGroupPartContent @@ -44,7 +45,7 @@ fun SendMediaGroup( effectId: EffectId? = null, suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null -): Request>> { +): Request>> { if (media.size !in mediaCountInMediaGroup) { throwRangeError("Count of members in media group", mediaCountInMediaGroup, media.size) } @@ -87,7 +88,7 @@ fun SendMediaGroup( data, files.associateBy { it.fileId } ) - }) as Request>> + }) as Request>> } /** @@ -187,16 +188,16 @@ inline fun SendVisualMediaGroup( replyParameters = replyParameters ) -private object MessagesListSerializer: KSerializer>> { - private val serializer = ListSerializer(TelegramBotAPIMessageDeserializeOnlySerializerClass>()) +private object MessagesListSerializer: KSerializer>> { + private val serializer = ListSerializer(TelegramBotAPIMessageDeserializeOnlySerializerClass>()) override val descriptor: SerialDescriptor = serializer.descriptor - override fun deserialize(decoder: Decoder): PossiblySentViaBotCommonMessage> { + override fun deserialize(decoder: Decoder): CommonContentMessage> { val messages = serializer.deserialize(decoder) return messages.asMediaGroupMessage() } - override fun serialize(encoder: Encoder, value: PossiblySentViaBotCommonMessage>) { + override fun serialize(encoder: Encoder, value: CommonContentMessage>) { serializer.serialize(encoder, value.content.group.map { it.sourceMessage }) } @@ -230,8 +231,8 @@ data class SendMediaGroupData internal constructor( override val suggestedPostParameters: SuggestedPostParameters? = null, @SerialName(replyParametersField) override val replyParameters: ReplyParameters? = null, -) : DataRequest>>, - SendContentMessageRequest>> { +) : DataRequest>>, + SendContentMessageRequest>> { @Suppress("unused") @SerialName(mediaField) private val convertedMedia: String @@ -245,7 +246,7 @@ data class SendMediaGroupData internal constructor( override fun method(): String = "sendMediaGroup" override val requestSerializer: SerializationStrategy<*> get() = serializer() - override val resultDeserializer: DeserializationStrategy>> + override val resultDeserializer: DeserializationStrategy>> get() = MessagesListSerializer } diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/send/media/SendPaidMedia.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/send/media/SendPaidMedia.kt index 4d8265501e..493cb81b46 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/send/media/SendPaidMedia.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/send/media/SendPaidMedia.kt @@ -18,6 +18,7 @@ import dev.inmo.tgbotapi.types.media.CoveredTelegramMedia import dev.inmo.tgbotapi.types.media.ThumbedTelegramMedia import dev.inmo.tgbotapi.types.message.* import dev.inmo.tgbotapi.types.message.RawMessageEntity +import dev.inmo.tgbotapi.types.message.abstracts.ChatContentMessage import dev.inmo.tgbotapi.types.message.abstracts.ContentMessage import dev.inmo.tgbotapi.types.message.abstracts.TelegramBotAPIMessageDeserializationStrategyClass import dev.inmo.tgbotapi.types.message.toRawMessageEntities @@ -42,7 +43,7 @@ fun SendPaidMedia( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): Request> { +): Request> { val data = SendPaidMediaData( chatId = chatId, starCount = starCount, @@ -105,7 +106,7 @@ fun SendPaidMedia( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): Request> { +): Request> { val data = SendPaidMediaData( chatId = chatId, starCount = starCount, @@ -152,7 +153,7 @@ fun SendPaidMedia( } } -private val commonResultDeserializer: DeserializationStrategy> +private val commonResultDeserializer: DeserializationStrategy> = TelegramBotAPIMessageDeserializationStrategyClass() @ConsistentCopyVisibility @@ -197,11 +198,11 @@ data class SendPaidMediaData internal constructor( override val replyParameters: ReplyParameters? = null, @SerialName(replyMarkupField) override val replyMarkup: KeyboardMarkup? = null -) : DataRequest>, - SendContentMessageRequest>, - ReplyingMarkupSendMessageRequest>, - TextableSendMessageRequest>, - WithCustomizableCaptionRequest> +) : DataRequest>, + SendContentMessageRequest>, + ReplyingMarkupSendMessageRequest>, + TextableSendMessageRequest>, + WithCustomizableCaptionRequest> { override val textSources: TextSourcesList? by lazy { rawEntities ?.asTextSources(text ?: return@lazy null) @@ -218,7 +219,7 @@ data class SendPaidMediaData internal constructor( } override fun method(): String = "sendPaidMedia" - override val resultDeserializer: DeserializationStrategy> + override val resultDeserializer: DeserializationStrategy> get() = commonResultDeserializer override val requestSerializer: SerializationStrategy<*> get() = serializer() diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/send/media/SendPhoto.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/send/media/SendPhoto.kt index 74a6dd17e1..f4cebfe9bf 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/send/media/SendPhoto.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/send/media/SendPhoto.kt @@ -14,6 +14,7 @@ import dev.inmo.tgbotapi.types.message.parseModeField import dev.inmo.tgbotapi.types.buttons.KeyboardMarkup import dev.inmo.tgbotapi.types.message.* import dev.inmo.tgbotapi.types.message.RawMessageEntity +import dev.inmo.tgbotapi.types.message.abstracts.ChatContentMessage import dev.inmo.tgbotapi.types.message.abstracts.ContentMessage import dev.inmo.tgbotapi.types.message.abstracts.TelegramBotAPIMessageDeserializationStrategyClass import dev.inmo.tgbotapi.types.message.content.PhotoContent @@ -39,7 +40,7 @@ fun SendPhoto( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): Request> { +): Request> { val data = SendPhotoData( chatId = chatId, photo = photo, @@ -85,7 +86,7 @@ fun SendPhoto( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): Request> { +): Request> { val data = SendPhotoData( chatId = chatId, photo = photo, @@ -116,7 +117,7 @@ fun SendPhoto( } } -private val commonResultDeserializer: DeserializationStrategy> +private val commonResultDeserializer: DeserializationStrategy> = TelegramBotAPIMessageDeserializationStrategyClass() @ConsistentCopyVisibility @@ -160,11 +161,11 @@ data class SendPhotoData internal constructor( override val replyParameters: ReplyParameters? = null, @SerialName(replyMarkupField) override val replyMarkup: KeyboardMarkup? = null -) : DataRequest>, - SendContentMessageRequest>, - ReplyingMarkupSendMessageRequest>, - TextableSendMessageRequest>, - WithCustomizableCaptionRequest>, +) : DataRequest>, + SendContentMessageRequest>, + ReplyingMarkupSendMessageRequest>, + TextableSendMessageRequest>, + WithCustomizableCaptionRequest>, OptionallyWithSpoilerRequest { override val textSources: TextSourcesList? by lazy { @@ -180,7 +181,7 @@ data class SendPhotoData internal constructor( } override fun method(): String = "sendPhoto" - override val resultDeserializer: DeserializationStrategy> + override val resultDeserializer: DeserializationStrategy> get() = commonResultDeserializer override val requestSerializer: SerializationStrategy<*> get() = serializer() diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/send/media/SendSticker.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/send/media/SendSticker.kt index 17b442913e..75af12d4d1 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/send/media/SendSticker.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/send/media/SendSticker.kt @@ -9,6 +9,7 @@ import dev.inmo.tgbotapi.types.* import dev.inmo.tgbotapi.types.business_connection.BusinessConnectionId import dev.inmo.tgbotapi.types.buttons.KeyboardMarkup import dev.inmo.tgbotapi.types.message.SuggestedPostParameters +import dev.inmo.tgbotapi.types.message.abstracts.ChatContentMessage import dev.inmo.tgbotapi.types.message.abstracts.ContentMessage import dev.inmo.tgbotapi.types.message.abstracts.TelegramBotAPIMessageDeserializationStrategyClass import dev.inmo.tgbotapi.types.message.content.StickerContent @@ -29,7 +30,7 @@ fun SendSticker( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): Request> = SendStickerByFileId( +): Request> = SendStickerByFileId( chatId = chatId, sticker = sticker, threadId = threadId, @@ -53,7 +54,7 @@ fun SendSticker( } } -private val commonResultDeserializer: DeserializationStrategy> +private val commonResultDeserializer: DeserializationStrategy> = TelegramBotAPIMessageDeserializationStrategyClass() @ConsistentCopyVisibility @@ -89,9 +90,9 @@ data class SendStickerByFileId internal constructor( override val replyParameters: ReplyParameters? = null, @SerialName(replyMarkupField) override val replyMarkup: KeyboardMarkup? = null -) : SendContentMessageRequest>, ReplyingMarkupSendMessageRequest> { +) : SendContentMessageRequest>, ReplyingMarkupSendMessageRequest> { override fun method(): String = "sendSticker" - override val resultDeserializer: DeserializationStrategy> + override val resultDeserializer: DeserializationStrategy> get() = commonResultDeserializer override val requestSerializer: SerializationStrategy<*> get() = serializer() diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/send/media/SendVideo.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/send/media/SendVideo.kt index cf87977ce4..fafa4d66b6 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/send/media/SendVideo.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/send/media/SendVideo.kt @@ -16,6 +16,7 @@ import dev.inmo.tgbotapi.types.buttons.KeyboardMarkup import dev.inmo.tgbotapi.types.media.OptionallyStreamable import dev.inmo.tgbotapi.types.message.* import dev.inmo.tgbotapi.types.message.RawMessageEntity +import dev.inmo.tgbotapi.types.message.abstracts.ChatContentMessage import dev.inmo.tgbotapi.types.message.abstracts.ContentMessage import dev.inmo.tgbotapi.types.message.abstracts.TelegramBotAPIMessageDeserializationStrategyClass import dev.inmo.tgbotapi.types.message.content.VideoContent @@ -49,7 +50,7 @@ fun SendVideo( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): Request> { +): Request> { val videoAsFile = video as? MultipartFile val thumbAsFile = thumbnail as? MultipartFile val coverAsFile = cover as? MultipartFile @@ -114,7 +115,7 @@ fun SendVideo( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): Request> { +): Request> { val videoAsFile = video as? MultipartFile val thumbAsFile = thumbnail as? MultipartFile val coverAsFile = cover as? MultipartFile @@ -156,7 +157,7 @@ fun SendVideo( } } -private val commonResultDeserializer: DeserializationStrategy> +private val commonResultDeserializer: DeserializationStrategy> = TelegramBotAPIMessageDeserializationStrategyClass() @ConsistentCopyVisibility @@ -214,15 +215,15 @@ data class SendVideoData internal constructor( override val replyParameters: ReplyParameters? = null, @SerialName(replyMarkupField) override val replyMarkup: KeyboardMarkup? = null -) : DataRequest>, - SendContentMessageRequest>, - ReplyingMarkupSendMessageRequest>, - TextableSendMessageRequest>, - ThumbedSendMessageRequest>, - DuratedSendMessageRequest>, - SizedSendMessageRequest>, - WithCustomizableCaptionRequest>, - CoveredSendMessageRequest>, +) : DataRequest>, + SendContentMessageRequest>, + ReplyingMarkupSendMessageRequest>, + TextableSendMessageRequest>, + ThumbedSendMessageRequest>, + DuratedSendMessageRequest>, + SizedSendMessageRequest>, + WithCustomizableCaptionRequest>, + CoveredSendMessageRequest>, WithCustomStartMediaData, OptionallyWithSpoilerRequest, OptionallyStreamable @@ -240,7 +241,7 @@ data class SendVideoData internal constructor( } override fun method(): String = "sendVideo" - override val resultDeserializer: DeserializationStrategy> + override val resultDeserializer: DeserializationStrategy> get() = commonResultDeserializer override val requestSerializer: SerializationStrategy<*> get() = serializer() diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/send/media/SendVideoNote.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/send/media/SendVideoNote.kt index 049c35be55..fc1c5ee5d9 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/send/media/SendVideoNote.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/send/media/SendVideoNote.kt @@ -8,6 +8,7 @@ import dev.inmo.tgbotapi.types.* import dev.inmo.tgbotapi.types.business_connection.BusinessConnectionId import dev.inmo.tgbotapi.types.buttons.KeyboardMarkup import dev.inmo.tgbotapi.types.message.SuggestedPostParameters +import dev.inmo.tgbotapi.types.message.abstracts.ChatContentMessage import dev.inmo.tgbotapi.types.message.abstracts.ContentMessage import dev.inmo.tgbotapi.types.message.abstracts.TelegramBotAPIMessageDeserializationStrategyClass import dev.inmo.tgbotapi.types.message.content.VideoNoteContent @@ -31,7 +32,7 @@ fun SendVideoNote( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): Request> { +): Request> { val videoNoteAsFile = videoNote as? MultipartFile val thumbAsFile = thumbnail as? MultipartFile @@ -63,7 +64,7 @@ fun SendVideoNote( } } -private val commonResultDeserializer: DeserializationStrategy> +private val commonResultDeserializer: DeserializationStrategy> = TelegramBotAPIMessageDeserializationStrategyClass() @ConsistentCopyVisibility @@ -103,18 +104,18 @@ data class SendVideoNoteData internal constructor( override val replyParameters: ReplyParameters? = null, @SerialName(replyMarkupField) override val replyMarkup: KeyboardMarkup? = null -) : DataRequest>, - SendContentMessageRequest>, - ReplyingMarkupSendMessageRequest>, - ThumbedSendMessageRequest>, - DuratedSendMessageRequest>, - SizedSendMessageRequest> +) : DataRequest>, + SendContentMessageRequest>, + ReplyingMarkupSendMessageRequest>, + ThumbedSendMessageRequest>, + DuratedSendMessageRequest>, + SizedSendMessageRequest> { override val height: Int? get() = width override fun method(): String = "sendVideoNote" - override val resultDeserializer: DeserializationStrategy> + override val resultDeserializer: DeserializationStrategy> get() = commonResultDeserializer override val requestSerializer: SerializationStrategy<*> get() = serializer() diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/send/media/SendVoice.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/send/media/SendVoice.kt index 2a7f4b67ad..d94e6daf5e 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/send/media/SendVoice.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/send/media/SendVoice.kt @@ -12,6 +12,7 @@ import dev.inmo.tgbotapi.types.message.parseModeField import dev.inmo.tgbotapi.types.buttons.KeyboardMarkup import dev.inmo.tgbotapi.types.message.* import dev.inmo.tgbotapi.types.message.RawMessageEntity +import dev.inmo.tgbotapi.types.message.abstracts.ChatContentMessage import dev.inmo.tgbotapi.types.message.abstracts.ContentMessage import dev.inmo.tgbotapi.types.message.abstracts.TelegramBotAPIMessageDeserializationStrategyClass import dev.inmo.tgbotapi.types.message.content.VoiceContent @@ -37,7 +38,7 @@ fun SendVoice( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): Request> { +): Request> { val voiceAsFile = voice as? MultipartFile val data = SendVoiceData( @@ -84,7 +85,7 @@ fun SendVoice( suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null -): Request> { +): Request> { val voiceAsFile = voice as? MultipartFile val data = SendVoiceData( @@ -116,7 +117,7 @@ fun SendVoice( } } -private val commonResultDeserializer: DeserializationStrategy> +private val commonResultDeserializer: DeserializationStrategy> = TelegramBotAPIMessageDeserializationStrategyClass() @ConsistentCopyVisibility @@ -158,11 +159,11 @@ data class SendVoiceData internal constructor( override val replyParameters: ReplyParameters? = null, @SerialName(replyMarkupField) override val replyMarkup: KeyboardMarkup? = null -) : DataRequest>, - SendContentMessageRequest>, - ReplyingMarkupSendMessageRequest>, - TextableSendMessageRequest>, - DuratedSendMessageRequest> +) : DataRequest>, + SendContentMessageRequest>, + ReplyingMarkupSendMessageRequest>, + TextableSendMessageRequest>, + DuratedSendMessageRequest> { override val textSources: TextSourcesList? by lazy { rawEntities ?.asTextSources(text ?: return@lazy null) @@ -177,7 +178,7 @@ data class SendVoiceData internal constructor( } override fun method(): String = "sendVoice" - override val resultDeserializer: DeserializationStrategy> + override val resultDeserializer: DeserializationStrategy> get() = commonResultDeserializer override val requestSerializer: SerializationStrategy<*> get() = serializer() diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/send/payments/SendInvoice.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/send/payments/SendInvoice.kt index e787182e04..4d8c1f83b5 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/send/payments/SendInvoice.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/send/payments/SendInvoice.kt @@ -7,6 +7,7 @@ import dev.inmo.tgbotapi.requests.send.abstracts.SendMessageRequest import dev.inmo.tgbotapi.types.* import dev.inmo.tgbotapi.types.buttons.InlineKeyboardMarkup import dev.inmo.tgbotapi.types.message.SuggestedPostParameters +import dev.inmo.tgbotapi.types.message.abstracts.ChatContentMessage import dev.inmo.tgbotapi.types.message.abstracts.ContentMessage import dev.inmo.tgbotapi.types.message.abstracts.TelegramBotAPIMessageDeserializationStrategyClass import dev.inmo.tgbotapi.types.message.content.InvoiceContent @@ -17,7 +18,7 @@ import dev.inmo.tgbotapi.types.payments.abstracts.XTR import dev.inmo.tgbotapi.types.threadId import kotlinx.serialization.* -private val invoiceMessageSerializer: DeserializationStrategy> +private val invoiceMessageSerializer: DeserializationStrategy> = TelegramBotAPIMessageDeserializationStrategyClass() /** @@ -90,10 +91,10 @@ data class SendInvoice( DisableNotification, WithReplyParameters, WithReplyMarkup, - SendMessageRequest>, - OptionallyWithEffectRequest> { + SendMessageRequest>, + OptionallyWithEffectRequest> { override fun method(): String = "sendInvoice" - override val resultDeserializer: DeserializationStrategy> + override val resultDeserializer: DeserializationStrategy> get() = invoiceMessageSerializer override val requestSerializer: SerializationStrategy<*> get() = serializer() diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/send/polls/SendPoll.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/send/polls/SendPoll.kt index 6a73a39d5b..116d4f66ee 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/send/polls/SendPoll.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/send/polls/SendPoll.kt @@ -11,6 +11,7 @@ import dev.inmo.tgbotapi.types.media.InputPollMedia import dev.inmo.tgbotapi.types.message.ParseMode import dev.inmo.tgbotapi.types.message.SuggestedPostParameters import dev.inmo.tgbotapi.types.buttons.KeyboardMarkup +import dev.inmo.tgbotapi.types.message.abstracts.ChatContentMessage import dev.inmo.tgbotapi.types.message.abstracts.ContentMessage import dev.inmo.tgbotapi.types.message.abstracts.TelegramBotAPIMessageDeserializationStrategyClass import dev.inmo.tgbotapi.types.message.content.PollContent @@ -21,7 +22,7 @@ import korlibs.time.millisecondsLong import korlibs.time.seconds import kotlinx.serialization.* -private val commonResultDeserializer: DeserializationStrategy> = TelegramBotAPIMessageDeserializationStrategyClass() +private val commonResultDeserializer: DeserializationStrategy> = TelegramBotAPIMessageDeserializationStrategyClass() internal inline val ApproximateScheduledCloseInfo.openPeriod get() = openDuration.millisecondsLong.div(1000) @@ -289,8 +290,8 @@ internal fun ScheduledCloseInfo.checkSendData() { } } -sealed class SendPoll : SendContentMessageRequest>, - ReplyingMarkupSendMessageRequest>, TextedInput { +sealed class SendPoll : SendContentMessageRequest>, + ReplyingMarkupSendMessageRequest>, TextedInput { abstract val question: String override val text: String get() = question @@ -322,7 +323,7 @@ sealed class SendPoll : SendContentMessageRequest>, } override fun method(): String = "sendPoll" - override val resultDeserializer: DeserializationStrategy> + override val resultDeserializer: DeserializationStrategy> get() = commonResultDeserializer } 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 967cf77a60..b104ccff20 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 @@ -224,7 +224,9 @@ const val canTransferAndUpgradeGiftsField = "can_transfer_and_upgrade_gifts" const val canTransferStarsField = "can_transfer_stars" const val canManageStoriesField = "can_manage_stories" const val supportInlineQueriesField = "supports_inline_queries" +const val supportsGuestQueriesField = "supports_guest_queries" const val canConnectToBusinessField = "can_connect_to_business" +const val guestQueryIdField = "guest_query_id" const val textEntitiesField = "text_entities" const val textParseModeField = "text_parse_mode" const val entitiesField = "entities" diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/GuestQueryId.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/GuestQueryId.kt new file mode 100644 index 0000000000..42bf351ced --- /dev/null +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/GuestQueryId.kt @@ -0,0 +1,14 @@ +package dev.inmo.tgbotapi.types + +import kotlinx.serialization.Serializable +import kotlin.jvm.JvmInline + +@Serializable +@JvmInline +value class GuestQueryId( + val string: String +) { + override fun toString(): String { + return string + } +} 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 3f66c52225..8a0041a742 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 @@ -24,6 +24,8 @@ const val UPDATE_BUSINESS_MESSAGE = "business_message" const val UPDATE_EDITED_BUSINESS_MESSAGE = "edited_business_message" const val UPDATE_DELETED_BUSINESS_MESSAGES = "deleted_business_messages" +const val UPDATE_GUEST_MESSAGE = "guest_message" + const val UPDATE_MANAGED_BOT = "managed_bot" val ALL_UPDATES_LIST_WITHOUT_REACTIONS = listOf( @@ -39,6 +41,8 @@ val ALL_UPDATES_LIST_WITHOUT_REACTIONS = listOf( UPDATE_EDITED_BUSINESS_MESSAGE, UPDATE_DELETED_BUSINESS_MESSAGES, + UPDATE_GUEST_MESSAGE, + UPDATE_INLINE_QUERY, UPDATE_CHOSEN_INLINE_RESULT, 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 9c21441abb..8fdac2e95f 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 @@ -29,7 +29,7 @@ sealed interface KeyboardButton { * [dev.inmo.tgbotapi.extensions.behaviour_builder.triggers_handling.onText] in * case you are using Behaviour Builder OR with [dev.inmo.tgbotapi.updateshandlers.FlowsUpdatesFilter.messagesFlow] * and [kotlinx.coroutines.flow.filterIsInstance] and filtering by type - * [dev.inmo.tgbotapi.types.message.abstracts.CommonMessage] and [dev.inmo.tgbotapi.extensions.utils.onlyTextContentMessages] + * [dev.inmo.tgbotapi.types.message.abstracts.ChatContentMessage] and [dev.inmo.tgbotapi.extensions.utils.onlyTextContentMessages] */ @Serializable data class SimpleKeyboardButton( @@ -57,7 +57,7 @@ data class UnknownKeyboardButton internal constructor( * to catch this contact in updates and data using [dev.inmo.tgbotapi.extensions.behaviour_builder.triggers_handling.onContact] in * case you are using Behaviour Builder OR with [dev.inmo.tgbotapi.updateshandlers.FlowsUpdatesFilter.messagesFlow] * and [kotlinx.coroutines.flow.filterIsInstance] and filtering by type - * [dev.inmo.tgbotapi.types.message.abstracts.CommonMessage] and [dev.inmo.tgbotapi.extensions.utils.onlyContactContentMessages] + * [dev.inmo.tgbotapi.types.message.abstracts.ChatContentMessage] and [dev.inmo.tgbotapi.extensions.utils.onlyContactContentMessages] */ @Serializable data class RequestContactKeyboardButton( @@ -77,7 +77,7 @@ data class RequestContactKeyboardButton( * to catch this location in updates and data using [dev.inmo.tgbotapi.extensions.behaviour_builder.triggers_handling.onLocation] in * case you are using Behaviour Builder OR with [dev.inmo.tgbotapi.updateshandlers.FlowsUpdatesFilter.messagesFlow] * and [kotlinx.coroutines.flow.filterIsInstance] and filtering by type - * [dev.inmo.tgbotapi.types.message.abstracts.CommonMessage] and [dev.inmo.tgbotapi.extensions.utils.onlyLocationContentMessages] + * [dev.inmo.tgbotapi.types.message.abstracts.ChatContentMessage] and [dev.inmo.tgbotapi.extensions.utils.onlyLocationContentMessages] */ @Serializable data class RequestLocationKeyboardButton( @@ -114,7 +114,7 @@ data class WebAppKeyboardButton( * to catch this poll in updates and data using [dev.inmo.tgbotapi.extensions.behaviour_builder.triggers_handling.onPoll] in * case you are using Behaviour Builder OR with [dev.inmo.tgbotapi.updateshandlers.FlowsUpdatesFilter.messagesFlow] * and [kotlinx.coroutines.flow.filterIsInstance] and filtering by type - * [dev.inmo.tgbotapi.types.message.abstracts.CommonMessage] and [dev.inmo.tgbotapi.extensions.utils.onlyPollContentMessages] + * [dev.inmo.tgbotapi.types.message.abstracts.ChatContentMessage] and [dev.inmo.tgbotapi.extensions.utils.onlyPollContentMessages] */ @Serializable data class RequestPollKeyboardButton( 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 b103350fdb..f144ed7e9b 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 @@ -493,6 +493,8 @@ data class ExtendedBot( val canReadAllGroupMessages: Boolean = false, @SerialName(supportInlineQueriesField) val supportsInlineQueries: Boolean = false, + @SerialName(supportsGuestQueriesField) + val supportsGuestQueries: Boolean = false, @SerialName(canConnectToBusinessField) val canConnectToBusiness: Boolean = false, @SerialName(photoField) diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/checklists/ChecklistTasksAdded.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/checklists/ChecklistTasksAdded.kt index 30bac6bae4..f8bd26e288 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/checklists/ChecklistTasksAdded.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/checklists/ChecklistTasksAdded.kt @@ -2,7 +2,7 @@ package dev.inmo.tgbotapi.types.checklists import dev.inmo.tgbotapi.types.checklistMessageField import dev.inmo.tgbotapi.types.message.ChatEvents.abstracts.CommonEvent -import dev.inmo.tgbotapi.types.message.abstracts.CommonMessage +import dev.inmo.tgbotapi.types.message.abstracts.ChatContentMessage import dev.inmo.tgbotapi.types.message.abstracts.TelegramBotAPIMessageDeserializeOnlySerializerClass import dev.inmo.tgbotapi.types.message.content.ChecklistContent import dev.inmo.tgbotapi.types.tasksField @@ -14,7 +14,7 @@ data class ChecklistTasksAdded( @Suppress("SERIALIZER_TYPE_INCOMPATIBLE") @SerialName(checklistMessageField) @Serializable(TelegramBotAPIMessageDeserializeOnlySerializerClass::class) - val checklistMessage: CommonMessage, + val checklistMessage: ChatContentMessage, @SerialName(tasksField) val tasks: List, ) : CommonEvent diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/checklists/ChecklistTasksDone.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/checklists/ChecklistTasksDone.kt index 63bdf33295..0a86ede9d2 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/checklists/ChecklistTasksDone.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/checklists/ChecklistTasksDone.kt @@ -4,7 +4,7 @@ import dev.inmo.tgbotapi.types.checklistMessageField import dev.inmo.tgbotapi.types.markedAsDoneTaskIdsField import dev.inmo.tgbotapi.types.markedAsNotDoneTaskIdsField import dev.inmo.tgbotapi.types.message.ChatEvents.abstracts.CommonEvent -import dev.inmo.tgbotapi.types.message.abstracts.CommonMessage +import dev.inmo.tgbotapi.types.message.abstracts.ChatContentMessage import dev.inmo.tgbotapi.types.message.abstracts.TelegramBotAPIMessageDeserializeOnlySerializerClass import dev.inmo.tgbotapi.types.message.content.ChecklistContent import kotlinx.serialization.SerialName @@ -15,7 +15,7 @@ data class ChecklistTasksDone( @Suppress("SERIALIZER_TYPE_INCOMPATIBLE") @SerialName(checklistMessageField) @Serializable(TelegramBotAPIMessageDeserializeOnlySerializerClass::class) - val checklistMessage: CommonMessage, + val checklistMessage: ChatContentMessage, @SerialName(markedAsDoneTaskIdsField) val markedAsDone: List? = null, @SerialName(markedAsNotDoneTaskIdsField) diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/guest/SentGuestMessage.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/guest/SentGuestMessage.kt new file mode 100644 index 0000000000..af4f61f351 --- /dev/null +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/guest/SentGuestMessage.kt @@ -0,0 +1,12 @@ +package dev.inmo.tgbotapi.types.guest + +import dev.inmo.tgbotapi.types.InlineMessageId +import dev.inmo.tgbotapi.types.inlineMessageIdField +import kotlinx.serialization.SerialName +import kotlinx.serialization.Serializable + +@Serializable +data class SentGuestMessage( + @SerialName(inlineMessageIdField) + val inlineMessageId: InlineMessageId +) diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/GuestContentMessageImpl.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/GuestContentMessageImpl.kt new file mode 100644 index 0000000000..609582b738 --- /dev/null +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/GuestContentMessageImpl.kt @@ -0,0 +1,32 @@ +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.CommonBot +import dev.inmo.tgbotapi.types.chat.PreviewChat +import dev.inmo.tgbotapi.types.chat.User +import dev.inmo.tgbotapi.types.message.abstracts.GuestContentMessage +import dev.inmo.tgbotapi.types.message.content.MessageContent +import kotlinx.serialization.SerialName + +data class GuestContentMessageImpl( + override val messageId: MessageId, + override val from: User, + override val chat: PreviewChat, + override val guestQueryId: GuestQueryId, + 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 guestBotCallerUser: User, + override val guestBotCallerChat: PreviewChat, + override val fromOffline: Boolean, + @SerialName(paidMessageStarCountField) + override val cost: Int? = null, +) : GuestContentMessage diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/PassportMessage.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/PassportMessage.kt index 2cc79c38d8..e6327c20ca 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/PassportMessage.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/PassportMessage.kt @@ -6,6 +6,7 @@ import dev.inmo.tgbotapi.types.chat.User import dev.inmo.tgbotapi.types.chat.PreviewChat import dev.inmo.tgbotapi.types.message.abstracts.FromUserMessage import dev.inmo.tgbotapi.types.message.abstracts.AccessibleMessage +import dev.inmo.tgbotapi.types.message.abstracts.ChatMessage import dev.inmo.tgbotapi.types.passport.PassportData data class PassportMessage( @@ -14,4 +15,4 @@ data class PassportMessage( override val from: User, override val date: DateTime, val passportData: PassportData -) : AccessibleMessage, FromUserMessage +) : ChatMessage, FromUserMessage 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 55639d815c..16fd84e913 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 @@ -184,6 +184,13 @@ internal data class RawMessage( @Suppress("SERIALIZER_TYPE_INCOMPATIBLE") private val sender_business_bot: PreviewBot? = null, + // Guest mode + private val guest_query_id: GuestQueryId? = null, + @Suppress("SERIALIZER_TYPE_INCOMPATIBLE") + private val guest_bot_caller_user: PreviewUser? = null, + @Suppress("SERIALIZER_TYPE_INCOMPATIBLE") + private val guest_bot_caller_chat: PreviewChat? = null, + // Giveaways private val giveaway_created: GiveawayCreated? = null, private val giveaway: Giveaway? = null, @@ -450,7 +457,27 @@ internal data class RawMessage( external_reply != null -> external_reply else -> null } - when (chat) { + if (guest_query_id != null) { + GuestContentMessageImpl( + messageId = messageId, + from = checkedFrom ?: from ?: error("Was detected guest message, but owner (sender) of the message was not found"), + chat = chat, + guestQueryId = guest_query_id, + 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, + guestBotCallerUser = guest_bot_caller_user ?: error("For guest content message it is required to have user which called the bot"), + guestBotCallerChat = guest_bot_caller_chat ?: error("For guest content message it is required to have chat in that called the bot"), + fromOffline = is_from_offline, + cost = paid_star_count, + ) + } else when (chat) { is PreviewChannelDirectMessagesChat -> { if (direct_messages_topic == null) error("direct_messages_topic must be presented for ChannelDirectMessagesChat messages") val chatId = ChatIdWithChannelDirectMessageThreadId( diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/abstracts/ChatContentMessage.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/abstracts/ChatContentMessage.kt new file mode 100644 index 0000000000..4b0696c6ae --- /dev/null +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/abstracts/ChatContentMessage.kt @@ -0,0 +1,5 @@ +package dev.inmo.tgbotapi.types.message.abstracts + +import dev.inmo.tgbotapi.types.message.content.MessageContent + +sealed interface ChatContentMessage : CommonContentMessage, ChatMessage diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/abstracts/ChatEventMessage.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/abstracts/ChatEventMessage.kt index 9b4999bf0d..1ef938842a 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/abstracts/ChatEventMessage.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/abstracts/ChatEventMessage.kt @@ -2,6 +2,6 @@ package dev.inmo.tgbotapi.types.message.abstracts import dev.inmo.tgbotapi.types.message.ChatEvents.abstracts.ChatEvent -interface ChatEventMessage : AccessibleMessage { +interface ChatEventMessage : ChatMessage { val chatEvent: T } \ No newline at end of file diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/abstracts/CommonMessage.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/abstracts/CommonContentMessage.kt similarity index 76% rename from tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/abstracts/CommonMessage.kt rename to tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/abstracts/CommonContentMessage.kt index 144a704ed7..102a0c7776 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/abstracts/CommonMessage.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/abstracts/CommonContentMessage.kt @@ -2,7 +2,7 @@ package dev.inmo.tgbotapi.types.message.abstracts import dev.inmo.tgbotapi.types.message.content.MessageContent -sealed interface CommonMessage : AccessibleMessage, +sealed interface CommonContentMessage : AccessibleMessage, PossiblyForwardedMessage, PossiblyEditedMessage, PossiblyReplyMessage, @@ -11,4 +11,4 @@ sealed interface CommonMessage : AccessibleMessage, PossiblyOfflineMessage, PossiblyMediaGroupMessage, PossiblyPaidMessage, - ContentMessage + ContentMessage \ No newline at end of file diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/abstracts/ContentMessage.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/abstracts/ContentMessage.kt index b39d110079..618e585970 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/abstracts/ContentMessage.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/abstracts/ContentMessage.kt @@ -2,7 +2,7 @@ package dev.inmo.tgbotapi.types.message.abstracts import dev.inmo.tgbotapi.types.message.content.MessageContent -interface ContentMessage: AccessibleMessage { +interface ContentMessage : AccessibleMessage { val hasProtectedContent: Boolean val content: T diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/abstracts/FromUserMessage.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/abstracts/FromUserMessage.kt index f5db3a0433..e943271795 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/abstracts/FromUserMessage.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/abstracts/FromUserMessage.kt @@ -3,6 +3,6 @@ package dev.inmo.tgbotapi.types.message.abstracts import dev.inmo.tgbotapi.abstracts.FromUser import dev.inmo.tgbotapi.abstracts.OptionallyFromUser -interface OptionallyFromUserMessage : OptionallyFromUser, AccessibleMessage +interface OptionallyFromUserMessage : OptionallyFromUser, Message interface FromUserMessage : OptionallyFromUserMessage, FromUser diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/abstracts/GuestContentMessage.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/abstracts/GuestContentMessage.kt new file mode 100644 index 0000000000..ef48ea91cf --- /dev/null +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/abstracts/GuestContentMessage.kt @@ -0,0 +1,12 @@ +package dev.inmo.tgbotapi.types.message.abstracts + +import dev.inmo.tgbotapi.types.GuestQueryId +import dev.inmo.tgbotapi.types.message.content.MessageContent + +interface GuestContentMessage : SpecialMessage, + CommonContentMessage, + GuestMessage, + FromUserMessage, + PossiblySentViaBot { + override val guestQueryId: GuestQueryId +} diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/abstracts/GuestMessage.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/abstracts/GuestMessage.kt new file mode 100644 index 0000000000..e139eac68d --- /dev/null +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/abstracts/GuestMessage.kt @@ -0,0 +1,12 @@ +package dev.inmo.tgbotapi.types.message.abstracts + +import dev.inmo.tgbotapi.abstracts.types.WithOptionalGuestQueryId +import dev.inmo.tgbotapi.types.GuestQueryId +import dev.inmo.tgbotapi.types.chat.PreviewChat +import dev.inmo.tgbotapi.types.chat.User + +interface GuestMessage : WithOptionalGuestQueryId { + override val guestQueryId: GuestQueryId + val guestBotCallerUser: User + val guestBotCallerChat: PreviewChat +} diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/abstracts/Message.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/abstracts/Message.kt index f3f65249e5..56cdbb4524 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/abstracts/Message.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/abstracts/Message.kt @@ -47,6 +47,9 @@ interface Message : WithPreviewChatAndMessageId, PossiblyBusinessMessage { interface AccessibleMessage : Message +interface ChatMessage : AccessibleMessage +interface SpecialMessage : AccessibleMessage + @Serializable data class InaccessibleMessage( override val chat: PreviewChat, @@ -61,7 +64,7 @@ data class UnknownMessageType( override val chat: PreviewChat, override val date: DateTime, val insideException: Exception -) : AccessibleMessage +) : ChatMessage internal class TelegramBotAPIMessageDeserializationStrategyClass : DeserializationStrategy { @OptIn(InternalSerializationApi::class, ExperimentalSerializationApi::class) diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/abstracts/PossiblyEditedMessage.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/abstracts/PossiblyEditedMessage.kt index 17353e32ce..ac61856938 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/abstracts/PossiblyEditedMessage.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/abstracts/PossiblyEditedMessage.kt @@ -2,6 +2,6 @@ package dev.inmo.tgbotapi.types.message.abstracts import korlibs.time.DateTime -interface PossiblyEditedMessage : AccessibleMessage { +interface PossiblyEditedMessage : Message { val editDate: DateTime? } diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/abstracts/PossiblyForwardedMessage.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/abstracts/PossiblyForwardedMessage.kt index 6c6e13b608..f265b465a9 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/abstracts/PossiblyForwardedMessage.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/abstracts/PossiblyForwardedMessage.kt @@ -4,7 +4,7 @@ import dev.inmo.tgbotapi.types.message.ForwardInfo import dev.inmo.tgbotapi.types.message.MessageOrigin import dev.inmo.tgbotapi.types.message.forwardInfo -interface PossiblyForwardedMessage : AccessibleMessage { +interface PossiblyForwardedMessage : Message { val forwardOrigin: MessageOrigin? val forwardInfo: ForwardInfo? get() = forwardOrigin ?.forwardInfo() diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/abstracts/PossiblyPaymentMessage.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/abstracts/PossiblyPaymentMessage.kt index cb8a07bb0d..f5a2514f22 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/abstracts/PossiblyPaymentMessage.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/abstracts/PossiblyPaymentMessage.kt @@ -2,6 +2,6 @@ package dev.inmo.tgbotapi.types.message.abstracts import dev.inmo.tgbotapi.types.message.payments.abstracts.PaymentInfo -interface PossiblyPaymentMessage : AccessibleMessage { +interface PossiblyPaymentMessage : ChatMessage { val paymentInfo: PaymentInfo? } diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/abstracts/PossiblySentViaBotCommonMessage.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/abstracts/PossiblySentViaBotCommonMessage.kt index 18613df71f..ed089f4306 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/abstracts/PossiblySentViaBotCommonMessage.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/abstracts/PossiblySentViaBotCommonMessage.kt @@ -2,4 +2,4 @@ package dev.inmo.tgbotapi.types.message.abstracts import dev.inmo.tgbotapi.types.message.content.MessageContent -sealed interface PossiblySentViaBotCommonMessage : CommonMessage, PossiblySentViaBot +sealed interface PossiblySentViaBotCommonMessage : ChatContentMessage, PossiblySentViaBot diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/abstracts/PossiblyTopicMessage.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/abstracts/PossiblyTopicMessage.kt index ad0f52c137..a03bf46a6c 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/abstracts/PossiblyTopicMessage.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/abstracts/PossiblyTopicMessage.kt @@ -4,7 +4,7 @@ import dev.inmo.tgbotapi.requests.chat.forum.CreateForumTopic import dev.inmo.tgbotapi.types.MessageThreadId import dev.inmo.tgbotapi.types.message.ChatEvents.forum.ForumTopicCreated -interface PossiblyTopicMessage : AccessibleMessage { +interface PossiblyTopicMessage : ChatMessage { val threadId: MessageThreadId? val threadCreatingInfo: ForumTopicCreated? } diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/abstracts/SignedMessage.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/abstracts/SignedMessage.kt index 04d4a85dd3..34a54c79cb 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/abstracts/SignedMessage.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/abstracts/SignedMessage.kt @@ -2,6 +2,6 @@ package dev.inmo.tgbotapi.types.message.abstracts import dev.inmo.tgbotapi.types.AuthorSignature -interface SignedMessage : AccessibleMessage { +interface SignedMessage : ChatMessage { val authorSignature: AuthorSignature? } \ No newline at end of file diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/content/Abstracts.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/content/Abstracts.kt index 946ad35615..2161505d99 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/content/Abstracts.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/content/Abstracts.kt @@ -165,7 +165,7 @@ sealed interface ResendableContent { suggestedPostParameters: SuggestedPostParameters? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null - ): Request + ): Request fun createResend( chatId: ChatIdentifier, @@ -180,7 +180,7 @@ sealed interface ResendableContent { replyToMessageId: MessageId?, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null - ): Request = createResend( + ): Request = createResend( chatId = chatId, messageThreadId = messageThreadId, directMessageThreadId = directMessageThreadId, diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/content/AbstractsMedia.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/content/AbstractsMedia.kt index e9ed7abd1b..05d80fe9ba 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/content/AbstractsMedia.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/content/AbstractsMedia.kt @@ -6,6 +6,7 @@ import dev.inmo.tgbotapi.types.abstracts.WithOptionalQuoteInfo import dev.inmo.tgbotapi.types.files.AudioFile import dev.inmo.tgbotapi.types.files.DocumentFile import dev.inmo.tgbotapi.types.media.* +import dev.inmo.tgbotapi.types.message.abstracts.CommonContentMessage import dev.inmo.tgbotapi.types.message.abstracts.PossiblySentViaBotCommonMessage import kotlinx.serialization.Serializable @@ -28,7 +29,7 @@ sealed interface MediaGroupCollectionContent : Texted data class PartWrapper( val messageId: MessageId, val content: T, - val sourceMessage: PossiblySentViaBotCommonMessage + val sourceMessage: CommonContentMessage ) val group: List> val mediaGroupId: MediaGroupId diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/content/AnimationContent.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/content/AnimationContent.kt index bda906bb93..b52c1d07a6 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/content/AnimationContent.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/content/AnimationContent.kt @@ -10,6 +10,7 @@ import dev.inmo.tgbotapi.types.buttons.KeyboardMarkup import dev.inmo.tgbotapi.types.files.AnimationFile import dev.inmo.tgbotapi.types.files.DocumentFile import dev.inmo.tgbotapi.types.message.SuggestedPostParameters +import dev.inmo.tgbotapi.types.message.abstracts.ChatContentMessage import dev.inmo.tgbotapi.types.message.abstracts.ContentMessage import kotlinx.serialization.Serializable @@ -35,7 +36,7 @@ data class AnimationContent( suggestedPostParameters: SuggestedPostParameters?, replyParameters: ReplyParameters?, replyMarkup: KeyboardMarkup? - ): Request> = SendAnimation( + ): Request> = SendAnimation( chatId = chatId, animation = media.fileId, thumbnail = media.thumbnail ?.fileId, diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/content/AudioContent.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/content/AudioContent.kt index f8d03898a2..d239e5796d 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/content/AudioContent.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/content/AudioContent.kt @@ -10,7 +10,7 @@ import dev.inmo.tgbotapi.types.message.textsources.TextSourcesList import dev.inmo.tgbotapi.types.buttons.KeyboardMarkup import dev.inmo.tgbotapi.types.files.AudioFile import dev.inmo.tgbotapi.types.message.SuggestedPostParameters -import dev.inmo.tgbotapi.types.message.abstracts.ContentMessage +import dev.inmo.tgbotapi.types.message.abstracts.ChatContentMessage import kotlinx.serialization.Serializable @Serializable @@ -32,7 +32,7 @@ data class AudioContent( suggestedPostParameters: SuggestedPostParameters?, replyParameters: ReplyParameters?, replyMarkup: KeyboardMarkup? - ): Request> = SendAudio( + ): Request> = SendAudio( chatId = chatId, audio = media.fileId, thumbnail = media.thumbnail ?.fileId, diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/content/ChecklistContent.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/content/ChecklistContent.kt index 0d4b86bbc8..f693a2a142 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/content/ChecklistContent.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/content/ChecklistContent.kt @@ -12,7 +12,7 @@ import dev.inmo.tgbotapi.types.buttons.KeyboardMarkup import dev.inmo.tgbotapi.types.checklists.Checklist import dev.inmo.tgbotapi.types.checklists.ChecklistTask import dev.inmo.tgbotapi.types.message.SuggestedPostParameters -import dev.inmo.tgbotapi.types.message.abstracts.ContentMessage +import dev.inmo.tgbotapi.types.message.abstracts.ChatContentMessage import kotlinx.serialization.Serializable @Serializable @@ -31,7 +31,7 @@ data class ChecklistContent( suggestedPostParameters: SuggestedPostParameters?, replyParameters: ReplyParameters?, replyMarkup: KeyboardMarkup? - ): Request> { + ): Request> { return SendChecklist( chatId = chatId, checklist = Checklist.Input( diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/content/ContactContent.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/content/ContactContent.kt index c4a3dfaefc..78405b6716 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/content/ContactContent.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/content/ContactContent.kt @@ -6,7 +6,7 @@ import dev.inmo.tgbotapi.types.* import dev.inmo.tgbotapi.types.business_connection.BusinessConnectionId import dev.inmo.tgbotapi.types.buttons.KeyboardMarkup import dev.inmo.tgbotapi.types.message.SuggestedPostParameters -import dev.inmo.tgbotapi.types.message.abstracts.ContentMessage +import dev.inmo.tgbotapi.types.message.abstracts.ChatContentMessage import kotlinx.serialization.Serializable @Serializable @@ -25,7 +25,7 @@ data class ContactContent( suggestedPostParameters: SuggestedPostParameters?, replyParameters: ReplyParameters?, replyMarkup: KeyboardMarkup? - ): Request> = SendContact( + ): Request> = SendContact( chatId = chatId, contact = contact, threadId = messageThreadId, diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/content/DiceContent.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/content/DiceContent.kt index 2327c8e13e..863cfa22cd 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/content/DiceContent.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/content/DiceContent.kt @@ -7,7 +7,7 @@ import dev.inmo.tgbotapi.types.business_connection.BusinessConnectionId import dev.inmo.tgbotapi.types.buttons.KeyboardMarkup import dev.inmo.tgbotapi.types.dice.Dice import dev.inmo.tgbotapi.types.message.SuggestedPostParameters -import dev.inmo.tgbotapi.types.message.abstracts.ContentMessage +import dev.inmo.tgbotapi.types.message.abstracts.ChatContentMessage import kotlinx.serialization.Serializable @Serializable @@ -26,7 +26,7 @@ data class DiceContent( suggestedPostParameters: SuggestedPostParameters?, replyParameters: ReplyParameters?, replyMarkup: KeyboardMarkup? - ): Request> = SendDice( + ): Request> = SendDice( chatId = chatId, animationType = dice.animationType, threadId = messageThreadId, diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/content/DocumentContent.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/content/DocumentContent.kt index c38e57647b..43b3f5e0f0 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/content/DocumentContent.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/content/DocumentContent.kt @@ -13,7 +13,7 @@ import dev.inmo.tgbotapi.types.buttons.KeyboardMarkup import dev.inmo.tgbotapi.types.files.DocumentFile import dev.inmo.tgbotapi.types.files.asDocumentFile import dev.inmo.tgbotapi.types.message.SuggestedPostParameters -import dev.inmo.tgbotapi.types.message.abstracts.ContentMessage +import dev.inmo.tgbotapi.types.message.abstracts.ChatContentMessage import kotlinx.serialization.Serializable @Serializable @@ -35,7 +35,7 @@ data class DocumentContent( suggestedPostParameters: SuggestedPostParameters?, replyParameters: ReplyParameters?, replyMarkup: KeyboardMarkup? - ): Request> = SendDocument( + ): Request> = SendDocument( chatId = chatId, document = media.fileId, thumbnail = media.thumbnail ?.fileId, diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/content/GameContent.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/content/GameContent.kt index ca5744e0ba..da50279bce 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/content/GameContent.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/content/GameContent.kt @@ -7,7 +7,7 @@ import dev.inmo.tgbotapi.types.business_connection.BusinessConnectionId import dev.inmo.tgbotapi.types.buttons.KeyboardMarkup import dev.inmo.tgbotapi.types.games.Game import dev.inmo.tgbotapi.types.message.SuggestedPostParameters -import dev.inmo.tgbotapi.types.message.abstracts.ContentMessage +import dev.inmo.tgbotapi.types.message.abstracts.ChatContentMessage import kotlinx.serialization.Serializable @Serializable @@ -26,7 +26,7 @@ data class GameContent( suggestedPostParameters: SuggestedPostParameters?, replyParameters: ReplyParameters?, replyMarkup: KeyboardMarkup? - ): Request> = SendGame( + ): Request> = SendGame( chatId = chatId, gameShortName = game.title, threadId = messageThreadId, diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/content/GiveawayContent.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/content/GiveawayContent.kt index 01e850f772..e49f72683d 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/content/GiveawayContent.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/content/GiveawayContent.kt @@ -8,7 +8,7 @@ import dev.inmo.tgbotapi.types.buttons.KeyboardMarkup import dev.inmo.tgbotapi.types.chat.Chat import dev.inmo.tgbotapi.types.giveaway.Giveaway import dev.inmo.tgbotapi.types.message.SuggestedPostParameters -import dev.inmo.tgbotapi.types.message.abstracts.AccessibleMessage +import dev.inmo.tgbotapi.types.message.abstracts.ChatContentMessage import kotlinx.serialization.Serializable @Serializable @@ -29,7 +29,8 @@ data class GiveawayContent( suggestedPostParameters: SuggestedPostParameters?, replyParameters: ReplyParameters?, replyMarkup: KeyboardMarkup? - ): Request { + ): Request> { + @Suppress("UNCHECKED_CAST") return ForwardMessage( chat.id, toChatId = chatId, @@ -38,6 +39,6 @@ data class GiveawayContent( directMessageThreadId = directMessageThreadId, disableNotification = disableNotification, protectContent = protectContent - ) + ) as Request> } } \ No newline at end of file diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/content/GiveawayPublicResultsContent.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/content/GiveawayPublicResultsContent.kt index 55935217fc..81fe676085 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/content/GiveawayPublicResultsContent.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/content/GiveawayPublicResultsContent.kt @@ -7,7 +7,7 @@ import dev.inmo.tgbotapi.types.business_connection.BusinessConnectionId import dev.inmo.tgbotapi.types.buttons.KeyboardMarkup import dev.inmo.tgbotapi.types.giveaway.GiveawayPublicResults import dev.inmo.tgbotapi.types.message.SuggestedPostParameters -import dev.inmo.tgbotapi.types.message.abstracts.AccessibleMessage +import dev.inmo.tgbotapi.types.message.abstracts.ChatContentMessage import kotlinx.serialization.Serializable @Serializable @@ -26,7 +26,8 @@ data class GiveawayPublicResultsContent( suggestedPostParameters: SuggestedPostParameters?, replyParameters: ReplyParameters?, replyMarkup: KeyboardMarkup? - ): Request { + ): Request> { + @Suppress("UNCHECKED_CAST") return ForwardMessage( giveaway.chat.id, toChatId = chatId, @@ -35,6 +36,6 @@ data class GiveawayPublicResultsContent( directMessageThreadId = directMessageThreadId, disableNotification = disableNotification, protectContent = protectContent - ) + ) as Request> } } \ No newline at end of file diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/content/InvoiceContent.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/content/InvoiceContent.kt index ed4f6f69cf..2328175415 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/content/InvoiceContent.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/content/InvoiceContent.kt @@ -5,7 +5,7 @@ import dev.inmo.tgbotapi.types.* import dev.inmo.tgbotapi.types.business_connection.BusinessConnectionId import dev.inmo.tgbotapi.types.buttons.KeyboardMarkup import dev.inmo.tgbotapi.types.message.SuggestedPostParameters -import dev.inmo.tgbotapi.types.message.abstracts.ContentMessage +import dev.inmo.tgbotapi.types.message.abstracts.ChatContentMessage import dev.inmo.tgbotapi.types.payments.Invoice import kotlinx.serialization.Serializable @@ -25,7 +25,7 @@ data class InvoiceContent( suggestedPostParameters: SuggestedPostParameters?, replyParameters: ReplyParameters?, replyMarkup: KeyboardMarkup? - ): Request> { + ): Request> { error("Unfortunately, currently InvoiceOfPayment can not be resend due to requirement of additional parameters," + " which can't be provided during the call of this method") } diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/content/LivePhotoContent.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/content/LivePhotoContent.kt index aee0c742bd..b419fd3d9e 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/content/LivePhotoContent.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/content/LivePhotoContent.kt @@ -10,7 +10,7 @@ import dev.inmo.tgbotapi.types.buttons.KeyboardMarkup import dev.inmo.tgbotapi.types.files.LivePhotoFile import dev.inmo.tgbotapi.types.files.toTelegramMediaLivePhoto import dev.inmo.tgbotapi.types.message.SuggestedPostParameters -import dev.inmo.tgbotapi.types.message.abstracts.ContentMessage +import dev.inmo.tgbotapi.types.message.abstracts.ChatContentMessage import kotlinx.serialization.Serializable @Serializable @@ -34,7 +34,7 @@ data class LivePhotoContent( suggestedPostParameters: SuggestedPostParameters?, replyParameters: ReplyParameters?, replyMarkup: KeyboardMarkup? - ): Request> = SendLivePhoto( + ): Request> = SendLivePhoto( chatId = chatId, livePhoto = media.fileId, photo = media.photo ?.fileId ?: media.fileId, diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/content/LocationContent.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/content/LocationContent.kt index b7aae7013c..9dd1041025 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/content/LocationContent.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/content/LocationContent.kt @@ -8,7 +8,7 @@ import dev.inmo.tgbotapi.types.business_connection.BusinessConnectionId import dev.inmo.tgbotapi.types.buttons.KeyboardMarkup import dev.inmo.tgbotapi.types.location.* import dev.inmo.tgbotapi.types.message.SuggestedPostParameters -import dev.inmo.tgbotapi.types.message.abstracts.ContentMessage +import dev.inmo.tgbotapi.types.message.abstracts.ChatContentMessage import kotlinx.serialization.* import kotlinx.serialization.descriptors.SerialDescriptor import kotlinx.serialization.descriptors.buildClassSerialDescriptor @@ -107,7 +107,7 @@ data class LiveLocationContent( suggestedPostParameters: SuggestedPostParameters?, replyParameters: ReplyParameters?, replyMarkup: KeyboardMarkup? - ): Request> = SendLiveLocation( + ): Request> = SendLiveLocation( chatId = chatId, latitude = location.latitude, longitude = location.longitude, @@ -148,7 +148,7 @@ data class StaticLocationContent( suggestedPostParameters: SuggestedPostParameters?, replyParameters: ReplyParameters?, replyMarkup: KeyboardMarkup? - ): Request> = SendStaticLocation( + ): Request> = SendStaticLocation( chatId = chatId, latitude = location.latitude, longitude = location.longitude, diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/content/MediaGroupContent.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/content/MediaGroupContent.kt index 9615948220..dd1b49096a 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/content/MediaGroupContent.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/content/MediaGroupContent.kt @@ -9,7 +9,7 @@ import dev.inmo.tgbotapi.types.buttons.KeyboardMarkup import dev.inmo.tgbotapi.types.files.TelegramMediaFile import dev.inmo.tgbotapi.types.media.TelegramFreeMedia import dev.inmo.tgbotapi.types.message.SuggestedPostParameters -import dev.inmo.tgbotapi.types.message.abstracts.ContentMessage +import dev.inmo.tgbotapi.types.message.abstracts.ChatContentMessage import dev.inmo.tgbotapi.types.message.textsources.TextSource import kotlinx.serialization.Serializable @@ -44,7 +44,7 @@ data class MediaGroupContent( suggestedPostParameters: SuggestedPostParameters?, replyParameters: ReplyParameters?, replyMarkup: KeyboardMarkup? - ): Request>> = SendMediaGroup( + ): Request>> = SendMediaGroup( chatId = chatId, media = group.map { it.content.toMediaGroupMemberTelegramMedia() }, threadId = messageThreadId, diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/content/PaidMediaInfoContent.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/content/PaidMediaInfoContent.kt index 7310462517..a8444173af 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/content/PaidMediaInfoContent.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/content/PaidMediaInfoContent.kt @@ -12,7 +12,7 @@ import dev.inmo.tgbotapi.types.files.* import dev.inmo.tgbotapi.types.files.toTelegramPaidMediaVideo import dev.inmo.tgbotapi.types.media.* import dev.inmo.tgbotapi.types.message.SuggestedPostParameters -import dev.inmo.tgbotapi.types.message.abstracts.ContentMessage +import dev.inmo.tgbotapi.types.message.abstracts.ChatContentMessage import dev.inmo.tgbotapi.types.message.payments.PaidMedia import kotlinx.serialization.Serializable @@ -36,7 +36,7 @@ data class PaidMediaInfoContent( suggestedPostParameters: SuggestedPostParameters?, replyParameters: ReplyParameters?, replyMarkup: KeyboardMarkup? - ): Request> = SendPaidMedia( + ): Request> = SendPaidMedia( chatId = chatId, starCount = paidMediaInfo.stars, media = paidMediaInfo.media.mapNotNull { diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/content/PhotoContent.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/content/PhotoContent.kt index d38956993c..6a8e771838 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/content/PhotoContent.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/content/PhotoContent.kt @@ -11,7 +11,7 @@ import dev.inmo.tgbotapi.types.business_connection.BusinessConnectionId import dev.inmo.tgbotapi.types.buttons.KeyboardMarkup import dev.inmo.tgbotapi.types.files.* import dev.inmo.tgbotapi.types.message.SuggestedPostParameters -import dev.inmo.tgbotapi.types.message.abstracts.ContentMessage +import dev.inmo.tgbotapi.types.message.abstracts.ChatContentMessage import kotlinx.serialization.Serializable @Serializable @@ -37,7 +37,7 @@ data class PhotoContent( suggestedPostParameters: SuggestedPostParameters?, replyParameters: ReplyParameters?, replyMarkup: KeyboardMarkup? - ): Request> = SendPhoto( + ): Request> = SendPhoto( chatId = chatId, photo = media.fileId, entities = textSources, diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/content/PollContent.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/content/PollContent.kt index a5e74e9123..c00e36679f 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/content/PollContent.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/content/PollContent.kt @@ -6,7 +6,7 @@ import dev.inmo.tgbotapi.types.* import dev.inmo.tgbotapi.types.business_connection.BusinessConnectionId import dev.inmo.tgbotapi.types.buttons.KeyboardMarkup import dev.inmo.tgbotapi.types.message.SuggestedPostParameters -import dev.inmo.tgbotapi.types.message.abstracts.ContentMessage +import dev.inmo.tgbotapi.types.message.abstracts.ChatContentMessage import dev.inmo.tgbotapi.types.polls.Poll import kotlinx.serialization.Serializable @@ -26,7 +26,7 @@ data class PollContent( suggestedPostParameters: SuggestedPostParameters?, replyParameters: ReplyParameters?, replyMarkup: KeyboardMarkup? - ): Request> = poll.createRequest( + ): Request> = poll.createRequest( chatId = chatId, threadId = messageThreadId, directMessageThreadId = directMessageThreadId, diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/content/StickerContent.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/content/StickerContent.kt index f18a7acfc1..1dcbb71102 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/content/StickerContent.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/content/StickerContent.kt @@ -8,7 +8,7 @@ import dev.inmo.tgbotapi.types.business_connection.BusinessConnectionId import dev.inmo.tgbotapi.types.buttons.KeyboardMarkup import dev.inmo.tgbotapi.types.files.Sticker import dev.inmo.tgbotapi.types.message.SuggestedPostParameters -import dev.inmo.tgbotapi.types.message.abstracts.ContentMessage +import dev.inmo.tgbotapi.types.message.abstracts.ChatContentMessage import kotlinx.serialization.Serializable @Serializable @@ -27,7 +27,7 @@ data class StickerContent( suggestedPostParameters: SuggestedPostParameters?, replyParameters: ReplyParameters?, replyMarkup: KeyboardMarkup? - ): Request> = SendSticker( + ): Request> = SendSticker( chatId = chatId, sticker = media.fileId, threadId = messageThreadId, diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/content/StoryContent.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/content/StoryContent.kt index 05ffe3d457..99885092ca 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/content/StoryContent.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/content/StoryContent.kt @@ -7,7 +7,7 @@ import dev.inmo.tgbotapi.types.business_connection.BusinessConnectionId import dev.inmo.tgbotapi.types.buttons.KeyboardMarkup import dev.inmo.tgbotapi.types.chat.Chat import dev.inmo.tgbotapi.types.message.SuggestedPostParameters -import dev.inmo.tgbotapi.types.message.abstracts.PossiblyForwardedMessage +import dev.inmo.tgbotapi.types.message.abstracts.ChatContentMessage import dev.inmo.tgbotapi.types.stories.Story import kotlinx.serialization.Serializable @@ -29,7 +29,8 @@ data class StoryContent( suggestedPostParameters: SuggestedPostParameters?, replyParameters: ReplyParameters?, replyMarkup: KeyboardMarkup? - ): Request { + ): Request> { + @Suppress("UNCHECKED_CAST") return ForwardMessage( chat.id, toChatId = chatId, @@ -38,6 +39,6 @@ data class StoryContent( directMessageThreadId = directMessageThreadId, disableNotification = disableNotification, protectContent = protectContent - ) + ) as Request> } } diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/content/TextContent.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/content/TextContent.kt index 6b9ab2a62b..9d15f489ea 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/content/TextContent.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/content/TextContent.kt @@ -8,7 +8,7 @@ import dev.inmo.tgbotapi.types.abstracts.WithOptionalQuoteInfo import dev.inmo.tgbotapi.types.business_connection.BusinessConnectionId import dev.inmo.tgbotapi.types.buttons.KeyboardMarkup import dev.inmo.tgbotapi.types.message.SuggestedPostParameters -import dev.inmo.tgbotapi.types.message.abstracts.ContentMessage +import dev.inmo.tgbotapi.types.message.abstracts.ChatContentMessage import kotlinx.serialization.Serializable @Serializable @@ -30,7 +30,7 @@ data class TextContent( suggestedPostParameters: SuggestedPostParameters?, replyParameters: ReplyParameters?, replyMarkup: KeyboardMarkup? - ): Request> = SendTextMessage( + ): Request> = SendTextMessage( chatId = chatId, entities = textSources, linkPreviewOptions = linkPreviewOptions, diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/content/Typealiases.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/content/Typealiases.kt index e9602d1a39..2e9a4b91d7 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/content/Typealiases.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/content/Typealiases.kt @@ -1,41 +1,41 @@ package dev.inmo.tgbotapi.types.message.content -import dev.inmo.tgbotapi.types.message.abstracts.CommonMessage +import dev.inmo.tgbotapi.types.message.abstracts.ChatContentMessage -typealias TextedMessage = CommonMessage +typealias TextedMessage = ChatContentMessage -typealias InvoiceMessage = CommonMessage -typealias VenueMessage = CommonMessage -typealias GameMessage = CommonMessage -typealias DiceMessage = CommonMessage -typealias ContactMessage = CommonMessage -typealias PollMessage = CommonMessage -typealias TextMessage = CommonMessage -typealias StoryMessage = CommonMessage +typealias InvoiceMessage = ChatContentMessage +typealias VenueMessage = ChatContentMessage +typealias GameMessage = ChatContentMessage +typealias DiceMessage = ChatContentMessage +typealias ContactMessage = ChatContentMessage +typealias PollMessage = ChatContentMessage +typealias TextMessage = ChatContentMessage +typealias StoryMessage = ChatContentMessage -typealias LocationMessage = CommonMessage -typealias LiveLocationMessage = CommonMessage -typealias StaticLocationMessage = CommonMessage +typealias LocationMessage = ChatContentMessage +typealias LiveLocationMessage = ChatContentMessage +typealias StaticLocationMessage = ChatContentMessage -typealias MediaCollectionMessage = CommonMessage> -typealias MediaMessage = CommonMessage -typealias VideoNoteMessage = CommonMessage -typealias StickerMessage = CommonMessage -typealias TextedMediaMessage = CommonMessage -typealias VoiceMessage = CommonMessage -typealias MediaGroupMessage = CommonMessage> -typealias AudioMediaGroupMessage = CommonMessage -typealias AudioMessage = CommonMessage -typealias DocumentMediaGroupMessage = CommonMessage -typealias DocumentMessage = CommonMessage -typealias VisualMediaGroupMessage = CommonMessage -typealias VideoMessage = CommonMessage -typealias LivePhotoMessage = CommonMessage -typealias PhotoMessage = CommonMessage -typealias AnimationMessage = CommonMessage -typealias ScheduledGiveawayContentMessage = CommonMessage -typealias GiveawayPublicResultsContentMessage = CommonMessage -typealias PaidMediaInfoContentMessage = CommonMessage -typealias ChecklistMessage = CommonMessage +typealias MediaCollectionMessage = ChatContentMessage> +typealias MediaMessage = ChatContentMessage +typealias VideoNoteMessage = ChatContentMessage +typealias StickerMessage = ChatContentMessage +typealias TextedMediaMessage = ChatContentMessage +typealias VoiceMessage = ChatContentMessage +typealias MediaGroupMessage = ChatContentMessage> +typealias AudioMediaGroupMessage = ChatContentMessage +typealias AudioMessage = ChatContentMessage +typealias DocumentMediaGroupMessage = ChatContentMessage +typealias DocumentMessage = ChatContentMessage +typealias VisualMediaGroupMessage = ChatContentMessage +typealias VideoMessage = ChatContentMessage +typealias LivePhotoMessage = ChatContentMessage +typealias PhotoMessage = ChatContentMessage +typealias AnimationMessage = ChatContentMessage +typealias ScheduledGiveawayContentMessage = ChatContentMessage +typealias GiveawayPublicResultsContentMessage = ChatContentMessage +typealias PaidMediaInfoContentMessage = ChatContentMessage +typealias ChecklistMessage = ChatContentMessage diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/content/VenueContent.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/content/VenueContent.kt index 9deb3bbbe9..1048ead577 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/content/VenueContent.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/content/VenueContent.kt @@ -6,7 +6,7 @@ import dev.inmo.tgbotapi.types.* import dev.inmo.tgbotapi.types.business_connection.BusinessConnectionId import dev.inmo.tgbotapi.types.buttons.KeyboardMarkup import dev.inmo.tgbotapi.types.message.SuggestedPostParameters -import dev.inmo.tgbotapi.types.message.abstracts.ContentMessage +import dev.inmo.tgbotapi.types.message.abstracts.ChatContentMessage import dev.inmo.tgbotapi.types.venue.Venue import kotlinx.serialization.Serializable @@ -26,7 +26,7 @@ data class VenueContent( suggestedPostParameters: SuggestedPostParameters?, replyParameters: ReplyParameters?, replyMarkup: KeyboardMarkup? - ): Request> = SendVenue( + ): Request> = SendVenue( chatId = chatId, venue = venue, threadId = messageThreadId, diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/content/VideoContent.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/content/VideoContent.kt index 9b0bcb7f9d..a297c0f5e9 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/content/VideoContent.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/content/VideoContent.kt @@ -10,7 +10,7 @@ import dev.inmo.tgbotapi.types.buttons.KeyboardMarkup import dev.inmo.tgbotapi.types.files.VideoFile import dev.inmo.tgbotapi.types.files.toTelegramMediaVideo import dev.inmo.tgbotapi.types.message.SuggestedPostParameters -import dev.inmo.tgbotapi.types.message.abstracts.ContentMessage +import dev.inmo.tgbotapi.types.message.abstracts.ChatContentMessage import kotlinx.serialization.Serializable @Serializable @@ -34,7 +34,7 @@ data class VideoContent( suggestedPostParameters: SuggestedPostParameters?, replyParameters: ReplyParameters?, replyMarkup: KeyboardMarkup? - ): Request> = SendVideo( + ): Request> = SendVideo( chatId = chatId, video = media.fileId, thumbnail = media.thumbnail ?.fileId, diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/content/VideoNoteContent.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/content/VideoNoteContent.kt index e353451e52..54f7d116e8 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/content/VideoNoteContent.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/content/VideoNoteContent.kt @@ -8,7 +8,7 @@ import dev.inmo.tgbotapi.types.business_connection.BusinessConnectionId import dev.inmo.tgbotapi.types.buttons.KeyboardMarkup import dev.inmo.tgbotapi.types.files.VideoNoteFile import dev.inmo.tgbotapi.types.message.SuggestedPostParameters -import dev.inmo.tgbotapi.types.message.abstracts.ContentMessage +import dev.inmo.tgbotapi.types.message.abstracts.ChatContentMessage import kotlinx.serialization.Serializable @Serializable @@ -27,7 +27,7 @@ data class VideoNoteContent( suggestedPostParameters: SuggestedPostParameters?, replyParameters: ReplyParameters?, replyMarkup: KeyboardMarkup? - ): Request> = SendVideoNote( + ): Request> = SendVideoNote( chatId = chatId, videoNote = media.fileId, thumbnail = media.thumbnail ?.fileId, diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/content/VoiceContent.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/content/VoiceContent.kt index 7021653dcc..e926a94e2d 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/content/VoiceContent.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/content/VoiceContent.kt @@ -9,7 +9,7 @@ import dev.inmo.tgbotapi.types.business_connection.BusinessConnectionId import dev.inmo.tgbotapi.types.buttons.KeyboardMarkup import dev.inmo.tgbotapi.types.files.VoiceFile import dev.inmo.tgbotapi.types.message.SuggestedPostParameters -import dev.inmo.tgbotapi.types.message.abstracts.ContentMessage +import dev.inmo.tgbotapi.types.message.abstracts.ChatContentMessage import kotlinx.serialization.Serializable @Serializable @@ -31,7 +31,7 @@ data class VoiceContent( suggestedPostParameters: SuggestedPostParameters?, replyParameters: ReplyParameters?, replyMarkup: KeyboardMarkup? - ): Request> = SendVoice( + ): Request> = SendVoice( chatId = chatId, voice = media.fileId, entities = textSources, diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/update/BusinessMessageUpdate.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/update/BusinessMessageUpdate.kt index ec8a9e0f65..8a86743582 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/update/BusinessMessageUpdate.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/update/BusinessMessageUpdate.kt @@ -3,6 +3,7 @@ package dev.inmo.tgbotapi.types.update import dev.inmo.tgbotapi.types.UpdateId import dev.inmo.tgbotapi.types.message.abstracts.AccessibleMessage import dev.inmo.tgbotapi.types.message.abstracts.BusinessContentMessage +import dev.inmo.tgbotapi.types.message.abstracts.CommonContentMessage import dev.inmo.tgbotapi.types.message.abstracts.ContentMessage import dev.inmo.tgbotapi.types.update.abstracts.BaseSentMessageUpdate @@ -13,5 +14,5 @@ data class BusinessMessageUpdate( /** * @param newData Must be [BusinessContentMessage] */ - override fun copy(newData: ContentMessage<*>) = copy(updateId, newData as BusinessContentMessage<*>) + override fun copy(newData: AccessibleMessage) = copy(updateId, newData as BusinessContentMessage<*>) } diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/update/ChannelPostUpdate.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/update/ChannelPostUpdate.kt index c28a4683dc..8ac9ead5c6 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/update/ChannelPostUpdate.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/update/ChannelPostUpdate.kt @@ -2,12 +2,11 @@ package dev.inmo.tgbotapi.types.update import dev.inmo.tgbotapi.types.UpdateId import dev.inmo.tgbotapi.types.message.abstracts.AccessibleMessage -import dev.inmo.tgbotapi.types.message.abstracts.ContentMessage import dev.inmo.tgbotapi.types.update.abstracts.BaseSentMessageUpdate data class ChannelPostUpdate( override val updateId: UpdateId, override val data: AccessibleMessage ) : BaseSentMessageUpdate { - override fun copy(newData: ContentMessage<*>): BaseSentMessageUpdate = copy(updateId, newData) + override fun copy(newData: AccessibleMessage): BaseSentMessageUpdate = copy(updateId, newData) } diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/update/DeletedBusinessMessageUpdate.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/update/DeletedBusinessMessageUpdate.kt index 8f4b6ba063..4c8d05fb31 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/update/DeletedBusinessMessageUpdate.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/update/DeletedBusinessMessageUpdate.kt @@ -2,9 +2,6 @@ package dev.inmo.tgbotapi.types.update import dev.inmo.tgbotapi.types.UpdateId import dev.inmo.tgbotapi.types.business_connection.BusinessMessagesDeleted -import dev.inmo.tgbotapi.types.message.abstracts.BusinessContentMessage -import dev.inmo.tgbotapi.types.message.abstracts.CommonMessage -import dev.inmo.tgbotapi.types.update.abstracts.BaseEditMessageUpdate import dev.inmo.tgbotapi.types.update.abstracts.Update data class DeletedBusinessMessageUpdate( diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/update/EditBusinessMessageUpdate.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/update/EditBusinessMessageUpdate.kt index f718409be9..6571b6220a 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/update/EditBusinessMessageUpdate.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/update/EditBusinessMessageUpdate.kt @@ -2,7 +2,6 @@ package dev.inmo.tgbotapi.types.update import dev.inmo.tgbotapi.types.UpdateId import dev.inmo.tgbotapi.types.message.abstracts.BusinessContentMessage -import dev.inmo.tgbotapi.types.message.abstracts.CommonMessage import dev.inmo.tgbotapi.types.update.abstracts.BaseEditMessageUpdate data class EditBusinessMessageUpdate( diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/update/EditChannelPostUpdate.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/update/EditChannelPostUpdate.kt index b041ae9d79..b9331c80df 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/update/EditChannelPostUpdate.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/update/EditChannelPostUpdate.kt @@ -1,10 +1,10 @@ package dev.inmo.tgbotapi.types.update import dev.inmo.tgbotapi.types.UpdateId -import dev.inmo.tgbotapi.types.message.abstracts.CommonMessage +import dev.inmo.tgbotapi.types.message.abstracts.ChatContentMessage import dev.inmo.tgbotapi.types.update.abstracts.BaseEditMessageUpdate data class EditChannelPostUpdate( override val updateId: UpdateId, - override val data: CommonMessage<*> + override val data: ChatContentMessage<*> ) : BaseEditMessageUpdate diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/update/EditMessageUpdate.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/update/EditMessageUpdate.kt index 2e35de31ff..4871495b1c 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/update/EditMessageUpdate.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/update/EditMessageUpdate.kt @@ -1,10 +1,10 @@ package dev.inmo.tgbotapi.types.update import dev.inmo.tgbotapi.types.UpdateId -import dev.inmo.tgbotapi.types.message.abstracts.CommonMessage +import dev.inmo.tgbotapi.types.message.abstracts.ChatContentMessage import dev.inmo.tgbotapi.types.update.abstracts.BaseEditMessageUpdate data class EditMessageUpdate( override val updateId: UpdateId, - override val data: CommonMessage<*> + override val data: ChatContentMessage<*> ) : BaseEditMessageUpdate diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/update/GuestMessageUpdate.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/update/GuestMessageUpdate.kt new file mode 100644 index 0000000000..c771e1b1e0 --- /dev/null +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/update/GuestMessageUpdate.kt @@ -0,0 +1,18 @@ +package dev.inmo.tgbotapi.types.update + +import dev.inmo.tgbotapi.types.UpdateId +import dev.inmo.tgbotapi.types.message.abstracts.AccessibleMessage +import dev.inmo.tgbotapi.types.message.abstracts.CommonContentMessage +import dev.inmo.tgbotapi.types.message.abstracts.ContentMessage +import dev.inmo.tgbotapi.types.message.abstracts.GuestContentMessage +import dev.inmo.tgbotapi.types.update.abstracts.BaseSentMessageUpdate + +data class GuestMessageUpdate( + override val updateId: UpdateId, + override val data: GuestContentMessage<*> +) : BaseSentMessageUpdate { + /** + * @param newData Must be [GuestContentMessage] + */ + override fun copy(newData: AccessibleMessage) = copy(updateId, newData as GuestContentMessage<*>) +} diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/update/MessageUpdate.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/update/MessageUpdate.kt index 98165a8843..9ae84fc875 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/update/MessageUpdate.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/update/MessageUpdate.kt @@ -2,6 +2,7 @@ package dev.inmo.tgbotapi.types.update import dev.inmo.tgbotapi.types.UpdateId import dev.inmo.tgbotapi.types.message.abstracts.AccessibleMessage +import dev.inmo.tgbotapi.types.message.abstracts.CommonContentMessage import dev.inmo.tgbotapi.types.message.abstracts.ContentMessage import dev.inmo.tgbotapi.types.update.abstracts.BaseSentMessageUpdate @@ -9,5 +10,5 @@ data class MessageUpdate( override val updateId: UpdateId, override val data: AccessibleMessage ) : BaseSentMessageUpdate { - override fun copy(newData: ContentMessage<*>) = copy(updateId, newData) + override fun copy(newData: AccessibleMessage) = copy(updateId, newData) } diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/update/RawUpdate.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/update/RawUpdate.kt index a5dba2d31e..d553a58e20 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/update/RawUpdate.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/update/RawUpdate.kt @@ -31,13 +31,13 @@ internal data class RawUpdate constructor( val updateId: UpdateId, @Suppress("SERIALIZER_TYPE_INCOMPATIBLE") @Serializable(TelegramBotAPIMessageDeserializeOnlySerializer::class) - private val edited_message: CommonMessage<*>? = null, + private val edited_message: ChatContentMessage<*>? = null, @Suppress("SERIALIZER_TYPE_INCOMPATIBLE") @Serializable(TelegramBotAPIMessageDeserializeOnlySerializer::class) private val message: AccessibleMessage? = null, @Suppress("SERIALIZER_TYPE_INCOMPATIBLE") @Serializable(TelegramBotAPIMessageDeserializeOnlySerializer::class) - private val edited_channel_post: CommonMessage<*>? = null, + private val edited_channel_post: ChatContentMessage<*>? = null, @Suppress("SERIALIZER_TYPE_INCOMPATIBLE") @Serializable(TelegramBotAPIMessageDeserializeOnlySerializer::class) private val channel_post: AccessibleMessage? = null, @@ -64,6 +64,9 @@ internal data class RawUpdate constructor( @Serializable(TelegramBotAPIMessageDeserializeOnlySerializer::class) private val edited_business_message: BusinessContentMessage<*>? = null, private val deleted_business_messages: BusinessMessagesDeleted? = null, + @Suppress("SERIALIZER_TYPE_INCOMPATIBLE") + @Serializable(TelegramBotAPIMessageDeserializeOnlySerializer::class) + private val guest_message: GuestContentMessage<*>? = null, private val purchased_paid_media: PaidMediaPurchased? = null, private val managed_bot: ManagedBotUpdated? = null, ) { @@ -101,6 +104,7 @@ internal data class RawUpdate constructor( business_message != null -> BusinessMessageUpdate(updateId, business_message) edited_business_message != null -> EditBusinessMessageUpdate(updateId, edited_business_message) deleted_business_messages != null -> DeletedBusinessMessageUpdate(updateId, deleted_business_messages) + guest_message != null -> GuestMessageUpdate(updateId, guest_message) purchased_paid_media != null -> PaidMediaPurchasedUpdate(updateId, purchased_paid_media) managed_bot != null -> ManagedBotUpdate(updateId, managed_bot) else -> UnknownUpdate( diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/update/abstracts/BaseEditMessageUpdate.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/update/abstracts/BaseEditMessageUpdate.kt index 4f716d93c2..5af7a2610f 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/update/abstracts/BaseEditMessageUpdate.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/update/abstracts/BaseEditMessageUpdate.kt @@ -1,7 +1,7 @@ package dev.inmo.tgbotapi.types.update.abstracts -import dev.inmo.tgbotapi.types.message.abstracts.CommonMessage +import dev.inmo.tgbotapi.types.message.abstracts.ChatContentMessage interface BaseEditMessageUpdate : BaseMessageUpdate { - override val data: CommonMessage<*> + override val data: ChatContentMessage<*> } diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/update/abstracts/BaseMessageUpdate.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/update/abstracts/BaseMessageUpdate.kt index 8601a56f6a..16c849b665 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/update/abstracts/BaseMessageUpdate.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/update/abstracts/BaseMessageUpdate.kt @@ -1,6 +1,8 @@ package dev.inmo.tgbotapi.types.update.abstracts import dev.inmo.tgbotapi.types.message.abstracts.AccessibleMessage +import dev.inmo.tgbotapi.types.message.abstracts.CommonContentMessage +import dev.inmo.tgbotapi.types.message.abstracts.Message interface BaseMessageUpdate : Update { override val data: AccessibleMessage diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/update/abstracts/BaseSentMessageUpdate.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/update/abstracts/BaseSentMessageUpdate.kt index abde41bf2d..5a6299df3a 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/update/abstracts/BaseSentMessageUpdate.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/update/abstracts/BaseSentMessageUpdate.kt @@ -1,7 +1,6 @@ package dev.inmo.tgbotapi.types.update.abstracts import dev.inmo.tgbotapi.types.message.abstracts.AccessibleMessage -import dev.inmo.tgbotapi.types.message.abstracts.ContentMessage interface BaseSentMessageUpdate : BaseMessageUpdate { /** @@ -9,5 +8,5 @@ interface BaseSentMessageUpdate : BaseMessageUpdate { * * **THERE IS NO ANY GUARANTEE THAT THIS METHOD WILL NOT THROW ANY EXCEPTION** */ - fun copy(newData: ContentMessage<*>): BaseSentMessageUpdate + fun copy(newData: AccessibleMessage): BaseSentMessageUpdate } diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/updateshandlers/FlowsUpdatesFilter.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/updateshandlers/FlowsUpdatesFilter.kt index 3c4f1d2db7..f62d0e692d 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/updateshandlers/FlowsUpdatesFilter.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/updateshandlers/FlowsUpdatesFilter.kt @@ -44,6 +44,7 @@ interface FlowsUpdatesFilter : UpdatesFilter { val businessMessageUpdatesFlow: Flow val editBusinessMessageUpdatesFlow: Flow val deleteBusinessMessageUpdatesFlow: Flow + val guestMessageUpdatesFlow: Flow val paidMediaPurchasedUpdatesFlow: Flow val managedBotUpdatesFlow: Flow val unknownUpdatesFlow: Flow @@ -73,6 +74,7 @@ abstract class AbstractFlowsUpdatesFilter : FlowsUpdatesFilter { override val businessMessageUpdatesFlow: Flow by lazy { allUpdatesFlow.filterIsInstance() } override val editBusinessMessageUpdatesFlow: Flow by lazy { allUpdatesFlow.filterIsInstance() } override val deleteBusinessMessageUpdatesFlow: Flow by lazy { allUpdatesFlow.filterIsInstance() } + override val guestMessageUpdatesFlow: Flow by lazy { allUpdatesFlow.filterIsInstance() } override val paidMediaPurchasedUpdatesFlow: Flow by lazy { allUpdatesFlow.filterIsInstance() } override val managedBotUpdatesFlow: Flow by lazy { allUpdatesFlow.filterIsInstance() } } diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/utils/extensions/MediaGroupContentMessageCreator.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/utils/extensions/MediaGroupContentMessageCreator.kt index 833277516a..15c53fdbdd 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/utils/extensions/MediaGroupContentMessageCreator.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/utils/extensions/MediaGroupContentMessageCreator.kt @@ -8,7 +8,7 @@ import dev.inmo.tgbotapi.types.message.content.MediaGroupPartContent import dev.inmo.tgbotapi.utils.RiskFeature @RiskFeature("This API is experimental and can be changed without any notice, use with caution") -fun List>.asMediaGroupMessage(): PossiblySentViaBotCommonMessage> { +fun List>.asMediaGroupMessage(): CommonContentMessage> { val sourceMessage = first() val content = MediaGroupContent( map { MediaGroupCollectionContent.PartWrapper(it.messageId, it.content, it) }, @@ -267,5 +267,24 @@ fun List>.asMedia suggestedPostInfo = sourceMessage.suggestedPostInfo, cost = sourceMessage.cost, ) + is GuestContentMessage -> GuestContentMessageImpl( + messageId = sourceMessage.messageId, + from = sourceMessage.user, + chat = sourceMessage.chat, + guestQueryId = sourceMessage.guestQueryId, + content = content, + date = sourceMessage.date, + editDate = sourceMessage.editDate, + hasProtectedContent = sourceMessage.hasProtectedContent, + forwardOrigin = sourceMessage.forwardOrigin, + replyInfo = sourceMessage.replyInfo, + replyMarkup = sourceMessage.replyMarkup, + senderBot = sourceMessage.senderBot, + mediaGroupId = sourceMessage.mediaGroupId, + guestBotCallerUser = sourceMessage.guestBotCallerUser, + guestBotCallerChat = sourceMessage.guestBotCallerChat, + fromOffline = sourceMessage.fromOffline, + cost = sourceMessage.cost, + ) } } diff --git a/tgbotapi.utils/api/tgbotapi.utils.api b/tgbotapi.utils/api/tgbotapi.utils.api index ae31811d9a..b31e0fdbfa 100644 --- a/tgbotapi.utils/api/tgbotapi.utils.api +++ b/tgbotapi.utils/api/tgbotapi.utils.api @@ -58,7 +58,7 @@ public final class dev/inmo/tgbotapi/extensions/utils/ClassCastsKt { public static final fun asCommonEvent (Ldev/inmo/tgbotapi/types/message/ChatEvents/abstracts/ChatEvent;)Ldev/inmo/tgbotapi/types/message/ChatEvents/abstracts/CommonEvent; public static final fun asCommonGroupContentMessage (Ldev/inmo/tgbotapi/types/message/abstracts/Message;)Ldev/inmo/tgbotapi/types/message/abstracts/CommonGroupContentMessage; public static final fun asCommonGroupEventMessage (Ldev/inmo/tgbotapi/types/message/abstracts/Message;)Ldev/inmo/tgbotapi/types/message/CommonGroupEventMessage; - public static final fun asCommonMessage (Ldev/inmo/tgbotapi/types/message/abstracts/Message;)Ldev/inmo/tgbotapi/types/message/abstracts/CommonMessage; + public static final fun asCommonMessage (Ldev/inmo/tgbotapi/types/message/abstracts/Message;)Ldev/inmo/tgbotapi/types/message/abstracts/ChatContentMessage; public static final fun asCommonPassport (Ldev/inmo/tgbotapi/types/passport/encrypted/abstracts/EncryptedPassportElement;)Ldev/inmo/tgbotapi/types/passport/encrypted/CommonPassport; public static final fun asCommonPassportSecureValue (Ldev/inmo/tgbotapi/types/passport/decrypted/abstracts/SecureValue;)Ldev/inmo/tgbotapi/types/passport/decrypted/CommonPassportSecureValue; public static final fun asCommonSupergroupEventMessage (Ldev/inmo/tgbotapi/types/message/abstracts/Message;)Ldev/inmo/tgbotapi/types/message/CommonSupergroupEventMessage; @@ -182,7 +182,7 @@ public final class dev/inmo/tgbotapi/extensions/utils/ClassCastsKt { public static final fun asMediaContent (Ldev/inmo/tgbotapi/types/message/content/ResendableContent;)Ldev/inmo/tgbotapi/types/message/content/MediaContent; public static final fun asMediaGroupContent (Ldev/inmo/tgbotapi/types/message/content/ResendableContent;)Ldev/inmo/tgbotapi/types/message/content/MediaGroupPartContent; public static final fun asMediaGroupMemberTelegramMedia (Ldev/inmo/tgbotapi/types/media/TelegramFreeMedia;)Ldev/inmo/tgbotapi/types/media/MediaGroupMemberTelegramMedia; - public static final fun asMediaGroupMessage (Ldev/inmo/tgbotapi/types/message/abstracts/Message;)Ldev/inmo/tgbotapi/types/message/abstracts/CommonMessage; + public static final fun asMediaGroupMessage (Ldev/inmo/tgbotapi/types/message/abstracts/Message;)Ldev/inmo/tgbotapi/types/message/abstracts/ChatContentMessage; public static final fun asMemberChatMember (Ldev/inmo/tgbotapi/types/chat/member/ChatMember;)Ldev/inmo/tgbotapi/types/chat/member/MemberChatMember; public static final fun asMentionTextSource (Ldev/inmo/tgbotapi/types/message/textsources/TextSource;)Ldev/inmo/tgbotapi/types/message/textsources/MentionTextSource; public static final fun asMessageAutoDeleteTimerChanged (Ldev/inmo/tgbotapi/types/message/ChatEvents/abstracts/ChatEvent;)Ldev/inmo/tgbotapi/types/message/ChatEvents/MessageAutoDeleteTimerChanged; @@ -404,7 +404,7 @@ public final class dev/inmo/tgbotapi/extensions/utils/ClassCastsKt { public static final fun requireCommonEvent (Ldev/inmo/tgbotapi/types/message/ChatEvents/abstracts/ChatEvent;)Ldev/inmo/tgbotapi/types/message/ChatEvents/abstracts/CommonEvent; public static final fun requireCommonGroupContentMessage (Ldev/inmo/tgbotapi/types/message/abstracts/Message;)Ldev/inmo/tgbotapi/types/message/abstracts/CommonGroupContentMessage; public static final fun requireCommonGroupEventMessage (Ldev/inmo/tgbotapi/types/message/abstracts/Message;)Ldev/inmo/tgbotapi/types/message/CommonGroupEventMessage; - public static final fun requireCommonMessage (Ldev/inmo/tgbotapi/types/message/abstracts/Message;)Ldev/inmo/tgbotapi/types/message/abstracts/CommonMessage; + public static final fun requireCommonMessage (Ldev/inmo/tgbotapi/types/message/abstracts/Message;)Ldev/inmo/tgbotapi/types/message/abstracts/ChatContentMessage; public static final fun requireCommonPassport (Ldev/inmo/tgbotapi/types/passport/encrypted/abstracts/EncryptedPassportElement;)Ldev/inmo/tgbotapi/types/passport/encrypted/CommonPassport; public static final fun requireCommonPassportSecureValue (Ldev/inmo/tgbotapi/types/passport/decrypted/abstracts/SecureValue;)Ldev/inmo/tgbotapi/types/passport/decrypted/CommonPassportSecureValue; public static final fun requireCommonSupergroupEventMessage (Ldev/inmo/tgbotapi/types/message/abstracts/Message;)Ldev/inmo/tgbotapi/types/message/CommonSupergroupEventMessage; @@ -528,7 +528,7 @@ public final class dev/inmo/tgbotapi/extensions/utils/ClassCastsKt { public static final fun requireMediaContent (Ldev/inmo/tgbotapi/types/message/content/ResendableContent;)Ldev/inmo/tgbotapi/types/message/content/MediaContent; public static final fun requireMediaGroupContent (Ldev/inmo/tgbotapi/types/message/content/ResendableContent;)Ldev/inmo/tgbotapi/types/message/content/MediaGroupPartContent; public static final fun requireMediaGroupMemberTelegramMedia (Ldev/inmo/tgbotapi/types/media/TelegramFreeMedia;)Ldev/inmo/tgbotapi/types/media/MediaGroupMemberTelegramMedia; - public static final fun requireMediaGroupMessage (Ldev/inmo/tgbotapi/types/message/abstracts/Message;)Ldev/inmo/tgbotapi/types/message/abstracts/CommonMessage; + public static final fun requireMediaGroupMessage (Ldev/inmo/tgbotapi/types/message/abstracts/Message;)Ldev/inmo/tgbotapi/types/message/abstracts/ChatContentMessage; public static final fun requireMemberChatMember (Ldev/inmo/tgbotapi/types/chat/member/ChatMember;)Ldev/inmo/tgbotapi/types/chat/member/MemberChatMember; public static final fun requireMentionTextSource (Ldev/inmo/tgbotapi/types/message/textsources/TextSource;)Ldev/inmo/tgbotapi/types/message/textsources/MentionTextSource; public static final fun requireMessageAutoDeleteTimerChanged (Ldev/inmo/tgbotapi/types/message/ChatEvents/abstracts/ChatEvent;)Ldev/inmo/tgbotapi/types/message/ChatEvents/MessageAutoDeleteTimerChanged; @@ -1200,6 +1200,8 @@ public final class dev/inmo/tgbotapi/extensions/utils/ClassCastsNewKt { public static final fun chatBoostRemovedUpdateOrThrow (Ldev/inmo/tgbotapi/types/update/abstracts/Update;)Ldev/inmo/tgbotapi/types/update/ChatBoostRemovedUpdate; public static final fun chatBoostUpdatedUpdateOrNull (Ldev/inmo/tgbotapi/types/update/abstracts/Update;)Ldev/inmo/tgbotapi/types/update/ChatBoostUpdatedUpdate; public static final fun chatBoostUpdatedUpdateOrThrow (Ldev/inmo/tgbotapi/types/update/abstracts/Update;)Ldev/inmo/tgbotapi/types/update/ChatBoostUpdatedUpdate; + public static final fun chatContentMessageOrNull (Ldev/inmo/tgbotapi/types/message/abstracts/Message;)Ldev/inmo/tgbotapi/types/message/abstracts/ChatContentMessage; + public static final fun chatContentMessageOrThrow (Ldev/inmo/tgbotapi/types/message/abstracts/Message;)Ldev/inmo/tgbotapi/types/message/abstracts/ChatContentMessage; public static final fun chatEventMessageOrNull (Ldev/inmo/tgbotapi/types/message/abstracts/Message;)Ldev/inmo/tgbotapi/types/message/abstracts/ChatEventMessage; public static final fun chatEventMessageOrThrow (Ldev/inmo/tgbotapi/types/message/abstracts/Message;)Ldev/inmo/tgbotapi/types/message/abstracts/ChatEventMessage; public static final fun chatIdOrNull (Ldev/inmo/tgbotapi/types/ChatIdentifier;)Ldev/inmo/tgbotapi/types/ChatId; @@ -1226,6 +1228,8 @@ public final class dev/inmo/tgbotapi/extensions/utils/ClassCastsNewKt { public static final fun chatMemberUpdatedOrThrow (Ldev/inmo/tgbotapi/abstracts/OptionallyWithUser;)Ldev/inmo/tgbotapi/types/chat/member/ChatMemberUpdated; public static final fun chatMemberUpdatedUpdateOrNull (Ldev/inmo/tgbotapi/types/update/abstracts/Update;)Ldev/inmo/tgbotapi/types/update/abstracts/ChatMemberUpdatedUpdate; public static final fun chatMemberUpdatedUpdateOrThrow (Ldev/inmo/tgbotapi/types/update/abstracts/Update;)Ldev/inmo/tgbotapi/types/update/abstracts/ChatMemberUpdatedUpdate; + public static final fun chatMessageOrNull (Ldev/inmo/tgbotapi/types/message/abstracts/Message;)Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage; + public static final fun chatMessageOrThrow (Ldev/inmo/tgbotapi/types/message/abstracts/Message;)Ldev/inmo/tgbotapi/types/message/abstracts/ChatMessage; public static final fun chatMessageReactionUpdatedUpdateOrNull (Ldev/inmo/tgbotapi/types/update/abstracts/Update;)Ldev/inmo/tgbotapi/types/update/ChatMessageReactionUpdatedUpdate; public static final fun chatMessageReactionUpdatedUpdateOrThrow (Ldev/inmo/tgbotapi/types/update/abstracts/Update;)Ldev/inmo/tgbotapi/types/update/ChatMessageReactionUpdatedUpdate; public static final fun chatMessageReactionsCountUpdatedUpdateOrNull (Ldev/inmo/tgbotapi/types/update/abstracts/Update;)Ldev/inmo/tgbotapi/types/update/ChatMessageReactionsCountUpdatedUpdate; @@ -1272,6 +1276,8 @@ public final class dev/inmo/tgbotapi/extensions/utils/ClassCastsNewKt { public static final fun commonChannelDirectMessagesEventMessageOrThrow (Ldev/inmo/tgbotapi/types/message/abstracts/Message;)Ldev/inmo/tgbotapi/types/message/CommonChannelDirectMessagesEventMessage; public static final fun commonChatMemberUpdatedUpdateOrNull (Ldev/inmo/tgbotapi/types/update/abstracts/Update;)Ldev/inmo/tgbotapi/types/update/CommonChatMemberUpdatedUpdate; public static final fun commonChatMemberUpdatedUpdateOrThrow (Ldev/inmo/tgbotapi/types/update/abstracts/Update;)Ldev/inmo/tgbotapi/types/update/CommonChatMemberUpdatedUpdate; + public static final fun commonContentMessageOrNull (Ldev/inmo/tgbotapi/types/message/abstracts/Message;)Ldev/inmo/tgbotapi/types/message/abstracts/CommonContentMessage; + public static final fun commonContentMessageOrThrow (Ldev/inmo/tgbotapi/types/message/abstracts/Message;)Ldev/inmo/tgbotapi/types/message/abstracts/CommonContentMessage; public static final fun commonEventOrNull (Ldev/inmo/tgbotapi/types/message/ChatEvents/abstracts/ChatEvent;)Ldev/inmo/tgbotapi/types/message/ChatEvents/abstracts/CommonEvent; public static final fun commonEventOrThrow (Ldev/inmo/tgbotapi/types/message/ChatEvents/abstracts/ChatEvent;)Ldev/inmo/tgbotapi/types/message/ChatEvents/abstracts/CommonEvent; public static final fun commonForumContentMessageOrNull (Ldev/inmo/tgbotapi/abstracts/OptionallyWithUser;)Ldev/inmo/tgbotapi/types/message/abstracts/CommonForumContentMessage; @@ -1286,8 +1292,6 @@ public final class dev/inmo/tgbotapi/extensions/utils/ClassCastsNewKt { public static final fun commonGroupEventMessageOrNull (Ldev/inmo/tgbotapi/types/message/abstracts/Message;)Ldev/inmo/tgbotapi/types/message/CommonGroupEventMessage; public static final fun commonGroupEventMessageOrThrow (Ldev/inmo/tgbotapi/abstracts/OptionallyWithUser;)Ldev/inmo/tgbotapi/types/message/CommonGroupEventMessage; public static final fun commonGroupEventMessageOrThrow (Ldev/inmo/tgbotapi/types/message/abstracts/Message;)Ldev/inmo/tgbotapi/types/message/CommonGroupEventMessage; - public static final fun commonMessageOrNull (Ldev/inmo/tgbotapi/types/message/abstracts/Message;)Ldev/inmo/tgbotapi/types/message/abstracts/CommonMessage; - public static final fun commonMessageOrThrow (Ldev/inmo/tgbotapi/types/message/abstracts/Message;)Ldev/inmo/tgbotapi/types/message/abstracts/CommonMessage; public static final fun commonOrNull (Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonRequestUsers;)Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonRequestUsers$Common; public static final fun commonOrThrow (Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonRequestUsers;)Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonRequestUsers$Common; public static final fun commonPassportOrNull (Ldev/inmo/tgbotapi/types/passport/encrypted/abstracts/EncryptedPassportElement;)Ldev/inmo/tgbotapi/types/passport/encrypted/CommonPassport; @@ -1568,6 +1572,12 @@ public final class dev/inmo/tgbotapi/extensions/utils/ClassCastsNewKt { public static final fun groupEventMessageOrThrow (Ldev/inmo/tgbotapi/types/message/abstracts/Message;)Ldev/inmo/tgbotapi/types/message/abstracts/GroupEventMessage; public static final fun groupEventOrNull (Ldev/inmo/tgbotapi/types/message/ChatEvents/abstracts/ChatEvent;)Ldev/inmo/tgbotapi/types/message/ChatEvents/abstracts/GroupEvent; public static final fun groupEventOrThrow (Ldev/inmo/tgbotapi/types/message/ChatEvents/abstracts/ChatEvent;)Ldev/inmo/tgbotapi/types/message/ChatEvents/abstracts/GroupEvent; + public static final fun guestContentMessageOrNull (Ldev/inmo/tgbotapi/abstracts/OptionallyWithUser;)Ldev/inmo/tgbotapi/types/message/abstracts/GuestContentMessage; + public static final fun guestContentMessageOrNull (Ldev/inmo/tgbotapi/types/message/abstracts/Message;)Ldev/inmo/tgbotapi/types/message/abstracts/GuestContentMessage; + public static final fun guestContentMessageOrThrow (Ldev/inmo/tgbotapi/abstracts/OptionallyWithUser;)Ldev/inmo/tgbotapi/types/message/abstracts/GuestContentMessage; + public static final fun guestContentMessageOrThrow (Ldev/inmo/tgbotapi/types/message/abstracts/Message;)Ldev/inmo/tgbotapi/types/message/abstracts/GuestContentMessage; + public static final fun guestMessageUpdateOrNull (Ldev/inmo/tgbotapi/types/update/abstracts/Update;)Ldev/inmo/tgbotapi/types/update/GuestMessageUpdate; + public static final fun guestMessageUpdateOrThrow (Ldev/inmo/tgbotapi/types/update/abstracts/Update;)Ldev/inmo/tgbotapi/types/update/GuestMessageUpdate; public static final fun hashTagTextSourceOrNull (Ldev/inmo/tgbotapi/types/message/textsources/TextSource;)Ldev/inmo/tgbotapi/types/message/textsources/HashTagTextSource; public static final fun hashTagTextSourceOrThrow (Ldev/inmo/tgbotapi/types/message/textsources/TextSource;)Ldev/inmo/tgbotapi/types/message/textsources/HashTagTextSource; public static final fun idChatIdentifierOrNull (Ldev/inmo/tgbotapi/types/ChatIdentifier;)Ldev/inmo/tgbotapi/types/IdChatIdentifier; @@ -1646,6 +1656,7 @@ public final class dev/inmo/tgbotapi/extensions/utils/ClassCastsNewKt { public static final fun ifChatBoostAdded (Ldev/inmo/tgbotapi/types/message/ChatEvents/abstracts/ChatEvent;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; public static final fun ifChatBoostRemovedUpdate (Ldev/inmo/tgbotapi/types/update/abstracts/Update;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; public static final fun ifChatBoostUpdatedUpdate (Ldev/inmo/tgbotapi/types/update/abstracts/Update;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; + public static final fun ifChatContentMessage (Ldev/inmo/tgbotapi/types/message/abstracts/Message;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; public static final fun ifChatEventMessage (Ldev/inmo/tgbotapi/types/message/abstracts/Message;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; public static final fun ifChatId (Ldev/inmo/tgbotapi/types/ChatIdentifier;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; public static final fun ifChatIdWithChannelDirectMessageThreadId (Ldev/inmo/tgbotapi/types/ChatIdentifier;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; @@ -1659,6 +1670,7 @@ public final class dev/inmo/tgbotapi/extensions/utils/ClassCastsNewKt { public static final fun ifChatMember (Ldev/inmo/tgbotapi/abstracts/OptionallyWithUser;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; public static final fun ifChatMemberUpdated (Ldev/inmo/tgbotapi/abstracts/OptionallyWithUser;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; public static final fun ifChatMemberUpdatedUpdate (Ldev/inmo/tgbotapi/types/update/abstracts/Update;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; + public static final fun ifChatMessage (Ldev/inmo/tgbotapi/types/message/abstracts/Message;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; @@ -1682,6 +1694,7 @@ public final class dev/inmo/tgbotapi/extensions/utils/ClassCastsNewKt { public static final fun ifCommonChannelDirectMessagesEventMessage (Ldev/inmo/tgbotapi/abstracts/OptionallyWithUser;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; public static final fun ifCommonChannelDirectMessagesEventMessage (Ldev/inmo/tgbotapi/types/message/abstracts/Message;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; public static final fun ifCommonChatMemberUpdatedUpdate (Ldev/inmo/tgbotapi/types/update/abstracts/Update;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; + public static final fun ifCommonContentMessage (Ldev/inmo/tgbotapi/types/message/abstracts/Message;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; public static final fun ifCommonEvent (Ldev/inmo/tgbotapi/types/message/ChatEvents/abstracts/ChatEvent;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; public static final fun ifCommonForumContentMessage (Ldev/inmo/tgbotapi/abstracts/OptionallyWithUser;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; public static final fun ifCommonForumContentMessage (Ldev/inmo/tgbotapi/types/message/abstracts/Message;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; @@ -1689,7 +1702,6 @@ public final class dev/inmo/tgbotapi/extensions/utils/ClassCastsNewKt { public static final fun ifCommonGroupContentMessage (Ldev/inmo/tgbotapi/types/message/abstracts/Message;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; public static final fun ifCommonGroupEventMessage (Ldev/inmo/tgbotapi/abstracts/OptionallyWithUser;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; public static final fun ifCommonGroupEventMessage (Ldev/inmo/tgbotapi/types/message/abstracts/Message;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; - public static final fun ifCommonMessage (Ldev/inmo/tgbotapi/types/message/abstracts/Message;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; public static final fun ifCommonPassport (Ldev/inmo/tgbotapi/types/passport/encrypted/abstracts/EncryptedPassportElement;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; public static final fun ifCommonPassportSecureValue (Ldev/inmo/tgbotapi/types/passport/decrypted/abstracts/SecureValue;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; public static final fun ifCommonSuggestedChannelDirectMessagesContentMessage (Ldev/inmo/tgbotapi/abstracts/OptionallyWithUser;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; @@ -1829,6 +1841,9 @@ public final class dev/inmo/tgbotapi/extensions/utils/ClassCastsNewKt { public static final fun ifGroupEvent (Ldev/inmo/tgbotapi/types/message/ChatEvents/abstracts/ChatEvent;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; public static final fun ifGroupEventMessage (Ldev/inmo/tgbotapi/abstracts/OptionallyWithUser;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; public static final fun ifGroupEventMessage (Ldev/inmo/tgbotapi/types/message/abstracts/Message;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; + public static final fun ifGuestContentMessage (Ldev/inmo/tgbotapi/abstracts/OptionallyWithUser;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; + public static final fun ifGuestContentMessage (Ldev/inmo/tgbotapi/types/message/abstracts/Message;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; + public static final fun ifGuestMessageUpdate (Ldev/inmo/tgbotapi/types/update/abstracts/Update;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; public static final fun ifHashTagTextSource (Ldev/inmo/tgbotapi/types/message/textsources/TextSource;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; public static final fun ifIdChatIdentifier (Ldev/inmo/tgbotapi/types/ChatIdentifier;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; public static final fun ifIdentityCard (Ldev/inmo/tgbotapi/types/passport/encrypted/abstracts/EncryptedPassportElement;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; @@ -2058,6 +2073,7 @@ public final class dev/inmo/tgbotapi/extensions/utils/ClassCastsNewKt { public static final fun ifSizedTelegramMedia (Ldev/inmo/tgbotapi/types/media/TelegramMedia;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; public static final fun ifSlotMachineDiceAnimationType (Ldev/inmo/tgbotapi/types/dice/DiceAnimationType;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; public static final fun ifSolid (Ldev/inmo/tgbotapi/types/BackgroundFill;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; + public static final fun ifSpecialMessage (Ldev/inmo/tgbotapi/types/message/abstracts/Message;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; public static final fun ifSpecialRightsChatMember (Ldev/inmo/tgbotapi/abstracts/OptionallyWithUser;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; public static final fun ifSpoilerTextSource (Ldev/inmo/tgbotapi/types/message/textsources/TextSource;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; public static final fun ifSpoilerableMediaContent (Ldev/inmo/tgbotapi/types/message/content/ResendableContent;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; @@ -2661,6 +2677,8 @@ public final class dev/inmo/tgbotapi/extensions/utils/ClassCastsNewKt { public static final fun slotMachineDiceAnimationTypeOrThrow (Ldev/inmo/tgbotapi/types/dice/DiceAnimationType;)Ldev/inmo/tgbotapi/types/dice/SlotMachineDiceAnimationType; public static final fun solidOrNull (Ldev/inmo/tgbotapi/types/BackgroundFill;)Ldev/inmo/tgbotapi/types/BackgroundFill$Solid; public static final fun solidOrThrow (Ldev/inmo/tgbotapi/types/BackgroundFill;)Ldev/inmo/tgbotapi/types/BackgroundFill$Solid; + public static final fun specialMessageOrNull (Ldev/inmo/tgbotapi/types/message/abstracts/Message;)Ldev/inmo/tgbotapi/types/message/abstracts/SpecialMessage; + public static final fun specialMessageOrThrow (Ldev/inmo/tgbotapi/types/message/abstracts/Message;)Ldev/inmo/tgbotapi/types/message/abstracts/SpecialMessage; public static final fun specialRightsChatMemberOrNull (Ldev/inmo/tgbotapi/abstracts/OptionallyWithUser;)Ldev/inmo/tgbotapi/types/chat/member/SpecialRightsChatMember; public static final fun specialRightsChatMemberOrThrow (Ldev/inmo/tgbotapi/abstracts/OptionallyWithUser;)Ldev/inmo/tgbotapi/types/chat/member/SpecialRightsChatMember; public static final fun spoilerTextSourceOrNull (Ldev/inmo/tgbotapi/types/message/textsources/TextSource;)Ldev/inmo/tgbotapi/types/message/textsources/SpoilerTextSource; @@ -3828,8 +3846,8 @@ public final class dev/inmo/tgbotapi/extensions/utils/updates/InlineQueryUpdates public final class dev/inmo/tgbotapi/extensions/utils/updates/MessageFiltersKt { public static final fun forumMessage (Ldev/inmo/tgbotapi/types/message/abstracts/Message;)Z - public static final fun hasCommands (Ldev/inmo/tgbotapi/types/message/abstracts/CommonMessage;)Z - public static final fun hasNoCommands (Ldev/inmo/tgbotapi/types/message/abstracts/CommonMessage;)Z + public static final fun hasCommands (Ldev/inmo/tgbotapi/types/message/abstracts/ChatContentMessage;)Z + public static final fun hasNoCommands (Ldev/inmo/tgbotapi/types/message/abstracts/ChatContentMessage;)Z public static final fun notForumMessage (Ldev/inmo/tgbotapi/types/message/abstracts/Message;)Z } 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 40e4b95c5d..e7ed834f86 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 @@ -1130,13 +1130,13 @@ inline fun Message.requireCommonGroupContentMessage(): CommonGroupContentMessage this as CommonGroupContentMessage @PreviewFeature -inline fun Message.whenCommonMessage(block: (CommonMessage) -> T) = asCommonMessage()?.let(block) +inline fun Message.whenCommonMessage(block: (ChatContentMessage) -> T) = asCommonMessage()?.let(block) @PreviewFeature -inline fun Message.asCommonMessage(): CommonMessage? = this as? CommonMessage +inline fun Message.asCommonMessage(): ChatContentMessage? = this as? ChatContentMessage @PreviewFeature -inline fun Message.requireCommonMessage(): CommonMessage = this as CommonMessage +inline fun Message.requireCommonMessage(): ChatContentMessage = this as ChatContentMessage @PreviewFeature inline fun Message.whenContentMessage(block: (ContentMessage) -> T) = asContentMessage()?.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 10b79470de..27858dff2e 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 @@ -330,11 +330,13 @@ import dev.inmo.tgbotapi.types.message.abstracts.ChannelContentMessage import dev.inmo.tgbotapi.types.message.abstracts.ChannelDirectMessagesContentMessage import dev.inmo.tgbotapi.types.message.abstracts.ChannelDirectMessagesEventMessage import dev.inmo.tgbotapi.types.message.abstracts.ChannelPaidPost +import dev.inmo.tgbotapi.types.message.abstracts.ChatContentMessage import dev.inmo.tgbotapi.types.message.abstracts.ChatEventMessage +import dev.inmo.tgbotapi.types.message.abstracts.ChatMessage import dev.inmo.tgbotapi.types.message.abstracts.CommonChannelDirectMessagesContentMessage +import dev.inmo.tgbotapi.types.message.abstracts.CommonContentMessage import dev.inmo.tgbotapi.types.message.abstracts.CommonForumContentMessage import dev.inmo.tgbotapi.types.message.abstracts.CommonGroupContentMessage -import dev.inmo.tgbotapi.types.message.abstracts.CommonMessage import dev.inmo.tgbotapi.types.message.abstracts.CommonSuggestedChannelDirectMessagesContentMessage import dev.inmo.tgbotapi.types.message.abstracts.ConnectedFromChannelGroupContentMessage import dev.inmo.tgbotapi.types.message.abstracts.ContentMessage @@ -346,6 +348,7 @@ import dev.inmo.tgbotapi.types.message.abstracts.FromChannelSuggestedChannelDire import dev.inmo.tgbotapi.types.message.abstracts.FromUserMessage import dev.inmo.tgbotapi.types.message.abstracts.GroupContentMessage import dev.inmo.tgbotapi.types.message.abstracts.GroupEventMessage +import dev.inmo.tgbotapi.types.message.abstracts.GuestContentMessage import dev.inmo.tgbotapi.types.message.abstracts.InaccessibleMessage import dev.inmo.tgbotapi.types.message.abstracts.Message import dev.inmo.tgbotapi.types.message.abstracts.OptionallyFromUserMessage @@ -363,6 +366,7 @@ 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.SpecialMessage import dev.inmo.tgbotapi.types.message.abstracts.SuggestedChannelDirectMessagesContentMessage import dev.inmo.tgbotapi.types.message.abstracts.SupergroupEventMessage import dev.inmo.tgbotapi.types.message.abstracts.UnconnectedFromChannelGroupContentMessage @@ -541,6 +545,7 @@ import dev.inmo.tgbotapi.types.update.DeletedBusinessMessageUpdate import dev.inmo.tgbotapi.types.update.EditBusinessMessageUpdate import dev.inmo.tgbotapi.types.update.EditChannelPostUpdate import dev.inmo.tgbotapi.types.update.EditMessageUpdate +import dev.inmo.tgbotapi.types.update.GuestMessageUpdate import dev.inmo.tgbotapi.types.update.InlineQueryUpdate import dev.inmo.tgbotapi.types.update.ManagedBotUpdate import dev.inmo.tgbotapi.types.update.MessageUpdate @@ -841,6 +846,12 @@ public inline fun OptionallyWithUser.channelContentMessageOrThrow(): ChannelCont public inline fun OptionallyWithUser.ifChannelContentMessage(block: (ChannelContentMessage) -> T): T? = channelContentMessageOrNull() ?.let(block) +public inline fun OptionallyWithUser.guestContentMessageOrNull(): GuestContentMessage? = this as? dev.inmo.tgbotapi.types.message.abstracts.GuestContentMessage + +public inline fun OptionallyWithUser.guestContentMessageOrThrow(): GuestContentMessage = this as dev.inmo.tgbotapi.types.message.abstracts.GuestContentMessage + +public inline fun OptionallyWithUser.ifGuestContentMessage(block: (GuestContentMessage) -> T): T? = guestContentMessageOrNull() ?.let(block) + public inline fun OptionallyWithUser.optionallyFromUserMessageOrNull(): OptionallyFromUserMessage? = this as? dev.inmo.tgbotapi.types.message.abstracts.OptionallyFromUserMessage public inline fun OptionallyWithUser.optionallyFromUserMessageOrThrow(): OptionallyFromUserMessage = this as dev.inmo.tgbotapi.types.message.abstracts.OptionallyFromUserMessage @@ -2305,6 +2316,12 @@ public inline fun Message.possiblyTopicMessageOrThrow(): PossiblyTopicMessage = public inline fun Message.ifPossiblyTopicMessage(block: (PossiblyTopicMessage) -> T): T? = possiblyTopicMessageOrNull() ?.let(block) +public inline fun Message.chatContentMessageOrNull(): ChatContentMessage? = this as? dev.inmo.tgbotapi.types.message.abstracts.ChatContentMessage + +public inline fun Message.chatContentMessageOrThrow(): ChatContentMessage = this as dev.inmo.tgbotapi.types.message.abstracts.ChatContentMessage + +public inline fun Message.ifChatContentMessage(block: (ChatContentMessage) -> T): T? = chatContentMessageOrNull() ?.let(block) + public inline fun Message.chatEventMessageOrNull(): ChatEventMessage? = this as? dev.inmo.tgbotapi.types.message.abstracts.ChatEventMessage public inline fun Message.chatEventMessageOrThrow(): ChatEventMessage = this as dev.inmo.tgbotapi.types.message.abstracts.ChatEventMessage @@ -2329,6 +2346,12 @@ public inline fun Message.channelContentMessageOrThrow(): ChannelContentMessage< public inline fun Message.ifChannelContentMessage(block: (ChannelContentMessage) -> T): T? = channelContentMessageOrNull() ?.let(block) +public inline fun Message.guestContentMessageOrNull(): GuestContentMessage? = this as? dev.inmo.tgbotapi.types.message.abstracts.GuestContentMessage + +public inline fun Message.guestContentMessageOrThrow(): GuestContentMessage = this as dev.inmo.tgbotapi.types.message.abstracts.GuestContentMessage + +public inline fun Message.ifGuestContentMessage(block: (GuestContentMessage) -> T): T? = guestContentMessageOrNull() ?.let(block) + public inline fun Message.optionallyFromUserMessageOrNull(): OptionallyFromUserMessage? = this as? dev.inmo.tgbotapi.types.message.abstracts.OptionallyFromUserMessage public inline fun Message.optionallyFromUserMessageOrThrow(): OptionallyFromUserMessage = this as dev.inmo.tgbotapi.types.message.abstracts.OptionallyFromUserMessage @@ -2371,6 +2394,18 @@ public inline fun Message.accessibleMessageOrThrow(): AccessibleMessage = this a public inline fun Message.ifAccessibleMessage(block: (AccessibleMessage) -> T): T? = accessibleMessageOrNull() ?.let(block) +public inline fun Message.chatMessageOrNull(): ChatMessage? = this as? dev.inmo.tgbotapi.types.message.abstracts.ChatMessage + +public inline fun Message.chatMessageOrThrow(): ChatMessage = this as dev.inmo.tgbotapi.types.message.abstracts.ChatMessage + +public inline fun Message.ifChatMessage(block: (ChatMessage) -> T): T? = chatMessageOrNull() ?.let(block) + +public inline fun Message.specialMessageOrNull(): SpecialMessage? = this as? dev.inmo.tgbotapi.types.message.abstracts.SpecialMessage + +public inline fun Message.specialMessageOrThrow(): SpecialMessage = this as dev.inmo.tgbotapi.types.message.abstracts.SpecialMessage + +public inline fun Message.ifSpecialMessage(block: (SpecialMessage) -> T): T? = specialMessageOrNull() ?.let(block) + public inline fun Message.inaccessibleMessageOrNull(): InaccessibleMessage? = this as? dev.inmo.tgbotapi.types.message.abstracts.InaccessibleMessage public inline fun Message.inaccessibleMessageOrThrow(): InaccessibleMessage = this as dev.inmo.tgbotapi.types.message.abstracts.InaccessibleMessage @@ -2389,6 +2424,12 @@ public inline fun Message.publicContentMessageOrThrow(): PublicContentMessage Message.ifPublicContentMessage(block: (PublicContentMessage) -> T): T? = publicContentMessageOrNull() ?.let(block) +public inline fun Message.commonContentMessageOrNull(): CommonContentMessage? = this as? dev.inmo.tgbotapi.types.message.abstracts.CommonContentMessage + +public inline fun Message.commonContentMessageOrThrow(): CommonContentMessage = this as dev.inmo.tgbotapi.types.message.abstracts.CommonContentMessage + +public inline fun Message.ifCommonContentMessage(block: (CommonContentMessage) -> T): T? = commonContentMessageOrNull() ?.let(block) + public inline fun Message.possiblySentViaBotCommonMessageOrNull(): PossiblySentViaBotCommonMessage? = this as? dev.inmo.tgbotapi.types.message.abstracts.PossiblySentViaBotCommonMessage public inline fun Message.possiblySentViaBotCommonMessageOrThrow(): PossiblySentViaBotCommonMessage = this as dev.inmo.tgbotapi.types.message.abstracts.PossiblySentViaBotCommonMessage @@ -2407,12 +2448,6 @@ public inline fun Message.possiblyPaymentMessageOrThrow(): PossiblyPaymentMessag public inline fun Message.ifPossiblyPaymentMessage(block: (PossiblyPaymentMessage) -> T): T? = possiblyPaymentMessageOrNull() ?.let(block) -public inline fun Message.commonMessageOrNull(): CommonMessage? = this as? dev.inmo.tgbotapi.types.message.abstracts.CommonMessage - -public inline fun Message.commonMessageOrThrow(): CommonMessage = this as dev.inmo.tgbotapi.types.message.abstracts.CommonMessage - -public inline fun Message.ifCommonMessage(block: (CommonMessage) -> T): T? = commonMessageOrNull() ?.let(block) - public inline fun Message.contentMessageOrNull(): ContentMessage? = this as? dev.inmo.tgbotapi.types.message.abstracts.ContentMessage public inline fun Message.contentMessageOrThrow(): ContentMessage = this as dev.inmo.tgbotapi.types.message.abstracts.ContentMessage @@ -4273,6 +4308,12 @@ public inline fun Update.preCheckoutQueryUpdateOrThrow(): PreCheckoutQueryUpdate public inline fun Update.ifPreCheckoutQueryUpdate(block: (PreCheckoutQueryUpdate) -> T): T? = preCheckoutQueryUpdateOrNull() ?.let(block) +public inline fun Update.guestMessageUpdateOrNull(): GuestMessageUpdate? = this as? dev.inmo.tgbotapi.types.update.GuestMessageUpdate + +public inline fun Update.guestMessageUpdateOrThrow(): GuestMessageUpdate = this as dev.inmo.tgbotapi.types.update.GuestMessageUpdate + +public inline fun Update.ifGuestMessageUpdate(block: (GuestMessageUpdate) -> T): T? = guestMessageUpdateOrNull() ?.let(block) + public inline fun Update.paidMediaPurchasedUpdateOrNull(): PaidMediaPurchasedUpdate? = this as? dev.inmo.tgbotapi.types.update.PaidMediaPurchasedUpdate public inline fun Update.paidMediaPurchasedUpdateOrThrow(): PaidMediaPurchasedUpdate = this as dev.inmo.tgbotapi.types.update.PaidMediaPurchasedUpdate diff --git a/tgbotapi.utils/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/utils/CommonMessageConversations.kt b/tgbotapi.utils/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/utils/CommonMessageConversations.kt index 541de0bea5..3cc4b4712c 100644 --- a/tgbotapi.utils/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/utils/CommonMessageConversations.kt +++ b/tgbotapi.utils/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/utils/CommonMessageConversations.kt @@ -6,9 +6,9 @@ import dev.inmo.tgbotapi.types.message.content.MessageContent import kotlinx.coroutines.flow.* /** - * Simple factory to convert [ContentMessage] to a [CommonMessage] + * Simple factory to convert [ContentMessage] to a [ChatContentMessage] */ -fun > Flow.onlyCommonMessages() = filterIsInstance>() +fun > Flow.onlyCommonMessages() = filterIsInstance>() /** * Shortcut for [onlyCommonMessages] @@ -17,7 +17,7 @@ fun > Flow.onlyCommonMessages() = fi inline fun > Flow.commonMessages() = onlyCommonMessages() /** - * Filter the messages and checking that incoming [CommonMessage] is [PossiblySentViaBotCommonMessage] and its + * Filter the messages and checking that incoming [ChatContentMessage] is [PossiblySentViaBotCommonMessage] and its * [PossiblySentViaBotCommonMessage.senderBot] is not null */ fun > Flow.onlySentViaBot() = mapNotNull { @@ -29,7 +29,7 @@ fun > Flow.onlySentViaBot() = map } /** - * Filter the messages and checking that incoming [CommonMessage] not is [PossiblySentViaBotCommonMessage] or its + * Filter the messages and checking that incoming [ChatContentMessage] not is [PossiblySentViaBotCommonMessage] or its * [PossiblySentViaBotCommonMessage.senderBot] is null */ fun > Flow.withoutSentViaBot() = filter { diff --git a/tgbotapi.utils/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/utils/ContentCastsNew.kt b/tgbotapi.utils/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/utils/ContentCastsNew.kt index 51d5200ded..b5c51cffa6 100644 --- a/tgbotapi.utils/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/utils/ContentCastsNew.kt +++ b/tgbotapi.utils/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/utils/ContentCastsNew.kt @@ -3,14 +3,13 @@ package dev.inmo.tgbotapi.extensions.utils import dev.inmo.tgbotapi.types.message.abstracts.* -import dev.inmo.tgbotapi.types.message.content.MediaGroupPartContent import dev.inmo.tgbotapi.types.message.content.MessageContent inline fun ContentMessage<*>.withContentOrNull() = if (content is T) { this as ContentMessage } else { null } inline fun ContentMessage<*>.withContentOrThrow() = withContentOrNull()!! -inline fun CommonMessage<*>.withContentOrNull() = if (content is T) { this as CommonMessage } else { null } -inline fun CommonMessage<*>.withContentOrThrow() = withContentOrNull()!! +inline fun ChatContentMessage<*>.withContentOrNull() = if (content is T) { this as ChatContentMessage } else { null } +inline fun ChatContentMessage<*>.withContentOrThrow() = withContentOrNull()!! inline fun PossiblySentViaBotCommonMessage<*>.withContentOrNull() = if (content is T) { this as PossiblySentViaBotCommonMessage } else { null } diff --git a/tgbotapi.utils/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/utils/WithContent.kt b/tgbotapi.utils/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/utils/WithContent.kt index 58c5e26bc5..1ecfcea235 100644 --- a/tgbotapi.utils/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/utils/WithContent.kt +++ b/tgbotapi.utils/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/utils/WithContent.kt @@ -3,15 +3,13 @@ package dev.inmo.tgbotapi.extensions.utils import dev.inmo.tgbotapi.types.message.abstracts.* -import dev.inmo.tgbotapi.types.message.content.MediaGroupMessage -import dev.inmo.tgbotapi.types.message.content.MediaGroupPartContent import dev.inmo.tgbotapi.types.message.content.MessageContent inline fun ContentMessage<*>.withContent() = if (content is T) { this as ContentMessage } else { null } inline fun ContentMessage<*>.requireWithContent() = withContent()!! -inline fun CommonMessage<*>.withContent() = if (content is T) { this as CommonMessage } else { null } -inline fun CommonMessage<*>.requireWithContent() = withContent()!! +inline fun ChatContentMessage<*>.withContent() = if (content is T) { this as ChatContentMessage } else { null } +inline fun ChatContentMessage<*>.requireWithContent() = withContent()!! inline fun PossiblySentViaBotCommonMessage<*>.withContent() = if (content is T) { this as PossiblySentViaBotCommonMessage } else { null } diff --git a/tgbotapi.utils/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/utils/shortcuts/FlowsUpdatesFilter.kt b/tgbotapi.utils/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/utils/shortcuts/FlowsUpdatesFilter.kt index 07dca48790..e2e80d4a56 100644 --- a/tgbotapi.utils/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/utils/shortcuts/FlowsUpdatesFilter.kt +++ b/tgbotapi.utils/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/utils/shortcuts/FlowsUpdatesFilter.kt @@ -1,10 +1,6 @@ package dev.inmo.tgbotapi.extensions.utils.shortcuts -import dev.inmo.tgbotapi.extensions.utils.aggregateFlows -import dev.inmo.tgbotapi.extensions.utils.flatMap -import dev.inmo.tgbotapi.extensions.utils.flatten import dev.inmo.tgbotapi.extensions.utils.updates.asContentMessagesFlow -import dev.inmo.tgbotapi.types.message.abstracts.CommonMessage import dev.inmo.tgbotapi.types.message.abstracts.ContentMessage import dev.inmo.tgbotapi.types.message.content.* import dev.inmo.tgbotapi.types.update.abstracts.BaseSentMessageUpdate diff --git a/tgbotapi.utils/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/utils/updates/MessageFilters.kt b/tgbotapi.utils/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/utils/updates/MessageFilters.kt index 03963a88f4..c99a738d6a 100644 --- a/tgbotapi.utils/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/utils/updates/MessageFilters.kt +++ b/tgbotapi.utils/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/utils/updates/MessageFilters.kt @@ -1,7 +1,7 @@ package dev.inmo.tgbotapi.extensions.utils.updates import dev.inmo.tgbotapi.extensions.utils.* -import dev.inmo.tgbotapi.types.message.abstracts.CommonMessage +import dev.inmo.tgbotapi.types.message.abstracts.ChatContentMessage import dev.inmo.tgbotapi.types.message.abstracts.Message import dev.inmo.tgbotapi.types.message.content.TextContent import dev.inmo.tgbotapi.types.message.textsources.BotCommandTextSource @@ -20,10 +20,10 @@ import dev.inmo.tgbotapi.utils.extensions.threadIdOrNull * } * ``` * - * @return true if this [CommonMessage] contains any commands. False otherwise. + * @return true if this [ChatContentMessage] contains any commands. False otherwise. * @see hasNoCommands */ -fun CommonMessage<*>.hasCommands(): Boolean = withContentOrNull() ?.content ?.textSources ?.any { +fun ChatContentMessage<*>.hasCommands(): Boolean = withContentOrNull() ?.content ?.textSources ?.any { it is BotCommandTextSource } ?: false @@ -40,10 +40,10 @@ fun CommonMessage<*>.hasCommands(): Boolean = withContentOrNull() ? * } * ``` * - * @return true if this [CommonMessage] does not contain any commands. False otherwise. + * @return true if this [ChatContentMessage] does not contain any commands. False otherwise. * @see hasCommands */ -fun CommonMessage<*>.hasNoCommands(): Boolean = !this.hasCommands() +fun ChatContentMessage<*>.hasNoCommands(): Boolean = !this.hasCommands() /** * A predicate to test that message has been sent in the forum. diff --git a/tgbotapi.utils/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/utils/updates/SentMessageUpdatesConversations.kt b/tgbotapi.utils/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/utils/updates/SentMessageUpdatesConversations.kt index 29897d31aa..0f9e9a83fc 100644 --- a/tgbotapi.utils/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/utils/updates/SentMessageUpdatesConversations.kt +++ b/tgbotapi.utils/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/utils/updates/SentMessageUpdatesConversations.kt @@ -16,10 +16,10 @@ fun Flow.asContentMessagesFlow() = mapNotNull { } /** - * Will map incoming [BaseSentMessageUpdate]s to [CommonMessage] from [BaseSentMessageUpdate.data] + * Will map incoming [BaseSentMessageUpdate]s to [ChatContentMessage] from [BaseSentMessageUpdate.data] */ fun Flow.asCommonMessagesFlow() = mapNotNull { - it.data as? CommonMessage<*> + it.data as? ChatContentMessage<*> } @Suppress("NOTHING_TO_INLINE") diff --git a/tgbotapi.utils/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/utils/updates/retrieving/LongPolling.kt b/tgbotapi.utils/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/utils/updates/retrieving/LongPolling.kt index 2f15da075e..abd2262bfa 100644 --- a/tgbotapi.utils/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/utils/updates/retrieving/LongPolling.kt +++ b/tgbotapi.utils/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/utils/updates/retrieving/LongPolling.kt @@ -9,7 +9,7 @@ import dev.inmo.tgbotapi.extensions.utils.updates.convertWithMediaGroupUpdates import dev.inmo.tgbotapi.requests.GetUpdates import dev.inmo.tgbotapi.requests.webhook.DeleteWebhook import dev.inmo.tgbotapi.types.* -import dev.inmo.tgbotapi.types.message.abstracts.CommonMessage +import dev.inmo.tgbotapi.types.message.abstracts.ChatContentMessage import dev.inmo.tgbotapi.types.message.content.MediaGroupContent import dev.inmo.tgbotapi.types.update.* import dev.inmo.tgbotapi.types.update.abstracts.BaseSentMessageUpdate @@ -102,7 +102,7 @@ fun TelegramBot.longPollingFlow( */ val updates = if ( originalUpdates.size == getUpdatesLimit.last - && ((converted.last() as? BaseSentMessageUpdate)?.data as? CommonMessage<*>)?.content is MediaGroupContent<*> + && ((converted.last() as? BaseSentMessageUpdate)?.data as? ChatContentMessage<*>)?.content is MediaGroupContent<*> ) { converted - converted.last() } else {