mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2026-06-01 21:27:20 +00:00
guest message answers rework
This commit is contained in:
@@ -853,6 +853,11 @@ public final class dev/inmo/tgbotapi/extensions/behaviour_builder/expectations/W
|
|||||||
public static synthetic fun waitWriteAccessAllowedOtherEventsMessages$default (Ldev/inmo/tgbotapi/extensions/behaviour_builder/BehaviourContext;Ldev/inmo/tgbotapi/requests/abstracts/Request;Lkotlin/jvm/functions/Function2;ILjava/lang/Object;)Lkotlinx/coroutines/flow/Flow;
|
public static synthetic fun waitWriteAccessAllowedOtherEventsMessages$default (Ldev/inmo/tgbotapi/extensions/behaviour_builder/BehaviourContext;Ldev/inmo/tgbotapi/requests/abstracts/Request;Lkotlin/jvm/functions/Function2;ILjava/lang/Object;)Lkotlinx/coroutines/flow/Flow;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public final class dev/inmo/tgbotapi/extensions/behaviour_builder/expectations/WaitGuestRequestMessageKt {
|
||||||
|
public static final fun waitGuestRequestMessage (Ldev/inmo/tgbotapi/extensions/behaviour_builder/BehaviourContext;Ldev/inmo/tgbotapi/requests/abstracts/Request;Lkotlin/jvm/functions/Function2;)Lkotlinx/coroutines/flow/Flow;
|
||||||
|
public static synthetic fun waitGuestRequestMessage$default (Ldev/inmo/tgbotapi/extensions/behaviour_builder/BehaviourContext;Ldev/inmo/tgbotapi/requests/abstracts/Request;Lkotlin/jvm/functions/Function2;ILjava/lang/Object;)Lkotlinx/coroutines/flow/Flow;
|
||||||
|
}
|
||||||
|
|
||||||
public final class dev/inmo/tgbotapi/extensions/behaviour_builder/expectations/WaitInlineQueryKt {
|
public final class dev/inmo/tgbotapi/extensions/behaviour_builder/expectations/WaitInlineQueryKt {
|
||||||
public static final fun waitAnyInlineQuery (Ldev/inmo/tgbotapi/extensions/behaviour_builder/BehaviourContext;Ldev/inmo/tgbotapi/requests/abstracts/Request;Lkotlin/jvm/functions/Function2;)Lkotlinx/coroutines/flow/Flow;
|
public static final fun waitAnyInlineQuery (Ldev/inmo/tgbotapi/extensions/behaviour_builder/BehaviourContext;Ldev/inmo/tgbotapi/requests/abstracts/Request;Lkotlin/jvm/functions/Function2;)Lkotlinx/coroutines/flow/Flow;
|
||||||
public static synthetic fun waitAnyInlineQuery$default (Ldev/inmo/tgbotapi/extensions/behaviour_builder/BehaviourContext;Ldev/inmo/tgbotapi/requests/abstracts/Request;Lkotlin/jvm/functions/Function2;ILjava/lang/Object;)Lkotlinx/coroutines/flow/Flow;
|
public static synthetic fun waitAnyInlineQuery$default (Ldev/inmo/tgbotapi/extensions/behaviour_builder/BehaviourContext;Ldev/inmo/tgbotapi/requests/abstracts/Request;Lkotlin/jvm/functions/Function2;ILjava/lang/Object;)Lkotlinx/coroutines/flow/Flow;
|
||||||
@@ -1513,8 +1518,8 @@ public final class dev/inmo/tgbotapi/extensions/behaviour_builder/triggers_handl
|
|||||||
}
|
}
|
||||||
|
|
||||||
public final class dev/inmo/tgbotapi/extensions/behaviour_builder/triggers_handling/GuestMessageTriggersKt {
|
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 final fun onGuestRequestMessage (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 static synthetic fun onGuestRequestMessage$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 final class dev/inmo/tgbotapi/extensions/behaviour_builder/triggers_handling/InlineQueryTriggersKt {
|
||||||
|
|||||||
@@ -0,0 +1,17 @@
|
|||||||
|
package dev.inmo.tgbotapi.extensions.behaviour_builder.expectations
|
||||||
|
|
||||||
|
import dev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContext
|
||||||
|
import dev.inmo.tgbotapi.extensions.utils.guestMessageUpdateOrNull
|
||||||
|
import dev.inmo.tgbotapi.requests.abstracts.Request
|
||||||
|
import dev.inmo.tgbotapi.types.message.abstracts.RequestGuestContentMessage
|
||||||
|
import kotlinx.coroutines.flow.Flow
|
||||||
|
|
||||||
|
fun BehaviourContext.waitGuestRequestMessage(
|
||||||
|
initRequest: Request<*>? = null,
|
||||||
|
errorFactory: NullableRequestBuilder<*> = { null }
|
||||||
|
): Flow<RequestGuestContentMessage<*>> = expectFlow(
|
||||||
|
initRequest,
|
||||||
|
errorFactory
|
||||||
|
) {
|
||||||
|
(it.guestMessageUpdateOrNull() ?.data).let(::listOfNotNull)
|
||||||
|
}
|
||||||
@@ -16,7 +16,7 @@ import dev.inmo.tgbotapi.types.update.abstracts.Update
|
|||||||
* @param [markerFactory] **Pass null to handle requests fully parallel**. Will be used to identify different "stream".
|
* @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
|
* @param scenarioReceiver Main callback which will be used to handle incoming data if [initialFilter] will pass that data
|
||||||
*/
|
*/
|
||||||
fun <BC : BehaviourContext> BC.onGuestMessage(
|
fun <BC : BehaviourContext> BC.onGuestRequestMessage(
|
||||||
initialFilter: SimpleFilter<RequestGuestContentMessage<*>>? = null,
|
initialFilter: SimpleFilter<RequestGuestContentMessage<*>>? = null,
|
||||||
subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver<BC, Boolean, RequestGuestContentMessage<*>, Update>? = null,
|
subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver<BC, Boolean, RequestGuestContentMessage<*>, Update>? = null,
|
||||||
markerFactory: MarkerFactory<in RequestGuestContentMessage<*>, Any>? = ByChatMessageMarkerFactory,
|
markerFactory: MarkerFactory<in RequestGuestContentMessage<*>, Any>? = ByChatMessageMarkerFactory,
|
||||||
|
|||||||
@@ -25118,54 +25118,6 @@ public final class dev/inmo/tgbotapi/types/message/AnonymousGroupContentMessageI
|
|||||||
public fun toString ()Ljava/lang/String;
|
public fun toString ()Ljava/lang/String;
|
||||||
}
|
}
|
||||||
|
|
||||||
public final class dev/inmo/tgbotapi/types/message/AnswerGuestContentMessageImpl : dev/inmo/tgbotapi/types/message/abstracts/AnswerGuestContentMessage {
|
|
||||||
public synthetic fun <init> (JLdev/inmo/tgbotapi/types/chat/User;Ldev/inmo/tgbotapi/types/chat/PreviewChat;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 <init> (JLdev/inmo/tgbotapi/types/chat/User;Ldev/inmo/tgbotapi/types/chat/PreviewChat;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/buttons/InlineKeyboardMarkup;
|
|
||||||
public final fun component11 ()Ldev/inmo/tgbotapi/types/chat/CommonBot;
|
|
||||||
public final fun component12-CsYhHCU ()Ljava/lang/String;
|
|
||||||
public final fun component13 ()Ldev/inmo/tgbotapi/types/chat/User;
|
|
||||||
public final fun component14 ()Ldev/inmo/tgbotapi/types/chat/PreviewChat;
|
|
||||||
public final fun component15 ()Z
|
|
||||||
public final fun component16 ()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 ()Ldev/inmo/tgbotapi/types/message/content/MessageContent;
|
|
||||||
public final fun component5-Wg0KzQs ()D
|
|
||||||
public final fun component6-Ivn3T5g ()Lkorlibs/time/DateTime;
|
|
||||||
public final fun component7 ()Z
|
|
||||||
public final fun component8 ()Ldev/inmo/tgbotapi/types/message/MessageOrigin;
|
|
||||||
public final fun component9 ()Ldev/inmo/tgbotapi/types/ReplyInfo;
|
|
||||||
public final fun copy-FEh5XE4 (JLdev/inmo/tgbotapi/types/chat/User;Ldev/inmo/tgbotapi/types/chat/PreviewChat;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/AnswerGuestContentMessageImpl;
|
|
||||||
public static synthetic fun copy-FEh5XE4$default (Ldev/inmo/tgbotapi/types/message/AnswerGuestContentMessageImpl;JLdev/inmo/tgbotapi/types/chat/User;Ldev/inmo/tgbotapi/types/chat/PreviewChat;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/AnswerGuestContentMessageImpl;
|
|
||||||
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 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/BusinessContentMessageImpl : dev/inmo/tgbotapi/types/message/abstracts/BusinessContentMessage {
|
public final class dev/inmo/tgbotapi/types/message/BusinessContentMessageImpl : dev/inmo/tgbotapi/types/message/abstracts/BusinessContentMessage {
|
||||||
public synthetic fun <init> (JLdev/inmo/tgbotapi/types/chat/User;Ldev/inmo/tgbotapi/types/chat/PreviewBusinessChat;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/content/MessageContent;DLkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/message/ForwardInfo;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ljava/lang/String;Ldev/inmo/tgbotapi/types/chat/PreviewBot;ZLkotlin/jvm/internal/DefaultConstructorMarker;)V
|
public synthetic fun <init> (JLdev/inmo/tgbotapi/types/chat/User;Ldev/inmo/tgbotapi/types/chat/PreviewBusinessChat;Ljava/lang/String;Ldev/inmo/tgbotapi/types/message/content/MessageContent;DLkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/message/ForwardInfo;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ljava/lang/String;Ldev/inmo/tgbotapi/types/chat/PreviewBot;ZLkotlin/jvm/internal/DefaultConstructorMarker;)V
|
||||||
public synthetic fun <init> (JLdev/inmo/tgbotapi/types/chat/User;Ldev/inmo/tgbotapi/types/chat/PreviewBusinessChat;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/PreviewBot;ZLjava/lang/Integer;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
|
public synthetic fun <init> (JLdev/inmo/tgbotapi/types/chat/User;Ldev/inmo/tgbotapi/types/chat/PreviewBusinessChat;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/PreviewBot;ZLjava/lang/Integer;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
|
||||||
@@ -26313,19 +26265,21 @@ public final class dev/inmo/tgbotapi/types/message/CommonChannelDirectMessagesEv
|
|||||||
}
|
}
|
||||||
|
|
||||||
public final class dev/inmo/tgbotapi/types/message/CommonForumContentMessageImpl : dev/inmo/tgbotapi/types/message/abstracts/CommonForumContentMessage {
|
public final class dev/inmo/tgbotapi/types/message/CommonForumContentMessageImpl : dev/inmo/tgbotapi/types/message/abstracts/CommonForumContentMessage {
|
||||||
public synthetic fun <init> (Ldev/inmo/tgbotapi/types/chat/PreviewForumChat;JJLdev/inmo/tgbotapi/types/chat/User;DLdev/inmo/tgbotapi/types/message/ForwardInfo;Lkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/message/content/MessageContent;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ljava/lang/String;Ljava/lang/Integer;ZLjava/lang/Integer;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
|
public synthetic fun <init> (Ldev/inmo/tgbotapi/types/chat/PreviewForumChat;JJLdev/inmo/tgbotapi/types/chat/User;DLdev/inmo/tgbotapi/types/message/ForwardInfo;Lkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/message/content/MessageContent;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ldev/inmo/tgbotapi/types/chat/User;Ldev/inmo/tgbotapi/types/chat/PreviewChat;Ljava/lang/String;Ljava/lang/Integer;ZLjava/lang/Integer;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
|
||||||
public synthetic fun <init> (Ldev/inmo/tgbotapi/types/chat/PreviewForumChat;JJLdev/inmo/tgbotapi/types/chat/User;DLdev/inmo/tgbotapi/types/message/ForwardInfo;Lkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/message/content/MessageContent;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ljava/lang/String;Ljava/lang/Integer;ZLjava/lang/Integer;Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
public synthetic fun <init> (Ldev/inmo/tgbotapi/types/chat/PreviewForumChat;JJLdev/inmo/tgbotapi/types/chat/User;DLdev/inmo/tgbotapi/types/message/ForwardInfo;Lkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/message/content/MessageContent;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ldev/inmo/tgbotapi/types/chat/User;Ldev/inmo/tgbotapi/types/chat/PreviewChat;Ljava/lang/String;Ljava/lang/Integer;ZLjava/lang/Integer;Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
||||||
public synthetic fun <init> (Ldev/inmo/tgbotapi/types/chat/PreviewForumChat;JJLdev/inmo/tgbotapi/types/chat/User;DLdev/inmo/tgbotapi/types/message/MessageOrigin;Lkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/ReplyInfo;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/message/content/MessageContent;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ljava/lang/String;Ljava/lang/Integer;ZLjava/lang/Integer;Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
|
public synthetic fun <init> (Ldev/inmo/tgbotapi/types/chat/PreviewForumChat;JJLdev/inmo/tgbotapi/types/chat/User;DLdev/inmo/tgbotapi/types/message/MessageOrigin;Lkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/ReplyInfo;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/message/content/MessageContent;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ldev/inmo/tgbotapi/types/chat/User;Ldev/inmo/tgbotapi/types/chat/PreviewChat;Ljava/lang/String;Ljava/lang/Integer;ZLjava/lang/Integer;Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
|
||||||
public synthetic fun <init> (Ldev/inmo/tgbotapi/types/chat/PreviewForumChat;JJLdev/inmo/tgbotapi/types/chat/User;DLdev/inmo/tgbotapi/types/message/MessageOrigin;Lkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/ReplyInfo;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/message/content/MessageContent;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ljava/lang/String;Ljava/lang/Integer;ZLjava/lang/Integer;Ljava/lang/String;Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
public synthetic fun <init> (Ldev/inmo/tgbotapi/types/chat/PreviewForumChat;JJLdev/inmo/tgbotapi/types/chat/User;DLdev/inmo/tgbotapi/types/message/MessageOrigin;Lkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/ReplyInfo;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/message/content/MessageContent;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ldev/inmo/tgbotapi/types/chat/User;Ldev/inmo/tgbotapi/types/chat/PreviewChat;Ljava/lang/String;Ljava/lang/Integer;ZLjava/lang/Integer;Ljava/lang/String;Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
||||||
public final fun component1 ()Ldev/inmo/tgbotapi/types/chat/PreviewForumChat;
|
public final fun component1 ()Ldev/inmo/tgbotapi/types/chat/PreviewForumChat;
|
||||||
public final fun component10 ()Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;
|
public final fun component10 ()Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;
|
||||||
public final fun component11 ()Ldev/inmo/tgbotapi/types/message/content/MessageContent;
|
public final fun component11 ()Ldev/inmo/tgbotapi/types/message/content/MessageContent;
|
||||||
public final fun component12 ()Ldev/inmo/tgbotapi/types/chat/CommonBot;
|
public final fun component12 ()Ldev/inmo/tgbotapi/types/chat/CommonBot;
|
||||||
public final fun component13-CsYhHCU ()Ljava/lang/String;
|
public final fun component13 ()Ldev/inmo/tgbotapi/types/chat/User;
|
||||||
public final fun component14 ()Ljava/lang/Integer;
|
public final fun component14 ()Ldev/inmo/tgbotapi/types/chat/PreviewChat;
|
||||||
public final fun component15 ()Z
|
public final fun component15-CsYhHCU ()Ljava/lang/String;
|
||||||
public final fun component16 ()Ljava/lang/Integer;
|
public final fun component16 ()Ljava/lang/Integer;
|
||||||
public final fun component17-AVO4CDE ()Ljava/lang/String;
|
public final fun component17 ()Z
|
||||||
|
public final fun component18 ()Ljava/lang/Integer;
|
||||||
|
public final fun component19-AVO4CDE ()Ljava/lang/String;
|
||||||
public final fun component2-APLFQys ()J
|
public final fun component2-APLFQys ()J
|
||||||
public final fun component3-hDmiKeI ()J
|
public final fun component3-hDmiKeI ()J
|
||||||
public final fun component4 ()Ldev/inmo/tgbotapi/types/chat/User;
|
public final fun component4 ()Ldev/inmo/tgbotapi/types/chat/User;
|
||||||
@@ -26334,8 +26288,8 @@ public final class dev/inmo/tgbotapi/types/message/CommonForumContentMessageImpl
|
|||||||
public final fun component7-Ivn3T5g ()Lkorlibs/time/DateTime;
|
public final fun component7-Ivn3T5g ()Lkorlibs/time/DateTime;
|
||||||
public final fun component8 ()Z
|
public final fun component8 ()Z
|
||||||
public final fun component9 ()Ldev/inmo/tgbotapi/types/ReplyInfo;
|
public final fun component9 ()Ldev/inmo/tgbotapi/types/ReplyInfo;
|
||||||
public final fun copy-KV_Ri-M (Ldev/inmo/tgbotapi/types/chat/PreviewForumChat;JJLdev/inmo/tgbotapi/types/chat/User;DLdev/inmo/tgbotapi/types/message/MessageOrigin;Lkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/ReplyInfo;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/message/content/MessageContent;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ljava/lang/String;Ljava/lang/Integer;ZLjava/lang/Integer;Ljava/lang/String;)Ldev/inmo/tgbotapi/types/message/CommonForumContentMessageImpl;
|
public final fun copy-Kc--1bA (Ldev/inmo/tgbotapi/types/chat/PreviewForumChat;JJLdev/inmo/tgbotapi/types/chat/User;DLdev/inmo/tgbotapi/types/message/MessageOrigin;Lkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/ReplyInfo;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/message/content/MessageContent;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ldev/inmo/tgbotapi/types/chat/User;Ldev/inmo/tgbotapi/types/chat/PreviewChat;Ljava/lang/String;Ljava/lang/Integer;ZLjava/lang/Integer;Ljava/lang/String;)Ldev/inmo/tgbotapi/types/message/CommonForumContentMessageImpl;
|
||||||
public static synthetic fun copy-KV_Ri-M$default (Ldev/inmo/tgbotapi/types/message/CommonForumContentMessageImpl;Ldev/inmo/tgbotapi/types/chat/PreviewForumChat;JJLdev/inmo/tgbotapi/types/chat/User;DLdev/inmo/tgbotapi/types/message/MessageOrigin;Lkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/ReplyInfo;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/message/content/MessageContent;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ljava/lang/String;Ljava/lang/Integer;ZLjava/lang/Integer;Ljava/lang/String;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/message/CommonForumContentMessageImpl;
|
public static synthetic fun copy-Kc--1bA$default (Ldev/inmo/tgbotapi/types/message/CommonForumContentMessageImpl;Ldev/inmo/tgbotapi/types/chat/PreviewForumChat;JJLdev/inmo/tgbotapi/types/chat/User;DLdev/inmo/tgbotapi/types/message/MessageOrigin;Lkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/ReplyInfo;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/message/content/MessageContent;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ldev/inmo/tgbotapi/types/chat/User;Ldev/inmo/tgbotapi/types/chat/PreviewChat;Ljava/lang/String;Ljava/lang/Integer;ZLjava/lang/Integer;Ljava/lang/String;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/message/CommonForumContentMessageImpl;
|
||||||
public fun equals (Ljava/lang/Object;)Z
|
public fun equals (Ljava/lang/Object;)Z
|
||||||
public fun getBusinessConnectionId-nXr5wdE ()Ljava/lang/String;
|
public fun getBusinessConnectionId-nXr5wdE ()Ljava/lang/String;
|
||||||
public synthetic fun getChat ()Ldev/inmo/tgbotapi/types/chat/PreviewChat;
|
public synthetic fun getChat ()Ldev/inmo/tgbotapi/types/chat/PreviewChat;
|
||||||
@@ -26351,6 +26305,8 @@ public final class dev/inmo/tgbotapi/types/message/CommonForumContentMessageImpl
|
|||||||
public fun getForwardable ()Z
|
public fun getForwardable ()Z
|
||||||
public fun getFrom ()Ldev/inmo/tgbotapi/types/chat/User;
|
public fun getFrom ()Ldev/inmo/tgbotapi/types/chat/User;
|
||||||
public fun getFromOffline ()Z
|
public fun getFromOffline ()Z
|
||||||
|
public fun getGuestBotCallerChat ()Ldev/inmo/tgbotapi/types/chat/PreviewChat;
|
||||||
|
public fun getGuestBotCallerUser ()Ldev/inmo/tgbotapi/types/chat/User;
|
||||||
public fun getHasProtectedContent ()Z
|
public fun getHasProtectedContent ()Z
|
||||||
public fun getMediaGroupId-CsYhHCU ()Ljava/lang/String;
|
public fun getMediaGroupId-CsYhHCU ()Ljava/lang/String;
|
||||||
public fun getMessageId-APLFQys ()J
|
public fun getMessageId-APLFQys ()J
|
||||||
@@ -26370,18 +26326,20 @@ public final class dev/inmo/tgbotapi/types/message/CommonForumContentMessageImpl
|
|||||||
}
|
}
|
||||||
|
|
||||||
public final class dev/inmo/tgbotapi/types/message/CommonGroupContentMessageImpl : dev/inmo/tgbotapi/types/message/abstracts/CommonGroupContentMessage {
|
public final class dev/inmo/tgbotapi/types/message/CommonGroupContentMessageImpl : dev/inmo/tgbotapi/types/message/abstracts/CommonGroupContentMessage {
|
||||||
public synthetic fun <init> (Ldev/inmo/tgbotapi/types/chat/PreviewGroupChat;JLdev/inmo/tgbotapi/types/chat/User;DLdev/inmo/tgbotapi/types/message/ForwardInfo;Lkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/message/content/MessageContent;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ljava/lang/String;Ljava/lang/Integer;ZLjava/lang/Integer;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
|
public synthetic fun <init> (Ldev/inmo/tgbotapi/types/chat/PreviewGroupChat;JLdev/inmo/tgbotapi/types/chat/User;DLdev/inmo/tgbotapi/types/message/ForwardInfo;Lkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/message/content/MessageContent;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ldev/inmo/tgbotapi/types/chat/User;Ldev/inmo/tgbotapi/types/chat/PreviewChat;Ljava/lang/String;Ljava/lang/Integer;ZLjava/lang/Integer;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
|
||||||
public synthetic fun <init> (Ldev/inmo/tgbotapi/types/chat/PreviewGroupChat;JLdev/inmo/tgbotapi/types/chat/User;DLdev/inmo/tgbotapi/types/message/ForwardInfo;Lkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/message/content/MessageContent;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ljava/lang/String;Ljava/lang/Integer;ZLjava/lang/Integer;Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
public synthetic fun <init> (Ldev/inmo/tgbotapi/types/chat/PreviewGroupChat;JLdev/inmo/tgbotapi/types/chat/User;DLdev/inmo/tgbotapi/types/message/ForwardInfo;Lkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/message/content/MessageContent;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ldev/inmo/tgbotapi/types/chat/User;Ldev/inmo/tgbotapi/types/chat/PreviewChat;Ljava/lang/String;Ljava/lang/Integer;ZLjava/lang/Integer;Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
||||||
public synthetic fun <init> (Ldev/inmo/tgbotapi/types/chat/PreviewGroupChat;JLdev/inmo/tgbotapi/types/chat/User;DLdev/inmo/tgbotapi/types/message/MessageOrigin;Lkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/ReplyInfo;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/message/content/MessageContent;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ljava/lang/String;Ljava/lang/Integer;ZLjava/lang/Integer;Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
|
public synthetic fun <init> (Ldev/inmo/tgbotapi/types/chat/PreviewGroupChat;JLdev/inmo/tgbotapi/types/chat/User;DLdev/inmo/tgbotapi/types/message/MessageOrigin;Lkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/ReplyInfo;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/message/content/MessageContent;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ldev/inmo/tgbotapi/types/chat/User;Ldev/inmo/tgbotapi/types/chat/PreviewChat;Ljava/lang/String;Ljava/lang/Integer;ZLjava/lang/Integer;Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
|
||||||
public synthetic fun <init> (Ldev/inmo/tgbotapi/types/chat/PreviewGroupChat;JLdev/inmo/tgbotapi/types/chat/User;DLdev/inmo/tgbotapi/types/message/MessageOrigin;Lkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/ReplyInfo;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/message/content/MessageContent;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ljava/lang/String;Ljava/lang/Integer;ZLjava/lang/Integer;Ljava/lang/String;Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
public synthetic fun <init> (Ldev/inmo/tgbotapi/types/chat/PreviewGroupChat;JLdev/inmo/tgbotapi/types/chat/User;DLdev/inmo/tgbotapi/types/message/MessageOrigin;Lkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/ReplyInfo;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/message/content/MessageContent;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ldev/inmo/tgbotapi/types/chat/User;Ldev/inmo/tgbotapi/types/chat/PreviewChat;Ljava/lang/String;Ljava/lang/Integer;ZLjava/lang/Integer;Ljava/lang/String;Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
||||||
public final fun component1 ()Ldev/inmo/tgbotapi/types/chat/PreviewGroupChat;
|
public final fun component1 ()Ldev/inmo/tgbotapi/types/chat/PreviewGroupChat;
|
||||||
public final fun component10 ()Ldev/inmo/tgbotapi/types/message/content/MessageContent;
|
public final fun component10 ()Ldev/inmo/tgbotapi/types/message/content/MessageContent;
|
||||||
public final fun component11 ()Ldev/inmo/tgbotapi/types/chat/CommonBot;
|
public final fun component11 ()Ldev/inmo/tgbotapi/types/chat/CommonBot;
|
||||||
public final fun component12-CsYhHCU ()Ljava/lang/String;
|
public final fun component12 ()Ldev/inmo/tgbotapi/types/chat/User;
|
||||||
public final fun component13 ()Ljava/lang/Integer;
|
public final fun component13 ()Ldev/inmo/tgbotapi/types/chat/PreviewChat;
|
||||||
public final fun component14 ()Z
|
public final fun component14-CsYhHCU ()Ljava/lang/String;
|
||||||
public final fun component15 ()Ljava/lang/Integer;
|
public final fun component15 ()Ljava/lang/Integer;
|
||||||
public final fun component16-AVO4CDE ()Ljava/lang/String;
|
public final fun component16 ()Z
|
||||||
|
public final fun component17 ()Ljava/lang/Integer;
|
||||||
|
public final fun component18-AVO4CDE ()Ljava/lang/String;
|
||||||
public final fun component2-APLFQys ()J
|
public final fun component2-APLFQys ()J
|
||||||
public final fun component3 ()Ldev/inmo/tgbotapi/types/chat/User;
|
public final fun component3 ()Ldev/inmo/tgbotapi/types/chat/User;
|
||||||
public final fun component4-Wg0KzQs ()D
|
public final fun component4-Wg0KzQs ()D
|
||||||
@@ -26390,8 +26348,8 @@ public final class dev/inmo/tgbotapi/types/message/CommonGroupContentMessageImpl
|
|||||||
public final fun component7 ()Z
|
public final fun component7 ()Z
|
||||||
public final fun component8 ()Ldev/inmo/tgbotapi/types/ReplyInfo;
|
public final fun component8 ()Ldev/inmo/tgbotapi/types/ReplyInfo;
|
||||||
public final fun component9 ()Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;
|
public final fun component9 ()Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;
|
||||||
public final fun copy-2zVoErM (Ldev/inmo/tgbotapi/types/chat/PreviewGroupChat;JLdev/inmo/tgbotapi/types/chat/User;DLdev/inmo/tgbotapi/types/message/MessageOrigin;Lkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/ReplyInfo;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/message/content/MessageContent;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ljava/lang/String;Ljava/lang/Integer;ZLjava/lang/Integer;Ljava/lang/String;)Ldev/inmo/tgbotapi/types/message/CommonGroupContentMessageImpl;
|
public final fun copy-OPZVyhA (Ldev/inmo/tgbotapi/types/chat/PreviewGroupChat;JLdev/inmo/tgbotapi/types/chat/User;DLdev/inmo/tgbotapi/types/message/MessageOrigin;Lkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/ReplyInfo;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/message/content/MessageContent;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ldev/inmo/tgbotapi/types/chat/User;Ldev/inmo/tgbotapi/types/chat/PreviewChat;Ljava/lang/String;Ljava/lang/Integer;ZLjava/lang/Integer;Ljava/lang/String;)Ldev/inmo/tgbotapi/types/message/CommonGroupContentMessageImpl;
|
||||||
public static synthetic fun copy-2zVoErM$default (Ldev/inmo/tgbotapi/types/message/CommonGroupContentMessageImpl;Ldev/inmo/tgbotapi/types/chat/PreviewGroupChat;JLdev/inmo/tgbotapi/types/chat/User;DLdev/inmo/tgbotapi/types/message/MessageOrigin;Lkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/ReplyInfo;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/message/content/MessageContent;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ljava/lang/String;Ljava/lang/Integer;ZLjava/lang/Integer;Ljava/lang/String;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/message/CommonGroupContentMessageImpl;
|
public static synthetic fun copy-OPZVyhA$default (Ldev/inmo/tgbotapi/types/message/CommonGroupContentMessageImpl;Ldev/inmo/tgbotapi/types/chat/PreviewGroupChat;JLdev/inmo/tgbotapi/types/chat/User;DLdev/inmo/tgbotapi/types/message/MessageOrigin;Lkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/ReplyInfo;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/message/content/MessageContent;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ldev/inmo/tgbotapi/types/chat/User;Ldev/inmo/tgbotapi/types/chat/PreviewChat;Ljava/lang/String;Ljava/lang/Integer;ZLjava/lang/Integer;Ljava/lang/String;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/message/CommonGroupContentMessageImpl;
|
||||||
public fun equals (Ljava/lang/Object;)Z
|
public fun equals (Ljava/lang/Object;)Z
|
||||||
public fun getBusinessConnectionId-nXr5wdE ()Ljava/lang/String;
|
public fun getBusinessConnectionId-nXr5wdE ()Ljava/lang/String;
|
||||||
public synthetic fun getChat ()Ldev/inmo/tgbotapi/types/chat/PreviewChat;
|
public synthetic fun getChat ()Ldev/inmo/tgbotapi/types/chat/PreviewChat;
|
||||||
@@ -26406,6 +26364,8 @@ public final class dev/inmo/tgbotapi/types/message/CommonGroupContentMessageImpl
|
|||||||
public fun getForwardable ()Z
|
public fun getForwardable ()Z
|
||||||
public fun getFrom ()Ldev/inmo/tgbotapi/types/chat/User;
|
public fun getFrom ()Ldev/inmo/tgbotapi/types/chat/User;
|
||||||
public fun getFromOffline ()Z
|
public fun getFromOffline ()Z
|
||||||
|
public fun getGuestBotCallerChat ()Ldev/inmo/tgbotapi/types/chat/PreviewChat;
|
||||||
|
public fun getGuestBotCallerUser ()Ldev/inmo/tgbotapi/types/chat/User;
|
||||||
public fun getHasProtectedContent ()Z
|
public fun getHasProtectedContent ()Z
|
||||||
public fun getMediaGroupId-CsYhHCU ()Ljava/lang/String;
|
public fun getMediaGroupId-CsYhHCU ()Ljava/lang/String;
|
||||||
public fun getMessageId-APLFQys ()J
|
public fun getMessageId-APLFQys ()J
|
||||||
@@ -27088,16 +27048,18 @@ public final class dev/inmo/tgbotapi/types/message/PassportMessage : dev/inmo/tg
|
|||||||
}
|
}
|
||||||
|
|
||||||
public final class dev/inmo/tgbotapi/types/message/PrivateContentMessageImpl : dev/inmo/tgbotapi/types/message/abstracts/PrivateContentMessage {
|
public final class dev/inmo/tgbotapi/types/message/PrivateContentMessageImpl : dev/inmo/tgbotapi/types/message/abstracts/PrivateContentMessage {
|
||||||
public synthetic fun <init> (JLdev/inmo/tgbotapi/types/chat/User;Ldev/inmo/tgbotapi/types/chat/PreviewPrivateChat;Ldev/inmo/tgbotapi/types/message/content/MessageContent;DLkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/message/ForwardInfo;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ljava/lang/String;ZLjava/lang/String;Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
public synthetic fun <init> (JLdev/inmo/tgbotapi/types/chat/User;Ldev/inmo/tgbotapi/types/chat/PreviewPrivateChat;Ldev/inmo/tgbotapi/types/message/content/MessageContent;DLkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/message/ForwardInfo;Ldev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ldev/inmo/tgbotapi/types/chat/User;Ldev/inmo/tgbotapi/types/chat/PreviewChat;Ljava/lang/String;ZLjava/lang/String;Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
||||||
public synthetic fun <init> (JLdev/inmo/tgbotapi/types/chat/User;Ldev/inmo/tgbotapi/types/chat/PreviewPrivateChat;Ldev/inmo/tgbotapi/types/message/content/MessageContent;DLkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/message/MessageOrigin;Ldev/inmo/tgbotapi/types/ReplyInfo;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ljava/lang/String;ZLjava/lang/String;Ljava/lang/Integer;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
|
public synthetic fun <init> (JLdev/inmo/tgbotapi/types/chat/User;Ldev/inmo/tgbotapi/types/chat/PreviewPrivateChat;Ldev/inmo/tgbotapi/types/message/content/MessageContent;DLkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/message/MessageOrigin;Ldev/inmo/tgbotapi/types/ReplyInfo;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ldev/inmo/tgbotapi/types/chat/User;Ldev/inmo/tgbotapi/types/chat/PreviewChat;Ljava/lang/String;ZLjava/lang/String;Ljava/lang/Integer;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
|
||||||
public synthetic fun <init> (JLdev/inmo/tgbotapi/types/chat/User;Ldev/inmo/tgbotapi/types/chat/PreviewPrivateChat;Ldev/inmo/tgbotapi/types/message/content/MessageContent;DLkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/message/MessageOrigin;Ldev/inmo/tgbotapi/types/ReplyInfo;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ljava/lang/String;ZLjava/lang/String;Ljava/lang/Integer;Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
public synthetic fun <init> (JLdev/inmo/tgbotapi/types/chat/User;Ldev/inmo/tgbotapi/types/chat/PreviewPrivateChat;Ldev/inmo/tgbotapi/types/message/content/MessageContent;DLkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/message/MessageOrigin;Ldev/inmo/tgbotapi/types/ReplyInfo;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ldev/inmo/tgbotapi/types/chat/User;Ldev/inmo/tgbotapi/types/chat/PreviewChat;Ljava/lang/String;ZLjava/lang/String;Ljava/lang/Integer;Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
||||||
public final fun component1-APLFQys ()J
|
public final fun component1-APLFQys ()J
|
||||||
public final fun component10 ()Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;
|
public final fun component10 ()Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;
|
||||||
public final fun component11 ()Ldev/inmo/tgbotapi/types/chat/CommonBot;
|
public final fun component11 ()Ldev/inmo/tgbotapi/types/chat/CommonBot;
|
||||||
public final fun component12-CsYhHCU ()Ljava/lang/String;
|
public final fun component12 ()Ldev/inmo/tgbotapi/types/chat/User;
|
||||||
public final fun component13 ()Z
|
public final fun component13 ()Ldev/inmo/tgbotapi/types/chat/PreviewChat;
|
||||||
public final fun component14-Ts0V7ak ()Ljava/lang/String;
|
public final fun component14-CsYhHCU ()Ljava/lang/String;
|
||||||
public final fun component15 ()Ljava/lang/Integer;
|
public final fun component15 ()Z
|
||||||
|
public final fun component16-Ts0V7ak ()Ljava/lang/String;
|
||||||
|
public final fun component17 ()Ljava/lang/Integer;
|
||||||
public final fun component2 ()Ldev/inmo/tgbotapi/types/chat/User;
|
public final fun component2 ()Ldev/inmo/tgbotapi/types/chat/User;
|
||||||
public final fun component3 ()Ldev/inmo/tgbotapi/types/chat/PreviewPrivateChat;
|
public final fun component3 ()Ldev/inmo/tgbotapi/types/chat/PreviewPrivateChat;
|
||||||
public final fun component4 ()Ldev/inmo/tgbotapi/types/message/content/MessageContent;
|
public final fun component4 ()Ldev/inmo/tgbotapi/types/message/content/MessageContent;
|
||||||
@@ -27106,8 +27068,8 @@ public final class dev/inmo/tgbotapi/types/message/PrivateContentMessageImpl : d
|
|||||||
public final fun component7 ()Z
|
public final fun component7 ()Z
|
||||||
public final fun component8 ()Ldev/inmo/tgbotapi/types/message/MessageOrigin;
|
public final fun component8 ()Ldev/inmo/tgbotapi/types/message/MessageOrigin;
|
||||||
public final fun component9 ()Ldev/inmo/tgbotapi/types/ReplyInfo;
|
public final fun component9 ()Ldev/inmo/tgbotapi/types/ReplyInfo;
|
||||||
public final fun copy-qeOfpsw (JLdev/inmo/tgbotapi/types/chat/User;Ldev/inmo/tgbotapi/types/chat/PreviewPrivateChat;Ldev/inmo/tgbotapi/types/message/content/MessageContent;DLkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/message/MessageOrigin;Ldev/inmo/tgbotapi/types/ReplyInfo;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ljava/lang/String;ZLjava/lang/String;Ljava/lang/Integer;)Ldev/inmo/tgbotapi/types/message/PrivateContentMessageImpl;
|
public final fun copy-Kw6Z4XE (JLdev/inmo/tgbotapi/types/chat/User;Ldev/inmo/tgbotapi/types/chat/PreviewPrivateChat;Ldev/inmo/tgbotapi/types/message/content/MessageContent;DLkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/message/MessageOrigin;Ldev/inmo/tgbotapi/types/ReplyInfo;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ldev/inmo/tgbotapi/types/chat/User;Ldev/inmo/tgbotapi/types/chat/PreviewChat;Ljava/lang/String;ZLjava/lang/String;Ljava/lang/Integer;)Ldev/inmo/tgbotapi/types/message/PrivateContentMessageImpl;
|
||||||
public static synthetic fun copy-qeOfpsw$default (Ldev/inmo/tgbotapi/types/message/PrivateContentMessageImpl;JLdev/inmo/tgbotapi/types/chat/User;Ldev/inmo/tgbotapi/types/chat/PreviewPrivateChat;Ldev/inmo/tgbotapi/types/message/content/MessageContent;DLkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/message/MessageOrigin;Ldev/inmo/tgbotapi/types/ReplyInfo;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ljava/lang/String;ZLjava/lang/String;Ljava/lang/Integer;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/message/PrivateContentMessageImpl;
|
public static synthetic fun copy-Kw6Z4XE$default (Ldev/inmo/tgbotapi/types/message/PrivateContentMessageImpl;JLdev/inmo/tgbotapi/types/chat/User;Ldev/inmo/tgbotapi/types/chat/PreviewPrivateChat;Ldev/inmo/tgbotapi/types/message/content/MessageContent;DLkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/message/MessageOrigin;Ldev/inmo/tgbotapi/types/ReplyInfo;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ldev/inmo/tgbotapi/types/chat/User;Ldev/inmo/tgbotapi/types/chat/PreviewChat;Ljava/lang/String;ZLjava/lang/String;Ljava/lang/Integer;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/message/PrivateContentMessageImpl;
|
||||||
public fun equals (Ljava/lang/Object;)Z
|
public fun equals (Ljava/lang/Object;)Z
|
||||||
public fun getBusinessConnectionId-nXr5wdE ()Ljava/lang/String;
|
public fun getBusinessConnectionId-nXr5wdE ()Ljava/lang/String;
|
||||||
public synthetic fun getChat ()Ldev/inmo/tgbotapi/types/chat/PreviewChat;
|
public synthetic fun getChat ()Ldev/inmo/tgbotapi/types/chat/PreviewChat;
|
||||||
@@ -27122,6 +27084,8 @@ public final class dev/inmo/tgbotapi/types/message/PrivateContentMessageImpl : d
|
|||||||
public fun getForwardable ()Z
|
public fun getForwardable ()Z
|
||||||
public fun getFrom ()Ldev/inmo/tgbotapi/types/chat/User;
|
public fun getFrom ()Ldev/inmo/tgbotapi/types/chat/User;
|
||||||
public fun getFromOffline ()Z
|
public fun getFromOffline ()Z
|
||||||
|
public fun getGuestBotCallerChat ()Ldev/inmo/tgbotapi/types/chat/PreviewChat;
|
||||||
|
public fun getGuestBotCallerUser ()Ldev/inmo/tgbotapi/types/chat/User;
|
||||||
public fun getHasProtectedContent ()Z
|
public fun getHasProtectedContent ()Z
|
||||||
public fun getMediaGroupId-CsYhHCU ()Ljava/lang/String;
|
public fun getMediaGroupId-CsYhHCU ()Ljava/lang/String;
|
||||||
public fun getMessageId-APLFQys ()J
|
public fun getMessageId-APLFQys ()J
|
||||||
@@ -27157,17 +27121,19 @@ public final class dev/inmo/tgbotapi/types/message/PrivateEventMessage : dev/inm
|
|||||||
}
|
}
|
||||||
|
|
||||||
public final class dev/inmo/tgbotapi/types/message/PrivateForumContentMessageImpl : dev/inmo/tgbotapi/types/message/abstracts/PrivateForumContentMessage {
|
public final class dev/inmo/tgbotapi/types/message/PrivateForumContentMessageImpl : dev/inmo/tgbotapi/types/message/abstracts/PrivateForumContentMessage {
|
||||||
public synthetic fun <init> (JJLdev/inmo/tgbotapi/types/message/ChatEvents/forum/ForumTopicCreated;Ldev/inmo/tgbotapi/types/chat/User;Ldev/inmo/tgbotapi/types/chat/PreviewPrivateChat;Ldev/inmo/tgbotapi/types/message/content/MessageContent;DLkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/message/MessageOrigin;Ldev/inmo/tgbotapi/types/ReplyInfo;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ljava/lang/String;ZLjava/lang/String;Ljava/lang/Integer;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
|
public synthetic fun <init> (JJLdev/inmo/tgbotapi/types/message/ChatEvents/forum/ForumTopicCreated;Ldev/inmo/tgbotapi/types/chat/User;Ldev/inmo/tgbotapi/types/chat/PreviewPrivateChat;Ldev/inmo/tgbotapi/types/message/content/MessageContent;DLkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/message/MessageOrigin;Ldev/inmo/tgbotapi/types/ReplyInfo;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ldev/inmo/tgbotapi/types/chat/User;Ldev/inmo/tgbotapi/types/chat/PreviewChat;Ljava/lang/String;ZLjava/lang/String;Ljava/lang/Integer;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
|
||||||
public synthetic fun <init> (JJLdev/inmo/tgbotapi/types/message/ChatEvents/forum/ForumTopicCreated;Ldev/inmo/tgbotapi/types/chat/User;Ldev/inmo/tgbotapi/types/chat/PreviewPrivateChat;Ldev/inmo/tgbotapi/types/message/content/MessageContent;DLkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/message/MessageOrigin;Ldev/inmo/tgbotapi/types/ReplyInfo;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ljava/lang/String;ZLjava/lang/String;Ljava/lang/Integer;Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
public synthetic fun <init> (JJLdev/inmo/tgbotapi/types/message/ChatEvents/forum/ForumTopicCreated;Ldev/inmo/tgbotapi/types/chat/User;Ldev/inmo/tgbotapi/types/chat/PreviewPrivateChat;Ldev/inmo/tgbotapi/types/message/content/MessageContent;DLkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/message/MessageOrigin;Ldev/inmo/tgbotapi/types/ReplyInfo;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ldev/inmo/tgbotapi/types/chat/User;Ldev/inmo/tgbotapi/types/chat/PreviewChat;Ljava/lang/String;ZLjava/lang/String;Ljava/lang/Integer;Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
||||||
public final fun component1-APLFQys ()J
|
public final fun component1-APLFQys ()J
|
||||||
public final fun component10 ()Ldev/inmo/tgbotapi/types/message/MessageOrigin;
|
public final fun component10 ()Ldev/inmo/tgbotapi/types/message/MessageOrigin;
|
||||||
public final fun component11 ()Ldev/inmo/tgbotapi/types/ReplyInfo;
|
public final fun component11 ()Ldev/inmo/tgbotapi/types/ReplyInfo;
|
||||||
public final fun component12 ()Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;
|
public final fun component12 ()Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;
|
||||||
public final fun component13 ()Ldev/inmo/tgbotapi/types/chat/CommonBot;
|
public final fun component13 ()Ldev/inmo/tgbotapi/types/chat/CommonBot;
|
||||||
public final fun component14-CsYhHCU ()Ljava/lang/String;
|
public final fun component14 ()Ldev/inmo/tgbotapi/types/chat/User;
|
||||||
public final fun component15 ()Z
|
public final fun component15 ()Ldev/inmo/tgbotapi/types/chat/PreviewChat;
|
||||||
public final fun component16-Ts0V7ak ()Ljava/lang/String;
|
public final fun component16-CsYhHCU ()Ljava/lang/String;
|
||||||
public final fun component17 ()Ljava/lang/Integer;
|
public final fun component17 ()Z
|
||||||
|
public final fun component18-Ts0V7ak ()Ljava/lang/String;
|
||||||
|
public final fun component19 ()Ljava/lang/Integer;
|
||||||
public final fun component2-hDmiKeI ()J
|
public final fun component2-hDmiKeI ()J
|
||||||
public final fun component3 ()Ldev/inmo/tgbotapi/types/message/ChatEvents/forum/ForumTopicCreated;
|
public final fun component3 ()Ldev/inmo/tgbotapi/types/message/ChatEvents/forum/ForumTopicCreated;
|
||||||
public final fun component4 ()Ldev/inmo/tgbotapi/types/chat/User;
|
public final fun component4 ()Ldev/inmo/tgbotapi/types/chat/User;
|
||||||
@@ -27176,8 +27142,8 @@ public final class dev/inmo/tgbotapi/types/message/PrivateForumContentMessageImp
|
|||||||
public final fun component7-Wg0KzQs ()D
|
public final fun component7-Wg0KzQs ()D
|
||||||
public final fun component8-Ivn3T5g ()Lkorlibs/time/DateTime;
|
public final fun component8-Ivn3T5g ()Lkorlibs/time/DateTime;
|
||||||
public final fun component9 ()Z
|
public final fun component9 ()Z
|
||||||
public final fun copy-aUUcC2o (JJLdev/inmo/tgbotapi/types/message/ChatEvents/forum/ForumTopicCreated;Ldev/inmo/tgbotapi/types/chat/User;Ldev/inmo/tgbotapi/types/chat/PreviewPrivateChat;Ldev/inmo/tgbotapi/types/message/content/MessageContent;DLkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/message/MessageOrigin;Ldev/inmo/tgbotapi/types/ReplyInfo;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ljava/lang/String;ZLjava/lang/String;Ljava/lang/Integer;)Ldev/inmo/tgbotapi/types/message/PrivateForumContentMessageImpl;
|
public final fun copy-0c-Svhw (JJLdev/inmo/tgbotapi/types/message/ChatEvents/forum/ForumTopicCreated;Ldev/inmo/tgbotapi/types/chat/User;Ldev/inmo/tgbotapi/types/chat/PreviewPrivateChat;Ldev/inmo/tgbotapi/types/message/content/MessageContent;DLkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/message/MessageOrigin;Ldev/inmo/tgbotapi/types/ReplyInfo;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ldev/inmo/tgbotapi/types/chat/User;Ldev/inmo/tgbotapi/types/chat/PreviewChat;Ljava/lang/String;ZLjava/lang/String;Ljava/lang/Integer;)Ldev/inmo/tgbotapi/types/message/PrivateForumContentMessageImpl;
|
||||||
public static synthetic fun copy-aUUcC2o$default (Ldev/inmo/tgbotapi/types/message/PrivateForumContentMessageImpl;JJLdev/inmo/tgbotapi/types/message/ChatEvents/forum/ForumTopicCreated;Ldev/inmo/tgbotapi/types/chat/User;Ldev/inmo/tgbotapi/types/chat/PreviewPrivateChat;Ldev/inmo/tgbotapi/types/message/content/MessageContent;DLkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/message/MessageOrigin;Ldev/inmo/tgbotapi/types/ReplyInfo;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ljava/lang/String;ZLjava/lang/String;Ljava/lang/Integer;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/message/PrivateForumContentMessageImpl;
|
public static synthetic fun copy-0c-Svhw$default (Ldev/inmo/tgbotapi/types/message/PrivateForumContentMessageImpl;JJLdev/inmo/tgbotapi/types/message/ChatEvents/forum/ForumTopicCreated;Ldev/inmo/tgbotapi/types/chat/User;Ldev/inmo/tgbotapi/types/chat/PreviewPrivateChat;Ldev/inmo/tgbotapi/types/message/content/MessageContent;DLkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/message/MessageOrigin;Ldev/inmo/tgbotapi/types/ReplyInfo;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ldev/inmo/tgbotapi/types/chat/User;Ldev/inmo/tgbotapi/types/chat/PreviewChat;Ljava/lang/String;ZLjava/lang/String;Ljava/lang/Integer;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/message/PrivateForumContentMessageImpl;
|
||||||
public fun equals (Ljava/lang/Object;)Z
|
public fun equals (Ljava/lang/Object;)Z
|
||||||
public fun getBusinessConnectionId-nXr5wdE ()Ljava/lang/String;
|
public fun getBusinessConnectionId-nXr5wdE ()Ljava/lang/String;
|
||||||
public synthetic fun getChat ()Ldev/inmo/tgbotapi/types/chat/PreviewChat;
|
public synthetic fun getChat ()Ldev/inmo/tgbotapi/types/chat/PreviewChat;
|
||||||
@@ -27192,6 +27158,8 @@ public final class dev/inmo/tgbotapi/types/message/PrivateForumContentMessageImp
|
|||||||
public fun getForwardable ()Z
|
public fun getForwardable ()Z
|
||||||
public fun getFrom ()Ldev/inmo/tgbotapi/types/chat/User;
|
public fun getFrom ()Ldev/inmo/tgbotapi/types/chat/User;
|
||||||
public fun getFromOffline ()Z
|
public fun getFromOffline ()Z
|
||||||
|
public fun getGuestBotCallerChat ()Ldev/inmo/tgbotapi/types/chat/PreviewChat;
|
||||||
|
public fun getGuestBotCallerUser ()Ldev/inmo/tgbotapi/types/chat/User;
|
||||||
public fun getHasProtectedContent ()Z
|
public fun getHasProtectedContent ()Z
|
||||||
public fun getMediaGroupId-CsYhHCU ()Ljava/lang/String;
|
public fun getMediaGroupId-CsYhHCU ()Ljava/lang/String;
|
||||||
public fun getMessageId-APLFQys ()J
|
public fun getMessageId-APLFQys ()J
|
||||||
@@ -27450,29 +27418,6 @@ public final class dev/inmo/tgbotapi/types/message/abstracts/AnonymousGroupConte
|
|||||||
public static fun getSenderChat (Ldev/inmo/tgbotapi/types/message/abstracts/AnonymousGroupContentMessage;)Ldev/inmo/tgbotapi/types/chat/PreviewGroupChat;
|
public static fun getSenderChat (Ldev/inmo/tgbotapi/types/message/abstracts/AnonymousGroupContentMessage;)Ldev/inmo/tgbotapi/types/chat/PreviewGroupChat;
|
||||||
}
|
}
|
||||||
|
|
||||||
public abstract interface class dev/inmo/tgbotapi/types/message/abstracts/AnswerGuestContentMessage : dev/inmo/tgbotapi/types/message/abstracts/AnswerGuestMessage, dev/inmo/tgbotapi/types/message/abstracts/GuestContentMessage, dev/inmo/tgbotapi/types/message/abstracts/PossiblySentViaBot {
|
|
||||||
public abstract fun getSenderBot ()Ldev/inmo/tgbotapi/types/chat/CommonBot;
|
|
||||||
}
|
|
||||||
|
|
||||||
public final class dev/inmo/tgbotapi/types/message/abstracts/AnswerGuestContentMessage$DefaultImpls {
|
|
||||||
public static fun getBusinessConnectionId-nXr5wdE (Ldev/inmo/tgbotapi/types/message/abstracts/AnswerGuestContentMessage;)Ljava/lang/String;
|
|
||||||
public static fun getForwardInfo (Ldev/inmo/tgbotapi/types/message/abstracts/AnswerGuestContentMessage;)Ldev/inmo/tgbotapi/types/message/ForwardInfo;
|
|
||||||
public static fun getForwardable (Ldev/inmo/tgbotapi/types/message/abstracts/AnswerGuestContentMessage;)Z
|
|
||||||
public static fun getMetaInfo-fV8YnZ8 (Ldev/inmo/tgbotapi/types/message/abstracts/AnswerGuestContentMessage;)Lkotlin/Triple;
|
|
||||||
public static fun getReplyTo (Ldev/inmo/tgbotapi/types/message/abstracts/AnswerGuestContentMessage;)Ldev/inmo/tgbotapi/types/message/abstracts/Message;
|
|
||||||
public static fun getUser (Ldev/inmo/tgbotapi/types/message/abstracts/AnswerGuestContentMessage;)Ldev/inmo/tgbotapi/types/chat/User;
|
|
||||||
}
|
|
||||||
|
|
||||||
public abstract interface class dev/inmo/tgbotapi/types/message/abstracts/AnswerGuestMessage : dev/inmo/tgbotapi/types/message/abstracts/GuestMessage {
|
|
||||||
public abstract fun getGuestBotCallerChat ()Ldev/inmo/tgbotapi/types/chat/PreviewChat;
|
|
||||||
public abstract fun getGuestBotCallerUser ()Ldev/inmo/tgbotapi/types/chat/User;
|
|
||||||
}
|
|
||||||
|
|
||||||
public final class dev/inmo/tgbotapi/types/message/abstracts/AnswerGuestMessage$DefaultImpls {
|
|
||||||
public static fun getBusinessConnectionId-nXr5wdE (Ldev/inmo/tgbotapi/types/message/abstracts/AnswerGuestMessage;)Ljava/lang/String;
|
|
||||||
public static fun getMetaInfo-fV8YnZ8 (Ldev/inmo/tgbotapi/types/message/abstracts/AnswerGuestMessage;)Lkotlin/Triple;
|
|
||||||
}
|
|
||||||
|
|
||||||
public abstract interface class dev/inmo/tgbotapi/types/message/abstracts/BusinessContentMessage : dev/inmo/tgbotapi/abstracts/types/WithBusinessConnectionId, dev/inmo/tgbotapi/types/message/abstracts/FromUserMessage, dev/inmo/tgbotapi/types/message/abstracts/PossiblySentViaBotCommonMessage {
|
public abstract interface class dev/inmo/tgbotapi/types/message/abstracts/BusinessContentMessage : dev/inmo/tgbotapi/abstracts/types/WithBusinessConnectionId, dev/inmo/tgbotapi/types/message/abstracts/FromUserMessage, dev/inmo/tgbotapi/types/message/abstracts/PossiblySentViaBotCommonMessage {
|
||||||
public abstract fun getBusinessConnectionId-T-_HSQI ()Ljava/lang/String;
|
public abstract fun getBusinessConnectionId-T-_HSQI ()Ljava/lang/String;
|
||||||
public abstract fun getChat ()Ldev/inmo/tgbotapi/types/chat/PreviewBusinessChat;
|
public abstract fun getChat ()Ldev/inmo/tgbotapi/types/chat/PreviewBusinessChat;
|
||||||
@@ -27597,7 +27542,7 @@ public final class dev/inmo/tgbotapi/types/message/abstracts/CommonContentMessag
|
|||||||
public static fun getReplyTo (Ldev/inmo/tgbotapi/types/message/abstracts/CommonContentMessage;)Ldev/inmo/tgbotapi/types/message/abstracts/Message;
|
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 {
|
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/PossiblyGuestAnswerMessage, dev/inmo/tgbotapi/types/message/abstracts/PotentiallyFromUserGroupContentMessage {
|
||||||
}
|
}
|
||||||
|
|
||||||
public final class dev/inmo/tgbotapi/types/message/abstracts/CommonForumContentMessage$DefaultImpls {
|
public final class dev/inmo/tgbotapi/types/message/abstracts/CommonForumContentMessage$DefaultImpls {
|
||||||
@@ -27610,7 +27555,7 @@ public final class dev/inmo/tgbotapi/types/message/abstracts/CommonForumContentM
|
|||||||
public static fun getUser (Ldev/inmo/tgbotapi/types/message/abstracts/CommonForumContentMessage;)Ldev/inmo/tgbotapi/types/chat/User;
|
public static fun getUser (Ldev/inmo/tgbotapi/types/message/abstracts/CommonForumContentMessage;)Ldev/inmo/tgbotapi/types/chat/User;
|
||||||
}
|
}
|
||||||
|
|
||||||
public abstract interface class dev/inmo/tgbotapi/types/message/abstracts/CommonGroupContentMessage : dev/inmo/tgbotapi/types/message/abstracts/FromUserMessage, dev/inmo/tgbotapi/types/message/abstracts/GroupContentMessage, dev/inmo/tgbotapi/types/message/abstracts/PotentiallyFromUserGroupContentMessage {
|
public abstract interface class dev/inmo/tgbotapi/types/message/abstracts/CommonGroupContentMessage : dev/inmo/tgbotapi/types/message/abstracts/FromUserMessage, dev/inmo/tgbotapi/types/message/abstracts/GroupContentMessage, dev/inmo/tgbotapi/types/message/abstracts/PossiblyGuestAnswerMessage, dev/inmo/tgbotapi/types/message/abstracts/PotentiallyFromUserGroupContentMessage {
|
||||||
}
|
}
|
||||||
|
|
||||||
public final class dev/inmo/tgbotapi/types/message/abstracts/CommonGroupContentMessage$DefaultImpls {
|
public final class dev/inmo/tgbotapi/types/message/abstracts/CommonGroupContentMessage$DefaultImpls {
|
||||||
@@ -27759,18 +27704,6 @@ 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 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 {
|
|
||||||
}
|
|
||||||
|
|
||||||
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/types/message/abstracts/Message {
|
public abstract interface class dev/inmo/tgbotapi/types/message/abstracts/GuestMessage : dev/inmo/tgbotapi/types/message/abstracts/Message {
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -27898,6 +27831,16 @@ public final class dev/inmo/tgbotapi/types/message/abstracts/PossiblyForwardedMe
|
|||||||
public static fun getMetaInfo-fV8YnZ8 (Ldev/inmo/tgbotapi/types/message/abstracts/PossiblyForwardedMessage;)Lkotlin/Triple;
|
public static fun getMetaInfo-fV8YnZ8 (Ldev/inmo/tgbotapi/types/message/abstracts/PossiblyForwardedMessage;)Lkotlin/Triple;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public abstract interface class dev/inmo/tgbotapi/types/message/abstracts/PossiblyGuestAnswerMessage : dev/inmo/tgbotapi/types/message/abstracts/Message {
|
||||||
|
public abstract fun getGuestBotCallerChat ()Ldev/inmo/tgbotapi/types/chat/PreviewChat;
|
||||||
|
public abstract fun getGuestBotCallerUser ()Ldev/inmo/tgbotapi/types/chat/User;
|
||||||
|
}
|
||||||
|
|
||||||
|
public final class dev/inmo/tgbotapi/types/message/abstracts/PossiblyGuestAnswerMessage$DefaultImpls {
|
||||||
|
public static fun getBusinessConnectionId-nXr5wdE (Ldev/inmo/tgbotapi/types/message/abstracts/PossiblyGuestAnswerMessage;)Ljava/lang/String;
|
||||||
|
public static fun getMetaInfo-fV8YnZ8 (Ldev/inmo/tgbotapi/types/message/abstracts/PossiblyGuestAnswerMessage;)Lkotlin/Triple;
|
||||||
|
}
|
||||||
|
|
||||||
public abstract interface class dev/inmo/tgbotapi/types/message/abstracts/PossiblyMarkedUp {
|
public abstract interface class dev/inmo/tgbotapi/types/message/abstracts/PossiblyMarkedUp {
|
||||||
public abstract fun getReplyMarkup ()Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;
|
public abstract fun getReplyMarkup ()Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;
|
||||||
}
|
}
|
||||||
@@ -27994,7 +27937,7 @@ public final class dev/inmo/tgbotapi/types/message/abstracts/PotentiallyFromUser
|
|||||||
public static fun getReplyTo (Ldev/inmo/tgbotapi/types/message/abstracts/PotentiallyFromUserGroupContentMessage;)Ldev/inmo/tgbotapi/types/message/abstracts/Message;
|
public static fun getReplyTo (Ldev/inmo/tgbotapi/types/message/abstracts/PotentiallyFromUserGroupContentMessage;)Ldev/inmo/tgbotapi/types/message/abstracts/Message;
|
||||||
}
|
}
|
||||||
|
|
||||||
public abstract interface class dev/inmo/tgbotapi/types/message/abstracts/PrivateContentMessage : dev/inmo/tgbotapi/types/message/abstracts/FromUserMessage, dev/inmo/tgbotapi/types/message/abstracts/PossiblyOfflineMessage, dev/inmo/tgbotapi/types/message/abstracts/PossiblySentViaBotCommonMessage, dev/inmo/tgbotapi/types/message/abstracts/PossiblyWithEffectMessage {
|
public abstract interface class dev/inmo/tgbotapi/types/message/abstracts/PrivateContentMessage : dev/inmo/tgbotapi/types/message/abstracts/FromUserMessage, dev/inmo/tgbotapi/types/message/abstracts/PossiblyGuestAnswerMessage, dev/inmo/tgbotapi/types/message/abstracts/PossiblyOfflineMessage, dev/inmo/tgbotapi/types/message/abstracts/PossiblySentViaBotCommonMessage, dev/inmo/tgbotapi/types/message/abstracts/PossiblyWithEffectMessage {
|
||||||
public abstract fun getChat ()Ldev/inmo/tgbotapi/types/chat/PreviewPrivateChat;
|
public abstract fun getChat ()Ldev/inmo/tgbotapi/types/chat/PreviewPrivateChat;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -28032,7 +27975,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 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/RequestGuestContentMessage : dev/inmo/tgbotapi/types/message/abstracts/GuestContentMessage, dev/inmo/tgbotapi/types/message/abstracts/RequestGuestMessage, dev/inmo/tgbotapi/types/message/abstracts/SpecialMessage {
|
public abstract interface class dev/inmo/tgbotapi/types/message/abstracts/RequestGuestContentMessage : 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/RequestGuestMessage, dev/inmo/tgbotapi/types/message/abstracts/SpecialMessage {
|
||||||
}
|
}
|
||||||
|
|
||||||
public final class dev/inmo/tgbotapi/types/message/abstracts/RequestGuestContentMessage$DefaultImpls {
|
public final class dev/inmo/tgbotapi/types/message/abstracts/RequestGuestContentMessage$DefaultImpls {
|
||||||
|
|||||||
@@ -1,33 +0,0 @@
|
|||||||
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.AnswerGuestContentMessage
|
|
||||||
import dev.inmo.tgbotapi.types.message.abstracts.GuestContentMessage
|
|
||||||
import dev.inmo.tgbotapi.types.message.abstracts.RequestGuestContentMessage
|
|
||||||
import dev.inmo.tgbotapi.types.message.content.MessageContent
|
|
||||||
import kotlinx.serialization.SerialName
|
|
||||||
|
|
||||||
data class AnswerGuestContentMessageImpl<T: MessageContent>(
|
|
||||||
override val messageId: MessageId,
|
|
||||||
override val from: User,
|
|
||||||
override val chat: PreviewChat,
|
|
||||||
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,
|
|
||||||
) : AnswerGuestContentMessage<T>
|
|
||||||
@@ -180,6 +180,8 @@ data class CommonGroupContentMessageImpl<T : MessageContent>(
|
|||||||
override val replyMarkup: InlineKeyboardMarkup?,
|
override val replyMarkup: InlineKeyboardMarkup?,
|
||||||
override val content: T,
|
override val content: T,
|
||||||
override val senderBot: CommonBot?,
|
override val senderBot: CommonBot?,
|
||||||
|
override val guestBotCallerUser: User?,
|
||||||
|
override val guestBotCallerChat: PreviewChat?,
|
||||||
override val mediaGroupId: MediaGroupId?,
|
override val mediaGroupId: MediaGroupId?,
|
||||||
override val senderBoostsCount: Int?,
|
override val senderBoostsCount: Int?,
|
||||||
override val fromOffline: Boolean,
|
override val fromOffline: Boolean,
|
||||||
@@ -200,6 +202,8 @@ data class CommonGroupContentMessageImpl<T : MessageContent>(
|
|||||||
replyMarkup: InlineKeyboardMarkup?,
|
replyMarkup: InlineKeyboardMarkup?,
|
||||||
content: T,
|
content: T,
|
||||||
senderBot: CommonBot?,
|
senderBot: CommonBot?,
|
||||||
|
guestBotCallerUser: User?,
|
||||||
|
guestBotCallerChat: PreviewChat?,
|
||||||
mediaGroupId: MediaGroupId?,
|
mediaGroupId: MediaGroupId?,
|
||||||
senderBoostsCount: Int?,
|
senderBoostsCount: Int?,
|
||||||
fromOffline: Boolean,
|
fromOffline: Boolean,
|
||||||
@@ -216,6 +220,8 @@ data class CommonGroupContentMessageImpl<T : MessageContent>(
|
|||||||
replyMarkup = replyMarkup,
|
replyMarkup = replyMarkup,
|
||||||
content = content,
|
content = content,
|
||||||
senderBot = senderBot,
|
senderBot = senderBot,
|
||||||
|
guestBotCallerUser = guestBotCallerUser,
|
||||||
|
guestBotCallerChat = guestBotCallerChat,
|
||||||
mediaGroupId = mediaGroupId,
|
mediaGroupId = mediaGroupId,
|
||||||
senderBoostsCount = senderBoostsCount,
|
senderBoostsCount = senderBoostsCount,
|
||||||
fromOffline = fromOffline,
|
fromOffline = fromOffline,
|
||||||
@@ -460,6 +466,8 @@ data class CommonForumContentMessageImpl<T : MessageContent>(
|
|||||||
override val replyMarkup: InlineKeyboardMarkup?,
|
override val replyMarkup: InlineKeyboardMarkup?,
|
||||||
override val content: T,
|
override val content: T,
|
||||||
override val senderBot: CommonBot?,
|
override val senderBot: CommonBot?,
|
||||||
|
override val guestBotCallerUser: User?,
|
||||||
|
override val guestBotCallerChat: PreviewChat?,
|
||||||
override val mediaGroupId: MediaGroupId?,
|
override val mediaGroupId: MediaGroupId?,
|
||||||
override val senderBoostsCount: Int?,
|
override val senderBoostsCount: Int?,
|
||||||
override val fromOffline: Boolean,
|
override val fromOffline: Boolean,
|
||||||
@@ -481,6 +489,8 @@ data class CommonForumContentMessageImpl<T : MessageContent>(
|
|||||||
replyMarkup: InlineKeyboardMarkup?,
|
replyMarkup: InlineKeyboardMarkup?,
|
||||||
content: T,
|
content: T,
|
||||||
senderBot: CommonBot?,
|
senderBot: CommonBot?,
|
||||||
|
guestBotCallerUser: User?,
|
||||||
|
guestBotCallerChat: PreviewChat?,
|
||||||
mediaGroupId: MediaGroupId?,
|
mediaGroupId: MediaGroupId?,
|
||||||
senderBoostsCount: Int?,
|
senderBoostsCount: Int?,
|
||||||
fromOffline: Boolean,
|
fromOffline: Boolean,
|
||||||
@@ -498,6 +508,8 @@ data class CommonForumContentMessageImpl<T : MessageContent>(
|
|||||||
replyMarkup = replyMarkup,
|
replyMarkup = replyMarkup,
|
||||||
content = content,
|
content = content,
|
||||||
senderBot = senderBot,
|
senderBot = senderBot,
|
||||||
|
guestBotCallerUser = guestBotCallerUser,
|
||||||
|
guestBotCallerChat = guestBotCallerChat,
|
||||||
mediaGroupId = mediaGroupId,
|
mediaGroupId = mediaGroupId,
|
||||||
senderBoostsCount = senderBoostsCount,
|
senderBoostsCount = senderBoostsCount,
|
||||||
fromOffline = fromOffline,
|
fromOffline = fromOffline,
|
||||||
|
|||||||
@@ -23,6 +23,8 @@ data class PrivateContentMessageImpl<T: MessageContent>(
|
|||||||
override val replyInfo: ReplyInfo?,
|
override val replyInfo: ReplyInfo?,
|
||||||
override val replyMarkup: InlineKeyboardMarkup?,
|
override val replyMarkup: InlineKeyboardMarkup?,
|
||||||
override val senderBot: CommonBot?,
|
override val senderBot: CommonBot?,
|
||||||
|
override val guestBotCallerUser: User?,
|
||||||
|
override val guestBotCallerChat: PreviewChat?,
|
||||||
override val mediaGroupId: MediaGroupId?,
|
override val mediaGroupId: MediaGroupId?,
|
||||||
override val fromOffline: Boolean,
|
override val fromOffline: Boolean,
|
||||||
override val effectId: EffectId?,
|
override val effectId: EffectId?,
|
||||||
@@ -41,10 +43,27 @@ data class PrivateContentMessageImpl<T: MessageContent>(
|
|||||||
replyTo: AccessibleMessage?,
|
replyTo: AccessibleMessage?,
|
||||||
replyMarkup: InlineKeyboardMarkup?,
|
replyMarkup: InlineKeyboardMarkup?,
|
||||||
senderBot: CommonBot?,
|
senderBot: CommonBot?,
|
||||||
|
guestBotCallerUser: User?,
|
||||||
|
guestBotCallerChat: PreviewChat?,
|
||||||
mediaGroupId: MediaGroupId?,
|
mediaGroupId: MediaGroupId?,
|
||||||
fromOffline: Boolean,
|
fromOffline: Boolean,
|
||||||
effectId: EffectId,
|
effectId: EffectId,
|
||||||
) : this(
|
) : this(
|
||||||
messageId, from, chat, content, date, editDate, hasProtectedContent, forwardInfo.messageOrigin(), replyTo ?.let { ReplyInfo.Internal(it) }, replyMarkup, senderBot, mediaGroupId, fromOffline, effectId
|
messageId = messageId,
|
||||||
|
from = from,
|
||||||
|
chat = chat,
|
||||||
|
content = content,
|
||||||
|
date = date,
|
||||||
|
editDate = editDate,
|
||||||
|
hasProtectedContent = hasProtectedContent,
|
||||||
|
forwardOrigin = forwardInfo.messageOrigin(),
|
||||||
|
replyInfo = replyTo ?.let { ReplyInfo.Internal(it) },
|
||||||
|
replyMarkup = replyMarkup,
|
||||||
|
senderBot = senderBot,
|
||||||
|
guestBotCallerUser = guestBotCallerUser,
|
||||||
|
guestBotCallerChat = guestBotCallerChat,
|
||||||
|
mediaGroupId = mediaGroupId,
|
||||||
|
fromOffline = fromOffline,
|
||||||
|
effectId = effectId
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -27,6 +27,8 @@ data class PrivateForumContentMessageImpl<T: MessageContent>(
|
|||||||
override val replyInfo: ReplyInfo?,
|
override val replyInfo: ReplyInfo?,
|
||||||
override val replyMarkup: InlineKeyboardMarkup?,
|
override val replyMarkup: InlineKeyboardMarkup?,
|
||||||
override val senderBot: CommonBot?,
|
override val senderBot: CommonBot?,
|
||||||
|
override val guestBotCallerUser: User?,
|
||||||
|
override val guestBotCallerChat: PreviewChat?,
|
||||||
override val mediaGroupId: MediaGroupId?,
|
override val mediaGroupId: MediaGroupId?,
|
||||||
override val fromOffline: Boolean,
|
override val fromOffline: Boolean,
|
||||||
override val effectId: EffectId?,
|
override val effectId: EffectId?,
|
||||||
|
|||||||
@@ -476,26 +476,6 @@ internal data class RawMessage(
|
|||||||
cost = paid_star_count,
|
cost = paid_star_count,
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
(guest_bot_caller_user ?: guest_bot_caller_chat) != null -> {
|
|
||||||
AnswerGuestContentMessageImpl(
|
|
||||||
messageId = messageId,
|
|
||||||
from = checkedFrom ?: from ?: error("Was detected guest message, but owner (sender) of the message was not found"),
|
|
||||||
chat = chat,
|
|
||||||
content = content,
|
|
||||||
date = date.asDate,
|
|
||||||
editDate = edit_date?.asDate,
|
|
||||||
hasProtectedContent = has_protected_content == true,
|
|
||||||
forwardOrigin = forward_origin,
|
|
||||||
replyInfo = replyInfo,
|
|
||||||
replyMarkup = reply_markup,
|
|
||||||
senderBot = via_bot ?: error("For guest answers sender bot must be presented"),
|
|
||||||
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 -> {
|
else -> {
|
||||||
when (chat) {
|
when (chat) {
|
||||||
is PreviewChannelDirectMessagesChat -> {
|
is PreviewChannelDirectMessagesChat -> {
|
||||||
@@ -693,6 +673,8 @@ internal data class RawMessage(
|
|||||||
replyMarkup = reply_markup,
|
replyMarkup = reply_markup,
|
||||||
content = content,
|
content = content,
|
||||||
senderBot = via_bot,
|
senderBot = via_bot,
|
||||||
|
guestBotCallerUser = guest_bot_caller_user,
|
||||||
|
guestBotCallerChat = guest_bot_caller_chat,
|
||||||
mediaGroupId = media_group_id,
|
mediaGroupId = media_group_id,
|
||||||
senderBoostsCount = sender_boost_count,
|
senderBoostsCount = sender_boost_count,
|
||||||
fromOffline = is_from_offline,
|
fromOffline = is_from_offline,
|
||||||
@@ -767,6 +749,8 @@ internal data class RawMessage(
|
|||||||
replyMarkup = reply_markup,
|
replyMarkup = reply_markup,
|
||||||
content = content,
|
content = content,
|
||||||
senderBot = via_bot,
|
senderBot = via_bot,
|
||||||
|
guestBotCallerUser = guest_bot_caller_user,
|
||||||
|
guestBotCallerChat = guest_bot_caller_chat,
|
||||||
mediaGroupId = media_group_id,
|
mediaGroupId = media_group_id,
|
||||||
senderBoostsCount = sender_boost_count,
|
senderBoostsCount = sender_boost_count,
|
||||||
fromOffline = is_from_offline,
|
fromOffline = is_from_offline,
|
||||||
@@ -843,6 +827,8 @@ internal data class RawMessage(
|
|||||||
replyMarkup = reply_markup,
|
replyMarkup = reply_markup,
|
||||||
content = content,
|
content = content,
|
||||||
senderBot = via_bot,
|
senderBot = via_bot,
|
||||||
|
guestBotCallerUser = guest_bot_caller_user,
|
||||||
|
guestBotCallerChat = guest_bot_caller_chat,
|
||||||
mediaGroupId = media_group_id,
|
mediaGroupId = media_group_id,
|
||||||
senderBoostsCount = sender_boost_count,
|
senderBoostsCount = sender_boost_count,
|
||||||
fromOffline = is_from_offline,
|
fromOffline = is_from_offline,
|
||||||
@@ -883,6 +869,8 @@ internal data class RawMessage(
|
|||||||
replyInfo = replyInfo,
|
replyInfo = replyInfo,
|
||||||
replyMarkup = reply_markup,
|
replyMarkup = reply_markup,
|
||||||
senderBot = via_bot,
|
senderBot = via_bot,
|
||||||
|
guestBotCallerUser = guest_bot_caller_user,
|
||||||
|
guestBotCallerChat = guest_bot_caller_chat,
|
||||||
mediaGroupId = media_group_id,
|
mediaGroupId = media_group_id,
|
||||||
fromOffline = is_from_offline,
|
fromOffline = is_from_offline,
|
||||||
effectId = effect_id,
|
effectId = effect_id,
|
||||||
@@ -903,6 +891,8 @@ internal data class RawMessage(
|
|||||||
replyInfo = replyInfo,
|
replyInfo = replyInfo,
|
||||||
replyMarkup = reply_markup,
|
replyMarkup = reply_markup,
|
||||||
senderBot = via_bot,
|
senderBot = via_bot,
|
||||||
|
guestBotCallerUser = guest_bot_caller_user,
|
||||||
|
guestBotCallerChat = guest_bot_caller_chat,
|
||||||
mediaGroupId = media_group_id,
|
mediaGroupId = media_group_id,
|
||||||
fromOffline = is_from_offline,
|
fromOffline = is_from_offline,
|
||||||
effectId = effect_id,
|
effectId = effect_id,
|
||||||
|
|||||||
@@ -6,7 +6,6 @@ import dev.inmo.tgbotapi.types.buttons.InlineKeyboardMarkup
|
|||||||
import dev.inmo.tgbotapi.types.chat.CommonBot
|
import dev.inmo.tgbotapi.types.chat.CommonBot
|
||||||
import dev.inmo.tgbotapi.types.chat.PreviewChat
|
import dev.inmo.tgbotapi.types.chat.PreviewChat
|
||||||
import dev.inmo.tgbotapi.types.chat.User
|
import dev.inmo.tgbotapi.types.chat.User
|
||||||
import dev.inmo.tgbotapi.types.message.abstracts.GuestContentMessage
|
|
||||||
import dev.inmo.tgbotapi.types.message.abstracts.RequestGuestContentMessage
|
import dev.inmo.tgbotapi.types.message.abstracts.RequestGuestContentMessage
|
||||||
import dev.inmo.tgbotapi.types.message.content.MessageContent
|
import dev.inmo.tgbotapi.types.message.content.MessageContent
|
||||||
import kotlinx.serialization.SerialName
|
import kotlinx.serialization.SerialName
|
||||||
|
|||||||
@@ -49,7 +49,7 @@ interface AnonymousGroupContentMessage<T : MessageContent> : GroupContentMessage
|
|||||||
get() = chat
|
get() = chat
|
||||||
}
|
}
|
||||||
|
|
||||||
interface CommonGroupContentMessage<T : MessageContent> : GroupContentMessage<T>, PotentiallyFromUserGroupContentMessage<T>, FromUserMessage
|
interface CommonGroupContentMessage<T : MessageContent> : GroupContentMessage<T>, PotentiallyFromUserGroupContentMessage<T>, FromUserMessage, PossiblyGuestAnswerMessage
|
||||||
|
|
||||||
interface FromChannelForumContentMessage<T: MessageContent> : FromChannelGroupContentMessage<T>, ForumContentMessage<T>
|
interface FromChannelForumContentMessage<T: MessageContent> : FromChannelGroupContentMessage<T>, ForumContentMessage<T>
|
||||||
|
|
||||||
@@ -62,7 +62,7 @@ interface AnonymousForumContentMessage<T : MessageContent> : ForumContentMessage
|
|||||||
get() = chat
|
get() = chat
|
||||||
}
|
}
|
||||||
|
|
||||||
interface CommonForumContentMessage<T : MessageContent> : ForumContentMessage<T>, PotentiallyFromUserGroupContentMessage<T>, FromUserMessage
|
interface CommonForumContentMessage<T : MessageContent> : ForumContentMessage<T>, PotentiallyFromUserGroupContentMessage<T>, FromUserMessage, PossiblyGuestAnswerMessage
|
||||||
|
|
||||||
interface CommonChannelDirectMessagesContentMessage<T : MessageContent> : ChannelDirectMessagesContentMessage<T>, PotentiallyFromUserGroupContentMessage<T>, FromUserMessage
|
interface CommonChannelDirectMessagesContentMessage<T : MessageContent> : ChannelDirectMessagesContentMessage<T>, PotentiallyFromUserGroupContentMessage<T>, FromUserMessage
|
||||||
|
|
||||||
|
|||||||
@@ -4,14 +4,9 @@ import dev.inmo.tgbotapi.types.GuestQueryId
|
|||||||
import dev.inmo.tgbotapi.types.chat.CommonBot
|
import dev.inmo.tgbotapi.types.chat.CommonBot
|
||||||
import dev.inmo.tgbotapi.types.message.content.MessageContent
|
import dev.inmo.tgbotapi.types.message.content.MessageContent
|
||||||
|
|
||||||
sealed interface GuestContentMessage<T: MessageContent> : CommonContentMessage<T>,
|
interface RequestGuestContentMessage<T : MessageContent> : CommonContentMessage<T>,
|
||||||
|
RequestGuestMessage,
|
||||||
|
SpecialMessage,
|
||||||
GuestMessage,
|
GuestMessage,
|
||||||
FromUserMessage,
|
FromUserMessage,
|
||||||
PossiblySentViaBot {
|
PossiblySentViaBot
|
||||||
}
|
|
||||||
|
|
||||||
interface AnswerGuestContentMessage<T : MessageContent> : GuestContentMessage<T>, AnswerGuestMessage, PossiblySentViaBot {
|
|
||||||
override val senderBot: CommonBot
|
|
||||||
}
|
|
||||||
|
|
||||||
interface RequestGuestContentMessage<T : MessageContent> : GuestContentMessage<T>, RequestGuestMessage, SpecialMessage
|
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ package dev.inmo.tgbotapi.types.message.abstracts
|
|||||||
import dev.inmo.tgbotapi.types.chat.PreviewChat
|
import dev.inmo.tgbotapi.types.chat.PreviewChat
|
||||||
import dev.inmo.tgbotapi.types.chat.User
|
import dev.inmo.tgbotapi.types.chat.User
|
||||||
|
|
||||||
interface AnswerGuestMessage : GuestMessage {
|
interface PossiblyGuestAnswerMessage : Message {
|
||||||
val guestBotCallerUser: User
|
val guestBotCallerUser: User?
|
||||||
val guestBotCallerChat: PreviewChat
|
val guestBotCallerChat: PreviewChat?
|
||||||
}
|
}
|
||||||
@@ -3,6 +3,10 @@ package dev.inmo.tgbotapi.types.message.abstracts
|
|||||||
import dev.inmo.tgbotapi.types.chat.PreviewPrivateChat
|
import dev.inmo.tgbotapi.types.chat.PreviewPrivateChat
|
||||||
import dev.inmo.tgbotapi.types.message.content.MessageContent
|
import dev.inmo.tgbotapi.types.message.content.MessageContent
|
||||||
|
|
||||||
interface PrivateContentMessage<T: MessageContent> : PossiblySentViaBotCommonMessage<T>, FromUserMessage, PossiblyOfflineMessage, PossiblyWithEffectMessage {
|
interface PrivateContentMessage<T: MessageContent> : PossiblySentViaBotCommonMessage<T>,
|
||||||
|
FromUserMessage,
|
||||||
|
PossiblyOfflineMessage,
|
||||||
|
PossiblyWithEffectMessage,
|
||||||
|
PossiblyGuestAnswerMessage {
|
||||||
override val chat: PreviewPrivateChat
|
override val chat: PreviewPrivateChat
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,9 +2,6 @@ package dev.inmo.tgbotapi.types.update
|
|||||||
|
|
||||||
import dev.inmo.tgbotapi.types.UpdateId
|
import dev.inmo.tgbotapi.types.UpdateId
|
||||||
import dev.inmo.tgbotapi.types.message.abstracts.AccessibleMessage
|
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.message.abstracts.RequestGuestContentMessage
|
import dev.inmo.tgbotapi.types.message.abstracts.RequestGuestContentMessage
|
||||||
import dev.inmo.tgbotapi.types.update.abstracts.BaseSentMessageUpdate
|
import dev.inmo.tgbotapi.types.update.abstracts.BaseSentMessageUpdate
|
||||||
|
|
||||||
|
|||||||
@@ -62,6 +62,8 @@ fun <T : MediaGroupPartContent> List<CommonContentMessage<T>>.asMediaGroupMessag
|
|||||||
replyInfo = sourceMessage.replyInfo,
|
replyInfo = sourceMessage.replyInfo,
|
||||||
replyMarkup = sourceMessage.replyMarkup,
|
replyMarkup = sourceMessage.replyMarkup,
|
||||||
senderBot = sourceMessage.senderBot,
|
senderBot = sourceMessage.senderBot,
|
||||||
|
guestBotCallerUser = sourceMessage.guestBotCallerUser,
|
||||||
|
guestBotCallerChat = sourceMessage.guestBotCallerChat,
|
||||||
mediaGroupId = sourceMessage.mediaGroupId,
|
mediaGroupId = sourceMessage.mediaGroupId,
|
||||||
fromOffline = sourceMessage.fromOffline,
|
fromOffline = sourceMessage.fromOffline,
|
||||||
effectId = sourceMessage.effectId,
|
effectId = sourceMessage.effectId,
|
||||||
@@ -95,6 +97,8 @@ fun <T : MediaGroupPartContent> List<CommonContentMessage<T>>.asMediaGroupMessag
|
|||||||
replyMarkup = sourceMessage.replyMarkup,
|
replyMarkup = sourceMessage.replyMarkup,
|
||||||
content = content,
|
content = content,
|
||||||
senderBot = sourceMessage.senderBot,
|
senderBot = sourceMessage.senderBot,
|
||||||
|
guestBotCallerUser = sourceMessage.guestBotCallerUser,
|
||||||
|
guestBotCallerChat = sourceMessage.guestBotCallerChat,
|
||||||
mediaGroupId = sourceMessage.mediaGroupId,
|
mediaGroupId = sourceMessage.mediaGroupId,
|
||||||
senderBoostsCount = sourceMessage.senderBoostsCount,
|
senderBoostsCount = sourceMessage.senderBoostsCount,
|
||||||
fromOffline = sourceMessage.fromOffline,
|
fromOffline = sourceMessage.fromOffline,
|
||||||
@@ -165,6 +169,8 @@ fun <T : MediaGroupPartContent> List<CommonContentMessage<T>>.asMediaGroupMessag
|
|||||||
replyMarkup = sourceMessage.replyMarkup,
|
replyMarkup = sourceMessage.replyMarkup,
|
||||||
content = content,
|
content = content,
|
||||||
senderBot = sourceMessage.senderBot,
|
senderBot = sourceMessage.senderBot,
|
||||||
|
guestBotCallerUser = sourceMessage.guestBotCallerUser,
|
||||||
|
guestBotCallerChat = sourceMessage.guestBotCallerChat,
|
||||||
mediaGroupId = sourceMessage.mediaGroupId,
|
mediaGroupId = sourceMessage.mediaGroupId,
|
||||||
senderBoostsCount = sourceMessage.senderBoostsCount,
|
senderBoostsCount = sourceMessage.senderBoostsCount,
|
||||||
fromOffline = sourceMessage.fromOffline,
|
fromOffline = sourceMessage.fromOffline,
|
||||||
@@ -284,23 +290,5 @@ fun <T : MediaGroupPartContent> List<CommonContentMessage<T>>.asMediaGroupMessag
|
|||||||
fromOffline = sourceMessage.fromOffline,
|
fromOffline = sourceMessage.fromOffline,
|
||||||
cost = sourceMessage.cost,
|
cost = sourceMessage.cost,
|
||||||
)
|
)
|
||||||
is AnswerGuestContentMessage -> AnswerGuestContentMessageImpl(
|
|
||||||
messageId = sourceMessage.messageId,
|
|
||||||
from = sourceMessage.user,
|
|
||||||
chat = sourceMessage.chat,
|
|
||||||
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,
|
|
||||||
)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1092,12 +1092,6 @@ public final class dev/inmo/tgbotapi/extensions/utils/ClassCastsNewKt {
|
|||||||
public static final fun anonymousForumContentMessageOrThrow (Ldev/inmo/tgbotapi/types/message/abstracts/Message;)Ldev/inmo/tgbotapi/types/message/abstracts/AnonymousForumContentMessage;
|
public static final fun anonymousForumContentMessageOrThrow (Ldev/inmo/tgbotapi/types/message/abstracts/Message;)Ldev/inmo/tgbotapi/types/message/abstracts/AnonymousForumContentMessage;
|
||||||
public static final fun anonymousGroupContentMessageOrNull (Ldev/inmo/tgbotapi/types/message/abstracts/Message;)Ldev/inmo/tgbotapi/types/message/abstracts/AnonymousGroupContentMessage;
|
public static final fun anonymousGroupContentMessageOrNull (Ldev/inmo/tgbotapi/types/message/abstracts/Message;)Ldev/inmo/tgbotapi/types/message/abstracts/AnonymousGroupContentMessage;
|
||||||
public static final fun anonymousGroupContentMessageOrThrow (Ldev/inmo/tgbotapi/types/message/abstracts/Message;)Ldev/inmo/tgbotapi/types/message/abstracts/AnonymousGroupContentMessage;
|
public static final fun anonymousGroupContentMessageOrThrow (Ldev/inmo/tgbotapi/types/message/abstracts/Message;)Ldev/inmo/tgbotapi/types/message/abstracts/AnonymousGroupContentMessage;
|
||||||
public static final fun answerGuestContentMessageOrNull (Ldev/inmo/tgbotapi/abstracts/OptionallyWithUser;)Ldev/inmo/tgbotapi/types/message/abstracts/AnswerGuestContentMessage;
|
|
||||||
public static final fun answerGuestContentMessageOrNull (Ldev/inmo/tgbotapi/types/message/abstracts/Message;)Ldev/inmo/tgbotapi/types/message/abstracts/AnswerGuestContentMessage;
|
|
||||||
public static final fun answerGuestContentMessageOrThrow (Ldev/inmo/tgbotapi/abstracts/OptionallyWithUser;)Ldev/inmo/tgbotapi/types/message/abstracts/AnswerGuestContentMessage;
|
|
||||||
public static final fun answerGuestContentMessageOrThrow (Ldev/inmo/tgbotapi/types/message/abstracts/Message;)Ldev/inmo/tgbotapi/types/message/abstracts/AnswerGuestContentMessage;
|
|
||||||
public static final fun answerGuestMessageOrNull (Ldev/inmo/tgbotapi/types/message/abstracts/Message;)Ldev/inmo/tgbotapi/types/message/abstracts/AnswerGuestMessage;
|
|
||||||
public static final fun answerGuestMessageOrThrow (Ldev/inmo/tgbotapi/types/message/abstracts/Message;)Ldev/inmo/tgbotapi/types/message/abstracts/AnswerGuestMessage;
|
|
||||||
public static final fun anyOrNull (Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonRequestUsers;)Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonRequestUsers$Any;
|
public static final fun anyOrNull (Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonRequestUsers;)Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonRequestUsers$Any;
|
||||||
public static final fun anyOrThrow (Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonRequestUsers;)Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonRequestUsers$Any;
|
public static final fun anyOrThrow (Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonRequestUsers;)Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonRequestUsers$Any;
|
||||||
public static final fun approximateScheduledCloseInfoOrNull (Ldev/inmo/tgbotapi/types/polls/ScheduledCloseInfo;)Ldev/inmo/tgbotapi/types/polls/ApproximateScheduledCloseInfo;
|
public static final fun approximateScheduledCloseInfoOrNull (Ldev/inmo/tgbotapi/types/polls/ScheduledCloseInfo;)Ldev/inmo/tgbotapi/types/polls/ApproximateScheduledCloseInfo;
|
||||||
@@ -1578,10 +1572,6 @@ 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 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 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 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 guestMessageOrNull (Ldev/inmo/tgbotapi/types/message/abstracts/Message;)Ldev/inmo/tgbotapi/types/message/abstracts/GuestMessage;
|
public static final fun guestMessageOrNull (Ldev/inmo/tgbotapi/types/message/abstracts/Message;)Ldev/inmo/tgbotapi/types/message/abstracts/GuestMessage;
|
||||||
public static final fun guestMessageOrThrow (Ldev/inmo/tgbotapi/types/message/abstracts/Message;)Ldev/inmo/tgbotapi/types/message/abstracts/GuestMessage;
|
public static final fun guestMessageOrThrow (Ldev/inmo/tgbotapi/types/message/abstracts/Message;)Ldev/inmo/tgbotapi/types/message/abstracts/GuestMessage;
|
||||||
public static final fun guestMessageUpdateOrNull (Ldev/inmo/tgbotapi/types/update/abstracts/Update;)Ldev/inmo/tgbotapi/types/update/GuestMessageUpdate;
|
public static final fun guestMessageUpdateOrNull (Ldev/inmo/tgbotapi/types/update/abstracts/Update;)Ldev/inmo/tgbotapi/types/update/GuestMessageUpdate;
|
||||||
@@ -1609,9 +1599,6 @@ public final class dev/inmo/tgbotapi/extensions/utils/ClassCastsNewKt {
|
|||||||
public static final fun ifAnimationFile (Ldev/inmo/tgbotapi/types/media/BaseTelegramMediaFile;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object;
|
public static final fun ifAnimationFile (Ldev/inmo/tgbotapi/types/media/BaseTelegramMediaFile;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object;
|
||||||
public static final fun ifAnonymousForumContentMessage (Ldev/inmo/tgbotapi/types/message/abstracts/Message;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object;
|
public static final fun ifAnonymousForumContentMessage (Ldev/inmo/tgbotapi/types/message/abstracts/Message;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object;
|
||||||
public static final fun ifAnonymousGroupContentMessage (Ldev/inmo/tgbotapi/types/message/abstracts/Message;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object;
|
public static final fun ifAnonymousGroupContentMessage (Ldev/inmo/tgbotapi/types/message/abstracts/Message;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object;
|
||||||
public static final fun ifAnswerGuestContentMessage (Ldev/inmo/tgbotapi/abstracts/OptionallyWithUser;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object;
|
|
||||||
public static final fun ifAnswerGuestContentMessage (Ldev/inmo/tgbotapi/types/message/abstracts/Message;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object;
|
|
||||||
public static final fun ifAnswerGuestMessage (Ldev/inmo/tgbotapi/types/message/abstracts/Message;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object;
|
|
||||||
public static final fun ifAny (Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonRequestUsers;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object;
|
public static final fun ifAny (Ldev/inmo/tgbotapi/types/buttons/KeyboardButtonRequestUsers;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object;
|
||||||
public static final fun ifApproximateScheduledCloseInfo (Ldev/inmo/tgbotapi/types/polls/ScheduledCloseInfo;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object;
|
public static final fun ifApproximateScheduledCloseInfo (Ldev/inmo/tgbotapi/types/polls/ScheduledCloseInfo;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object;
|
||||||
public static final fun ifAudioContent (Ldev/inmo/tgbotapi/types/message/content/ResendableContent;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object;
|
public static final fun ifAudioContent (Ldev/inmo/tgbotapi/types/message/content/ResendableContent;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object;
|
||||||
@@ -1852,8 +1839,6 @@ 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 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/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 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 ifGuestMessage (Ldev/inmo/tgbotapi/types/message/abstracts/Message;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object;
|
public static final fun ifGuestMessage (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 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 ifHashTagTextSource (Ldev/inmo/tgbotapi/types/message/textsources/TextSource;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object;
|
||||||
@@ -2008,6 +1993,7 @@ public final class dev/inmo/tgbotapi/extensions/utils/ClassCastsNewKt {
|
|||||||
public static final fun ifPollUpdate (Ldev/inmo/tgbotapi/types/update/abstracts/Update;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object;
|
public static final fun ifPollUpdate (Ldev/inmo/tgbotapi/types/update/abstracts/Update;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object;
|
||||||
public static final fun ifPossiblyEditedMessage (Ldev/inmo/tgbotapi/types/message/abstracts/Message;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object;
|
public static final fun ifPossiblyEditedMessage (Ldev/inmo/tgbotapi/types/message/abstracts/Message;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object;
|
||||||
public static final fun ifPossiblyForwardedMessage (Ldev/inmo/tgbotapi/types/message/abstracts/Message;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object;
|
public static final fun ifPossiblyForwardedMessage (Ldev/inmo/tgbotapi/types/message/abstracts/Message;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object;
|
||||||
|
public static final fun ifPossiblyGuestAnswerMessage (Ldev/inmo/tgbotapi/types/message/abstracts/Message;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object;
|
||||||
public static final fun ifPossiblyMediaGroupMessage (Ldev/inmo/tgbotapi/types/message/abstracts/Message;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object;
|
public static final fun ifPossiblyMediaGroupMessage (Ldev/inmo/tgbotapi/types/message/abstracts/Message;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object;
|
||||||
public static final fun ifPossiblyOfflineMessage (Ldev/inmo/tgbotapi/types/message/abstracts/Message;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object;
|
public static final fun ifPossiblyOfflineMessage (Ldev/inmo/tgbotapi/types/message/abstracts/Message;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object;
|
||||||
public static final fun ifPossiblyPaidMessage (Ldev/inmo/tgbotapi/types/message/abstracts/Message;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object;
|
public static final fun ifPossiblyPaidMessage (Ldev/inmo/tgbotapi/types/message/abstracts/Message;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object;
|
||||||
@@ -2538,6 +2524,8 @@ public final class dev/inmo/tgbotapi/extensions/utils/ClassCastsNewKt {
|
|||||||
public static final fun possiblyEditedMessageOrThrow (Ldev/inmo/tgbotapi/types/message/abstracts/Message;)Ldev/inmo/tgbotapi/types/message/abstracts/PossiblyEditedMessage;
|
public static final fun possiblyEditedMessageOrThrow (Ldev/inmo/tgbotapi/types/message/abstracts/Message;)Ldev/inmo/tgbotapi/types/message/abstracts/PossiblyEditedMessage;
|
||||||
public static final fun possiblyForwardedMessageOrNull (Ldev/inmo/tgbotapi/types/message/abstracts/Message;)Ldev/inmo/tgbotapi/types/message/abstracts/PossiblyForwardedMessage;
|
public static final fun possiblyForwardedMessageOrNull (Ldev/inmo/tgbotapi/types/message/abstracts/Message;)Ldev/inmo/tgbotapi/types/message/abstracts/PossiblyForwardedMessage;
|
||||||
public static final fun possiblyForwardedMessageOrThrow (Ldev/inmo/tgbotapi/types/message/abstracts/Message;)Ldev/inmo/tgbotapi/types/message/abstracts/PossiblyForwardedMessage;
|
public static final fun possiblyForwardedMessageOrThrow (Ldev/inmo/tgbotapi/types/message/abstracts/Message;)Ldev/inmo/tgbotapi/types/message/abstracts/PossiblyForwardedMessage;
|
||||||
|
public static final fun possiblyGuestAnswerMessageOrNull (Ldev/inmo/tgbotapi/types/message/abstracts/Message;)Ldev/inmo/tgbotapi/types/message/abstracts/PossiblyGuestAnswerMessage;
|
||||||
|
public static final fun possiblyGuestAnswerMessageOrThrow (Ldev/inmo/tgbotapi/types/message/abstracts/Message;)Ldev/inmo/tgbotapi/types/message/abstracts/PossiblyGuestAnswerMessage;
|
||||||
public static final fun possiblyMediaGroupMessageOrNull (Ldev/inmo/tgbotapi/types/message/abstracts/Message;)Ldev/inmo/tgbotapi/types/message/abstracts/PossiblyMediaGroupMessage;
|
public static final fun possiblyMediaGroupMessageOrNull (Ldev/inmo/tgbotapi/types/message/abstracts/Message;)Ldev/inmo/tgbotapi/types/message/abstracts/PossiblyMediaGroupMessage;
|
||||||
public static final fun possiblyMediaGroupMessageOrThrow (Ldev/inmo/tgbotapi/types/message/abstracts/Message;)Ldev/inmo/tgbotapi/types/message/abstracts/PossiblyMediaGroupMessage;
|
public static final fun possiblyMediaGroupMessageOrThrow (Ldev/inmo/tgbotapi/types/message/abstracts/Message;)Ldev/inmo/tgbotapi/types/message/abstracts/PossiblyMediaGroupMessage;
|
||||||
public static final fun possiblyOfflineMessageOrNull (Ldev/inmo/tgbotapi/types/message/abstracts/Message;)Ldev/inmo/tgbotapi/types/message/abstracts/PossiblyOfflineMessage;
|
public static final fun possiblyOfflineMessageOrNull (Ldev/inmo/tgbotapi/types/message/abstracts/Message;)Ldev/inmo/tgbotapi/types/message/abstracts/PossiblyOfflineMessage;
|
||||||
|
|||||||
@@ -325,8 +325,6 @@ import dev.inmo.tgbotapi.types.message.PrivateForumEventMessage
|
|||||||
import dev.inmo.tgbotapi.types.message.abstracts.AccessibleMessage
|
import dev.inmo.tgbotapi.types.message.abstracts.AccessibleMessage
|
||||||
import dev.inmo.tgbotapi.types.message.abstracts.AnonymousForumContentMessage
|
import dev.inmo.tgbotapi.types.message.abstracts.AnonymousForumContentMessage
|
||||||
import dev.inmo.tgbotapi.types.message.abstracts.AnonymousGroupContentMessage
|
import dev.inmo.tgbotapi.types.message.abstracts.AnonymousGroupContentMessage
|
||||||
import dev.inmo.tgbotapi.types.message.abstracts.AnswerGuestContentMessage
|
|
||||||
import dev.inmo.tgbotapi.types.message.abstracts.AnswerGuestMessage
|
|
||||||
import dev.inmo.tgbotapi.types.message.abstracts.BusinessContentMessage
|
import dev.inmo.tgbotapi.types.message.abstracts.BusinessContentMessage
|
||||||
import dev.inmo.tgbotapi.types.message.abstracts.ChannelContentMessage
|
import dev.inmo.tgbotapi.types.message.abstracts.ChannelContentMessage
|
||||||
import dev.inmo.tgbotapi.types.message.abstracts.ChannelDirectMessagesContentMessage
|
import dev.inmo.tgbotapi.types.message.abstracts.ChannelDirectMessagesContentMessage
|
||||||
@@ -350,13 +348,13 @@ import dev.inmo.tgbotapi.types.message.abstracts.FromChannelSuggestedChannelDire
|
|||||||
import dev.inmo.tgbotapi.types.message.abstracts.FromUserMessage
|
import dev.inmo.tgbotapi.types.message.abstracts.FromUserMessage
|
||||||
import dev.inmo.tgbotapi.types.message.abstracts.GroupContentMessage
|
import dev.inmo.tgbotapi.types.message.abstracts.GroupContentMessage
|
||||||
import dev.inmo.tgbotapi.types.message.abstracts.GroupEventMessage
|
import dev.inmo.tgbotapi.types.message.abstracts.GroupEventMessage
|
||||||
import dev.inmo.tgbotapi.types.message.abstracts.GuestContentMessage
|
|
||||||
import dev.inmo.tgbotapi.types.message.abstracts.GuestMessage
|
import dev.inmo.tgbotapi.types.message.abstracts.GuestMessage
|
||||||
import dev.inmo.tgbotapi.types.message.abstracts.InaccessibleMessage
|
import dev.inmo.tgbotapi.types.message.abstracts.InaccessibleMessage
|
||||||
import dev.inmo.tgbotapi.types.message.abstracts.Message
|
import dev.inmo.tgbotapi.types.message.abstracts.Message
|
||||||
import dev.inmo.tgbotapi.types.message.abstracts.OptionallyFromUserMessage
|
import dev.inmo.tgbotapi.types.message.abstracts.OptionallyFromUserMessage
|
||||||
import dev.inmo.tgbotapi.types.message.abstracts.PossiblyEditedMessage
|
import dev.inmo.tgbotapi.types.message.abstracts.PossiblyEditedMessage
|
||||||
import dev.inmo.tgbotapi.types.message.abstracts.PossiblyForwardedMessage
|
import dev.inmo.tgbotapi.types.message.abstracts.PossiblyForwardedMessage
|
||||||
|
import dev.inmo.tgbotapi.types.message.abstracts.PossiblyGuestAnswerMessage
|
||||||
import dev.inmo.tgbotapi.types.message.abstracts.PossiblyMediaGroupMessage
|
import dev.inmo.tgbotapi.types.message.abstracts.PossiblyMediaGroupMessage
|
||||||
import dev.inmo.tgbotapi.types.message.abstracts.PossiblyOfflineMessage
|
import dev.inmo.tgbotapi.types.message.abstracts.PossiblyOfflineMessage
|
||||||
import dev.inmo.tgbotapi.types.message.abstracts.PossiblyPaidMessage
|
import dev.inmo.tgbotapi.types.message.abstracts.PossiblyPaidMessage
|
||||||
@@ -851,18 +849,6 @@ public inline fun OptionallyWithUser.channelContentMessageOrThrow(): ChannelCont
|
|||||||
|
|
||||||
public inline fun <T> OptionallyWithUser.ifChannelContentMessage(block: (ChannelContentMessage<MessageContent>) -> T): T? = channelContentMessageOrNull() ?.let(block)
|
public inline fun <T> OptionallyWithUser.ifChannelContentMessage(block: (ChannelContentMessage<MessageContent>) -> T): T? = channelContentMessageOrNull() ?.let(block)
|
||||||
|
|
||||||
public inline fun OptionallyWithUser.guestContentMessageOrNull(): GuestContentMessage<MessageContent>? = this as? dev.inmo.tgbotapi.types.message.abstracts.GuestContentMessage<dev.inmo.tgbotapi.types.message.content.MessageContent>
|
|
||||||
|
|
||||||
public inline fun OptionallyWithUser.guestContentMessageOrThrow(): GuestContentMessage<MessageContent> = this as dev.inmo.tgbotapi.types.message.abstracts.GuestContentMessage<dev.inmo.tgbotapi.types.message.content.MessageContent>
|
|
||||||
|
|
||||||
public inline fun <T> OptionallyWithUser.ifGuestContentMessage(block: (GuestContentMessage<MessageContent>) -> T): T? = guestContentMessageOrNull() ?.let(block)
|
|
||||||
|
|
||||||
public inline fun OptionallyWithUser.answerGuestContentMessageOrNull(): AnswerGuestContentMessage<MessageContent>? = this as? dev.inmo.tgbotapi.types.message.abstracts.AnswerGuestContentMessage<dev.inmo.tgbotapi.types.message.content.MessageContent>
|
|
||||||
|
|
||||||
public inline fun OptionallyWithUser.answerGuestContentMessageOrThrow(): AnswerGuestContentMessage<MessageContent> = this as dev.inmo.tgbotapi.types.message.abstracts.AnswerGuestContentMessage<dev.inmo.tgbotapi.types.message.content.MessageContent>
|
|
||||||
|
|
||||||
public inline fun <T> OptionallyWithUser.ifAnswerGuestContentMessage(block: (AnswerGuestContentMessage<MessageContent>) -> T): T? = answerGuestContentMessageOrNull() ?.let(block)
|
|
||||||
|
|
||||||
public inline fun OptionallyWithUser.requestGuestContentMessageOrNull(): RequestGuestContentMessage<MessageContent>? = this as? dev.inmo.tgbotapi.types.message.abstracts.RequestGuestContentMessage<dev.inmo.tgbotapi.types.message.content.MessageContent>
|
public inline fun OptionallyWithUser.requestGuestContentMessageOrNull(): RequestGuestContentMessage<MessageContent>? = this as? dev.inmo.tgbotapi.types.message.abstracts.RequestGuestContentMessage<dev.inmo.tgbotapi.types.message.content.MessageContent>
|
||||||
|
|
||||||
public inline fun OptionallyWithUser.requestGuestContentMessageOrThrow(): RequestGuestContentMessage<MessageContent> = this as dev.inmo.tgbotapi.types.message.abstracts.RequestGuestContentMessage<dev.inmo.tgbotapi.types.message.content.MessageContent>
|
public inline fun OptionallyWithUser.requestGuestContentMessageOrThrow(): RequestGuestContentMessage<MessageContent> = this as dev.inmo.tgbotapi.types.message.abstracts.RequestGuestContentMessage<dev.inmo.tgbotapi.types.message.content.MessageContent>
|
||||||
@@ -2219,12 +2205,6 @@ public inline fun Message.possiblyOfflineMessageOrThrow(): PossiblyOfflineMessag
|
|||||||
|
|
||||||
public inline fun <T> Message.ifPossiblyOfflineMessage(block: (PossiblyOfflineMessage) -> T): T? = possiblyOfflineMessageOrNull() ?.let(block)
|
public inline fun <T> Message.ifPossiblyOfflineMessage(block: (PossiblyOfflineMessage) -> T): T? = possiblyOfflineMessageOrNull() ?.let(block)
|
||||||
|
|
||||||
public inline fun Message.answerGuestMessageOrNull(): AnswerGuestMessage? = this as? dev.inmo.tgbotapi.types.message.abstracts.AnswerGuestMessage
|
|
||||||
|
|
||||||
public inline fun Message.answerGuestMessageOrThrow(): AnswerGuestMessage = this as dev.inmo.tgbotapi.types.message.abstracts.AnswerGuestMessage
|
|
||||||
|
|
||||||
public inline fun <T> Message.ifAnswerGuestMessage(block: (AnswerGuestMessage) -> T): T? = answerGuestMessageOrNull() ?.let(block)
|
|
||||||
|
|
||||||
public inline fun Message.businessContentMessageOrNull(): BusinessContentMessage<MessageContent>? = this as? dev.inmo.tgbotapi.types.message.abstracts.BusinessContentMessage<dev.inmo.tgbotapi.types.message.content.MessageContent>
|
public inline fun Message.businessContentMessageOrNull(): BusinessContentMessage<MessageContent>? = this as? dev.inmo.tgbotapi.types.message.abstracts.BusinessContentMessage<dev.inmo.tgbotapi.types.message.content.MessageContent>
|
||||||
|
|
||||||
public inline fun Message.businessContentMessageOrThrow(): BusinessContentMessage<MessageContent> = this as dev.inmo.tgbotapi.types.message.abstracts.BusinessContentMessage<dev.inmo.tgbotapi.types.message.content.MessageContent>
|
public inline fun Message.businessContentMessageOrThrow(): BusinessContentMessage<MessageContent> = this as dev.inmo.tgbotapi.types.message.abstracts.BusinessContentMessage<dev.inmo.tgbotapi.types.message.content.MessageContent>
|
||||||
@@ -2369,18 +2349,6 @@ public inline fun Message.channelContentMessageOrThrow(): ChannelContentMessage<
|
|||||||
|
|
||||||
public inline fun <T> Message.ifChannelContentMessage(block: (ChannelContentMessage<MessageContent>) -> T): T? = channelContentMessageOrNull() ?.let(block)
|
public inline fun <T> Message.ifChannelContentMessage(block: (ChannelContentMessage<MessageContent>) -> T): T? = channelContentMessageOrNull() ?.let(block)
|
||||||
|
|
||||||
public inline fun Message.guestContentMessageOrNull(): GuestContentMessage<MessageContent>? = this as? dev.inmo.tgbotapi.types.message.abstracts.GuestContentMessage<dev.inmo.tgbotapi.types.message.content.MessageContent>
|
|
||||||
|
|
||||||
public inline fun Message.guestContentMessageOrThrow(): GuestContentMessage<MessageContent> = this as dev.inmo.tgbotapi.types.message.abstracts.GuestContentMessage<dev.inmo.tgbotapi.types.message.content.MessageContent>
|
|
||||||
|
|
||||||
public inline fun <T> Message.ifGuestContentMessage(block: (GuestContentMessage<MessageContent>) -> T): T? = guestContentMessageOrNull() ?.let(block)
|
|
||||||
|
|
||||||
public inline fun Message.answerGuestContentMessageOrNull(): AnswerGuestContentMessage<MessageContent>? = this as? dev.inmo.tgbotapi.types.message.abstracts.AnswerGuestContentMessage<dev.inmo.tgbotapi.types.message.content.MessageContent>
|
|
||||||
|
|
||||||
public inline fun Message.answerGuestContentMessageOrThrow(): AnswerGuestContentMessage<MessageContent> = this as dev.inmo.tgbotapi.types.message.abstracts.AnswerGuestContentMessage<dev.inmo.tgbotapi.types.message.content.MessageContent>
|
|
||||||
|
|
||||||
public inline fun <T> Message.ifAnswerGuestContentMessage(block: (AnswerGuestContentMessage<MessageContent>) -> T): T? = answerGuestContentMessageOrNull() ?.let(block)
|
|
||||||
|
|
||||||
public inline fun Message.requestGuestContentMessageOrNull(): RequestGuestContentMessage<MessageContent>? = this as? dev.inmo.tgbotapi.types.message.abstracts.RequestGuestContentMessage<dev.inmo.tgbotapi.types.message.content.MessageContent>
|
public inline fun Message.requestGuestContentMessageOrNull(): RequestGuestContentMessage<MessageContent>? = this as? dev.inmo.tgbotapi.types.message.abstracts.RequestGuestContentMessage<dev.inmo.tgbotapi.types.message.content.MessageContent>
|
||||||
|
|
||||||
public inline fun Message.requestGuestContentMessageOrThrow(): RequestGuestContentMessage<MessageContent> = this as dev.inmo.tgbotapi.types.message.abstracts.RequestGuestContentMessage<dev.inmo.tgbotapi.types.message.content.MessageContent>
|
public inline fun Message.requestGuestContentMessageOrThrow(): RequestGuestContentMessage<MessageContent> = this as dev.inmo.tgbotapi.types.message.abstracts.RequestGuestContentMessage<dev.inmo.tgbotapi.types.message.content.MessageContent>
|
||||||
@@ -2465,6 +2433,12 @@ public inline fun Message.publicContentMessageOrThrow(): PublicContentMessage<Me
|
|||||||
|
|
||||||
public inline fun <T> Message.ifPublicContentMessage(block: (PublicContentMessage<MessageContent>) -> T): T? = publicContentMessageOrNull() ?.let(block)
|
public inline fun <T> Message.ifPublicContentMessage(block: (PublicContentMessage<MessageContent>) -> T): T? = publicContentMessageOrNull() ?.let(block)
|
||||||
|
|
||||||
|
public inline fun Message.possiblyGuestAnswerMessageOrNull(): PossiblyGuestAnswerMessage? = this as? dev.inmo.tgbotapi.types.message.abstracts.PossiblyGuestAnswerMessage
|
||||||
|
|
||||||
|
public inline fun Message.possiblyGuestAnswerMessageOrThrow(): PossiblyGuestAnswerMessage = this as dev.inmo.tgbotapi.types.message.abstracts.PossiblyGuestAnswerMessage
|
||||||
|
|
||||||
|
public inline fun <T> Message.ifPossiblyGuestAnswerMessage(block: (PossiblyGuestAnswerMessage) -> T): T? = possiblyGuestAnswerMessageOrNull() ?.let(block)
|
||||||
|
|
||||||
public inline fun Message.commonContentMessageOrNull(): CommonContentMessage<MessageContent>? = this as? dev.inmo.tgbotapi.types.message.abstracts.CommonContentMessage<dev.inmo.tgbotapi.types.message.content.MessageContent>
|
public inline fun Message.commonContentMessageOrNull(): CommonContentMessage<MessageContent>? = this as? dev.inmo.tgbotapi.types.message.abstracts.CommonContentMessage<dev.inmo.tgbotapi.types.message.content.MessageContent>
|
||||||
|
|
||||||
public inline fun Message.commonContentMessageOrThrow(): CommonContentMessage<MessageContent> = this as dev.inmo.tgbotapi.types.message.abstracts.CommonContentMessage<dev.inmo.tgbotapi.types.message.content.MessageContent>
|
public inline fun Message.commonContentMessageOrThrow(): CommonContentMessage<MessageContent> = this as dev.inmo.tgbotapi.types.message.abstracts.CommonContentMessage<dev.inmo.tgbotapi.types.message.content.MessageContent>
|
||||||
|
|||||||
Reference in New Issue
Block a user