diff --git a/docs/dev.inmo.tgbotapi.types.InlineQueries.query/-inline-query/from.html b/docs/dev.inmo.tgbotapi.CommonAbstracts/-from-user/from.html similarity index 89% rename from docs/dev.inmo.tgbotapi.types.InlineQueries.query/-inline-query/from.html rename to docs/dev.inmo.tgbotapi.CommonAbstracts/-from-user/from.html index f71c26a368..b73ac16b28 100644 --- a/docs/dev.inmo.tgbotapi.types.InlineQueries.query/-inline-query/from.html +++ b/docs/dev.inmo.tgbotapi.CommonAbstracts/-from-user/from.html @@ -13,9 +13,9 @@
-
+
diff --git a/docs/dev.inmo.tgbotapi.CommonAbstracts/-from-user/index.html b/docs/dev.inmo.tgbotapi.CommonAbstracts/-from-user/index.html index ac40bef50c..4855dd2d41 100644 --- a/docs/dev.inmo.tgbotapi.CommonAbstracts/-from-user/index.html +++ b/docs/dev.inmo.tgbotapi.CommonAbstracts/-from-user/index.html @@ -23,13 +23,29 @@

FromUser

-
interface FromUser
+
interface FromUser : WithUser

Inheritors of this interface have some User as a source of data. For example, any dev.inmo.tgbotapi.types.CallbackQuery.CallbackQuery have User as the source of that query

Properties

-
+
+
+
+
from +
Link copied to clipboard
+
+
+
+
common
+
+
+
abstract val from: User

The source User of this type

+
+
+
+
+
user @@ -40,7 +56,7 @@
common
-
abstract val user: User
+
open override val user: User
@@ -65,6 +81,24 @@
+ +
+
+
InlineQuery +
Link copied to clipboard
+
+
+
+
+ +
+
+
UserForwardInfo +
Link copied to clipboard
+
+
+
+
diff --git a/docs/dev.inmo.tgbotapi.CommonAbstracts/-from-user/user.html b/docs/dev.inmo.tgbotapi.CommonAbstracts/-from-user/user.html index f257e83226..b94d929104 100644 --- a/docs/dev.inmo.tgbotapi.CommonAbstracts/-from-user/user.html +++ b/docs/dev.inmo.tgbotapi.CommonAbstracts/-from-user/user.html @@ -27,7 +27,7 @@
-
abstract val user: User
+
open override val user: User
diff --git a/docs/dev.inmo.tgbotapi.CommonAbstracts/-with-user/index.html b/docs/dev.inmo.tgbotapi.CommonAbstracts/-with-user/index.html new file mode 100644 index 0000000000..0c4a8c2f24 --- /dev/null +++ b/docs/dev.inmo.tgbotapi.CommonAbstracts/-with-user/index.html @@ -0,0 +1,90 @@ + + + + WithUser + + +
+
+ + +
+
+
+
+
+
+ +
+

WithUser

+
interface WithUser

All inheritors of this type have User in their data as one of the main data

+
+
+
+
+

See also

+ +

Properties

+
+
+
+
user +
Link copied to clipboard
+
+
+
+
common
+
+
+
abstract val user: User
+
+
+
+
+
+

Inheritors

+
+
+
+
FromUser +
Link copied to clipboard
+
+
+
+
+ +
+
+
ChatMember +
Link copied to clipboard
+
+
+
+
+ +
+
+
LeftChatMember +
Link copied to clipboard
+
+
+
+
+
+
+
+
+ +
+
+ + + diff --git a/docs/dev.inmo.tgbotapi.types.ChatMember.abstracts/-chat-member/user.html b/docs/dev.inmo.tgbotapi.CommonAbstracts/-with-user/user.html similarity index 92% rename from docs/dev.inmo.tgbotapi.types.ChatMember.abstracts/-chat-member/user.html rename to docs/dev.inmo.tgbotapi.CommonAbstracts/-with-user/user.html index 6691aaddf9..191a425fcf 100644 --- a/docs/dev.inmo.tgbotapi.types.ChatMember.abstracts/-chat-member/user.html +++ b/docs/dev.inmo.tgbotapi.CommonAbstracts/-with-user/user.html @@ -13,9 +13,9 @@
-
+
-
-

Properties

-
+
-
DirectInvocationOfTextSourceConstructor +
WithUser
Link copied to clipboard
common
-
-
const val DirectInvocationOfTextSourceConstructor: String
-
+
+ +
+
interface WithUser
+
+

All inheritors of this type have User in their data as one of the main data

+
diff --git a/docs/dev.inmo.tgbotapi.bot/-base-requests-executor/index.html b/docs/dev.inmo.tgbotapi.bot/-base-requests-executor/index.html index 9343f33a9d..8a10e73d59 100644 --- a/docs/dev.inmo.tgbotapi.bot/-base-requests-executor/index.html +++ b/docs/dev.inmo.tgbotapi.bot/-base-requests-executor/index.html @@ -32,7 +32,7 @@
-
close +
close
Link copied to clipboard
@@ -42,7 +42,7 @@
-
abstract fun close()
+
abstract fun close()
diff --git a/docs/dev.inmo.tgbotapi.bot/-requests-executor/index.html b/docs/dev.inmo.tgbotapi.bot/-requests-executor/index.html index 75c19dfcd7..2ac1c0db59 100644 --- a/docs/dev.inmo.tgbotapi.bot/-requests-executor/index.html +++ b/docs/dev.inmo.tgbotapi.bot/-requests-executor/index.html @@ -36,7 +36,7 @@
-
close +
close
Link copied to clipboard
@@ -46,7 +46,7 @@
-
abstract fun close()
+
abstract fun close()
@@ -75,16 +75,7 @@

Inheritors

-
-
-
-
BaseRequestsExecutor -
Link copied to clipboard
-
-
-
-
- +
BehaviourContext @@ -102,6 +93,15 @@
+ +
+
+
BaseRequestsExecutor +
Link copied to clipboard
+
+
+
+

Extensions

diff --git a/docs/dev.inmo.tgbotapi.extensions.api.edit.LiveLocation/edit-live-location.html b/docs/dev.inmo.tgbotapi.extensions.api.edit.LiveLocation/edit-live-location.html index 48fb27a4f5..ad64ab432b 100644 --- a/docs/dev.inmo.tgbotapi.extensions.api.edit.LiveLocation/edit-live-location.html +++ b/docs/dev.inmo.tgbotapi.extensions.api.edit.LiveLocation/edit-live-location.html @@ -27,7 +27,13 @@
-
suspend fun TelegramBot.editLiveLocation(chatId: ChatIdentifier, messageId: MessageIdentifier, latitude: Double, longitude: Double, horizontalAccuracy: Meters? = null, heading: Degrees? = null, proximityAlertRadius: Meters? = null, replyMarkup: InlineKeyboardMarkup? = null): ContentMessage<LocationContent>
suspend fun TelegramBot.editLiveLocation(chat: Chat, messageId: MessageIdentifier, latitude: Double, longitude: Double, horizontalAccuracy: Meters? = null, heading: Degrees? = null, proximityAlertRadius: Meters? = null, replyMarkup: InlineKeyboardMarkup? = null): ContentMessage<LocationContent>
suspend fun TelegramBot.editLiveLocation(message: ContentMessage<LocationContent>, latitude: Double, longitude: Double, horizontalAccuracy: Meters? = null, heading: Degrees? = null, proximityAlertRadius: Meters? = null, replyMarkup: InlineKeyboardMarkup? = null): ContentMessage<LocationContent>
suspend fun TelegramBot.editLiveLocation(chatId: ChatIdentifier, messageId: MessageIdentifier, location: LiveLocation, replyMarkup: InlineKeyboardMarkup? = null): ContentMessage<LocationContent>
suspend fun TelegramBot.editLiveLocation(chat: Chat, messageId: MessageIdentifier, location: LiveLocation, replyMarkup: InlineKeyboardMarkup? = null): ContentMessage<LocationContent>
suspend fun TelegramBot.editLiveLocation(message: ContentMessage<LocationContent>, location: LiveLocation, replyMarkup: InlineKeyboardMarkup? = null): ContentMessage<LocationContent>
suspend fun TelegramBot.editLiveLocation(inlineMessageId: InlineMessageIdentifier, latitude: Double, longitude: Double, horizontalAccuracy: Meters? = null, heading: Degrees? = null, proximityAlertRadius: Meters? = null, replyMarkup: InlineKeyboardMarkup? = null): Boolean
suspend fun TelegramBot.editLiveLocation(inlineMessageId: InlineMessageIdentifier, location: LiveLocation, replyMarkup: InlineKeyboardMarkup? = null): Boolean
+
suspend fun TelegramBot.editLiveLocation(chatId: ChatIdentifier, messageId: MessageIdentifier, latitude: Double, longitude: Double, horizontalAccuracy: Meters? = null, heading: Degrees? = null, proximityAlertRadius: Meters? = null, replyMarkup: InlineKeyboardMarkup? = null): ContentMessage<LocationContent>
suspend fun TelegramBot.editLiveLocation(chat: Chat, messageId: MessageIdentifier, latitude: Double, longitude: Double, horizontalAccuracy: Meters? = null, heading: Degrees? = null, proximityAlertRadius: Meters? = null, replyMarkup: InlineKeyboardMarkup? = null): ContentMessage<LocationContent>
suspend fun TelegramBot.editLiveLocation(message: ContentMessage<LocationContent>, latitude: Double, longitude: Double, horizontalAccuracy: Meters? = null, heading: Degrees? = null, proximityAlertRadius: Meters? = null, replyMarkup: InlineKeyboardMarkup? = null): ContentMessage<LocationContent>
suspend fun TelegramBot.editLiveLocation(chatId: ChatIdentifier, messageId: MessageIdentifier, location: LiveLocation, replyMarkup: InlineKeyboardMarkup? = null): ContentMessage<LocationContent>
suspend fun TelegramBot.editLiveLocation(chat: Chat, messageId: MessageIdentifier, location: LiveLocation, replyMarkup: InlineKeyboardMarkup? = null): ContentMessage<LocationContent>
suspend fun TelegramBot.editLiveLocation(message: ContentMessage<LocationContent>, location: LiveLocation, replyMarkup: InlineKeyboardMarkup? = null): ContentMessage<LocationContent>
+
+

Parameters

+
+ +
+
suspend fun TelegramBot.editLiveLocation(inlineMessageId: InlineMessageIdentifier, latitude: Double, longitude: Double, horizontalAccuracy: Meters? = null, heading: Degrees? = null, proximityAlertRadius: Meters? = null, replyMarkup: InlineKeyboardMarkup? = null): Boolean
suspend fun TelegramBot.editLiveLocation(inlineMessageId: InlineMessageIdentifier, location: LiveLocation, replyMarkup: InlineKeyboardMarkup? = null): Boolean
diff --git a/docs/dev.inmo.tgbotapi.extensions.api.edit.LiveLocation/stop-live-location.html b/docs/dev.inmo.tgbotapi.extensions.api.edit.LiveLocation/stop-live-location.html index 6d77ee137a..9fc1b8f11c 100644 --- a/docs/dev.inmo.tgbotapi.extensions.api.edit.LiveLocation/stop-live-location.html +++ b/docs/dev.inmo.tgbotapi.extensions.api.edit.LiveLocation/stop-live-location.html @@ -29,7 +29,7 @@
suspend fun TelegramBot.stopLiveLocation(chatId: ChatIdentifier, messageId: MessageIdentifier, replyMarkup: InlineKeyboardMarkup? = null): ContentMessage<LocationContent>
suspend fun TelegramBot.stopLiveLocation(chat: Chat, messageId: MessageIdentifier, replyMarkup: InlineKeyboardMarkup? = null): ContentMessage<LocationContent>
suspend fun TelegramBot.stopLiveLocation(message: ContentMessage<LocationContent>, replyMarkup: InlineKeyboardMarkup? = null): ContentMessage<LocationContent>
suspend fun TelegramBot.stopLiveLocation(inlineMessageId: InlineMessageIdentifier, replyMarkup: InlineKeyboardMarkup? = null): Boolean
-
+

Parameters

diff --git a/docs/dev.inmo.tgbotapi.extensions.api.edit.ReplyMarkup/edit-message-reply-markup.html b/docs/dev.inmo.tgbotapi.extensions.api.edit.ReplyMarkup/edit-message-reply-markup.html index 226e36fb90..e9450d7d1d 100644 --- a/docs/dev.inmo.tgbotapi.extensions.api.edit.ReplyMarkup/edit-message-reply-markup.html +++ b/docs/dev.inmo.tgbotapi.extensions.api.edit.ReplyMarkup/edit-message-reply-markup.html @@ -29,7 +29,7 @@
suspend fun TelegramBot.editMessageReplyMarkup(chatId: ChatIdentifier, messageId: MessageIdentifier, replyMarkup: InlineKeyboardMarkup? = null): ContentMessage<MessageContent>
suspend fun TelegramBot.editMessageReplyMarkup(chat: Chat, messageId: MessageIdentifier, replyMarkup: InlineKeyboardMarkup? = null): ContentMessage<MessageContent>
suspend fun TelegramBot.editMessageReplyMarkup(message: Message, replyMarkup: InlineKeyboardMarkup? = null): ContentMessage<MessageContent>
suspend fun TelegramBot.editMessageReplyMarkup(inlineMessageId: InlineMessageIdentifier, replyMarkup: InlineKeyboardMarkup? = null): Boolean
-
+

Parameters

diff --git a/docs/dev.inmo.tgbotapi.extensions.api.edit.caption/edit-message-caption.html b/docs/dev.inmo.tgbotapi.extensions.api.edit.caption/edit-message-caption.html index 46087d6799..5a2158b549 100644 --- a/docs/dev.inmo.tgbotapi.extensions.api.edit.caption/edit-message-caption.html +++ b/docs/dev.inmo.tgbotapi.extensions.api.edit.caption/edit-message-caption.html @@ -29,7 +29,7 @@
suspend fun TelegramBot.editMessageCaption(chatId: ChatIdentifier, messageId: MessageIdentifier, text: String, parseMode: ParseMode? = null, replyMarkup: InlineKeyboardMarkup? = null): ContentMessage<MediaContent>
suspend fun TelegramBot.editMessageCaption(chat: Chat, messageId: MessageIdentifier, text: String, parseMode: ParseMode? = null, replyMarkup: InlineKeyboardMarkup? = null): ContentMessage<MediaContent>
suspend fun <T : TextedWithTextSources, MediaContent> TelegramBot.editMessageCaption(message: ContentMessage<T>, text: String, parseMode: ParseMode? = null, replyMarkup: InlineKeyboardMarkup? = null): ContentMessage<MediaContent>
suspend fun TelegramBot.editMessageCaption(chatId: ChatIdentifier, messageId: MessageIdentifier, entities: TextSourcesList, replyMarkup: InlineKeyboardMarkup? = null): ContentMessage<MediaContent>
suspend fun TelegramBot.editMessageCaption(chat: Chat, messageId: MessageIdentifier, entities: List<TextSource>, replyMarkup: InlineKeyboardMarkup? = null): ContentMessage<MediaContent>
suspend fun <T : TextedWithTextSources, MediaContent> TelegramBot.editMessageCaption(message: ContentMessage<T>, entities: List<TextSource>, replyMarkup: InlineKeyboardMarkup? = null): ContentMessage<MediaContent>
suspend fun TelegramBot.editMessageCaption(inlineMessageId: InlineMessageIdentifier, text: String, parseMode: ParseMode? = null, replyMarkup: InlineKeyboardMarkup? = null): Boolean
suspend fun TelegramBot.editMessageCaption(inlineMessageId: InlineMessageIdentifier, entities: TextSourcesList, replyMarkup: InlineKeyboardMarkup? = null): Boolean
-
+

Parameters

diff --git a/docs/dev.inmo.tgbotapi.extensions.api.edit.media/edit-message-caption.html b/docs/dev.inmo.tgbotapi.extensions.api.edit.media/edit-message-caption.html index 35dc057868..6ea1a54bb8 100644 --- a/docs/dev.inmo.tgbotapi.extensions.api.edit.media/edit-message-caption.html +++ b/docs/dev.inmo.tgbotapi.extensions.api.edit.media/edit-message-caption.html @@ -29,7 +29,7 @@
suspend fun TelegramBot.editMessageCaption(inlineMessageId: InlineMessageIdentifier, media: InputMedia, replyMarkup: InlineKeyboardMarkup? = null): Boolean
-
+

Parameters

diff --git a/docs/dev.inmo.tgbotapi.extensions.api.edit.media/edit-message-media.html b/docs/dev.inmo.tgbotapi.extensions.api.edit.media/edit-message-media.html index 6de3f7a354..589925b44e 100644 --- a/docs/dev.inmo.tgbotapi.extensions.api.edit.media/edit-message-media.html +++ b/docs/dev.inmo.tgbotapi.extensions.api.edit.media/edit-message-media.html @@ -29,7 +29,7 @@
suspend fun TelegramBot.editMessageMedia(chatId: ChatIdentifier, messageId: MessageIdentifier, media: InputMedia, replyMarkup: InlineKeyboardMarkup? = null): ContentMessage<MediaContent>
suspend fun TelegramBot.editMessageMedia(chat: Chat, messageId: MessageIdentifier, media: InputMedia, replyMarkup: InlineKeyboardMarkup? = null): ContentMessage<MediaContent>
suspend fun TelegramBot.editMessageMedia(message: ContentMessage<out MediaContent>, media: InputMedia, replyMarkup: InlineKeyboardMarkup? = null): ContentMessage<MediaContent>
- +

Parameters

diff --git a/docs/dev.inmo.tgbotapi.extensions.api.edit.text/edit-message-text.html b/docs/dev.inmo.tgbotapi.extensions.api.edit.text/edit-message-text.html index d1bb059cb2..0d6e7f6207 100644 --- a/docs/dev.inmo.tgbotapi.extensions.api.edit.text/edit-message-text.html +++ b/docs/dev.inmo.tgbotapi.extensions.api.edit.text/edit-message-text.html @@ -29,7 +29,7 @@
suspend fun TelegramBot.editMessageText(chatId: ChatIdentifier, messageId: MessageIdentifier, text: String, parseMode: ParseMode? = null, disableWebPagePreview: Boolean? = null, replyMarkup: InlineKeyboardMarkup? = null): ContentMessage<TextContent>
suspend fun TelegramBot.editMessageText(chat: Chat, messageId: MessageIdentifier, text: String, parseMode: ParseMode? = null, disableWebPagePreview: Boolean? = null, replyMarkup: InlineKeyboardMarkup? = null): ContentMessage<TextContent>
suspend fun TelegramBot.editMessageText(message: ContentMessage<TextContent>, text: String, parseMode: ParseMode? = null, disableWebPagePreview: Boolean? = null, replyMarkup: InlineKeyboardMarkup? = null): ContentMessage<TextContent>
suspend fun TelegramBot.editMessageText(chatId: ChatIdentifier, messageId: MessageIdentifier, entities: TextSourcesList, disableWebPagePreview: Boolean? = null, replyMarkup: InlineKeyboardMarkup? = null): ContentMessage<TextContent>
suspend fun TelegramBot.editMessageText(chat: Chat, messageId: MessageIdentifier, entities: TextSourcesList, disableWebPagePreview: Boolean? = null, replyMarkup: InlineKeyboardMarkup? = null): ContentMessage<TextContent>
suspend fun TelegramBot.editMessageText(message: ContentMessage<TextContent>, entities: TextSourcesList, disableWebPagePreview: Boolean? = null, replyMarkup: InlineKeyboardMarkup? = null): ContentMessage<TextContent>
suspend fun TelegramBot.editMessageText(inlineMessageId: InlineMessageIdentifier, text: String, parseMode: ParseMode? = null, disableWebPagePreview: Boolean? = null, replyMarkup: InlineKeyboardMarkup? = null): Boolean
suspend fun TelegramBot.editMessageText(inlineMessageId: InlineMessageIdentifier, entities: TextSourcesList, disableWebPagePreview: Boolean? = null, replyMarkup: InlineKeyboardMarkup? = null): Boolean
- +

Parameters

diff --git a/docs/dev.inmo.tgbotapi.extensions.api.send.games/send-game.html b/docs/dev.inmo.tgbotapi.extensions.api.send.games/send-game.html index 1248bec0a1..0f0df8c530 100644 --- a/docs/dev.inmo.tgbotapi.extensions.api.send.games/send-game.html +++ b/docs/dev.inmo.tgbotapi.extensions.api.send.games/send-game.html @@ -29,7 +29,7 @@
suspend fun TelegramBot.sendGame(chatId: ChatIdentifier, gameShortName: String, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<GameContent>
suspend fun TelegramBot.sendGame(chat: Chat, gameShortName: String, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<GameContent>
suspend fun TelegramBot.sendGame(chatId: ChatIdentifier, game: Game, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<GameContent>
suspend fun TelegramBot.sendGame(chat: Chat, game: Game, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<GameContent>
- +

Parameters

diff --git a/docs/dev.inmo.tgbotapi.extensions.api.send.media/send-animation.html b/docs/dev.inmo.tgbotapi.extensions.api.send.media/send-animation.html index e395112e1d..d66ca1e120 100644 --- a/docs/dev.inmo.tgbotapi.extensions.api.send.media/send-animation.html +++ b/docs/dev.inmo.tgbotapi.extensions.api.send.media/send-animation.html @@ -29,7 +29,7 @@
suspend fun TelegramBot.sendAnimation(chatId: ChatIdentifier, animation: InputFile, thumb: InputFile? = null, text: String? = null, parseMode: ParseMode? = null, duration: Long? = null, width: Int? = null, height: Int? = null, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<AnimationContent>
suspend fun TelegramBot.sendAnimation(chatId: ChatIdentifier, animation: AnimationFile, text: String? = null, parseMode: ParseMode? = null, duration: Long? = null, width: Int? = null, height: Int? = null, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<AnimationContent>
suspend fun TelegramBot.sendAnimation(chat: Chat, animation: InputFile, thumb: InputFile? = null, text: String? = null, parseMode: ParseMode? = null, duration: Long? = null, width: Int? = null, height: Int? = null, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<AnimationContent>
suspend fun TelegramBot.sendAnimation(chat: Chat, animation: AnimationFile, text: String? = null, parseMode: ParseMode? = null, duration: Long? = null, width: Int? = null, height: Int? = null, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<AnimationContent>
suspend fun TelegramBot.sendAnimation(chatId: ChatIdentifier, animation: InputFile, thumb: InputFile? = null, entities: TextSourcesList, duration: Long? = null, width: Int? = null, height: Int? = null, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<AnimationContent>
suspend fun TelegramBot.sendAnimation(chatId: ChatIdentifier, animation: AnimationFile, entities: TextSourcesList, duration: Long? = null, width: Int? = null, height: Int? = null, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<AnimationContent>
suspend fun TelegramBot.sendAnimation(chat: Chat, animation: InputFile, thumb: InputFile? = null, entities: TextSourcesList, duration: Long? = null, width: Int? = null, height: Int? = null, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<AnimationContent>
suspend fun TelegramBot.sendAnimation(chat: Chat, animation: AnimationFile, entities: TextSourcesList, duration: Long? = null, width: Int? = null, height: Int? = null, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<AnimationContent>
- +

Parameters

diff --git a/docs/dev.inmo.tgbotapi.extensions.api.send.media/send-audio.html b/docs/dev.inmo.tgbotapi.extensions.api.send.media/send-audio.html index 7fa4e744f8..cc7867f425 100644 --- a/docs/dev.inmo.tgbotapi.extensions.api.send.media/send-audio.html +++ b/docs/dev.inmo.tgbotapi.extensions.api.send.media/send-audio.html @@ -29,7 +29,7 @@
suspend fun TelegramBot.sendAudio(chatId: ChatIdentifier, audio: InputFile, thumb: InputFile? = null, text: String? = null, parseMode: ParseMode? = null, duration: Long? = null, performer: String? = null, title: String? = null, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<AudioContent>
suspend fun TelegramBot.sendAudio(chat: Chat, audio: InputFile, thumb: InputFile? = null, text: String? = null, parseMode: ParseMode? = null, duration: Long? = null, performer: String? = null, title: String? = null, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<AudioContent>
suspend fun TelegramBot.sendAudio(chatId: ChatIdentifier, audio: AudioFile, text: String? = null, parseMode: ParseMode? = null, title: String? = audio.title, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<AudioContent>
suspend fun TelegramBot.sendAudio(chat: Chat, audio: AudioFile, text: String? = null, parseMode: ParseMode? = null, title: String? = audio.title, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<AudioContent>
inline suspend fun TelegramBot.sendAudio(chatId: ChatIdentifier, audio: InputFile, thumb: InputFile? = null, entities: TextSourcesList, duration: Long? = null, performer: String? = null, title: String? = null, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<AudioContent>
inline suspend fun TelegramBot.sendAudio(chat: Chat, audio: InputFile, thumb: InputFile? = null, entities: TextSourcesList, duration: Long? = null, performer: String? = null, title: String? = null, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<AudioContent>
inline suspend fun TelegramBot.sendAudio(chatId: ChatIdentifier, audio: AudioFile, entities: TextSourcesList, title: String? = audio.title, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<AudioContent>
inline suspend fun TelegramBot.sendAudio(chat: Chat, audio: AudioFile, entities: TextSourcesList, title: String? = audio.title, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<AudioContent>
- +

Parameters

diff --git a/docs/dev.inmo.tgbotapi.extensions.api.send.media/send-document.html b/docs/dev.inmo.tgbotapi.extensions.api.send.media/send-document.html index df97ea0ff6..5d05eea3c1 100644 --- a/docs/dev.inmo.tgbotapi.extensions.api.send.media/send-document.html +++ b/docs/dev.inmo.tgbotapi.extensions.api.send.media/send-document.html @@ -29,7 +29,7 @@
suspend fun TelegramBot.sendDocument(chatId: ChatIdentifier, document: InputFile, thumb: InputFile? = null, text: String? = null, parseMode: ParseMode? = null, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null, disableContentTypeDetection: Boolean? = null): ContentMessage<DocumentContent>
suspend fun TelegramBot.sendDocument(chat: Chat, document: InputFile, thumb: InputFile? = null, text: String? = null, parseMode: ParseMode? = null, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null, disableContentTypeDetection: Boolean? = null): ContentMessage<DocumentContent>
suspend fun TelegramBot.sendDocument(chatId: ChatIdentifier, document: DocumentFile, text: String? = null, parseMode: ParseMode? = null, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null, disableContentTypeDetection: Boolean? = null): ContentMessage<DocumentContent>
suspend fun TelegramBot.sendDocument(chat: Chat, document: DocumentFile, text: String? = null, parseMode: ParseMode? = null, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null, disableContentTypeDetection: Boolean? = null): ContentMessage<DocumentContent>
inline suspend fun TelegramBot.sendDocument(chatId: ChatIdentifier, document: InputFile, thumb: InputFile? = null, entities: TextSourcesList, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null, disableContentTypeDetection: Boolean? = null): ContentMessage<DocumentContent>
inline suspend fun TelegramBot.sendDocument(chat: Chat, document: InputFile, thumb: InputFile? = null, entities: TextSourcesList, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null, disableContentTypeDetection: Boolean? = null): ContentMessage<DocumentContent>
inline suspend fun TelegramBot.sendDocument(chatId: ChatIdentifier, document: DocumentFile, entities: TextSourcesList, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null, disableContentTypeDetection: Boolean? = null): ContentMessage<DocumentContent>
inline suspend fun TelegramBot.sendDocument(chat: Chat, document: DocumentFile, entities: TextSourcesList, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null, disableContentTypeDetection: Boolean? = null): ContentMessage<DocumentContent>
- +

Parameters

diff --git a/docs/dev.inmo.tgbotapi.extensions.api.send.media/send-photo.html b/docs/dev.inmo.tgbotapi.extensions.api.send.media/send-photo.html index a802d016ae..df3a5d578f 100644 --- a/docs/dev.inmo.tgbotapi.extensions.api.send.media/send-photo.html +++ b/docs/dev.inmo.tgbotapi.extensions.api.send.media/send-photo.html @@ -29,7 +29,7 @@
suspend fun TelegramBot.sendPhoto(chatId: ChatIdentifier, fileId: InputFile, text: String? = null, parseMode: ParseMode? = null, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<PhotoContent>
suspend fun TelegramBot.sendPhoto(chat: Chat, fileId: InputFile, text: String? = null, parseMode: ParseMode? = null, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<PhotoContent>
suspend fun TelegramBot.sendPhoto(chatId: ChatIdentifier, photo: Photo, text: String? = null, parseMode: ParseMode? = null, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<PhotoContent>
suspend fun TelegramBot.sendPhoto(chat: Chat, photo: Photo, text: String? = null, parseMode: ParseMode? = null, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<PhotoContent>
inline suspend fun TelegramBot.sendPhoto(chatId: ChatIdentifier, fileId: InputFile, entities: TextSourcesList, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<PhotoContent>
inline suspend fun TelegramBot.sendPhoto(chat: Chat, fileId: InputFile, entities: TextSourcesList, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<PhotoContent>
inline suspend fun TelegramBot.sendPhoto(chatId: ChatIdentifier, photo: Photo, entities: TextSourcesList, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<PhotoContent>
inline suspend fun TelegramBot.sendPhoto(chat: Chat, photo: Photo, entities: TextSourcesList, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<PhotoContent>
- +

Parameters

diff --git a/docs/dev.inmo.tgbotapi.extensions.api.send.media/send-sticker.html b/docs/dev.inmo.tgbotapi.extensions.api.send.media/send-sticker.html index d729e12d79..c0b0e634cd 100644 --- a/docs/dev.inmo.tgbotapi.extensions.api.send.media/send-sticker.html +++ b/docs/dev.inmo.tgbotapi.extensions.api.send.media/send-sticker.html @@ -29,7 +29,7 @@
suspend fun TelegramBot.sendSticker(chatId: ChatIdentifier, sticker: InputFile, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<StickerContent>
suspend fun TelegramBot.sendSticker(chat: Chat, sticker: InputFile, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<StickerContent>
suspend fun TelegramBot.sendSticker(chatId: ChatIdentifier, sticker: Sticker, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<StickerContent>
suspend fun TelegramBot.sendSticker(chat: Chat, sticker: Sticker, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<StickerContent>
- +

Parameters

diff --git a/docs/dev.inmo.tgbotapi.extensions.api.send.media/send-video-note.html b/docs/dev.inmo.tgbotapi.extensions.api.send.media/send-video-note.html index b5914eb780..914d4097dd 100644 --- a/docs/dev.inmo.tgbotapi.extensions.api.send.media/send-video-note.html +++ b/docs/dev.inmo.tgbotapi.extensions.api.send.media/send-video-note.html @@ -29,7 +29,7 @@
suspend fun TelegramBot.sendVideoNote(chatId: ChatIdentifier, videoNote: InputFile, thumb: InputFile? = null, duration: Long? = null, size: Int? = null, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VideoNoteContent>
suspend fun TelegramBot.sendVideoNote(chatId: ChatIdentifier, videoNote: VideoNoteFile, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VideoNoteContent>
suspend fun TelegramBot.sendVideoNote(chat: Chat, videoNote: InputFile, thumb: InputFile? = null, duration: Long? = null, size: Int? = null, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VideoNoteContent>
suspend fun TelegramBot.sendVideoNote(chat: Chat, videoNote: VideoNoteFile, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VideoNoteContent>
- +

Parameters

diff --git a/docs/dev.inmo.tgbotapi.extensions.api.send.media/send-video.html b/docs/dev.inmo.tgbotapi.extensions.api.send.media/send-video.html index a4a73e6708..cb7d3b0bd5 100644 --- a/docs/dev.inmo.tgbotapi.extensions.api.send.media/send-video.html +++ b/docs/dev.inmo.tgbotapi.extensions.api.send.media/send-video.html @@ -29,7 +29,7 @@
suspend fun TelegramBot.sendVideo(chatId: ChatIdentifier, video: InputFile, thumb: InputFile? = null, text: String? = null, parseMode: ParseMode? = null, duration: Long? = null, width: Int? = null, height: Int? = null, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VideoContent>
suspend fun TelegramBot.sendVideo(chatId: ChatIdentifier, video: VideoFile, text: String? = null, parseMode: ParseMode? = null, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VideoContent>
suspend fun TelegramBot.sendVideo(chat: Chat, video: InputFile, thumb: InputFile? = null, text: String? = null, parseMode: ParseMode? = null, duration: Long? = null, width: Int? = null, height: Int? = null, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VideoContent>
suspend fun TelegramBot.sendVideo(chat: Chat, video: VideoFile, text: String? = null, parseMode: ParseMode? = null, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VideoContent>
inline suspend fun TelegramBot.sendVideo(chatId: ChatIdentifier, video: InputFile, thumb: InputFile? = null, entities: TextSourcesList, duration: Long? = null, width: Int? = null, height: Int? = null, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VideoContent>
inline suspend fun TelegramBot.sendVideo(chatId: ChatIdentifier, video: VideoFile, entities: TextSourcesList, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VideoContent>
inline suspend fun TelegramBot.sendVideo(chat: Chat, video: InputFile, thumb: InputFile? = null, entities: TextSourcesList, duration: Long? = null, width: Int? = null, height: Int? = null, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VideoContent>
inline suspend fun TelegramBot.sendVideo(chat: Chat, video: VideoFile, entities: TextSourcesList, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VideoContent>
- +

Parameters

diff --git a/docs/dev.inmo.tgbotapi.extensions.api.send.media/send-voice.html b/docs/dev.inmo.tgbotapi.extensions.api.send.media/send-voice.html index 97992a0bb8..6f7325c306 100644 --- a/docs/dev.inmo.tgbotapi.extensions.api.send.media/send-voice.html +++ b/docs/dev.inmo.tgbotapi.extensions.api.send.media/send-voice.html @@ -29,7 +29,7 @@
suspend fun TelegramBot.sendVoice(chatId: ChatIdentifier, voice: InputFile, text: String? = null, parseMode: ParseMode? = null, duration: Long? = null, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VoiceContent>
suspend fun TelegramBot.sendVoice(chat: Chat, voice: InputFile, text: String? = null, parseMode: ParseMode? = null, duration: Long? = null, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VoiceContent>
suspend fun TelegramBot.sendVoice(chatId: ChatIdentifier, voice: VoiceFile, text: String? = null, parseMode: ParseMode? = null, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VoiceContent>
suspend fun TelegramBot.sendVoice(chat: Chat, voice: VoiceFile, text: String? = null, parseMode: ParseMode? = null, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VoiceContent>
inline suspend fun TelegramBot.sendVoice(chatId: ChatIdentifier, voice: InputFile, entities: TextSourcesList, duration: Long? = null, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VoiceContent>
inline suspend fun TelegramBot.sendVoice(chat: Chat, voice: InputFile, entities: TextSourcesList, duration: Long? = null, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VoiceContent>
inline suspend fun TelegramBot.sendVoice(chatId: ChatIdentifier, voice: VoiceFile, entities: TextSourcesList, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VoiceContent>
inline suspend fun TelegramBot.sendVoice(chat: Chat, voice: VoiceFile, entities: TextSourcesList, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VoiceContent>
- +

Parameters

diff --git a/docs/dev.inmo.tgbotapi.extensions.api.send.payments/send-invoice.html b/docs/dev.inmo.tgbotapi.extensions.api.send.payments/send-invoice.html index 04b570174f..44b64c1c90 100644 --- a/docs/dev.inmo.tgbotapi.extensions.api.send.payments/send-invoice.html +++ b/docs/dev.inmo.tgbotapi.extensions.api.send.payments/send-invoice.html @@ -29,7 +29,7 @@
suspend fun TelegramBot.sendInvoice(chatId: ChatId, title: String, description: String, payload: String, providerToken: String, currency: Currency, prices: List<LabeledPrice>, maxTipAmount: Int? = null, suggestedTipAmounts: List<Int>? = null, startParameter: StartParameter? = null, providerData: String? = null, requireName: Boolean = false, requirePhoneNumber: Boolean = false, requireEmail: Boolean = false, requireShippingAddress: Boolean = false, shouldSendPhoneNumberToProvider: Boolean = false, shouldSendEmailToProvider: Boolean = false, priceDependOnShipAddress: Boolean = false, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: InlineKeyboardMarkup? = null): ContentMessage<InvoiceContent>
suspend fun TelegramBot.sendInvoice(user: CommonUser, title: String, description: String, payload: String, providerToken: String, currency: Currency, prices: List<LabeledPrice>, maxTipAmount: Int? = null, suggestedTipAmounts: List<Int>? = null, startParameter: StartParameter? = null, providerData: String? = null, requireName: Boolean = false, requirePhoneNumber: Boolean = false, requireEmail: Boolean = false, requireShippingAddress: Boolean = false, shouldSendPhoneNumberToProvider: Boolean = false, shouldSendEmailToProvider: Boolean = false, priceDependOnShipAddress: Boolean = false, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: InlineKeyboardMarkup? = null): ContentMessage<InvoiceContent>
- +

Parameters

diff --git a/docs/dev.inmo.tgbotapi.extensions.api.send.polls/send-quiz-poll.html b/docs/dev.inmo.tgbotapi.extensions.api.send.polls/send-quiz-poll.html index 50f9282f86..6d298783f6 100644 --- a/docs/dev.inmo.tgbotapi.extensions.api.send.polls/send-quiz-poll.html +++ b/docs/dev.inmo.tgbotapi.extensions.api.send.polls/send-quiz-poll.html @@ -29,7 +29,7 @@
suspend fun TelegramBot.sendQuizPoll(chatId: ChatIdentifier, question: String, options: List<String>, correctOptionId: Int, isAnonymous: Boolean = true, isClosed: Boolean = false, explanation: String? = null, parseMode: ParseMode? = null, closeInfo: ScheduledCloseInfo? = null, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<PollContent>
suspend fun TelegramBot.sendQuizPoll(chat: Chat, question: String, options: List<String>, correctOptionId: Int, isAnonymous: Boolean = true, isClosed: Boolean = false, explanation: String? = null, parseMode: ParseMode? = null, closeInfo: ScheduledCloseInfo? = null, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<PollContent>
suspend fun TelegramBot.sendQuizPoll(chatId: ChatIdentifier, isClosed: Boolean = false, quizPoll: QuizPoll, question: String = quizPoll.question, options: List<String> = quizPoll.options.map { it.text }, correctOptionId: Int = quizPoll.correctOptionId ?: error("Correct option ID must be provided by income QuizPoll or by developer"), isAnonymous: Boolean = quizPoll.isAnonymous, explanation: String? = null, parseMode: ParseMode? = null, closeInfo: ScheduledCloseInfo? = null, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<PollContent>
suspend fun TelegramBot.sendQuizPoll(chat: Chat, isClosed: Boolean = false, quizPoll: QuizPoll, question: String = quizPoll.question, options: List<String> = quizPoll.options.map { it.text }, correctOptionId: Int = quizPoll.correctOptionId ?: error("Correct option ID must be provided by income QuizPoll or by developer"), isAnonymous: Boolean = quizPoll.isAnonymous, explanation: String? = null, parseMode: ParseMode? = null, closeInfo: ScheduledCloseInfo? = null, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<PollContent>
inline suspend fun TelegramBot.sendQuizPoll(chatId: ChatIdentifier, question: String, options: List<String>, correctOptionId: Int, isAnonymous: Boolean = true, isClosed: Boolean = false, entities: TextSourcesList, closeInfo: ScheduledCloseInfo? = null, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<PollContent>
inline suspend fun TelegramBot.sendQuizPoll(chat: Chat, question: String, options: List<String>, correctOptionId: Int, isAnonymous: Boolean = true, isClosed: Boolean = false, entities: TextSourcesList, closeInfo: ScheduledCloseInfo? = null, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<PollContent>
inline suspend fun TelegramBot.sendQuizPoll(chatId: ChatIdentifier, isClosed: Boolean = false, quizPoll: QuizPoll, question: String = quizPoll.question, options: List<String> = quizPoll.options.map { it.text }, correctOptionId: Int = quizPoll.correctOptionId ?: error("Correct option ID must be provided by income QuizPoll or by developer"), isAnonymous: Boolean = quizPoll.isAnonymous, entities: TextSourcesList, closeInfo: ScheduledCloseInfo? = null, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<PollContent>
inline suspend fun TelegramBot.sendQuizPoll(chat: Chat, isClosed: Boolean = false, quizPoll: QuizPoll, question: String = quizPoll.question, options: List<String> = quizPoll.options.map { it.text }, correctOptionId: Int = quizPoll.correctOptionId ?: error("Correct option ID must be provided by income QuizPoll or by developer"), isAnonymous: Boolean = quizPoll.isAnonymous, entities: TextSourcesList, closeInfo: ScheduledCloseInfo? = null, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<PollContent>
- +

Parameters

diff --git a/docs/dev.inmo.tgbotapi.extensions.api.send.polls/send-regular-poll.html b/docs/dev.inmo.tgbotapi.extensions.api.send.polls/send-regular-poll.html index 4aeb928e58..9af4fafb3c 100644 --- a/docs/dev.inmo.tgbotapi.extensions.api.send.polls/send-regular-poll.html +++ b/docs/dev.inmo.tgbotapi.extensions.api.send.polls/send-regular-poll.html @@ -29,7 +29,7 @@
suspend fun TelegramBot.sendRegularPoll(chatId: ChatIdentifier, question: String, options: List<String>, isAnonymous: Boolean = true, isClosed: Boolean = false, allowMultipleAnswers: Boolean = false, closeInfo: ScheduledCloseInfo? = null, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<PollContent>
suspend fun TelegramBot.sendRegularPoll(chatId: ChatIdentifier, poll: RegularPoll, isClosed: Boolean = false, question: String = poll.question, options: List<String> = poll.options.map { it.text }, isAnonymous: Boolean = poll.isAnonymous, allowMultipleAnswers: Boolean = poll.allowMultipleAnswers, closeInfo: ScheduledCloseInfo? = null, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<PollContent>
suspend fun TelegramBot.sendRegularPoll(chat: Chat, question: String, options: List<String>, isAnonymous: Boolean = true, isClosed: Boolean = false, allowMultipleAnswers: Boolean = false, closeInfo: ScheduledCloseInfo? = null, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<PollContent>
suspend fun TelegramBot.sendRegularPoll(chat: Chat, poll: RegularPoll, isClosed: Boolean = false, question: String = poll.question, options: List<String> = poll.options.map { it.text }, isAnonymous: Boolean = poll.isAnonymous, allowMultipleAnswers: Boolean = poll.allowMultipleAnswers, closeInfo: ScheduledCloseInfo? = null, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<PollContent>
- +

Parameters

diff --git a/docs/dev.inmo.tgbotapi.extensions.api.send/copy-message.html b/docs/dev.inmo.tgbotapi.extensions.api.send/copy-message.html index f76ca49ba7..9fb1d57fd1 100644 --- a/docs/dev.inmo.tgbotapi.extensions.api.send/copy-message.html +++ b/docs/dev.inmo.tgbotapi.extensions.api.send/copy-message.html @@ -29,7 +29,7 @@
inline suspend fun TelegramBot.copyMessage(fromChatId: ChatIdentifier, toChatId: ChatIdentifier, messageId: MessageIdentifier, text: String? = null, parseMode: ParseMode? = null, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): Long
inline suspend fun TelegramBot.copyMessage(fromChat: Chat, toChatId: ChatIdentifier, messageId: MessageIdentifier, text: String? = null, parseMode: ParseMode? = null, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): Long
inline suspend fun TelegramBot.copyMessage(fromChatId: ChatIdentifier, toChat: Chat, messageId: MessageIdentifier, text: String? = null, parseMode: ParseMode? = null, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): Long
inline suspend fun TelegramBot.copyMessage(fromChat: Chat, toChat: Chat, messageId: MessageIdentifier, text: String? = null, parseMode: ParseMode? = null, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): Long
inline suspend fun TelegramBot.copyMessage(toChatId: ChatIdentifier, message: Message, text: String? = null, parseMode: ParseMode? = null, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): Long
inline suspend fun TelegramBot.copyMessage(toChat: Chat, message: Message, text: String? = null, parseMode: ParseMode? = null, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): Long
inline suspend fun TelegramBot.copyMessage(fromChatId: ChatIdentifier, toChatId: ChatIdentifier, messageId: MessageIdentifier, entities: TextSourcesList, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): Long
inline suspend fun TelegramBot.copyMessage(fromChat: Chat, toChatId: ChatIdentifier, messageId: MessageIdentifier, entities: TextSourcesList, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): Long
inline suspend fun TelegramBot.copyMessage(fromChatId: ChatIdentifier, toChat: Chat, messageId: MessageIdentifier, entities: TextSourcesList, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): Long
inline suspend fun TelegramBot.copyMessage(fromChat: Chat, toChat: Chat, messageId: MessageIdentifier, entities: TextSourcesList, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): Long
inline suspend fun TelegramBot.copyMessage(toChatId: ChatIdentifier, message: Message, entities: TextSourcesList, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): Long
inline suspend fun TelegramBot.copyMessage(toChat: Chat, message: Message, entities: TextSourcesList, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): Long
- +

Parameters

diff --git a/docs/dev.inmo.tgbotapi.extensions.api.send/reply-with-dice.html b/docs/dev.inmo.tgbotapi.extensions.api.send/reply-with-dice.html index 0df2894b82..37e404102a 100644 --- a/docs/dev.inmo.tgbotapi.extensions.api.send/reply-with-dice.html +++ b/docs/dev.inmo.tgbotapi.extensions.api.send/reply-with-dice.html @@ -29,7 +29,7 @@
inline suspend fun TelegramBot.replyWithDice(to: Message, animationType: DiceAnimationType? = null, disableNotification: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<DiceContent>
- +

Parameters

diff --git a/docs/dev.inmo.tgbotapi.extensions.api.send/reply.html b/docs/dev.inmo.tgbotapi.extensions.api.send/reply.html index fb0a0d5122..725452dcd2 100644 --- a/docs/dev.inmo.tgbotapi.extensions.api.send/reply.html +++ b/docs/dev.inmo.tgbotapi.extensions.api.send/reply.html @@ -27,9 +27,21 @@
-
inline suspend fun TelegramBot.reply(to: Message, phoneNumber: String, firstName: String, lastName: String? = null, disableNotification: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<ContactContent>
inline suspend fun TelegramBot.reply(to: Message, contact: Contact, disableNotification: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<ContactContent>
inline suspend fun TelegramBot.reply(to: Message, animationType: DiceAnimationType, disableNotification: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<DiceContent>
inline suspend fun TelegramBot.reply(to: Message, latitude: Double, longitude: Double, disableNotification: Boolean = false, replyMarkup: KeyboardMarkup? = null): ContentMessage<LocationContent>
inline suspend fun TelegramBot.reply(to: Message, location: StaticLocation, disableNotification: Boolean = false, replyMarkup: KeyboardMarkup? = null): ContentMessage<LocationContent>
inline suspend fun TelegramBot.reply(to: Message, text: String, parseMode: ParseMode? = null, disableWebPagePreview: Boolean? = null, disableNotification: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<TextContent>
inline suspend fun TelegramBot.reply(to: Message, entities: TextSourcesList, disableWebPagePreview: Boolean? = null, disableNotification: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<TextContent>
inline suspend fun TelegramBot.reply(to: Message, latitude: Double, longitude: Double, title: String, address: String, foursquareId: FoursquareId? = null, foursquareType: FoursquareType? = null, googlePlaceId: GooglePlaceId? = null, googlePlaceType: GooglePlaceType? = null, disableNotification: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VenueContent>
inline suspend fun TelegramBot.reply(to: Message, location: StaticLocation, title: String, address: String, foursquareId: FoursquareId? = null, foursquareType: FoursquareType? = null, googlePlaceId: GooglePlaceId? = null, googlePlaceType: GooglePlaceType? = null, disableNotification: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VenueContent>
inline suspend fun TelegramBot.reply(to: Message, venue: Venue, disableNotification: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VenueContent>
inline suspend fun TelegramBot.reply(to: Message, game: Game, disableNotification: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<GameContent>
inline suspend fun TelegramBot.reply(to: Message, animation: AnimationFile, text: String? = null, parseMode: ParseMode? = null, duration: Long? = null, width: Int? = null, height: Int? = null, disableNotification: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<AnimationContent>
inline suspend fun TelegramBot.reply(to: Message, animation: AnimationFile, entities: TextSourcesList, duration: Long? = null, width: Int? = null, height: Int? = null, disableNotification: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<AnimationContent>
inline suspend fun TelegramBot.reply(to: Message, audio: AudioFile, text: String? = null, parseMode: ParseMode? = null, title: String? = null, disableNotification: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<AudioContent>
inline suspend fun TelegramBot.reply(to: Message, audio: AudioFile, entities: TextSourcesList, title: String? = null, disableNotification: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<AudioContent>
inline suspend fun TelegramBot.reply(to: Message, document: DocumentFile, text: String? = null, parseMode: ParseMode? = null, disableNotification: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null, disableContentTypeDetection: Boolean? = null): ContentMessage<DocumentContent>
inline suspend fun TelegramBot.reply(to: Message, document: DocumentFile, entities: TextSourcesList, disableNotification: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null, disableContentTypeDetection: Boolean? = null): ContentMessage<DocumentContent>
inline suspend fun TelegramBot.reply(to: Message, photo: Photo, text: String? = null, parseMode: ParseMode? = null, disableNotification: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<PhotoContent>
inline suspend fun TelegramBot.reply(to: Message, photo: Photo, entities: TextSourcesList, disableNotification: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<PhotoContent>
inline suspend fun TelegramBot.reply(to: Message, sticker: Sticker, disableNotification: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<StickerContent>
inline suspend fun TelegramBot.reply(to: Message, video: VideoFile, text: String? = null, parseMode: ParseMode? = null, disableNotification: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VideoContent>
inline suspend fun TelegramBot.reply(to: Message, video: VideoFile, entities: TextSourcesList, disableNotification: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VideoContent>
inline suspend fun TelegramBot.reply(to: Message, videoNote: VideoNoteFile, disableNotification: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VideoNoteContent>
inline suspend fun TelegramBot.reply(to: Message, voice: VoiceFile, text: String? = null, parseMode: ParseMode? = null, disableNotification: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VoiceContent>
inline suspend fun TelegramBot.reply(to: Message, voice: VoiceFile, entities: TextSourcesList, disableNotification: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VoiceContent>
inline suspend fun TelegramBot.reply(to: Message, title: String, description: String, payload: String, providerToken: String, currency: Currency, prices: List<LabeledPrice>, maxTipAmount: Int? = null, suggestedTipAmounts: List<Int>? = null, startParameter: StartParameter? = null, providerData: String? = null, requireName: Boolean = false, requirePhoneNumber: Boolean = false, requireEmail: Boolean = false, requireShippingAddress: Boolean = false, shouldSendPhoneNumberToProvider: Boolean = false, shouldSendEmailToProvider: Boolean = false, priceDependOnShipAddress: Boolean = false, disableNotification: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: InlineKeyboardMarkup? = null): ContentMessage<InvoiceContent>
inline suspend fun TelegramBot.reply(to: Message, question: String, options: List<String>, isAnonymous: Boolean = true, isClosed: Boolean = false, allowMultipleAnswers: Boolean = false, closeInfo: ScheduledCloseInfo? = null, disableNotification: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<PollContent>
inline suspend fun TelegramBot.reply(to: Message, poll: RegularPoll, isClosed: Boolean = false, question: String = poll.question, options: List<String> = poll.options.map { it.text }, isAnonymous: Boolean = poll.isAnonymous, allowMultipleAnswers: Boolean = poll.allowMultipleAnswers, closeInfo: ScheduledCloseInfo? = null, disableNotification: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<PollContent>
inline suspend fun TelegramBot.reply(to: Message, question: String, options: List<String>, correctOptionId: Int, isAnonymous: Boolean = true, isClosed: Boolean = false, explanation: String? = null, parseMode: ParseMode? = null, closeInfo: ScheduledCloseInfo? = null, disableNotification: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<PollContent>
inline suspend fun TelegramBot.reply(to: Message, quizPoll: QuizPoll, isClosed: Boolean = false, question: String = quizPoll.question, options: List<String> = quizPoll.options.map { it.text }, correctOptionId: Int = quizPoll.correctOptionId ?: error("Correct option ID must be provided by income QuizPoll or by developer"), isAnonymous: Boolean = quizPoll.isAnonymous, explanation: String? = null, parseMode: ParseMode? = null, closeInfo: ScheduledCloseInfo? = null, disableNotification: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<PollContent>
inline suspend fun TelegramBot.reply(to: Message, question: String, options: List<String>, correctOptionId: Int, entities: TextSourcesList, isAnonymous: Boolean = true, isClosed: Boolean = false, closeInfo: ScheduledCloseInfo? = null, disableNotification: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<PollContent>
inline suspend fun TelegramBot.reply(to: Message, quizPoll: QuizPoll, entities: TextSourcesList, isClosed: Boolean = false, question: String = quizPoll.question, options: List<String> = quizPoll.options.map { it.text }, correctOptionId: Int = quizPoll.correctOptionId ?: error("Correct option ID must be provided by income QuizPoll or by developer"), isAnonymous: Boolean = quizPoll.isAnonymous, closeInfo: ScheduledCloseInfo? = null, disableNotification: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<PollContent>
+
inline suspend fun TelegramBot.reply(to: Message, phoneNumber: String, firstName: String, lastName: String? = null, disableNotification: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<ContactContent>
inline suspend fun TelegramBot.reply(to: Message, contact: Contact, disableNotification: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<ContactContent>
inline suspend fun TelegramBot.reply(to: Message, animationType: DiceAnimationType, disableNotification: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<DiceContent>
inline suspend fun TelegramBot.reply(to: Message, latitude: Double, longitude: Double, disableNotification: Boolean = false, replyMarkup: KeyboardMarkup? = null): ContentMessage<LocationContent>
inline suspend fun TelegramBot.reply(to: Message, location: StaticLocation, disableNotification: Boolean = false, replyMarkup: KeyboardMarkup? = null): ContentMessage<LocationContent>
inline suspend fun TelegramBot.reply(to: Message, text: String, parseMode: ParseMode? = null, disableWebPagePreview: Boolean? = null, disableNotification: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<TextContent>
inline suspend fun TelegramBot.reply(to: Message, entities: TextSourcesList, disableWebPagePreview: Boolean? = null, disableNotification: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<TextContent>
inline suspend fun TelegramBot.reply(to: Message, latitude: Double, longitude: Double, title: String, address: String, foursquareId: FoursquareId? = null, foursquareType: FoursquareType? = null, googlePlaceId: GooglePlaceId? = null, googlePlaceType: GooglePlaceType? = null, disableNotification: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VenueContent>
+
+

Parameters

+
+ +
+
inline suspend fun TelegramBot.reply(to: Message, location: StaticLocation, title: String, address: String, foursquareId: FoursquareId? = null, foursquareType: FoursquareType? = null, googlePlaceId: GooglePlaceId? = null, googlePlaceType: GooglePlaceType? = null, disableNotification: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VenueContent>
inline suspend fun TelegramBot.reply(to: Message, venue: Venue, disableNotification: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VenueContent>
inline suspend fun TelegramBot.reply(to: Message, game: Game, disableNotification: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<GameContent>
inline suspend fun TelegramBot.reply(to: Message, animation: AnimationFile, text: String? = null, parseMode: ParseMode? = null, duration: Long? = null, width: Int? = null, height: Int? = null, disableNotification: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<AnimationContent>
inline suspend fun TelegramBot.reply(to: Message, animation: AnimationFile, entities: TextSourcesList, duration: Long? = null, width: Int? = null, height: Int? = null, disableNotification: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<AnimationContent>
inline suspend fun TelegramBot.reply(to: Message, audio: AudioFile, text: String? = null, parseMode: ParseMode? = null, title: String? = null, disableNotification: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<AudioContent>
inline suspend fun TelegramBot.reply(to: Message, audio: AudioFile, entities: TextSourcesList, title: String? = null, disableNotification: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<AudioContent>
inline suspend fun TelegramBot.reply(to: Message, document: DocumentFile, text: String? = null, parseMode: ParseMode? = null, disableNotification: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null, disableContentTypeDetection: Boolean? = null): ContentMessage<DocumentContent>
inline suspend fun TelegramBot.reply(to: Message, document: DocumentFile, entities: TextSourcesList, disableNotification: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null, disableContentTypeDetection: Boolean? = null): ContentMessage<DocumentContent>
inline suspend fun TelegramBot.reply(to: Message, photo: Photo, text: String? = null, parseMode: ParseMode? = null, disableNotification: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<PhotoContent>
inline suspend fun TelegramBot.reply(to: Message, photo: Photo, entities: TextSourcesList, disableNotification: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<PhotoContent>
inline suspend fun TelegramBot.reply(to: Message, sticker: Sticker, disableNotification: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<StickerContent>
inline suspend fun TelegramBot.reply(to: Message, video: VideoFile, text: String? = null, parseMode: ParseMode? = null, disableNotification: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VideoContent>
inline suspend fun TelegramBot.reply(to: Message, video: VideoFile, entities: TextSourcesList, disableNotification: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VideoContent>
inline suspend fun TelegramBot.reply(to: Message, videoNote: VideoNoteFile, disableNotification: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VideoNoteContent>
inline suspend fun TelegramBot.reply(to: Message, voice: VoiceFile, text: String? = null, parseMode: ParseMode? = null, disableNotification: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VoiceContent>
inline suspend fun TelegramBot.reply(to: Message, voice: VoiceFile, entities: TextSourcesList, disableNotification: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VoiceContent>
inline suspend fun TelegramBot.reply(to: Message, question: String, options: List<String>, isAnonymous: Boolean = true, isClosed: Boolean = false, allowMultipleAnswers: Boolean = false, closeInfo: ScheduledCloseInfo? = null, disableNotification: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<PollContent>
inline suspend fun TelegramBot.reply(to: Message, poll: RegularPoll, isClosed: Boolean = false, question: String = poll.question, options: List<String> = poll.options.map { it.text }, isAnonymous: Boolean = poll.isAnonymous, allowMultipleAnswers: Boolean = poll.allowMultipleAnswers, closeInfo: ScheduledCloseInfo? = null, disableNotification: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<PollContent>
inline suspend fun TelegramBot.reply(to: Message, question: String, options: List<String>, correctOptionId: Int, isAnonymous: Boolean = true, isClosed: Boolean = false, explanation: String? = null, parseMode: ParseMode? = null, closeInfo: ScheduledCloseInfo? = null, disableNotification: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<PollContent>
inline suspend fun TelegramBot.reply(to: Message, quizPoll: QuizPoll, isClosed: Boolean = false, question: String = quizPoll.question, options: List<String> = quizPoll.options.map { it.text }, correctOptionId: Int = quizPoll.correctOptionId ?: error("Correct option ID must be provided by income QuizPoll or by developer"), isAnonymous: Boolean = quizPoll.isAnonymous, explanation: String? = null, parseMode: ParseMode? = null, closeInfo: ScheduledCloseInfo? = null, disableNotification: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<PollContent>
inline suspend fun TelegramBot.reply(to: Message, question: String, options: List<String>, correctOptionId: Int, entities: TextSourcesList, isAnonymous: Boolean = true, isClosed: Boolean = false, closeInfo: ScheduledCloseInfo? = null, disableNotification: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<PollContent>
inline suspend fun TelegramBot.reply(to: Message, quizPoll: QuizPoll, entities: TextSourcesList, isClosed: Boolean = false, question: String = quizPoll.question, options: List<String> = quizPoll.options.map { it.text }, correctOptionId: Int = quizPoll.correctOptionId ?: error("Correct option ID must be provided by income QuizPoll or by developer"), isAnonymous: Boolean = quizPoll.isAnonymous, closeInfo: ScheduledCloseInfo? = null, disableNotification: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<PollContent>
+
+ +
+
inline suspend fun TelegramBot.reply(to: Message, title: String, description: String, payload: String, providerToken: String, currency: Currency, prices: List<LabeledPrice>, maxTipAmount: Int? = null, suggestedTipAmounts: List<Int>? = null, startParameter: StartParameter? = null, providerData: String? = null, requireName: Boolean = false, requirePhoneNumber: Boolean = false, requireEmail: Boolean = false, requireShippingAddress: Boolean = false, shouldSendPhoneNumberToProvider: Boolean = false, shouldSendEmailToProvider: Boolean = false, priceDependOnShipAddress: Boolean = false, disableNotification: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: InlineKeyboardMarkup? = null): ContentMessage<InvoiceContent>
+
+

Parameters

diff --git a/docs/dev.inmo.tgbotapi.extensions.api.send/send-contact.html b/docs/dev.inmo.tgbotapi.extensions.api.send/send-contact.html index 1acae5a12e..4872a0d684 100644 --- a/docs/dev.inmo.tgbotapi.extensions.api.send/send-contact.html +++ b/docs/dev.inmo.tgbotapi.extensions.api.send/send-contact.html @@ -29,7 +29,7 @@
suspend fun TelegramBot.sendContact(chatId: ChatIdentifier, phoneNumber: String, firstName: String, lastName: String? = null, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<ContactContent>
suspend fun TelegramBot.sendContact(chatId: ChatIdentifier, contact: Contact, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<ContactContent>
suspend fun TelegramBot.sendContact(chat: Chat, phoneNumber: String, firstName: String, lastName: String? = null, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<ContactContent>
suspend fun TelegramBot.sendContact(chat: Chat, contact: Contact, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<ContactContent>
- +

Parameters

diff --git a/docs/dev.inmo.tgbotapi.extensions.api.send/send-dice.html b/docs/dev.inmo.tgbotapi.extensions.api.send/send-dice.html index 4367e923e8..efa5f3356a 100644 --- a/docs/dev.inmo.tgbotapi.extensions.api.send/send-dice.html +++ b/docs/dev.inmo.tgbotapi.extensions.api.send/send-dice.html @@ -29,7 +29,7 @@
suspend fun TelegramBot.sendDice(chatId: ChatIdentifier, animationType: DiceAnimationType? = null, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<DiceContent>
suspend fun TelegramBot.sendDice(chat: Chat, animationType: DiceAnimationType? = null, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<DiceContent>
- +

Parameters

diff --git a/docs/dev.inmo.tgbotapi.extensions.api.send/send-location.html b/docs/dev.inmo.tgbotapi.extensions.api.send/send-location.html index 3649e05364..df72a04d3d 100644 --- a/docs/dev.inmo.tgbotapi.extensions.api.send/send-location.html +++ b/docs/dev.inmo.tgbotapi.extensions.api.send/send-location.html @@ -29,7 +29,7 @@
suspend fun TelegramBot.sendLocation(chatId: ChatIdentifier, latitude: Double, longitude: Double, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<LocationContent>
suspend fun TelegramBot.sendLocation(chatId: ChatIdentifier, location: StaticLocation, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<LocationContent>
suspend fun TelegramBot.sendLocation(chat: Chat, latitude: Double, longitude: Double, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<LocationContent>
suspend fun TelegramBot.sendLocation(chat: Chat, location: StaticLocation, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<LocationContent>
- +

Parameters

diff --git a/docs/dev.inmo.tgbotapi.extensions.api.send/send-message.html b/docs/dev.inmo.tgbotapi.extensions.api.send/send-message.html index a24646dc4b..4d9d4abd29 100644 --- a/docs/dev.inmo.tgbotapi.extensions.api.send/send-message.html +++ b/docs/dev.inmo.tgbotapi.extensions.api.send/send-message.html @@ -29,7 +29,7 @@
suspend fun TelegramBot.sendMessage(chatId: ChatIdentifier, text: String, parseMode: ParseMode? = null, disableWebPagePreview: Boolean? = null, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<TextContent>
suspend fun TelegramBot.sendMessage(chat: Chat, text: String, parseMode: ParseMode? = null, disableWebPagePreview: Boolean? = null, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<TextContent>
suspend fun TelegramBot.sendMessage(chatId: ChatIdentifier, entities: TextSourcesList, disableWebPagePreview: Boolean? = null, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<TextContent>
suspend fun TelegramBot.sendMessage(chat: Chat, entities: TextSourcesList, disableWebPagePreview: Boolean? = null, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<TextContent>
- +

Parameters

diff --git a/docs/dev.inmo.tgbotapi.extensions.api.send/send-static-location.html b/docs/dev.inmo.tgbotapi.extensions.api.send/send-static-location.html index b84a77158a..73abba9e42 100644 --- a/docs/dev.inmo.tgbotapi.extensions.api.send/send-static-location.html +++ b/docs/dev.inmo.tgbotapi.extensions.api.send/send-static-location.html @@ -29,7 +29,7 @@
suspend fun TelegramBot.sendStaticLocation(chatId: ChatIdentifier, latitude: Double, longitude: Double, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<LocationContent>
suspend fun TelegramBot.sendStaticLocation(chatId: ChatIdentifier, location: StaticLocation, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<LocationContent>
suspend fun TelegramBot.sendStaticLocation(chat: Chat, latitude: Double, longitude: Double, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<LocationContent>
suspend fun TelegramBot.sendStaticLocation(chat: Chat, location: StaticLocation, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<LocationContent>
- +

Parameters

diff --git a/docs/dev.inmo.tgbotapi.extensions.api.send/send-text-message.html b/docs/dev.inmo.tgbotapi.extensions.api.send/send-text-message.html index f5cc6894d4..40a96b4926 100644 --- a/docs/dev.inmo.tgbotapi.extensions.api.send/send-text-message.html +++ b/docs/dev.inmo.tgbotapi.extensions.api.send/send-text-message.html @@ -29,7 +29,7 @@
suspend fun TelegramBot.sendTextMessage(chatId: ChatIdentifier, text: String, parseMode: ParseMode? = null, disableWebPagePreview: Boolean? = null, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<TextContent>
suspend fun TelegramBot.sendTextMessage(chat: Chat, text: String, parseMode: ParseMode? = null, disableWebPagePreview: Boolean? = null, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<TextContent>
suspend fun TelegramBot.sendTextMessage(chatId: ChatIdentifier, entities: TextSourcesList, disableWebPagePreview: Boolean? = null, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<TextContent>
suspend fun TelegramBot.sendTextMessage(chat: Chat, entities: TextSourcesList, disableWebPagePreview: Boolean? = null, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<TextContent>
- +

Parameters

diff --git a/docs/dev.inmo.tgbotapi.extensions.api.send/send-venue.html b/docs/dev.inmo.tgbotapi.extensions.api.send/send-venue.html index a3faab9f8b..1e6fa29525 100644 --- a/docs/dev.inmo.tgbotapi.extensions.api.send/send-venue.html +++ b/docs/dev.inmo.tgbotapi.extensions.api.send/send-venue.html @@ -29,7 +29,7 @@
suspend fun TelegramBot.sendVenue(chatId: ChatIdentifier, latitude: Double, longitude: Double, title: String, address: String, foursquareId: FoursquareId? = null, foursquareType: FoursquareType? = null, googlePlaceId: GooglePlaceId? = null, googlePlaceType: GooglePlaceType? = null, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VenueContent>
suspend fun TelegramBot.sendVenue(chat: Chat, latitude: Double, longitude: Double, title: String, address: String, foursquareId: FoursquareId? = null, foursquareType: FoursquareType? = null, googlePlaceId: GooglePlaceId? = null, googlePlaceType: GooglePlaceType? = null, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VenueContent>
suspend fun TelegramBot.sendVenue(chatId: ChatIdentifier, location: StaticLocation, title: String, address: String, foursquareId: FoursquareId? = null, foursquareType: FoursquareType? = null, googlePlaceId: GooglePlaceId? = null, googlePlaceType: GooglePlaceType? = null, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VenueContent>
suspend fun TelegramBot.sendVenue(chat: Chat, location: StaticLocation, title: String, address: String, foursquareId: FoursquareId? = null, foursquareType: FoursquareType? = null, googlePlaceId: GooglePlaceId? = null, googlePlaceType: GooglePlaceType? = null, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VenueContent>
suspend fun TelegramBot.sendVenue(chatId: ChatIdentifier, venue: Venue, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VenueContent>
suspend fun TelegramBot.sendVenue(chat: Chat, venue: Venue, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VenueContent>
- +

Parameters

diff --git a/docs/dev.inmo.tgbotapi.extensions.api/-live-location-provider/update-location.html b/docs/dev.inmo.tgbotapi.extensions.api/-live-location-provider/update-location.html index 7aeaf0474a..33a3e0f735 100644 --- a/docs/dev.inmo.tgbotapi.extensions.api/-live-location-provider/update-location.html +++ b/docs/dev.inmo.tgbotapi.extensions.api/-live-location-provider/update-location.html @@ -29,7 +29,7 @@
suspend fun updateLocation(location: LiveLocation, replyMarkup: InlineKeyboardMarkup? = null): LiveLocation
- +

Parameters

diff --git a/docs/dev.inmo.tgbotapi.extensions.api/reply-with-live-location.html b/docs/dev.inmo.tgbotapi.extensions.api/reply-with-live-location.html index b1247cc1cc..53e67b54be 100644 --- a/docs/dev.inmo.tgbotapi.extensions.api/reply-with-live-location.html +++ b/docs/dev.inmo.tgbotapi.extensions.api/reply-with-live-location.html @@ -29,7 +29,7 @@
inline suspend fun TelegramBot.replyWithLiveLocation(to: Message, scope: CoroutineScope, latitude: Double, longitude: Double, liveTimeMillis: Long = defaultLivePeriodDelayMillis, initHorizontalAccuracy: Meters? = null, initHeading: Degrees? = null, initProximityAlertRadius: Meters? = null, disableNotification: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): LiveLocationProvider
inline suspend fun TelegramBot.replyWithLiveLocation(to: Message, scope: CoroutineScope, location: StaticLocation, liveTimeMillis: Long = defaultLivePeriodDelayMillis, initHorizontalAccuracy: Meters? = null, initHeading: Degrees? = null, initProximityAlertRadius: Meters? = null, disableNotification: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): LiveLocationProvider
- +

Parameters

diff --git a/docs/dev.inmo.tgbotapi.extensions.api/start-live-location.html b/docs/dev.inmo.tgbotapi.extensions.api/start-live-location.html index 57cbbc2c65..707835b83f 100644 --- a/docs/dev.inmo.tgbotapi.extensions.api/start-live-location.html +++ b/docs/dev.inmo.tgbotapi.extensions.api/start-live-location.html @@ -29,7 +29,7 @@
suspend fun TelegramBot.startLiveLocation(scope: CoroutineScope, chatId: ChatIdentifier, latitude: Double, longitude: Double, liveTimeMillis: Long = defaultLivePeriodDelayMillis, initHorizontalAccuracy: Meters? = null, initHeading: Degrees? = null, initProximityAlertRadius: Meters? = null, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): LiveLocationProvider
suspend fun TelegramBot.startLiveLocation(scope: CoroutineScope, chat: Chat, latitude: Double, longitude: Double, liveTimeMillis: Long = defaultLivePeriodDelayMillis, initHorizontalAccuracy: Meters? = null, initHeading: Degrees? = null, initProximityAlertRadius: Meters? = null, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): LiveLocationProvider
suspend fun TelegramBot.startLiveLocation(scope: CoroutineScope, chatId: ChatId, location: StaticLocation, liveTimeMillis: Long = defaultLivePeriodDelayMillis, initHorizontalAccuracy: Meters? = null, initHeading: Degrees? = null, initProximityAlertRadius: Meters? = null, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): LiveLocationProvider
suspend fun TelegramBot.startLiveLocation(scope: CoroutineScope, chat: Chat, location: StaticLocation, liveTimeMillis: Long = defaultLivePeriodDelayMillis, initHorizontalAccuracy: Meters? = null, initHeading: Degrees? = null, initProximityAlertRadius: Meters? = null, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): LiveLocationProvider
- +

Parameters

diff --git a/docs/dev.inmo.tgbotapi.extensions.api/stop-poll.html b/docs/dev.inmo.tgbotapi.extensions.api/stop-poll.html index fd37730d12..aa090fbc39 100644 --- a/docs/dev.inmo.tgbotapi.extensions.api/stop-poll.html +++ b/docs/dev.inmo.tgbotapi.extensions.api/stop-poll.html @@ -29,7 +29,7 @@
suspend fun TelegramBot.stopPoll(chatId: ChatIdentifier, messageId: MessageIdentifier, replyMarkup: InlineKeyboardMarkup? = null): Poll
suspend fun TelegramBot.stopPoll(chat: Chat, messageId: MessageIdentifier, replyMarkup: InlineKeyboardMarkup? = null): Poll
suspend fun TelegramBot.stopPoll(chatId: ChatId, message: Message, replyMarkup: InlineKeyboardMarkup? = null): Poll
suspend fun TelegramBot.stopPoll(chat: Chat, message: Message, replyMarkup: InlineKeyboardMarkup? = null): Poll
- +

Parameters

diff --git a/docs/dev.inmo.tgbotapi.extensions.behaviour_builder.expectations/index.html b/docs/dev.inmo.tgbotapi.extensions.behaviour_builder.expectations/index.html index 70fd03eb78..fa5ec8cefa 100644 --- a/docs/dev.inmo.tgbotapi.extensions.behaviour_builder.expectations/index.html +++ b/docs/dev.inmo.tgbotapi.extensions.behaviour_builder.expectations/index.html @@ -64,6 +64,26 @@
typealias ChatMemberUpdatedMapper<T> = suspend T.() -> T?
+ + + + + +
+
+
ChosenInlineResultMapper +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
typealias ChosenInlineResultMapper<T> = suspend T.() -> T?
+
+
@@ -184,6 +204,66 @@
typealias PassportMessageMapper = suspend PassportMessage.() -> PassportData
+ + + + + +
+
+
PollAnswerMapper +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
typealias PollAnswerMapper = suspend PollAnswer.() -> PollAnswer?
+
+
+
+
+
+
+ +
+
+
PollMapper +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
typealias PollMapper<T> = suspend T.() -> T?
+
+
+
+
+
+
+ +
+
+
PreCheckoutQueryMapper +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
typealias PreCheckoutQueryMapper = suspend PreCheckoutQuery.() -> PreCheckoutQuery?
+
+
@@ -204,6 +284,26 @@
typealias RequestBuilder<T> = suspend (Update) -> Request<T>
+ + + + + +
+
+
ShippingQueryMapper +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
typealias ShippingQueryMapper = suspend ShippingQuery.() -> ShippingQuery?
+
+
@@ -366,6 +466,26 @@
suspend fun BehaviourContext.waitAudioMediaGroupContent(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }, count: Int = 1, includeMediaGroups: Boolean = true, filter: SimpleFilter<CommonMessage<AudioMediaGroupContent>>? = null, mapper: CommonMessageToContentMapper<AudioMediaGroupContent>? = null): List<AudioMediaGroupContent>
+ + + + + +
+
+
waitBaseChosenInlineResult +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
suspend fun BehaviourContext.waitBaseChosenInlineResult(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }, count: Int = 1, filter: SimpleFilter<BaseChosenInlineResult>? = null, mapper: PollMapper<BaseChosenInlineResult>? = null): List<BaseChosenInlineResult>
+
+
@@ -466,6 +586,26 @@
suspend fun BehaviourContext.waitChatMemberUpdated(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }, count: Int = 1, filter: SimpleFilter<ChatMemberUpdatedUpdate>? = null, mapper: ChatMemberUpdatedMapper<ChatMemberUpdated>? = null): List<ChatMemberUpdated>
+ + + + + +
+
+
waitChosenInlineResult +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
suspend fun BehaviourContext.waitChosenInlineResult(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }, count: Int = 1, filter: SimpleFilter<ChosenInlineResult>? = null, mapper: ChosenInlineResultMapper<ChosenInlineResult>? = null): List<ChosenInlineResult>
+
+
@@ -966,26 +1106,6 @@
suspend fun BehaviourContext.waitEditedPhoto(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }, count: Int = 1, includeMediaGroups: Boolean = false, filter: SimpleFilter<CommonMessage<PhotoContent>>? = null, mapper: CommonMessageToContentMapper<PhotoContent>? = null): List<PhotoContent>
- - - - - -
-
-
waitEditedPoll -
Link copied to clipboard
-
-
-
-
common
-
-
- -
-
suspend fun BehaviourContext.waitEditedPoll(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }, count: Int = 1, filter: SimpleFilter<CommonMessage<PollContent>>? = null, mapper: CommonMessageToContentMapper<PollContent>? = null): List<PollContent>
-
-
@@ -1366,6 +1486,26 @@
suspend fun BehaviourContext.waitLocation(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }, count: Int = 1, filter: SimpleFilter<CommonMessage<LocationContent>>? = null, mapper: CommonMessageToContentMapper<LocationContent>? = null): List<LocationContent>
+ + + + + +
+
+
waitLocationChosenInlineResult +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
suspend fun BehaviourContext.waitLocationChosenInlineResult(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }, count: Int = 1, filter: SimpleFilter<LocationChosenInlineResult>? = null, mapper: PollMapper<LocationChosenInlineResult>? = null): List<LocationChosenInlineResult>
+
+
@@ -1726,6 +1866,86 @@
suspend fun BehaviourContext.waitPoll(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }, count: Int = 1, filter: SimpleFilter<CommonMessage<PollContent>>? = null, mapper: CommonMessageToContentMapper<PollContent>? = null): List<PollContent>
+ + + + + +
+
+
waitPollAnswers +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
suspend fun BehaviourContext.waitPollAnswers(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }, count: Int = 1, filter: SimpleFilter<PollAnswer>? = null, mapper: PollAnswerMapper? = null): List<PollAnswer>
+
+

This wait will be triggered only for stopped polls and polls, which are sent by the bot

+
+
+
+
+ +
+
+
waitPollUpdates +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
suspend fun BehaviourContext.waitPollUpdates(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }, count: Int = 1, filter: SimpleFilter<Poll>? = null, mapper: PollMapper<Poll>? = null): List<Poll>
+
+

This wait will be triggered only for stopped polls and polls, which are sent by the bot

+
+
+
+
+ +
+
+
waitPreCheckoutQueries +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
suspend fun BehaviourContext.waitPreCheckoutQueries(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }, count: Int = 1, filter: SimpleFilter<PreCheckoutQuery>? = null, mapper: PreCheckoutQueryMapper? = null): List<PreCheckoutQuery>
+
+
+
+
+
+
+ +
+
+
waitPrivateEvents +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
suspend fun BehaviourContext.waitPrivateEvents(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }, count: Int = 1, filter: SimpleFilter<ChatEventMessage<PrivateEvent>>? = null, mapper: EventMessageToEventMapper<PrivateEvent>? = null): List<PrivateEvent>
+
+
@@ -1746,6 +1966,86 @@
suspend fun BehaviourContext.waitProximityAlertTriggeredEvents(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }, count: Int = 1, filter: SimpleFilter<ChatEventMessage<ProximityAlertTriggered>>? = null, mapper: EventMessageToEventMapper<ProximityAlertTriggered>? = null): List<ProximityAlertTriggered>
+ + + + + +
+
+
waitPublicChatEvents +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
suspend fun BehaviourContext.waitPublicChatEvents(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }, count: Int = 1, filter: SimpleFilter<ChatEventMessage<PublicChatEvent>>? = null, mapper: EventMessageToEventMapper<PublicChatEvent>? = null): List<PublicChatEvent>
+
+
+
+
+
+
+ +
+
+
waitQuizPollUpdates +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
suspend fun BehaviourContext.waitQuizPollUpdates(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }, count: Int = 1, filter: SimpleFilter<QuizPoll>? = null, mapper: PollMapper<QuizPoll>? = null): List<QuizPoll>
+
+

This wait will be triggered only for stopped polls and polls, which are sent by the bot

+
+
+
+
+ +
+
+
waitRegularPollUpdates +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
suspend fun BehaviourContext.waitRegularPollUpdates(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }, count: Int = 1, filter: SimpleFilter<RegularPoll>? = null, mapper: PollMapper<RegularPoll>? = null): List<RegularPoll>
+
+

This wait will be triggered only for stopped polls and polls, which are sent by the bot

+
+
+
+
+ +
+
+
waitShippingQueries +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
suspend fun BehaviourContext.waitShippingQueries(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }, count: Int = 1, filter: SimpleFilter<ShippingQuery>? = null, mapper: ShippingQueryMapper? = null): List<ShippingQuery>
+
+
@@ -1786,6 +2086,26 @@
suspend fun BehaviourContext.waitSticker(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }, count: Int = 1, filter: SimpleFilter<CommonMessage<StickerContent>>? = null, mapper: CommonMessageToContentMapper<StickerContent>? = null): List<StickerContent>
+ + + + + +
+
+
waitSuccessfulPaymentEvents +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
suspend fun BehaviourContext.waitSuccessfulPaymentEvents(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }, count: Int = 1, filter: SimpleFilter<ChatEventMessage<SuccessfulPaymentEvent>>? = null, mapper: EventMessageToEventMapper<SuccessfulPaymentEvent>? = null): List<SuccessfulPaymentEvent>
+
+
diff --git a/docs/dev.inmo.tgbotapi.extensions.behaviour_builder.expectations/wait-base-chosen-inline-result.html b/docs/dev.inmo.tgbotapi.extensions.behaviour_builder.expectations/wait-base-chosen-inline-result.html new file mode 100644 index 0000000000..c284c90659 --- /dev/null +++ b/docs/dev.inmo.tgbotapi.extensions.behaviour_builder.expectations/wait-base-chosen-inline-result.html @@ -0,0 +1,39 @@ + + + + waitBaseChosenInlineResult + + +
+
+ + +
+
+
+
+
+
+ +
+

waitBaseChosenInlineResult

+
+
+ +
+
suspend fun BehaviourContext.waitBaseChosenInlineResult(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }, count: Int = 1, filter: SimpleFilter<BaseChosenInlineResult>? = null, mapper: PollMapper<BaseChosenInlineResult>? = null): List<BaseChosenInlineResult>
+
+
+
+ +
+
+ + + diff --git a/docs/dev.inmo.tgbotapi.extensions.behaviour_builder.expectations/wait-chosen-inline-result.html b/docs/dev.inmo.tgbotapi.extensions.behaviour_builder.expectations/wait-chosen-inline-result.html new file mode 100644 index 0000000000..3a58841a7e --- /dev/null +++ b/docs/dev.inmo.tgbotapi.extensions.behaviour_builder.expectations/wait-chosen-inline-result.html @@ -0,0 +1,39 @@ + + + + waitChosenInlineResult + + +
+
+ + +
+
+
+
+
+
+ +
+

waitChosenInlineResult

+
+
+ +
+
suspend fun BehaviourContext.waitChosenInlineResult(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }, count: Int = 1, filter: SimpleFilter<ChosenInlineResult>? = null, mapper: ChosenInlineResultMapper<ChosenInlineResult>? = null): List<ChosenInlineResult>
+
+
+
+ +
+
+ + + diff --git a/docs/dev.inmo.tgbotapi.extensions.behaviour_builder.expectations/wait-location-chosen-inline-result.html b/docs/dev.inmo.tgbotapi.extensions.behaviour_builder.expectations/wait-location-chosen-inline-result.html new file mode 100644 index 0000000000..a4676371e8 --- /dev/null +++ b/docs/dev.inmo.tgbotapi.extensions.behaviour_builder.expectations/wait-location-chosen-inline-result.html @@ -0,0 +1,39 @@ + + + + waitLocationChosenInlineResult + + +
+
+ + +
+
+
+
+
+
+ +
+

waitLocationChosenInlineResult

+
+
+ +
+
suspend fun BehaviourContext.waitLocationChosenInlineResult(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }, count: Int = 1, filter: SimpleFilter<LocationChosenInlineResult>? = null, mapper: PollMapper<LocationChosenInlineResult>? = null): List<LocationChosenInlineResult>
+
+
+
+ +
+
+ + + diff --git a/docs/dev.inmo.tgbotapi.extensions.behaviour_builder.expectations/wait-poll-answers.html b/docs/dev.inmo.tgbotapi.extensions.behaviour_builder.expectations/wait-poll-answers.html new file mode 100644 index 0000000000..889f8d2de4 --- /dev/null +++ b/docs/dev.inmo.tgbotapi.extensions.behaviour_builder.expectations/wait-poll-answers.html @@ -0,0 +1,39 @@ + + + + waitPollAnswers + + +
+
+ + +
+
+
+
+
+
+ +
+

waitPollAnswers

+
+
+ +
+
suspend fun BehaviourContext.waitPollAnswers(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }, count: Int = 1, filter: SimpleFilter<PollAnswer>? = null, mapper: PollAnswerMapper? = null): List<PollAnswer>
+
+

This wait will be triggered only for stopped polls and polls, which are sent by the bot

+
+ +
+
+ + + diff --git a/docs/dev.inmo.tgbotapi.extensions.behaviour_builder.expectations/wait-poll-updates.html b/docs/dev.inmo.tgbotapi.extensions.behaviour_builder.expectations/wait-poll-updates.html new file mode 100644 index 0000000000..c1ac3368ef --- /dev/null +++ b/docs/dev.inmo.tgbotapi.extensions.behaviour_builder.expectations/wait-poll-updates.html @@ -0,0 +1,39 @@ + + + + waitPollUpdates + + +
+
+ + +
+
+
+
+
+
+ +
+

waitPollUpdates

+
+
+ +
+
suspend fun BehaviourContext.waitPollUpdates(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }, count: Int = 1, filter: SimpleFilter<Poll>? = null, mapper: PollMapper<Poll>? = null): List<Poll>
+
+

This wait will be triggered only for stopped polls and polls, which are sent by the bot

+
+ +
+
+ + + diff --git a/docs/dev.inmo.tgbotapi.extensions.behaviour_builder.expectations/wait-edited-poll.html b/docs/dev.inmo.tgbotapi.extensions.behaviour_builder.expectations/wait-pre-checkout-queries.html similarity index 56% rename from docs/dev.inmo.tgbotapi.extensions.behaviour_builder.expectations/wait-edited-poll.html rename to docs/dev.inmo.tgbotapi.extensions.behaviour_builder.expectations/wait-pre-checkout-queries.html index fa129a7998..38c584d8d6 100644 --- a/docs/dev.inmo.tgbotapi.extensions.behaviour_builder.expectations/wait-edited-poll.html +++ b/docs/dev.inmo.tgbotapi.extensions.behaviour_builder.expectations/wait-pre-checkout-queries.html @@ -1,7 +1,7 @@ - waitEditedPoll + waitPreCheckoutQueries
@@ -13,21 +13,21 @@
-
+
-

waitEditedPoll

+

waitPreCheckoutQueries

-
suspend fun BehaviourContext.waitEditedPoll(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }, count: Int = 1, filter: SimpleFilter<CommonMessage<PollContent>>? = null, mapper: CommonMessageToContentMapper<PollContent>? = null): List<PollContent>
+
suspend fun BehaviourContext.waitPreCheckoutQueries(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }, count: Int = 1, filter: SimpleFilter<PreCheckoutQuery>? = null, mapper: PreCheckoutQueryMapper? = null): List<PreCheckoutQuery>
diff --git a/docs/dev.inmo.tgbotapi.extensions.behaviour_builder.expectations/wait-private-events.html b/docs/dev.inmo.tgbotapi.extensions.behaviour_builder.expectations/wait-private-events.html new file mode 100644 index 0000000000..2169d7fcd9 --- /dev/null +++ b/docs/dev.inmo.tgbotapi.extensions.behaviour_builder.expectations/wait-private-events.html @@ -0,0 +1,39 @@ + + + + waitPrivateEvents + + +
+
+ + +
+
+
+
+
+
+ +
+

waitPrivateEvents

+
+
+ +
+
suspend fun BehaviourContext.waitPrivateEvents(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }, count: Int = 1, filter: SimpleFilter<ChatEventMessage<PrivateEvent>>? = null, mapper: EventMessageToEventMapper<PrivateEvent>? = null): List<PrivateEvent>
+
+
+
+ +
+
+ + + diff --git a/docs/dev.inmo.tgbotapi.extensions.behaviour_builder.expectations/wait-public-chat-events.html b/docs/dev.inmo.tgbotapi.extensions.behaviour_builder.expectations/wait-public-chat-events.html new file mode 100644 index 0000000000..61a3c14c42 --- /dev/null +++ b/docs/dev.inmo.tgbotapi.extensions.behaviour_builder.expectations/wait-public-chat-events.html @@ -0,0 +1,39 @@ + + + + waitPublicChatEvents + + +
+
+ + +
+
+
+
+
+
+ +
+

waitPublicChatEvents

+
+
+ +
+
suspend fun BehaviourContext.waitPublicChatEvents(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }, count: Int = 1, filter: SimpleFilter<ChatEventMessage<PublicChatEvent>>? = null, mapper: EventMessageToEventMapper<PublicChatEvent>? = null): List<PublicChatEvent>
+
+
+
+ +
+
+ + + diff --git a/docs/dev.inmo.tgbotapi.extensions.behaviour_builder.expectations/wait-quiz-poll-updates.html b/docs/dev.inmo.tgbotapi.extensions.behaviour_builder.expectations/wait-quiz-poll-updates.html new file mode 100644 index 0000000000..9d8b6f15b0 --- /dev/null +++ b/docs/dev.inmo.tgbotapi.extensions.behaviour_builder.expectations/wait-quiz-poll-updates.html @@ -0,0 +1,39 @@ + + + + waitQuizPollUpdates + + +
+
+ + +
+
+
+
+
+
+ +
+

waitQuizPollUpdates

+
+
+ +
+
suspend fun BehaviourContext.waitQuizPollUpdates(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }, count: Int = 1, filter: SimpleFilter<QuizPoll>? = null, mapper: PollMapper<QuizPoll>? = null): List<QuizPoll>
+
+

This wait will be triggered only for stopped polls and polls, which are sent by the bot

+
+ +
+
+ + + diff --git a/docs/dev.inmo.tgbotapi.extensions.behaviour_builder.expectations/wait-regular-poll-updates.html b/docs/dev.inmo.tgbotapi.extensions.behaviour_builder.expectations/wait-regular-poll-updates.html new file mode 100644 index 0000000000..4dc4d39aa0 --- /dev/null +++ b/docs/dev.inmo.tgbotapi.extensions.behaviour_builder.expectations/wait-regular-poll-updates.html @@ -0,0 +1,39 @@ + + + + waitRegularPollUpdates + + +
+
+ + +
+
+
+
+
+
+ +
+

waitRegularPollUpdates

+
+
+ +
+
suspend fun BehaviourContext.waitRegularPollUpdates(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }, count: Int = 1, filter: SimpleFilter<RegularPoll>? = null, mapper: PollMapper<RegularPoll>? = null): List<RegularPoll>
+
+

This wait will be triggered only for stopped polls and polls, which are sent by the bot

+
+ +
+
+ + + diff --git a/docs/dev.inmo.tgbotapi.extensions.behaviour_builder.expectations/wait-shipping-queries.html b/docs/dev.inmo.tgbotapi.extensions.behaviour_builder.expectations/wait-shipping-queries.html new file mode 100644 index 0000000000..d90bd3f2ce --- /dev/null +++ b/docs/dev.inmo.tgbotapi.extensions.behaviour_builder.expectations/wait-shipping-queries.html @@ -0,0 +1,39 @@ + + + + waitShippingQueries + + +
+
+ + +
+
+
+
+
+
+ +
+

waitShippingQueries

+
+
+ +
+
suspend fun BehaviourContext.waitShippingQueries(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }, count: Int = 1, filter: SimpleFilter<ShippingQuery>? = null, mapper: ShippingQueryMapper? = null): List<ShippingQuery>
+
+
+
+ +
+
+ + + diff --git a/docs/dev.inmo.tgbotapi.extensions.behaviour_builder.expectations/wait-successful-payment-events.html b/docs/dev.inmo.tgbotapi.extensions.behaviour_builder.expectations/wait-successful-payment-events.html new file mode 100644 index 0000000000..c4574a60b0 --- /dev/null +++ b/docs/dev.inmo.tgbotapi.extensions.behaviour_builder.expectations/wait-successful-payment-events.html @@ -0,0 +1,39 @@ + + + + waitSuccessfulPaymentEvents + + +
+
+ + +
+
+
+
+
+
+ +
+

waitSuccessfulPaymentEvents

+
+
+ +
+
suspend fun BehaviourContext.waitSuccessfulPaymentEvents(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }, count: Int = 1, filter: SimpleFilter<ChatEventMessage<SuccessfulPaymentEvent>>? = null, mapper: EventMessageToEventMapper<SuccessfulPaymentEvent>? = null): List<SuccessfulPaymentEvent>
+
+
+
+ +
+
+ + + diff --git a/docs/dev.inmo.tgbotapi.extensions.behaviour_builder.filters/-inline-query-filter-by-user.html b/docs/dev.inmo.tgbotapi.extensions.behaviour_builder.filters/-inline-query-filter-by-user.html index 943a69125e..8c9c3232d4 100644 --- a/docs/dev.inmo.tgbotapi.extensions.behaviour_builder.filters/-inline-query-filter-by-user.html +++ b/docs/dev.inmo.tgbotapi.extensions.behaviour_builder.filters/-inline-query-filter-by-user.html @@ -29,7 +29,7 @@
-

Allow only updates from the same user as base InlineQuery.from

+

Allow only updates from the same user as base InlineQuery.from

diff --git a/docs/dev.inmo.tgbotapi.extensions.behaviour_builder.filters/-pre-checkout-query-filter-by-user.html b/docs/dev.inmo.tgbotapi.extensions.behaviour_builder.filters/-pre-checkout-query-filter-by-user.html new file mode 100644 index 0000000000..00346e22ea --- /dev/null +++ b/docs/dev.inmo.tgbotapi.extensions.behaviour_builder.filters/-pre-checkout-query-filter-by-user.html @@ -0,0 +1,39 @@ + + + + PreCheckoutQueryFilterByUser + + +
+
+ + +
+
+
+
+
+
+ +
+

PreCheckoutQueryFilterByUser

+
+
+ +
+ +
+

Allow only updates from the same user as base ShippingQuery.user

+
+ +
+
+ + + diff --git a/docs/dev.inmo.tgbotapi.extensions.behaviour_builder.filters/-shipping-query-filter-by-user.html b/docs/dev.inmo.tgbotapi.extensions.behaviour_builder.filters/-shipping-query-filter-by-user.html new file mode 100644 index 0000000000..2f63d24524 --- /dev/null +++ b/docs/dev.inmo.tgbotapi.extensions.behaviour_builder.filters/-shipping-query-filter-by-user.html @@ -0,0 +1,39 @@ + + + + ShippingQueryFilterByUser + + +
+
+ + +
+
+
+
+
+
+ +
+

ShippingQueryFilterByUser

+
+
+ +
+ +
+

Allow only updates from the same user as base ShippingQuery.user

+
+ +
+
+ + + diff --git a/docs/dev.inmo.tgbotapi.extensions.behaviour_builder.filters/index.html b/docs/dev.inmo.tgbotapi.extensions.behaviour_builder.filters/index.html index c25de9e48f..669e00a7f2 100644 --- a/docs/dev.inmo.tgbotapi.extensions.behaviour_builder.filters/index.html +++ b/docs/dev.inmo.tgbotapi.extensions.behaviour_builder.filters/index.html @@ -87,7 +87,7 @@
common
-

Allow only updates from the same user as base InlineQuery.from

+

Allow only updates from the same user as base InlineQuery.from

@@ -140,6 +140,38 @@ + +
+
+
PreCheckoutQueryFilterByUser +
Link copied to clipboard
+
+
+
+
common
+
+
+

Allow only updates from the same user as base ShippingQuery.user

+
+
+
+
+ +
+
+
ShippingQueryFilterByUser +
Link copied to clipboard
+
+
+
+
common
+
+
+

Allow only updates from the same user as base ShippingQuery.user

+
+
+
+
diff --git a/docs/dev.inmo.tgbotapi.extensions.behaviour_builder.triggers_handling/command-with-args.html b/docs/dev.inmo.tgbotapi.extensions.behaviour_builder.triggers_handling/command-with-args.html index 9ae685741a..948119890d 100644 --- a/docs/dev.inmo.tgbotapi.extensions.behaviour_builder.triggers_handling/command-with-args.html +++ b/docs/dev.inmo.tgbotapi.extensions.behaviour_builder.triggers_handling/command-with-args.html @@ -13,7 +13,7 @@
-
+
-
+

Functions

-
+
-
command +
command
Link copied to clipboard
@@ -63,17 +63,17 @@
-
suspend fun BehaviourContext.command(command: String, requireOnlyCommandInMessage: Boolean = true, initialFilter: CommonMessageFilter<TextContent>? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<TextContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<TextContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<TextContent>>): Job
suspend fun BehaviourContext.command(commandRegex: Regex, requireOnlyCommandInMessage: Boolean = true, initialFilter: CommonMessageFilter<TextContent>? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<TextContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<TextContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<TextContent>>): Job
+
suspend fun <BC : BehaviourContext> BC.command(command: String, requireOnlyCommandInMessage: Boolean = true, initialFilter: CommonMessageFilter<TextContent>? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver<BC, Boolean, CommonMessage<TextContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<TextContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver<BC, Unit, CommonMessage<TextContent>>): Job
suspend fun <BC : BehaviourContext> BC.command(commandRegex: Regex, requireOnlyCommandInMessage: Boolean = true, initialFilter: CommonMessageFilter<TextContent>? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver<BC, Boolean, CommonMessage<TextContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<TextContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver<BC, Unit, CommonMessage<TextContent>>): Job
- +
-
commandWithArgs +
commandWithArgs
Link copied to clipboard
@@ -83,7 +83,7 @@
-
suspend fun BehaviourContext.commandWithArgs(command: String, initialFilter: CommonMessageFilter<TextContent>? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<TextContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<TextContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTwoTypesReceiver<Unit, CommonMessage<TextContent>, Array<String>>): Job
suspend fun BehaviourContext.commandWithArgs(commandRegex: Regex, initialFilter: CommonMessageFilter<TextContent>? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<TextContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<TextContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTwoTypesReceiver<Unit, CommonMessage<TextContent>, Array<String>>): Job
+
suspend fun <BC : BehaviourContext> BC.commandWithArgs(command: String, initialFilter: CommonMessageFilter<TextContent>? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver<BC, Boolean, CommonMessage<TextContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<TextContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTwoTypesReceiver<BC, Unit, CommonMessage<TextContent>, Array<String>>): Job
suspend fun <BC : BehaviourContext> BC.commandWithArgs(commandRegex: Regex, initialFilter: CommonMessageFilter<TextContent>? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver<BC, Boolean, CommonMessage<TextContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<TextContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTwoTypesReceiver<BC, Unit, CommonMessage<TextContent>, Array<String>>): Job
@@ -110,10 +110,10 @@
- +
-
onAnimation +
onAnimation
Link copied to clipboard
@@ -123,17 +123,17 @@
-
suspend fun BehaviourContext.onAnimation(initialFilter: CommonMessageFilter<AnimationContent>? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<AnimationContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<AnimationContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<AnimationContent>>): Job
+
suspend fun <BC : BehaviourContext> BC.onAnimation(initialFilter: CommonMessageFilter<AnimationContent>? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver<BC, Boolean, CommonMessage<AnimationContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<AnimationContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver<BC, Unit, CommonMessage<AnimationContent>>): Job
- +
-
onAnyInlineQuery +
onAnyInlineQuery
Link copied to clipboard
@@ -143,17 +143,17 @@
-
suspend fun BehaviourContext.onAnyInlineQuery(initialFilter: SimpleFilter<InlineQuery>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, InlineQuery, Update>? = InlineQueryFilterByUser, markerFactory: MarkerFactory<in InlineQuery, Any> = ByUserInlineQueryMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, InlineQuery>): Job
+
suspend fun <BC : BehaviourContext> BC.onAnyInlineQuery(initialFilter: SimpleFilter<InlineQuery>? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver<BC, Boolean, InlineQuery, Update>? = InlineQueryFilterByUser, markerFactory: MarkerFactory<in InlineQuery, Any> = ByUserInlineQueryMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver<BC, Unit, InlineQuery>): Job
- +
-
onAudio +
onAudio
Link copied to clipboard
@@ -163,17 +163,17 @@
-
suspend fun BehaviourContext.onAudio(initialFilter: CommonMessageFilter<AudioContent>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<AudioContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<AudioContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<AudioContent>>): Job
+
suspend fun <BC : BehaviourContext> BC.onAudio(initialFilter: CommonMessageFilter<AudioContent>? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver<BC, Boolean, CommonMessage<AudioContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<AudioContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver<BC, Unit, CommonMessage<AudioContent>>): Job
- +
-
onAudioMediaGroup +
onAudioMediaGroup
Link copied to clipboard
@@ -183,17 +183,17 @@
-
suspend fun BehaviourContext.onAudioMediaGroup(initialFilter: CommonMessageFilter<AudioMediaGroupContent>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<AudioMediaGroupContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<AudioMediaGroupContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<AudioMediaGroupContent>>): Job
+
suspend fun <BC : BehaviourContext> BC.onAudioMediaGroup(initialFilter: CommonMessageFilter<AudioMediaGroupContent>? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver<BC, Boolean, CommonMessage<AudioMediaGroupContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<AudioMediaGroupContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver<BC, Unit, CommonMessage<AudioMediaGroupContent>>): Job
- +
-
onBaseInlineQuery +
onBaseChosenInlineResult
Link copied to clipboard
@@ -203,17 +203,17 @@
-
suspend fun BehaviourContext.onBaseInlineQuery(initialFilter: SimpleFilter<BaseInlineQuery>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, BaseInlineQuery, Update>? = InlineQueryFilterByUser, markerFactory: MarkerFactory<in BaseInlineQuery, Any> = ByUserInlineQueryMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, BaseInlineQuery>): Job
+
suspend fun <BC : BehaviourContext> BC.onBaseChosenInlineResult(initialFilter: SimpleFilter<BaseChosenInlineResult>? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver<BC, Boolean, BaseChosenInlineResult, Update>? = null, markerFactory: MarkerFactory<in BaseChosenInlineResult, Any> = ByUserIdChosenInlineResultMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver<BC, Unit, BaseChosenInlineResult>): Job
- +
-
onChannelChatCreated +
onBaseInlineQuery
Link copied to clipboard
@@ -223,17 +223,17 @@
-
suspend fun BehaviourContext.onChannelChatCreated(initialFilter: SimpleFilter<ChatEventMessage<ChannelChatCreated>>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, ChatEventMessage<ChannelChatCreated>, Update>? = MessageFilterByChat, markerFactory: MarkerFactory<in ChatEventMessage<ChannelChatCreated>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, ChatEventMessage<ChannelChatCreated>>): Job
+
suspend fun <BC : BehaviourContext> BC.onBaseInlineQuery(initialFilter: SimpleFilter<BaseInlineQuery>? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver<BC, Boolean, BaseInlineQuery, Update>? = InlineQueryFilterByUser, markerFactory: MarkerFactory<in BaseInlineQuery, Any> = ByUserInlineQueryMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver<BC, Unit, BaseInlineQuery>): Job
- +
-
onChannelEvent +
onChannelChatCreated
Link copied to clipboard
@@ -243,17 +243,17 @@
-
suspend fun BehaviourContext.onChannelEvent(initialFilter: SimpleFilter<ChatEventMessage<ChannelEvent>>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, ChatEventMessage<ChannelEvent>, Update>? = MessageFilterByChat, markerFactory: MarkerFactory<in ChatEventMessage<ChannelEvent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, ChatEventMessage<ChannelEvent>>): Job
+
suspend fun <BC : BehaviourContext> BC.onChannelChatCreated(initialFilter: SimpleFilter<ChatEventMessage<ChannelChatCreated>>? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver<BC, Boolean, ChatEventMessage<ChannelChatCreated>, Update>? = MessageFilterByChat, markerFactory: MarkerFactory<in ChatEventMessage<ChannelChatCreated>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver<BC, Unit, ChatEventMessage<ChannelChatCreated>>): Job
- +
-
onChatEvent +
onChannelEvent
Link copied to clipboard
@@ -263,17 +263,17 @@
-
suspend fun BehaviourContext.onChatEvent(initialFilter: SimpleFilter<ChatEventMessage<ChatEvent>>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, ChatEventMessage<ChatEvent>, Update>? = MessageFilterByChat, markerFactory: MarkerFactory<in ChatEventMessage<ChatEvent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, ChatEventMessage<ChatEvent>>): Job
+
suspend fun <BC : BehaviourContext> BC.onChannelEvent(initialFilter: SimpleFilter<ChatEventMessage<ChannelEvent>>? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver<BC, Boolean, ChatEventMessage<ChannelEvent>, Update>? = MessageFilterByChat, markerFactory: MarkerFactory<in ChatEventMessage<ChannelEvent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver<BC, Unit, ChatEventMessage<ChannelEvent>>): Job
- +
-
onChatMemberUpdated +
onChatEvent
Link copied to clipboard
@@ -283,17 +283,17 @@
-
suspend fun BehaviourContext.onChatMemberUpdated(initialFilter: SimpleFilter<ChatMemberUpdated>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, ChatMemberUpdated, Update>? = ChatMemberUpdatedFilterByChat, markerFactory: MarkerFactory<ChatMemberUpdated, Any> = ByChatChatMemberUpdatedMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, ChatMemberUpdated>): Job
+
suspend fun <BC : BehaviourContext> BC.onChatEvent(initialFilter: SimpleFilter<ChatEventMessage<ChatEvent>>? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver<BC, Boolean, ChatEventMessage<ChatEvent>, Update>? = MessageFilterByChat, markerFactory: MarkerFactory<in ChatEventMessage<ChatEvent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver<BC, Unit, ChatEventMessage<ChatEvent>>): Job
- +
-
onCommand +
onChatMemberUpdated
Link copied to clipboard
@@ -303,17 +303,17 @@
-
inline suspend fun BehaviourContext.onCommand(command: String, requireOnlyCommandInMessage: Boolean = true, noinline initialFilter: CommonMessageFilter<TextContent>? = CommonMessageFilterExcludeMediaGroups, noinline subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<TextContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<TextContent>, Any> = ByChatMessageMarkerFactory, noinline scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<TextContent>>): Job
inline suspend fun BehaviourContext.onCommand(commandRegex: Regex, requireOnlyCommandInMessage: Boolean = true, noinline initialFilter: CommonMessageFilter<TextContent>? = CommonMessageFilterExcludeMediaGroups, noinline subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<TextContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<TextContent>, Any> = ByChatMessageMarkerFactory, noinline scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<TextContent>>): Job
+
suspend fun <BC : BehaviourContext> BC.onChatMemberUpdated(initialFilter: SimpleFilter<ChatMemberUpdated>? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver<BC, Boolean, ChatMemberUpdated, Update>? = ChatMemberUpdatedFilterByChat, markerFactory: MarkerFactory<ChatMemberUpdated, Any> = ByChatChatMemberUpdatedMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver<BC, Unit, ChatMemberUpdated>): Job
- +
-
onCommandWithArgs +
onChosenInlineResult
Link copied to clipboard
@@ -323,17 +323,17 @@
-
inline suspend fun BehaviourContext.onCommandWithArgs(command: String, noinline initialFilter: CommonMessageFilter<TextContent>? = CommonMessageFilterExcludeMediaGroups, noinline subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<TextContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<TextContent>, Any> = ByChatMessageMarkerFactory, noinline scenarioReceiver: BehaviourContextAndTwoTypesReceiver<Unit, CommonMessage<TextContent>, Array<String>>): Job
inline suspend fun BehaviourContext.onCommandWithArgs(commandRegex: Regex, noinline initialFilter: CommonMessageFilter<TextContent>? = CommonMessageFilterExcludeMediaGroups, noinline subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<TextContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<TextContent>, Any> = ByChatMessageMarkerFactory, noinline scenarioReceiver: BehaviourContextAndTwoTypesReceiver<Unit, CommonMessage<TextContent>, Array<String>>): Job
+
suspend fun <BC : BehaviourContext> BC.onChosenInlineResult(initialFilter: SimpleFilter<ChosenInlineResult>? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver<BC, Boolean, ChosenInlineResult, Update>? = null, markerFactory: MarkerFactory<in ChosenInlineResult, Any> = ByUserIdChosenInlineResultMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver<BC, Unit, ChosenInlineResult>): Job
- +
-
onCommonChatMemberUpdated +
onCommand
Link copied to clipboard
@@ -343,17 +343,17 @@
-
suspend fun BehaviourContext.onCommonChatMemberUpdated(initialFilter: SimpleFilter<ChatMemberUpdated>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, ChatMemberUpdated, Update>? = ChatMemberUpdatedFilterByChat, markerFactory: MarkerFactory<ChatMemberUpdated, Any> = ByChatChatMemberUpdatedMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, ChatMemberUpdated>): Job
+
inline suspend fun <BC : BehaviourContext> BC.onCommand(command: String, requireOnlyCommandInMessage: Boolean = true, noinline initialFilter: CommonMessageFilter<TextContent>? = CommonMessageFilterExcludeMediaGroups, noinline subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver<BC, Boolean, CommonMessage<TextContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<TextContent>, Any> = ByChatMessageMarkerFactory, noinline scenarioReceiver: CustomBehaviourContextAndTypeReceiver<BC, Unit, CommonMessage<TextContent>>): Job
inline suspend fun <BC : BehaviourContext> BC.onCommand(commandRegex: Regex, requireOnlyCommandInMessage: Boolean = true, noinline initialFilter: CommonMessageFilter<TextContent>? = CommonMessageFilterExcludeMediaGroups, noinline subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver<BC, Boolean, CommonMessage<TextContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<TextContent>, Any> = ByChatMessageMarkerFactory, noinline scenarioReceiver: CustomBehaviourContextAndTypeReceiver<BC, Unit, CommonMessage<TextContent>>): Job
- +
-
onCommonEvent +
onCommandWithArgs
Link copied to clipboard
@@ -363,17 +363,17 @@
-
suspend fun BehaviourContext.onCommonEvent(initialFilter: SimpleFilter<ChatEventMessage<CommonEvent>>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, ChatEventMessage<CommonEvent>, Update>? = MessageFilterByChat, markerFactory: MarkerFactory<in ChatEventMessage<CommonEvent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, ChatEventMessage<CommonEvent>>): Job
+
inline suspend fun <BC : BehaviourContext> BC.onCommandWithArgs(command: String, noinline initialFilter: CommonMessageFilter<TextContent>? = CommonMessageFilterExcludeMediaGroups, noinline subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver<BC, Boolean, CommonMessage<TextContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<TextContent>, Any> = ByChatMessageMarkerFactory, noinline scenarioReceiver: CustomBehaviourContextAndTwoTypesReceiver<BC, Unit, CommonMessage<TextContent>, Array<String>>): Job
inline suspend fun <BC : BehaviourContext> BC.onCommandWithArgs(commandRegex: Regex, noinline initialFilter: CommonMessageFilter<TextContent>? = CommonMessageFilterExcludeMediaGroups, noinline subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver<BC, Boolean, CommonMessage<TextContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<TextContent>, Any> = ByChatMessageMarkerFactory, noinline scenarioReceiver: CustomBehaviourContextAndTwoTypesReceiver<BC, Unit, CommonMessage<TextContent>, Array<String>>): Job
- +
-
onContact +
onCommonChatMemberUpdated
Link copied to clipboard
@@ -383,17 +383,17 @@
-
suspend fun BehaviourContext.onContact(initialFilter: CommonMessageFilter<ContactContent>? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<ContactContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<ContactContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<ContactContent>>): Job
+
suspend fun <BC : BehaviourContext> BC.onCommonChatMemberUpdated(initialFilter: SimpleFilter<ChatMemberUpdated>? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver<BC, Boolean, ChatMemberUpdated, Update>? = ChatMemberUpdatedFilterByChat, markerFactory: MarkerFactory<ChatMemberUpdated, Any> = ByChatChatMemberUpdatedMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver<BC, Unit, ChatMemberUpdated>): Job
- +
-
onContentMessage +
onCommonEvent
Link copied to clipboard
@@ -403,17 +403,17 @@
-
suspend fun BehaviourContext.onContentMessage(initialFilter: CommonMessageFilter<MessageContent>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<MessageContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<MessageContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<MessageContent>>): Job
+
suspend fun <BC : BehaviourContext> BC.onCommonEvent(initialFilter: SimpleFilter<ChatEventMessage<CommonEvent>>? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver<BC, Boolean, ChatEventMessage<CommonEvent>, Update>? = MessageFilterByChat, markerFactory: MarkerFactory<in ChatEventMessage<CommonEvent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver<BC, Unit, ChatEventMessage<CommonEvent>>): Job
- +
-
onDataCallbackQuery +
onContact
Link copied to clipboard
@@ -423,17 +423,17 @@
-
suspend fun BehaviourContext.onDataCallbackQuery(initialFilter: SimpleFilter<DataCallbackQuery>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, DataCallbackQuery, Update>? = CallbackQueryFilterByUser, markerFactory: MarkerFactory<in DataCallbackQuery, Any> = ByUserCallbackQueryMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, DataCallbackQuery>): Job
+
suspend fun <BC : BehaviourContext> BC.onContact(initialFilter: CommonMessageFilter<ContactContent>? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver<BC, Boolean, CommonMessage<ContactContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<ContactContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver<BC, Unit, CommonMessage<ContactContent>>): Job
- +
-
onDeleteChatPhoto +
onContentMessage
Link copied to clipboard
@@ -443,17 +443,17 @@
-
suspend fun BehaviourContext.onDeleteChatPhoto(initialFilter: SimpleFilter<ChatEventMessage<DeleteChatPhoto>>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, ChatEventMessage<DeleteChatPhoto>, Update>? = MessageFilterByChat, markerFactory: MarkerFactory<in ChatEventMessage<DeleteChatPhoto>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, ChatEventMessage<DeleteChatPhoto>>): Job
+
suspend fun <BC : BehaviourContext> BC.onContentMessage(initialFilter: CommonMessageFilter<MessageContent>? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver<BC, Boolean, CommonMessage<MessageContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<MessageContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver<BC, Unit, CommonMessage<MessageContent>>): Job
- +
-
onDice +
onDataCallbackQuery
Link copied to clipboard
@@ -463,17 +463,17 @@
-
suspend fun BehaviourContext.onDice(initialFilter: CommonMessageFilter<DiceContent>? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<DiceContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<DiceContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<DiceContent>>): Job
+
suspend fun <BC : BehaviourContext> BC.onDataCallbackQuery(initialFilter: SimpleFilter<DataCallbackQuery>? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver<BC, Boolean, DataCallbackQuery, Update>? = CallbackQueryFilterByUser, markerFactory: MarkerFactory<in DataCallbackQuery, Any> = ByUserCallbackQueryMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver<BC, Unit, DataCallbackQuery>): Job
- +
-
onDocument +
onDeleteChatPhoto
Link copied to clipboard
@@ -483,17 +483,17 @@
-
suspend fun BehaviourContext.onDocument(initialFilter: CommonMessageFilter<DocumentContent>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<DocumentContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<DocumentContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<DocumentContent>>): Job
+
suspend fun <BC : BehaviourContext> BC.onDeleteChatPhoto(initialFilter: SimpleFilter<ChatEventMessage<DeleteChatPhoto>>? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver<BC, Boolean, ChatEventMessage<DeleteChatPhoto>, Update>? = MessageFilterByChat, markerFactory: MarkerFactory<in ChatEventMessage<DeleteChatPhoto>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver<BC, Unit, ChatEventMessage<DeleteChatPhoto>>): Job
- +
-
onDocumentMediaGroupContent +
onDice
Link copied to clipboard
@@ -503,17 +503,17 @@
-
suspend fun BehaviourContext.onDocumentMediaGroupContent(initialFilter: CommonMessageFilter<DocumentMediaGroupContent>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<DocumentMediaGroupContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<DocumentMediaGroupContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<DocumentMediaGroupContent>>): Job
+
suspend fun <BC : BehaviourContext> BC.onDice(initialFilter: CommonMessageFilter<DiceContent>? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver<BC, Boolean, CommonMessage<DiceContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<DiceContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver<BC, Unit, CommonMessage<DiceContent>>): Job
- +
-
onDocumentsGroup +
onDocument
Link copied to clipboard
@@ -523,17 +523,17 @@
-
suspend fun BehaviourContext.onDocumentsGroup(initialFilter: SimpleFilter<List<MediaGroupMessage<DocumentMediaGroupContent>>>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, List<MediaGroupMessage<DocumentMediaGroupContent>>, Update>? = MessagesFilterByChat, markerFactory: MarkerFactory<in List<MediaGroupMessage<DocumentMediaGroupContent>>, Any> = ByChatMediaGroupMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, List<MediaGroupMessage<DocumentMediaGroupContent>>>): Job
+
suspend fun <BC : BehaviourContext> BC.onDocument(initialFilter: CommonMessageFilter<DocumentContent>? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver<BC, Boolean, CommonMessage<DocumentContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<DocumentContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver<BC, Unit, CommonMessage<DocumentContent>>): Job
- +
-
onEditedAnimation +
onDocumentMediaGroupContent
Link copied to clipboard
@@ -543,17 +543,17 @@
-
suspend fun BehaviourContext.onEditedAnimation(initialFilter: CommonMessageFilter<AnimationContent>? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<AnimationContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<AnimationContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<AnimationContent>>): Job
+
suspend fun <BC : BehaviourContext> BC.onDocumentMediaGroupContent(initialFilter: CommonMessageFilter<DocumentMediaGroupContent>? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver<BC, Boolean, CommonMessage<DocumentMediaGroupContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<DocumentMediaGroupContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver<BC, Unit, CommonMessage<DocumentMediaGroupContent>>): Job
- +
-
onEditedAudio +
onDocumentsGroup
Link copied to clipboard
@@ -563,17 +563,17 @@
-
suspend fun BehaviourContext.onEditedAudio(initialFilter: CommonMessageFilter<AudioContent>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<AudioContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<AudioContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<AudioContent>>): Job
+
suspend fun <BC : BehaviourContext> BC.onDocumentsGroup(initialFilter: SimpleFilter<List<MediaGroupMessage<DocumentMediaGroupContent>>>? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver<BC, Boolean, List<MediaGroupMessage<DocumentMediaGroupContent>>, Update>? = MessagesFilterByChat, markerFactory: MarkerFactory<in List<MediaGroupMessage<DocumentMediaGroupContent>>, Any> = ByChatMediaGroupMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver<BC, Unit, List<MediaGroupMessage<DocumentMediaGroupContent>>>): Job
- +
-
onEditedAudioMediaGroup +
onEditedAnimation
Link copied to clipboard
@@ -583,17 +583,17 @@
-
suspend fun BehaviourContext.onEditedAudioMediaGroup(initialFilter: CommonMessageFilter<AudioMediaGroupContent>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<AudioMediaGroupContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<AudioMediaGroupContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<AudioMediaGroupContent>>): Job
+
suspend fun <BC : BehaviourContext> BC.onEditedAnimation(initialFilter: CommonMessageFilter<AnimationContent>? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver<BC, Boolean, CommonMessage<AnimationContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<AnimationContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver<BC, Unit, CommonMessage<AnimationContent>>): Job
- +
-
onEditedContact +
onEditedAudio
Link copied to clipboard
@@ -603,17 +603,17 @@
-
suspend fun BehaviourContext.onEditedContact(initialFilter: CommonMessageFilter<ContactContent>? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<ContactContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<ContactContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<ContactContent>>): Job
+
suspend fun <BC : BehaviourContext> BC.onEditedAudio(initialFilter: CommonMessageFilter<AudioContent>? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver<BC, Boolean, CommonMessage<AudioContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<AudioContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver<BC, Unit, CommonMessage<AudioContent>>): Job
- +
-
onEditedContentMessage +
onEditedAudioMediaGroup
Link copied to clipboard
@@ -623,17 +623,17 @@
-
suspend fun BehaviourContext.onEditedContentMessage(initialFilter: CommonMessageFilter<MessageContent>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<MessageContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<MessageContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<MessageContent>>): Job
+
suspend fun <BC : BehaviourContext> BC.onEditedAudioMediaGroup(initialFilter: CommonMessageFilter<AudioMediaGroupContent>? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver<BC, Boolean, CommonMessage<AudioMediaGroupContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<AudioMediaGroupContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver<BC, Unit, CommonMessage<AudioMediaGroupContent>>): Job
- +
-
onEditedDice +
onEditedContact
Link copied to clipboard
@@ -643,17 +643,17 @@
-
suspend fun BehaviourContext.onEditedDice(initialFilter: CommonMessageFilter<DiceContent>? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<DiceContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<DiceContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<DiceContent>>): Job
+
suspend fun <BC : BehaviourContext> BC.onEditedContact(initialFilter: CommonMessageFilter<ContactContent>? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver<BC, Boolean, CommonMessage<ContactContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<ContactContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver<BC, Unit, CommonMessage<ContactContent>>): Job
- +
-
onEditedDocument +
onEditedContentMessage
Link copied to clipboard
@@ -663,17 +663,17 @@
-
suspend fun BehaviourContext.onEditedDocument(initialFilter: CommonMessageFilter<DocumentContent>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<DocumentContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<DocumentContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<DocumentContent>>): Job
+
suspend fun <BC : BehaviourContext> BC.onEditedContentMessage(initialFilter: CommonMessageFilter<MessageContent>? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver<BC, Boolean, CommonMessage<MessageContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<MessageContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver<BC, Unit, CommonMessage<MessageContent>>): Job
- +
-
onEditedDocumentMediaGroupContent +
onEditedDice
Link copied to clipboard
@@ -683,17 +683,17 @@
-
suspend fun BehaviourContext.onEditedDocumentMediaGroupContent(initialFilter: CommonMessageFilter<DocumentMediaGroupContent>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<DocumentMediaGroupContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<DocumentMediaGroupContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<DocumentMediaGroupContent>>): Job
+
suspend fun <BC : BehaviourContext> BC.onEditedDice(initialFilter: CommonMessageFilter<DiceContent>? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver<BC, Boolean, CommonMessage<DiceContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<DiceContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver<BC, Unit, CommonMessage<DiceContent>>): Job
- +
-
onEditedGame +
onEditedDocument
Link copied to clipboard
@@ -703,17 +703,17 @@
-
suspend fun BehaviourContext.onEditedGame(initialFilter: CommonMessageFilter<GameContent>? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<GameContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<GameContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<GameContent>>): Job
+
suspend fun <BC : BehaviourContext> BC.onEditedDocument(initialFilter: CommonMessageFilter<DocumentContent>? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver<BC, Boolean, CommonMessage<DocumentContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<DocumentContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver<BC, Unit, CommonMessage<DocumentContent>>): Job
- +
-
onEditedInvoice +
onEditedDocumentMediaGroupContent
Link copied to clipboard
@@ -723,17 +723,17 @@
-
suspend fun BehaviourContext.onEditedInvoice(initialFilter: CommonMessageFilter<InvoiceContent>? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<InvoiceContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<InvoiceContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<InvoiceContent>>): Job
+
suspend fun <BC : BehaviourContext> BC.onEditedDocumentMediaGroupContent(initialFilter: CommonMessageFilter<DocumentMediaGroupContent>? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver<BC, Boolean, CommonMessage<DocumentMediaGroupContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<DocumentMediaGroupContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver<BC, Unit, CommonMessage<DocumentMediaGroupContent>>): Job
- +
-
onEditedLocation +
onEditedGame
Link copied to clipboard
@@ -743,17 +743,17 @@
-
suspend fun BehaviourContext.onEditedLocation(initialFilter: CommonMessageFilter<LocationContent>? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<LocationContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<LocationContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<LocationContent>>): Job
+
suspend fun <BC : BehaviourContext> BC.onEditedGame(initialFilter: CommonMessageFilter<GameContent>? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver<BC, Boolean, CommonMessage<GameContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<GameContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver<BC, Unit, CommonMessage<GameContent>>): Job
- +
-
onEditedMedia +
onEditedInvoice
Link copied to clipboard
@@ -763,17 +763,17 @@
-
suspend fun BehaviourContext.onEditedMedia(initialFilter: CommonMessageFilter<MediaContent>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<MediaContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<MediaContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<MediaContent>>): Job
+
suspend fun <BC : BehaviourContext> BC.onEditedInvoice(initialFilter: CommonMessageFilter<InvoiceContent>? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver<BC, Boolean, CommonMessage<InvoiceContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<InvoiceContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver<BC, Unit, CommonMessage<InvoiceContent>>): Job
- +
-
onEditedMediaCollection +
onEditedLocation
Link copied to clipboard
@@ -783,17 +783,17 @@
- +
suspend fun <BC : BehaviourContext> BC.onEditedLocation(initialFilter: CommonMessageFilter<LocationContent>? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver<BC, Boolean, CommonMessage<LocationContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<LocationContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver<BC, Unit, CommonMessage<LocationContent>>): Job
- +
-
onEditedPhoto +
onEditedMedia
Link copied to clipboard
@@ -803,17 +803,17 @@
-
suspend fun BehaviourContext.onEditedPhoto(initialFilter: CommonMessageFilter<PhotoContent>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<PhotoContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<PhotoContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<PhotoContent>>): Job
+
suspend fun <BC : BehaviourContext> BC.onEditedMedia(initialFilter: CommonMessageFilter<MediaContent>? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver<BC, Boolean, CommonMessage<MediaContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<MediaContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver<BC, Unit, CommonMessage<MediaContent>>): Job
- +
-
onEditedPoll +
onEditedMediaCollection
Link copied to clipboard
@@ -823,17 +823,17 @@
-
suspend fun BehaviourContext.onEditedPoll(initialFilter: CommonMessageFilter<PollContent>? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<PollContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<PollContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<PollContent>>): Job
+
- +
-
onEditedSticker +
onEditedPhoto
Link copied to clipboard
@@ -843,17 +843,17 @@
-
suspend fun BehaviourContext.onEditedSticker(initialFilter: CommonMessageFilter<StickerContent>? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<StickerContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<StickerContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<StickerContent>>): Job
+
suspend fun <BC : BehaviourContext> BC.onEditedPhoto(initialFilter: CommonMessageFilter<PhotoContent>? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver<BC, Boolean, CommonMessage<PhotoContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<PhotoContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver<BC, Unit, CommonMessage<PhotoContent>>): Job
- +
-
onEditedText +
onEditedSticker
Link copied to clipboard
@@ -863,17 +863,17 @@
-
suspend fun BehaviourContext.onEditedText(initialFilter: CommonMessageFilter<TextContent>? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<TextContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<TextContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<TextContent>>): Job
+
suspend fun <BC : BehaviourContext> BC.onEditedSticker(initialFilter: CommonMessageFilter<StickerContent>? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver<BC, Boolean, CommonMessage<StickerContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<StickerContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver<BC, Unit, CommonMessage<StickerContent>>): Job
- +
-
onEditedVenue +
onEditedText
Link copied to clipboard
@@ -883,17 +883,17 @@
-
suspend fun BehaviourContext.onEditedVenue(initialFilter: CommonMessageFilter<VenueContent>? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<VenueContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<VenueContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<VenueContent>>): Job
+
suspend fun <BC : BehaviourContext> BC.onEditedText(initialFilter: CommonMessageFilter<TextContent>? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver<BC, Boolean, CommonMessage<TextContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<TextContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver<BC, Unit, CommonMessage<TextContent>>): Job
- +
-
onEditedVideo +
onEditedVenue
Link copied to clipboard
@@ -903,17 +903,17 @@
-
suspend fun BehaviourContext.onEditedVideo(initialFilter: CommonMessageFilter<VideoContent>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<VideoContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<VideoContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<VideoContent>>): Job
+
suspend fun <BC : BehaviourContext> BC.onEditedVenue(initialFilter: CommonMessageFilter<VenueContent>? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver<BC, Boolean, CommonMessage<VenueContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<VenueContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver<BC, Unit, CommonMessage<VenueContent>>): Job
- +
-
onEditedVideoNote +
onEditedVideo
Link copied to clipboard
@@ -923,17 +923,17 @@
-
suspend fun BehaviourContext.onEditedVideoNote(initialFilter: CommonMessageFilter<VideoNoteContent>? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<VideoNoteContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<VideoNoteContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<VideoNoteContent>>): Job
+
suspend fun <BC : BehaviourContext> BC.onEditedVideo(initialFilter: CommonMessageFilter<VideoContent>? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver<BC, Boolean, CommonMessage<VideoContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<VideoContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver<BC, Unit, CommonMessage<VideoContent>>): Job
- +
-
onEditedVoice +
onEditedVideoNote
Link copied to clipboard
@@ -943,17 +943,17 @@
-
suspend fun BehaviourContext.onEditedVoice(initialFilter: CommonMessageFilter<VoiceContent>? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<VoiceContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<VoiceContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<VoiceContent>>): Job
+
suspend fun <BC : BehaviourContext> BC.onEditedVideoNote(initialFilter: CommonMessageFilter<VideoNoteContent>? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver<BC, Boolean, CommonMessage<VideoNoteContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<VideoNoteContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver<BC, Unit, CommonMessage<VideoNoteContent>>): Job
- +
-
onGame +
onEditedVoice
Link copied to clipboard
@@ -963,17 +963,17 @@
-
suspend fun BehaviourContext.onGame(initialFilter: CommonMessageFilter<GameContent>? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<GameContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<GameContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<GameContent>>): Job
+
suspend fun <BC : BehaviourContext> BC.onEditedVoice(initialFilter: CommonMessageFilter<VoiceContent>? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver<BC, Boolean, CommonMessage<VoiceContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<VoiceContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver<BC, Unit, CommonMessage<VoiceContent>>): Job
- +
-
onGameShortNameCallbackQuery +
onGame
Link copied to clipboard
@@ -983,17 +983,17 @@
-
suspend fun BehaviourContext.onGameShortNameCallbackQuery(initialFilter: SimpleFilter<GameShortNameCallbackQuery>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, GameShortNameCallbackQuery, Update>? = CallbackQueryFilterByUser, markerFactory: MarkerFactory<in GameShortNameCallbackQuery, Any> = ByUserCallbackQueryMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, GameShortNameCallbackQuery>): Job
+
suspend fun <BC : BehaviourContext> BC.onGame(initialFilter: CommonMessageFilter<GameContent>? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver<BC, Boolean, CommonMessage<GameContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<GameContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver<BC, Unit, CommonMessage<GameContent>>): Job
- +
-
onGroupChatCreated +
onGameShortNameCallbackQuery
Link copied to clipboard
@@ -1003,17 +1003,17 @@
-
suspend fun BehaviourContext.onGroupChatCreated(initialFilter: SimpleFilter<ChatEventMessage<GroupChatCreated>>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, ChatEventMessage<GroupChatCreated>, Update>? = MessageFilterByChat, markerFactory: MarkerFactory<in ChatEventMessage<GroupChatCreated>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, ChatEventMessage<GroupChatCreated>>): Job
+
suspend fun <BC : BehaviourContext> BC.onGameShortNameCallbackQuery(initialFilter: SimpleFilter<GameShortNameCallbackQuery>? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver<BC, Boolean, GameShortNameCallbackQuery, Update>? = CallbackQueryFilterByUser, markerFactory: MarkerFactory<in GameShortNameCallbackQuery, Any> = ByUserCallbackQueryMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver<BC, Unit, GameShortNameCallbackQuery>): Job
- +
-
onGroupEvent +
onGroupChatCreated
Link copied to clipboard
@@ -1023,17 +1023,17 @@
-
suspend fun BehaviourContext.onGroupEvent(initialFilter: SimpleFilter<ChatEventMessage<GroupEvent>>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, ChatEventMessage<GroupEvent>, Update>? = MessageFilterByChat, markerFactory: MarkerFactory<in ChatEventMessage<GroupEvent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, ChatEventMessage<GroupEvent>>): Job
+
suspend fun <BC : BehaviourContext> BC.onGroupChatCreated(initialFilter: SimpleFilter<ChatEventMessage<GroupChatCreated>>? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver<BC, Boolean, ChatEventMessage<GroupChatCreated>, Update>? = MessageFilterByChat, markerFactory: MarkerFactory<in ChatEventMessage<GroupChatCreated>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver<BC, Unit, ChatEventMessage<GroupChatCreated>>): Job
- +
-
onInlineMessageIdCallbackQuery +
onGroupEvent
Link copied to clipboard
@@ -1043,17 +1043,17 @@
-
suspend fun BehaviourContext.onInlineMessageIdCallbackQuery(initialFilter: SimpleFilter<InlineMessageIdCallbackQuery>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, InlineMessageIdCallbackQuery, Update>? = CallbackQueryFilterByUser, markerFactory: MarkerFactory<in InlineMessageIdCallbackQuery, Any> = ByUserCallbackQueryMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, InlineMessageIdCallbackQuery>): Job
+
suspend fun <BC : BehaviourContext> BC.onGroupEvent(initialFilter: SimpleFilter<ChatEventMessage<GroupEvent>>? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver<BC, Boolean, ChatEventMessage<GroupEvent>, Update>? = MessageFilterByChat, markerFactory: MarkerFactory<in ChatEventMessage<GroupEvent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver<BC, Unit, ChatEventMessage<GroupEvent>>): Job
- +
-
onInlineMessageIdDataCallbackQuery +
onInlineMessageIdCallbackQuery
Link copied to clipboard
@@ -1063,17 +1063,17 @@
-
suspend fun BehaviourContext.onInlineMessageIdDataCallbackQuery(initialFilter: SimpleFilter<InlineMessageIdDataCallbackQuery>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, InlineMessageIdDataCallbackQuery, Update>? = CallbackQueryFilterByUser, markerFactory: MarkerFactory<in InlineMessageIdDataCallbackQuery, Any> = ByUserCallbackQueryMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, InlineMessageIdDataCallbackQuery>): Job
+
suspend fun <BC : BehaviourContext> BC.onInlineMessageIdCallbackQuery(initialFilter: SimpleFilter<InlineMessageIdCallbackQuery>? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver<BC, Boolean, InlineMessageIdCallbackQuery, Update>? = CallbackQueryFilterByUser, markerFactory: MarkerFactory<in InlineMessageIdCallbackQuery, Any> = ByUserCallbackQueryMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver<BC, Unit, InlineMessageIdCallbackQuery>): Job
- +
-
onInlineMessageIdGameShortNameCallbackQuery +
onInlineMessageIdDataCallbackQuery
Link copied to clipboard
@@ -1083,17 +1083,17 @@
- +
suspend fun <BC : BehaviourContext> BC.onInlineMessageIdDataCallbackQuery(initialFilter: SimpleFilter<InlineMessageIdDataCallbackQuery>? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver<BC, Boolean, InlineMessageIdDataCallbackQuery, Update>? = CallbackQueryFilterByUser, markerFactory: MarkerFactory<in InlineMessageIdDataCallbackQuery, Any> = ByUserCallbackQueryMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver<BC, Unit, InlineMessageIdDataCallbackQuery>): Job
- +
-
onInvoice +
@@ -1103,17 +1103,17 @@
-
suspend fun BehaviourContext.onInvoice(initialFilter: CommonMessageFilter<InvoiceContent>? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<InvoiceContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<InvoiceContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<InvoiceContent>>): Job
+
- +
-
onLeftChatMember +
onInvoice
Link copied to clipboard
@@ -1123,17 +1123,17 @@
-
suspend fun BehaviourContext.onLeftChatMember(initialFilter: SimpleFilter<ChatEventMessage<LeftChatMember>>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, ChatEventMessage<LeftChatMember>, Update>? = MessageFilterByChat, markerFactory: MarkerFactory<in ChatEventMessage<LeftChatMember>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, ChatEventMessage<LeftChatMember>>): Job
+
suspend fun <BC : BehaviourContext> BC.onInvoice(initialFilter: CommonMessageFilter<InvoiceContent>? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver<BC, Boolean, CommonMessage<InvoiceContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<InvoiceContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver<BC, Unit, CommonMessage<InvoiceContent>>): Job
- +
-
onLiveLocation +
onLeftChatMember
Link copied to clipboard
@@ -1143,17 +1143,17 @@
-
suspend fun BehaviourContext.onLiveLocation(initialFilter: CommonMessageFilter<LiveLocationContent>? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<LiveLocationContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<LiveLocationContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<LiveLocationContent>>): Job
+
suspend fun <BC : BehaviourContext> BC.onLeftChatMember(initialFilter: SimpleFilter<ChatEventMessage<LeftChatMember>>? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver<BC, Boolean, ChatEventMessage<LeftChatMember>, Update>? = MessageFilterByChat, markerFactory: MarkerFactory<in ChatEventMessage<LeftChatMember>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver<BC, Unit, ChatEventMessage<LeftChatMember>>): Job
- +
-
onLocation +
onLiveLocation
Link copied to clipboard
@@ -1163,17 +1163,17 @@
-
suspend fun BehaviourContext.onLocation(initialFilter: CommonMessageFilter<LocationContent>? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<LocationContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<LocationContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<LocationContent>>): Job
+
suspend fun <BC : BehaviourContext> BC.onLiveLocation(initialFilter: CommonMessageFilter<LiveLocationContent>? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver<BC, Boolean, CommonMessage<LiveLocationContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<LiveLocationContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver<BC, Unit, CommonMessage<LiveLocationContent>>): Job
- +
-
onLocationInlineQuery +
onLocation
Link copied to clipboard
@@ -1183,17 +1183,17 @@
-
suspend fun BehaviourContext.onLocationInlineQuery(initialFilter: SimpleFilter<LocationInlineQuery>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, LocationInlineQuery, Update>? = InlineQueryFilterByUser, markerFactory: MarkerFactory<in LocationInlineQuery, Any> = ByUserInlineQueryMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, LocationInlineQuery>): Job
+
suspend fun <BC : BehaviourContext> BC.onLocation(initialFilter: CommonMessageFilter<LocationContent>? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver<BC, Boolean, CommonMessage<LocationContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<LocationContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver<BC, Unit, CommonMessage<LocationContent>>): Job
- +
-
onMedia +
onLocationChosenInlineResult
Link copied to clipboard
@@ -1203,17 +1203,17 @@
-
suspend fun BehaviourContext.onMedia(initialFilter: CommonMessageFilter<MediaContent>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<MediaContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<MediaContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<MediaContent>>): Job
+
suspend fun <BC : BehaviourContext> BC.onLocationChosenInlineResult(initialFilter: SimpleFilter<LocationChosenInlineResult>? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver<BC, Boolean, LocationChosenInlineResult, Update>? = null, markerFactory: MarkerFactory<in LocationChosenInlineResult, Any> = ByUserIdChosenInlineResultMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver<BC, Unit, LocationChosenInlineResult>): Job
- +
-
onMediaCollection +
onLocationInlineQuery
Link copied to clipboard
@@ -1223,17 +1223,17 @@
- +
suspend fun <BC : BehaviourContext> BC.onLocationInlineQuery(initialFilter: SimpleFilter<LocationInlineQuery>? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver<BC, Boolean, LocationInlineQuery, Update>? = InlineQueryFilterByUser, markerFactory: MarkerFactory<in LocationInlineQuery, Any> = ByUserInlineQueryMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver<BC, Unit, LocationInlineQuery>): Job
- +
-
onMediaGroup +
onMedia
Link copied to clipboard
@@ -1243,17 +1243,17 @@
-
suspend fun BehaviourContext.onMediaGroup(initialFilter: SimpleFilter<List<MediaGroupMessage<MediaGroupContent>>>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, List<MediaGroupMessage<MediaGroupContent>>, Update>? = MessagesFilterByChat, markerFactory: MarkerFactory<in List<MediaGroupMessage<MediaGroupContent>>, Any> = ByChatMediaGroupMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, List<MediaGroupMessage<MediaGroupContent>>>): Job
+
suspend fun <BC : BehaviourContext> BC.onMedia(initialFilter: CommonMessageFilter<MediaContent>? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver<BC, Boolean, CommonMessage<MediaContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<MediaContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver<BC, Unit, CommonMessage<MediaContent>>): Job
- +
- +
-
onMessageCallbackQuery +
onMediaGroup
Link copied to clipboard
@@ -1283,17 +1283,17 @@
-
suspend fun BehaviourContext.onMessageCallbackQuery(initialFilter: SimpleFilter<MessageCallbackQuery>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, MessageCallbackQuery, Update>? = CallbackQueryFilterByUser, markerFactory: MarkerFactory<in MessageCallbackQuery, Any> = ByUserCallbackQueryMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, MessageCallbackQuery>): Job
+
suspend fun <BC : BehaviourContext> BC.onMediaGroup(initialFilter: SimpleFilter<List<MediaGroupMessage<MediaGroupContent>>>? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver<BC, Boolean, List<MediaGroupMessage<MediaGroupContent>>, Update>? = MessagesFilterByChat, markerFactory: MarkerFactory<in List<MediaGroupMessage<MediaGroupContent>>, Any> = ByChatMediaGroupMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver<BC, Unit, List<MediaGroupMessage<MediaGroupContent>>>): Job
- +
-
onMessageDataCallbackQuery +
onMessageAutoDeleteTimerChangedEvent
Link copied to clipboard
@@ -1303,17 +1303,17 @@
-
suspend fun BehaviourContext.onMessageDataCallbackQuery(initialFilter: SimpleFilter<MessageDataCallbackQuery>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, MessageDataCallbackQuery, Update>? = CallbackQueryFilterByUser, markerFactory: MarkerFactory<in MessageDataCallbackQuery, Any> = ByUserCallbackQueryMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, MessageDataCallbackQuery>): Job
+
- +
-
onMessageGameShortNameCallbackQuery +
onMessageCallbackQuery
Link copied to clipboard
@@ -1323,17 +1323,17 @@
-
suspend fun BehaviourContext.onMessageGameShortNameCallbackQuery(initialFilter: SimpleFilter<MessageGameShortNameCallbackQuery>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, MessageGameShortNameCallbackQuery, Update>? = CallbackQueryFilterByUser, markerFactory: MarkerFactory<in MessageGameShortNameCallbackQuery, Any> = ByUserCallbackQueryMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, MessageGameShortNameCallbackQuery>): Job
+
suspend fun <BC : BehaviourContext> BC.onMessageCallbackQuery(initialFilter: SimpleFilter<MessageCallbackQuery>? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver<BC, Boolean, MessageCallbackQuery, Update>? = CallbackQueryFilterByUser, markerFactory: MarkerFactory<in MessageCallbackQuery, Any> = ByUserCallbackQueryMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver<BC, Unit, MessageCallbackQuery>): Job
- +
-
onMyChatMemberUpdated +
onMessageDataCallbackQuery
Link copied to clipboard
@@ -1343,17 +1343,17 @@
-
suspend fun BehaviourContext.onMyChatMemberUpdated(initialFilter: SimpleFilter<ChatMemberUpdated>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, ChatMemberUpdated, Update>? = ChatMemberUpdatedFilterByChat, markerFactory: MarkerFactory<ChatMemberUpdated, Any> = ByChatChatMemberUpdatedMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, ChatMemberUpdated>): Job
+
suspend fun <BC : BehaviourContext> BC.onMessageDataCallbackQuery(initialFilter: SimpleFilter<MessageDataCallbackQuery>? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver<BC, Boolean, MessageDataCallbackQuery, Update>? = CallbackQueryFilterByUser, markerFactory: MarkerFactory<in MessageDataCallbackQuery, Any> = ByUserCallbackQueryMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver<BC, Unit, MessageDataCallbackQuery>): Job
- +
-
onNewChatMembers +
onMessageGameShortNameCallbackQuery
Link copied to clipboard
@@ -1363,17 +1363,17 @@
-
suspend fun BehaviourContext.onNewChatMembers(initialFilter: SimpleFilter<ChatEventMessage<NewChatMembers>>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, ChatEventMessage<NewChatMembers>, Update>? = MessageFilterByChat, markerFactory: MarkerFactory<in ChatEventMessage<NewChatMembers>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, ChatEventMessage<NewChatMembers>>): Job
+
suspend fun <BC : BehaviourContext> BC.onMessageGameShortNameCallbackQuery(initialFilter: SimpleFilter<MessageGameShortNameCallbackQuery>? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver<BC, Boolean, MessageGameShortNameCallbackQuery, Update>? = CallbackQueryFilterByUser, markerFactory: MarkerFactory<in MessageGameShortNameCallbackQuery, Any> = ByUserCallbackQueryMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver<BC, Unit, MessageGameShortNameCallbackQuery>): Job
- +
-
onNewChatPhoto +
onMyChatMemberUpdated
Link copied to clipboard
@@ -1383,17 +1383,17 @@
-
suspend fun BehaviourContext.onNewChatPhoto(initialFilter: SimpleFilter<ChatEventMessage<NewChatPhoto>>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, ChatEventMessage<NewChatPhoto>, Update>? = MessageFilterByChat, markerFactory: MarkerFactory<in ChatEventMessage<NewChatPhoto>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, ChatEventMessage<NewChatPhoto>>): Job
+
suspend fun <BC : BehaviourContext> BC.onMyChatMemberUpdated(initialFilter: SimpleFilter<ChatMemberUpdated>? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver<BC, Boolean, ChatMemberUpdated, Update>? = ChatMemberUpdatedFilterByChat, markerFactory: MarkerFactory<ChatMemberUpdated, Any> = ByChatChatMemberUpdatedMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver<BC, Unit, ChatMemberUpdated>): Job
- +
-
onNewChatTitle +
onNewChatMembers
Link copied to clipboard
@@ -1403,17 +1403,17 @@
-
suspend fun BehaviourContext.onNewChatTitle(initialFilter: SimpleFilter<ChatEventMessage<NewChatTitle>>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, ChatEventMessage<NewChatTitle>, Update>? = MessageFilterByChat, markerFactory: MarkerFactory<in ChatEventMessage<NewChatTitle>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, ChatEventMessage<NewChatTitle>>): Job
+
suspend fun <BC : BehaviourContext> BC.onNewChatMembers(initialFilter: SimpleFilter<ChatEventMessage<NewChatMembers>>? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver<BC, Boolean, ChatEventMessage<NewChatMembers>, Update>? = MessageFilterByChat, markerFactory: MarkerFactory<in ChatEventMessage<NewChatMembers>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver<BC, Unit, ChatEventMessage<NewChatMembers>>): Job
- +
-
onPassportMessage +
onNewChatPhoto
Link copied to clipboard
@@ -1423,17 +1423,17 @@
-
suspend fun BehaviourContext.onPassportMessage(initialFilter: SimpleFilter<PassportMessage>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, PassportMessage, Update>? = MessageFilterByChat, markerFactory: MarkerFactory<in PassportMessage, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, PassportMessage>): Job
+
suspend fun <BC : BehaviourContext> BC.onNewChatPhoto(initialFilter: SimpleFilter<ChatEventMessage<NewChatPhoto>>? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver<BC, Boolean, ChatEventMessage<NewChatPhoto>, Update>? = MessageFilterByChat, markerFactory: MarkerFactory<in ChatEventMessage<NewChatPhoto>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver<BC, Unit, ChatEventMessage<NewChatPhoto>>): Job
- +
-
onPhoto +
onNewChatTitle
Link copied to clipboard
@@ -1443,17 +1443,17 @@
-
suspend fun BehaviourContext.onPhoto(initialFilter: CommonMessageFilter<PhotoContent>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<PhotoContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<PhotoContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<PhotoContent>>): Job
+
suspend fun <BC : BehaviourContext> BC.onNewChatTitle(initialFilter: SimpleFilter<ChatEventMessage<NewChatTitle>>? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver<BC, Boolean, ChatEventMessage<NewChatTitle>, Update>? = MessageFilterByChat, markerFactory: MarkerFactory<in ChatEventMessage<NewChatTitle>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver<BC, Unit, ChatEventMessage<NewChatTitle>>): Job
- +
-
onPhotoGallery +
onPassportMessage
Link copied to clipboard
@@ -1463,17 +1463,17 @@
-
suspend fun BehaviourContext.onPhotoGallery(initialFilter: SimpleFilter<List<MediaGroupMessage<PhotoContent>>>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, List<MediaGroupMessage<PhotoContent>>, Update>? = MessagesFilterByChat, markerFactory: MarkerFactory<in List<MediaGroupMessage<PhotoContent>>, Any> = ByChatMediaGroupMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, List<MediaGroupMessage<PhotoContent>>>): Job
+
suspend fun <BC : BehaviourContext> BC.onPassportMessage(initialFilter: SimpleFilter<PassportMessage>? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver<BC, Boolean, PassportMessage, Update>? = MessageFilterByChat, markerFactory: MarkerFactory<in PassportMessage, Any> = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver<BC, Unit, PassportMessage>): Job
- +
-
onPinnedMessage +
onPhoto
Link copied to clipboard
@@ -1483,17 +1483,17 @@
-
suspend fun BehaviourContext.onPinnedMessage(initialFilter: SimpleFilter<ChatEventMessage<PinnedMessage>>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, ChatEventMessage<PinnedMessage>, Update>? = MessageFilterByChat, markerFactory: MarkerFactory<in ChatEventMessage<PinnedMessage>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, ChatEventMessage<PinnedMessage>>): Job
+
suspend fun <BC : BehaviourContext> BC.onPhoto(initialFilter: CommonMessageFilter<PhotoContent>? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver<BC, Boolean, CommonMessage<PhotoContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<PhotoContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver<BC, Unit, CommonMessage<PhotoContent>>): Job
- +
-
onPlaylist +
onPhotoGallery
Link copied to clipboard
@@ -1503,17 +1503,17 @@
-
suspend fun BehaviourContext.onPlaylist(initialFilter: SimpleFilter<List<MediaGroupMessage<AudioMediaGroupContent>>>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, List<MediaGroupMessage<AudioMediaGroupContent>>, Update>? = MessagesFilterByChat, markerFactory: MarkerFactory<in List<MediaGroupMessage<AudioMediaGroupContent>>, Any> = ByChatMediaGroupMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, List<MediaGroupMessage<AudioMediaGroupContent>>>): Job
+
suspend fun <BC : BehaviourContext> BC.onPhotoGallery(initialFilter: SimpleFilter<List<MediaGroupMessage<PhotoContent>>>? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver<BC, Boolean, List<MediaGroupMessage<PhotoContent>>, Update>? = MessagesFilterByChat, markerFactory: MarkerFactory<in List<MediaGroupMessage<PhotoContent>>, Any> = ByChatMediaGroupMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver<BC, Unit, List<MediaGroupMessage<PhotoContent>>>): Job
- +
-
onPoll +
onPinnedMessage
Link copied to clipboard
@@ -1523,17 +1523,17 @@
-
suspend fun BehaviourContext.onPoll(initialFilter: CommonMessageFilter<PollContent>? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<PollContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<PollContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<PollContent>>): Job
+
suspend fun <BC : BehaviourContext> BC.onPinnedMessage(initialFilter: SimpleFilter<ChatEventMessage<PinnedMessage>>? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver<BC, Boolean, ChatEventMessage<PinnedMessage>, Update>? = MessageFilterByChat, markerFactory: MarkerFactory<in ChatEventMessage<PinnedMessage>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver<BC, Unit, ChatEventMessage<PinnedMessage>>): Job
- +
-
onProximityAlertTriggered +
onPlaylist
Link copied to clipboard
@@ -1543,17 +1543,17 @@
-
suspend fun BehaviourContext.onProximityAlertTriggered(initialFilter: SimpleFilter<ChatEventMessage<ProximityAlertTriggered>>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, ChatEventMessage<ProximityAlertTriggered>, Update>? = MessageFilterByChat, markerFactory: MarkerFactory<in ChatEventMessage<ProximityAlertTriggered>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, ChatEventMessage<ProximityAlertTriggered>>): Job
+
suspend fun <BC : BehaviourContext> BC.onPlaylist(initialFilter: SimpleFilter<List<MediaGroupMessage<AudioMediaGroupContent>>>? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver<BC, Boolean, List<MediaGroupMessage<AudioMediaGroupContent>>, Update>? = MessagesFilterByChat, markerFactory: MarkerFactory<in List<MediaGroupMessage<AudioMediaGroupContent>>, Any> = ByChatMediaGroupMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver<BC, Unit, List<MediaGroupMessage<AudioMediaGroupContent>>>): Job
- +
-
onStaticLocation +
onPoll
Link copied to clipboard
@@ -1563,17 +1563,17 @@
-
suspend fun BehaviourContext.onStaticLocation(initialFilter: CommonMessageFilter<StaticLocationContent>? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<StaticLocationContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<StaticLocationContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<StaticLocationContent>>): Job
+
suspend fun <BC : BehaviourContext> BC.onPoll(initialFilter: CommonMessageFilter<PollContent>? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver<BC, Boolean, CommonMessage<PollContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<PollContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver<BC, Unit, CommonMessage<PollContent>>): Job
- +
-
onSticker +
onPollAnswer
Link copied to clipboard
@@ -1583,17 +1583,17 @@
-
suspend fun BehaviourContext.onSticker(initialFilter: CommonMessageFilter<StickerContent>? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<StickerContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<StickerContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<StickerContent>>): Job
+
suspend fun <BC : BehaviourContext> BC.onPollAnswer(initialFilter: SimpleFilter<PollAnswer>? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver<BC, Boolean, PollAnswer, Update>? = null, markerFactory: MarkerFactory<in PollAnswer, Any> = ByIdPollAnswerMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver<BC, Unit, PollAnswer>): Job
- +
-
onSupergroupChatCreated +
onPollUpdates
Link copied to clipboard
@@ -1603,17 +1603,17 @@
-
suspend fun BehaviourContext.onSupergroupChatCreated(initialFilter: SimpleFilter<ChatEventMessage<SupergroupChatCreated>>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, ChatEventMessage<SupergroupChatCreated>, Update>? = MessageFilterByChat, markerFactory: MarkerFactory<in ChatEventMessage<SupergroupChatCreated>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, ChatEventMessage<SupergroupChatCreated>>): Job
+
suspend fun <BC : BehaviourContext> BC.onPollUpdates(initialFilter: SimpleFilter<Poll>? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver<BC, Boolean, Poll, Update>? = null, markerFactory: MarkerFactory<in Poll, Any> = ByIdPollMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver<BC, Unit, Poll>): Job
- +
-
onSupergroupEvent +
onPreCheckoutQuery
Link copied to clipboard
@@ -1623,17 +1623,237 @@
-
suspend fun BehaviourContext.onSupergroupEvent(initialFilter: SimpleFilter<ChatEventMessage<SupergroupEvent>>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, ChatEventMessage<SupergroupEvent>, Update>? = MessageFilterByChat, markerFactory: MarkerFactory<in ChatEventMessage<SupergroupEvent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, ChatEventMessage<SupergroupEvent>>): Job
+
suspend fun <BC : BehaviourContext> BC.onPreCheckoutQuery(initialFilter: SimpleFilter<PreCheckoutQuery>? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver<BC, Boolean, PreCheckoutQuery, Update>? = PreCheckoutQueryFilterByUser, markerFactory: MarkerFactory<in PreCheckoutQuery, Any> = ByUserPreCheckoutQueryMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver<BC, Unit, PreCheckoutQuery>): Job
+
+
+
+
+
+
+ +
+
+
onPrivateEvent +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
suspend fun <BC : BehaviourContext> BC.onPrivateEvent(initialFilter: SimpleFilter<ChatEventMessage<PrivateEvent>>? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver<BC, Boolean, ChatEventMessage<PrivateEvent>, Update>? = MessageFilterByChat, markerFactory: MarkerFactory<in ChatEventMessage<PrivateEvent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver<BC, Unit, ChatEventMessage<PrivateEvent>>): Job
+
+
+
+
+
+
+ +
+
+
onProximityAlertTriggered +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
suspend fun <BC : BehaviourContext> BC.onProximityAlertTriggered(initialFilter: SimpleFilter<ChatEventMessage<ProximityAlertTriggered>>? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver<BC, Boolean, ChatEventMessage<ProximityAlertTriggered>, Update>? = MessageFilterByChat, markerFactory: MarkerFactory<in ChatEventMessage<ProximityAlertTriggered>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver<BC, Unit, ChatEventMessage<ProximityAlertTriggered>>): Job
+
+
+
+
+
+
+ +
+
+
onPublicChatEvent +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
suspend fun <BC : BehaviourContext> BC.onPublicChatEvent(initialFilter: SimpleFilter<ChatEventMessage<PublicChatEvent>>? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver<BC, Boolean, ChatEventMessage<PublicChatEvent>, Update>? = MessageFilterByChat, markerFactory: MarkerFactory<in ChatEventMessage<PublicChatEvent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver<BC, Unit, ChatEventMessage<PublicChatEvent>>): Job
+
+
+
+
+
+
+ +
+
+
onQuizPollUpdates +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
suspend fun <BC : BehaviourContext> BC.onQuizPollUpdates(initialFilter: SimpleFilter<QuizPoll>? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver<BC, Boolean, QuizPoll, Update>? = null, markerFactory: MarkerFactory<in QuizPoll, Any> = ByIdPollMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver<BC, Unit, QuizPoll>): Job
+
+
+
+
+
+
+ +
+
+
onRegularPollUpdates +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
suspend fun <BC : BehaviourContext> BC.onRegularPollUpdates(initialFilter: SimpleFilter<RegularPoll>? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver<BC, Boolean, RegularPoll, Update>? = null, markerFactory: MarkerFactory<in RegularPoll, Any> = ByIdPollMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver<BC, Unit, RegularPoll>): Job
+
+
+
+
+
+
+ +
+
+
onShippingQuery +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
suspend fun <BC : BehaviourContext> BC.onShippingQuery(initialFilter: SimpleFilter<ShippingQuery>? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver<BC, Boolean, ShippingQuery, Update>? = ShippingQueryFilterByUser, markerFactory: MarkerFactory<in ShippingQuery, Any> = ByUserShippingQueryMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver<BC, Unit, ShippingQuery>): Job
+
+
+
+
+
+
+ +
+
+
onStaticLocation +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
suspend fun <BC : BehaviourContext> BC.onStaticLocation(initialFilter: CommonMessageFilter<StaticLocationContent>? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver<BC, Boolean, CommonMessage<StaticLocationContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<StaticLocationContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver<BC, Unit, CommonMessage<StaticLocationContent>>): Job
+
+
+
+
+
+
+ +
+
+
onSticker +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
suspend fun <BC : BehaviourContext> BC.onSticker(initialFilter: CommonMessageFilter<StickerContent>? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver<BC, Boolean, CommonMessage<StickerContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<StickerContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver<BC, Unit, CommonMessage<StickerContent>>): Job
+
+
+
+
+
+
+ +
+
+
onSuccessfulPayment +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
suspend fun <BC : BehaviourContext> BC.onSuccessfulPayment(initialFilter: SimpleFilter<ChatEventMessage<SuccessfulPaymentEvent>>? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver<BC, Boolean, ChatEventMessage<SuccessfulPaymentEvent>, Update>? = MessageFilterByChat, markerFactory: MarkerFactory<in ChatEventMessage<SuccessfulPaymentEvent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver<BC, Unit, ChatEventMessage<SuccessfulPaymentEvent>>): Job
+
+

Please, remember that SuccessfulPaymentEvent will be retrieved only in case you will correctly handle dev.inmo.tgbotapi.types.payments.PreCheckoutQuery (via onPreCheckoutQuery, for example)

+
+
+
+
+ +
+
+
onSupergroupChatCreated +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
suspend fun <BC : BehaviourContext> BC.onSupergroupChatCreated(initialFilter: SimpleFilter<ChatEventMessage<SupergroupChatCreated>>? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver<BC, Boolean, ChatEventMessage<SupergroupChatCreated>, Update>? = MessageFilterByChat, markerFactory: MarkerFactory<in ChatEventMessage<SupergroupChatCreated>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver<BC, Unit, ChatEventMessage<SupergroupChatCreated>>): Job
+
+
+
+
+
+
+ +
+
+
onSupergroupEvent +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
suspend fun <BC : BehaviourContext> BC.onSupergroupEvent(initialFilter: SimpleFilter<ChatEventMessage<SupergroupEvent>>? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver<BC, Boolean, ChatEventMessage<SupergroupEvent>, Update>? = MessageFilterByChat, markerFactory: MarkerFactory<in ChatEventMessage<SupergroupEvent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver<BC, Unit, ChatEventMessage<SupergroupEvent>>): Job
- +
-
onText +
onText
Link copied to clipboard
@@ -1643,17 +1863,17 @@
-
suspend fun BehaviourContext.onText(initialFilter: CommonMessageFilter<TextContent>? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<TextContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<TextContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<TextContent>>): Job
+
suspend fun <BC : BehaviourContext> BC.onText(initialFilter: CommonMessageFilter<TextContent>? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver<BC, Boolean, CommonMessage<TextContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<TextContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver<BC, Unit, CommonMessage<TextContent>>): Job
- +
-
onUnknownCallbackQueryType +
onUnknownCallbackQueryType
Link copied to clipboard
@@ -1663,17 +1883,17 @@
-
suspend fun BehaviourContext.onUnknownCallbackQueryType(initialFilter: SimpleFilter<UnknownCallbackQueryType>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, UnknownCallbackQueryType, Update>? = CallbackQueryFilterByUser, markerFactory: MarkerFactory<in UnknownCallbackQueryType, Any> = ByUserCallbackQueryMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, UnknownCallbackQueryType>): Job
+
suspend fun <BC : BehaviourContext> BC.onUnknownCallbackQueryType(initialFilter: SimpleFilter<UnknownCallbackQueryType>? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver<BC, Boolean, UnknownCallbackQueryType, Update>? = CallbackQueryFilterByUser, markerFactory: MarkerFactory<in UnknownCallbackQueryType, Any> = ByUserCallbackQueryMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver<BC, Unit, UnknownCallbackQueryType>): Job
- +
-
onVenue +
onVenue
Link copied to clipboard
@@ -1683,17 +1903,17 @@
-
suspend fun BehaviourContext.onVenue(initialFilter: CommonMessageFilter<VenueContent>? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<VenueContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<VenueContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<VenueContent>>): Job
+
suspend fun <BC : BehaviourContext> BC.onVenue(initialFilter: CommonMessageFilter<VenueContent>? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver<BC, Boolean, CommonMessage<VenueContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<VenueContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver<BC, Unit, CommonMessage<VenueContent>>): Job
- +
-
onVideo +
onVideo
Link copied to clipboard
@@ -1703,17 +1923,17 @@
-
suspend fun BehaviourContext.onVideo(initialFilter: CommonMessageFilter<VideoContent>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<VideoContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<VideoContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<VideoContent>>): Job
+
suspend fun <BC : BehaviourContext> BC.onVideo(initialFilter: CommonMessageFilter<VideoContent>? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver<BC, Boolean, CommonMessage<VideoContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<VideoContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver<BC, Unit, CommonMessage<VideoContent>>): Job
- +
-
onVideoGallery +
onVideoGallery
Link copied to clipboard
@@ -1723,17 +1943,17 @@
-
suspend fun BehaviourContext.onVideoGallery(initialFilter: SimpleFilter<List<MediaGroupMessage<VideoContent>>>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, List<MediaGroupMessage<VideoContent>>, Update>? = MessagesFilterByChat, markerFactory: MarkerFactory<in List<MediaGroupMessage<VideoContent>>, Any> = ByChatMediaGroupMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, List<MediaGroupMessage<VideoContent>>>): Job
+
suspend fun <BC : BehaviourContext> BC.onVideoGallery(initialFilter: SimpleFilter<List<MediaGroupMessage<VideoContent>>>? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver<BC, Boolean, List<MediaGroupMessage<VideoContent>>, Update>? = MessagesFilterByChat, markerFactory: MarkerFactory<in List<MediaGroupMessage<VideoContent>>, Any> = ByChatMediaGroupMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver<BC, Unit, List<MediaGroupMessage<VideoContent>>>): Job
- +
-
onVideoNote +
onVideoNote
Link copied to clipboard
@@ -1743,17 +1963,17 @@
-
suspend fun BehaviourContext.onVideoNote(initialFilter: CommonMessageFilter<VideoNoteContent>? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<VideoNoteContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<VideoNoteContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<VideoNoteContent>>): Job
+
suspend fun <BC : BehaviourContext> BC.onVideoNote(initialFilter: CommonMessageFilter<VideoNoteContent>? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver<BC, Boolean, CommonMessage<VideoNoteContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<VideoNoteContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver<BC, Unit, CommonMessage<VideoNoteContent>>): Job
- +
-
onVisualGallery +
onVisualGallery
Link copied to clipboard
@@ -1763,17 +1983,17 @@
-
suspend fun BehaviourContext.onVisualGallery(initialFilter: SimpleFilter<List<MediaGroupMessage<VisualMediaGroupContent>>>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, List<MediaGroupMessage<VisualMediaGroupContent>>, Update>? = MessagesFilterByChat, markerFactory: MarkerFactory<in List<MediaGroupMessage<VisualMediaGroupContent>>, Any> = ByChatMediaGroupMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, List<MediaGroupMessage<VisualMediaGroupContent>>>): Job
+
suspend fun <BC : BehaviourContext> BC.onVisualGallery(initialFilter: SimpleFilter<List<MediaGroupMessage<VisualMediaGroupContent>>>? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver<BC, Boolean, List<MediaGroupMessage<VisualMediaGroupContent>>, Update>? = MessagesFilterByChat, markerFactory: MarkerFactory<in List<MediaGroupMessage<VisualMediaGroupContent>>, Any> = ByChatMediaGroupMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver<BC, Unit, List<MediaGroupMessage<VisualMediaGroupContent>>>): Job
- +
-
onVisualMediaGroup +
onVisualMediaGroup
Link copied to clipboard
@@ -1783,17 +2003,17 @@
-
suspend fun BehaviourContext.onVisualMediaGroup(initialFilter: SimpleFilter<List<MediaGroupMessage<VisualMediaGroupContent>>>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, List<MediaGroupMessage<VisualMediaGroupContent>>, Update>? = MessagesFilterByChat, markerFactory: MarkerFactory<in List<MediaGroupMessage<VisualMediaGroupContent>>, Any> = ByChatMediaGroupMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, List<MediaGroupMessage<VisualMediaGroupContent>>>): Job
+
suspend fun <BC : BehaviourContext> BC.onVisualMediaGroup(initialFilter: SimpleFilter<List<MediaGroupMessage<VisualMediaGroupContent>>>? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver<BC, Boolean, List<MediaGroupMessage<VisualMediaGroupContent>>, Update>? = MessagesFilterByChat, markerFactory: MarkerFactory<in List<MediaGroupMessage<VisualMediaGroupContent>>, Any> = ByChatMediaGroupMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver<BC, Unit, List<MediaGroupMessage<VisualMediaGroupContent>>>): Job
- +
-
onVoice +
onVoice
Link copied to clipboard
@@ -1803,17 +2023,17 @@
-
suspend fun BehaviourContext.onVoice(initialFilter: CommonMessageFilter<VoiceContent>? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<VoiceContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<VoiceContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<VoiceContent>>): Job
+
suspend fun <BC : BehaviourContext> BC.onVoice(initialFilter: CommonMessageFilter<VoiceContent>? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver<BC, Boolean, CommonMessage<VoiceContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<VoiceContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver<BC, Unit, CommonMessage<VoiceContent>>): Job
- +
-
onVoiceChatEndedEvent +
onVoiceChatEndedEvent
Link copied to clipboard
@@ -1823,17 +2043,17 @@
-
suspend fun BehaviourContext.onVoiceChatEndedEvent(initialFilter: SimpleFilter<ChatEventMessage<VoiceChatEnded>>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, ChatEventMessage<VoiceChatEnded>, Update>? = MessageFilterByChat, markerFactory: MarkerFactory<in ChatEventMessage<VoiceChatEnded>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, ChatEventMessage<VoiceChatEnded>>): Job
+
suspend fun <BC : BehaviourContext> BC.onVoiceChatEndedEvent(initialFilter: SimpleFilter<ChatEventMessage<VoiceChatEnded>>? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver<BC, Boolean, ChatEventMessage<VoiceChatEnded>, Update>? = MessageFilterByChat, markerFactory: MarkerFactory<in ChatEventMessage<VoiceChatEnded>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver<BC, Unit, ChatEventMessage<VoiceChatEnded>>): Job
- +
-
onVoiceChatEvent +
onVoiceChatEvent
Link copied to clipboard
@@ -1843,17 +2063,17 @@
-
suspend fun BehaviourContext.onVoiceChatEvent(initialFilter: SimpleFilter<ChatEventMessage<VoiceChatEvent>>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, ChatEventMessage<VoiceChatEvent>, Update>? = MessageFilterByChat, markerFactory: MarkerFactory<in ChatEventMessage<VoiceChatEvent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, ChatEventMessage<VoiceChatEvent>>): Job
+
suspend fun <BC : BehaviourContext> BC.onVoiceChatEvent(initialFilter: SimpleFilter<ChatEventMessage<VoiceChatEvent>>? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver<BC, Boolean, ChatEventMessage<VoiceChatEvent>, Update>? = MessageFilterByChat, markerFactory: MarkerFactory<in ChatEventMessage<VoiceChatEvent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver<BC, Unit, ChatEventMessage<VoiceChatEvent>>): Job
- +
- +
-
onVoiceChatStartedEvent +
onVoiceChatStartedEvent
Link copied to clipboard
@@ -1883,7 +2103,7 @@
-
suspend fun BehaviourContext.onVoiceChatStartedEvent(initialFilter: SimpleFilter<ChatEventMessage<VoiceChatStarted>>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, ChatEventMessage<VoiceChatStarted>, Update>? = MessageFilterByChat, markerFactory: MarkerFactory<in ChatEventMessage<VoiceChatStarted>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, ChatEventMessage<VoiceChatStarted>>): Job
+
suspend fun <BC : BehaviourContext> BC.onVoiceChatStartedEvent(initialFilter: SimpleFilter<ChatEventMessage<VoiceChatStarted>>? = null, subcontextUpdatesFilter: CustomBehaviourContextAndTwoTypesReceiver<BC, Boolean, ChatEventMessage<VoiceChatStarted>, Update>? = MessageFilterByChat, markerFactory: MarkerFactory<in ChatEventMessage<VoiceChatStarted>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: CustomBehaviourContextAndTypeReceiver<BC, Unit, ChatEventMessage<VoiceChatStarted>>): Job
diff --git a/docs/dev.inmo.tgbotapi.extensions.behaviour_builder.triggers_handling/on-animation.html b/docs/dev.inmo.tgbotapi.extensions.behaviour_builder.triggers_handling/on-animation.html index 7bf6af0dde..9f3be47bb1 100644 --- a/docs/dev.inmo.tgbotapi.extensions.behaviour_builder.triggers_handling/on-animation.html +++ b/docs/dev.inmo.tgbotapi.extensions.behaviour_builder.triggers_handling/on-animation.html @@ -13,7 +13,7 @@
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+

Inheritors

-
-
-
-
ByUserCallbackQueryMarkerFactory -
Link copied to clipboard
-
-
-
-
- -
-
-
ByIdCallbackQueryMarkerFactory -
Link copied to clipboard
-
-
-
-
- -
-
-
ByChatInstanceCallbackQueryMarkerFactory -
Link copied to clipboard
-
-
-
-
- +
+ +
+
+
ByUserIdChosenInlineResultMarkerFactory +
Link copied to clipboard
+
+
+
+
@@ -132,6 +114,69 @@
+ +
+
+
ByIdPollMarkerFactory +
Link copied to clipboard
+
+
+
+
+ +
+
+
ByIdPollAnswerMarkerFactory +
Link copied to clipboard
+
+
+
+
+ +
+
+
ByUserCallbackQueryMarkerFactory +
Link copied to clipboard
+
+
+
+
+ +
+
+
ByUserShippingQueryMarkerFactory +
Link copied to clipboard
+
+
+
+
+ +
+
+
ByUserPreCheckoutQueryMarkerFactory +
Link copied to clipboard
+
+
+
+
+ +
+
+
ByIdCallbackQueryMarkerFactory +
Link copied to clipboard
+
+
+
+
+ +
+
+
ByChatInstanceCallbackQueryMarkerFactory +
Link copied to clipboard
+
+
+
+
diff --git a/docs/dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/index.html b/docs/dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/index.html index 3be733c9e9..2de7eeb2a6 100644 --- a/docs/dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/index.html +++ b/docs/dev.inmo.tgbotapi.extensions.behaviour_builder.utils.marker_factories/index.html @@ -144,6 +144,46 @@
object ByIdInlineQueryMarkerFactory : MarkerFactory<InlineQuery, Any>
+
+
+
+
+ +
+
+
ByIdPollAnswerMarkerFactory +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
object ByIdPollAnswerMarkerFactory : MarkerFactory<PollAnswer, Any>
+
+
+
+
+
+
+ +
+
+
ByIdPollMarkerFactory +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
object ByIdPollMarkerFactory : MarkerFactory<Poll, Any>
+
+
@@ -164,6 +204,26 @@
object ByUserCallbackQueryMarkerFactory : MarkerFactory<CallbackQuery, Any>
+
+
+
+
+ +
+
+
ByUserIdChosenInlineResultMarkerFactory +
Link copied to clipboard
+
+
+
+
common
+
+
+ + +
@@ -204,6 +264,46 @@
object ByUserMessageMarkerFactory : MarkerFactory<Message, Any>
+
+
+
+
+ +
+
+
ByUserPreCheckoutQueryMarkerFactory +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+ +
+
+
+
+
+
+ +
+
+
ByUserShippingQueryMarkerFactory +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
object ByUserShippingQueryMarkerFactory : MarkerFactory<ShippingQuery, Any>
+
+
diff --git a/docs/dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context-with-f-s-m-builder/add-strict.html b/docs/dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context-with-f-s-m-builder/add-strict.html new file mode 100644 index 0000000000..2d358733b9 --- /dev/null +++ b/docs/dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context-with-f-s-m-builder/add-strict.html @@ -0,0 +1,39 @@ + + + + addStrict + + +
+
+ + +
+
+
+
+
+
+ +
+

addStrict

+
+
+ +
+
fun <I : State> addStrict(kClass: KClass<I>, handler: BehaviourWithFSMStateHandler<I>)
+
+

Add STRICT handler to list of available in future BehaviourContextWithFSM. Strict means that for input State will be used State::class == kClass and any State with exactly the same type will pass requirements

See also

+
+ +
+
+ + + diff --git a/docs/dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context-with-f-s-m-builder/add.html b/docs/dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context-with-f-s-m-builder/add.html new file mode 100644 index 0000000000..d0f6851f55 --- /dev/null +++ b/docs/dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context-with-f-s-m-builder/add.html @@ -0,0 +1,39 @@ + + + + add + + +
+
+ + +
+
+
+
+
+
+ +
+

add

+
+
+ +
+
fun <I : State> add(kClass: KClass<I>, handler: BehaviourWithFSMStateHandler<I>)
+
+

Add NON STRICT handler to list of available in future BehaviourContextWithFSM. Non strict means that for input State will be used KClass.isInstance and any inheritor of kClass will pass this requirement

See also

+
+ +
+
+ + + diff --git a/docs/dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context-with-f-s-m-builder/index.html b/docs/dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context-with-f-s-m-builder/index.html new file mode 100644 index 0000000000..f0871ed3ff --- /dev/null +++ b/docs/dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context-with-f-s-m-builder/index.html @@ -0,0 +1,659 @@ + + + + BehaviourContextWithFSMBuilder + + +
+
+ + +
+
+
+
+
+
+ +
+

BehaviourContextWithFSMBuilder

+
class BehaviourContextWithFSMBuilder : BehaviourContextWithFSM
+
+
+
+
+

Functions

+
+
+
+
add +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
fun <I : State> add(kClass: KClass<I>, handler: BehaviourWithFSMStateHandler<I>)
+
+

Add NON STRICT handler to list of available in future BehaviourContextWithFSM. Non strict means that for input State will be used KClass.isInstance and any inheritor of kClass will pass this requirement

+
+
+
+
+ +
+
+
addStrict +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
fun <I : State> addStrict(kClass: KClass<I>, handler: BehaviourWithFSMStateHandler<I>)
+
+

Add STRICT handler to list of available in future BehaviourContextWithFSM. Strict means that for input State will be used State::class == kClass and any State with exactly the same type will pass requirements

+
+
+
+
+ +
+
+
close +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
open override fun close()
+
+
+
+
+
+
+ +
+
+
copy +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
open override fun copy(bot: TelegramBot, scope: CoroutineScope, broadcastChannelsSize: Int, onBufferOverflow: BufferOverflow, upstreamUpdatesFlow: Flow<Update>?, updatesFilter: BehaviourContextAndTypeReceiver<Boolean, Update>?): BehaviourContextWithFSM
+
+
+
+
+
+
+ +
+
+
execute +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
open suspend override fun <T : Any> execute(request: Request<T>): T
+
+

Unsafe execution of incoming request. Can throw almost any exception. So, it is better to use something like dev.inmo.tgbotapi.extensions.utils.shortcuts.executeAsync or dev.inmo.tgbotapi.extensions.utils.shortcuts.executeUnsafe

+
+
+
+
+ +
+
+
handleState +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
open suspend override fun StatesMachine.handleState(state: State): State?
+
+
+
+
+
+
+ +
+
+
onStateOrSubstate +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
inline fun <I : State> onStateOrSubstate(handler: BehaviourWithFSMStateHandler<I>)
+
+

Add NON STRICT handler to list of available in future BehaviourContextWithFSM. Non strict means that for input State will be used KClass.isInstance and any inheritor of kClass will pass this requirement

+
+
+
+
+ +
+
+
start +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
open suspend override fun start(): Job
open override fun start(scope: CoroutineScope): Job
+
+
+
+
+
+
+ +
+
+
startChain +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
open suspend override fun startChain(state: State)
+
+
+
+
+
+
+ +
+
+
strictlyOn +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
inline fun <I : State> strictlyOn(handler: BehaviourWithFSMStateHandler<I>)
+
+

Add STRICT handler to list of available in future BehaviourContextWithFSM. Strict means that for input State will be used State::class == kClass and any State with exactly the same type will pass requirements

+
+
+
+
+
+

Properties

+
+
+
+
allowedUpdates +
Link copied to clipboard
+
+
+
+
common
+
+
+
open override val allowedUpdates: List<String>
+
+
+
+
+ +
+
+
allUpdatesFlow +
Link copied to clipboard
+
+
+
+
common
+
+
+
open override val allUpdatesFlow: Flow<Update>
+
+
+
+
+ +
+
+
allUpdatesWithoutMediaGroupsGroupingFlow +
Link copied to clipboard
+
+
+
+
common
+
+
+
open override val allUpdatesWithoutMediaGroupsGroupingFlow: Flow<Update>
+
+
+
+
+ +
+
+
asUpdateReceiver +
Link copied to clipboard
+
+
+
+
common
+
+
+
open override val asUpdateReceiver: UpdateReceiver<Update>
+
+
+
+
+ +
+
+
bot +
Link copied to clipboard
+
+
+
+
common
+
+
+
open override val bot: TelegramBot
+
+
+
+
+ +
+
+
callbackQueriesFlow +
Link copied to clipboard
+
+
+
+
common
+
+
+
open override val callbackQueriesFlow: Flow<CallbackQueryUpdate>
+
+
+
+
+ +
+
+
channelPostMediaGroupsFlow +
Link copied to clipboard
+
+
+
+
common
+
+
+
open override val channelPostMediaGroupsFlow: Flow<ChannelPostMediaGroupUpdate>
+
+
+
+
+ +
+
+
channelPostsFlow +
Link copied to clipboard
+
+
+
+
common
+
+
+
open override val channelPostsFlow: Flow<ChannelPostUpdate>
+
+
+
+
+ +
+
+
chatMemberUpdatesFlow +
Link copied to clipboard
+
+
+
+
common
+
+
+
open override val chatMemberUpdatesFlow: Flow<CommonChatMemberUpdatedUpdate>
+
+
+
+
+ +
+
+
chosenInlineResultsFlow +
Link copied to clipboard
+
+
+
+
common
+
+
+
open override val chosenInlineResultsFlow: Flow<ChosenInlineResultUpdate>
+
+
+
+
+ +
+
+
coroutineContext +
Link copied to clipboard
+
+
+
+
common
+
+
+
open override val coroutineContext: CoroutineContext
+
+
+
+
+ +
+
+
editedChannelPostMediaGroupsFlow +
Link copied to clipboard
+
+
+
+
common
+
+
+
open override val editedChannelPostMediaGroupsFlow: Flow<EditChannelPostMediaGroupUpdate>
+
+
+
+
+ +
+
+
editedChannelPostsFlow +
Link copied to clipboard
+
+
+
+
common
+
+
+
open override val editedChannelPostsFlow: Flow<EditChannelPostUpdate>
+
+
+
+
+ +
+
+
editedMessageMediaGroupsFlow +
Link copied to clipboard
+
+
+
+
common
+
+
+
open override val editedMessageMediaGroupsFlow: Flow<EditMessageMediaGroupUpdate>
+
+
+
+
+ +
+
+
editedMessagesFlow +
Link copied to clipboard
+
+
+
+
common
+
+
+
open override val editedMessagesFlow: Flow<EditMessageUpdate>
+
+
+
+
+ +
+
+
flowsUpdatesFilter +
Link copied to clipboard
+
+
+
+
common
+
+
+
open override val flowsUpdatesFilter: FlowsUpdatesFilter

This parameter will be used to subscribe on different types of update

+
+
+
+
+ +
+
+
inlineQueriesFlow +
Link copied to clipboard
+
+
+
+
common
+
+
+
open override val inlineQueriesFlow: Flow<InlineQueryUpdate>
+
+
+
+
+ +
+
+
messageMediaGroupsFlow +
Link copied to clipboard
+
+
+
+
common
+
+
+
open override val messageMediaGroupsFlow: Flow<MessageMediaGroupUpdate>
+
+
+
+
+ +
+
+
messagesFlow +
Link copied to clipboard
+
+
+
+
common
+
+
+
open override val messagesFlow: Flow<MessageUpdate>
+
+
+
+
+ +
+
+
myChatMemberUpdatesFlow +
Link copied to clipboard
+
+
+
+
common
+
+
+
open override val myChatMemberUpdatesFlow: Flow<MyChatMemberUpdatedUpdate>
+
+
+
+
+ +
+
+
pollAnswersFlow +
Link copied to clipboard
+
+
+
+
common
+
+
+
open override val pollAnswersFlow: Flow<PollAnswerUpdate>
+
+
+
+
+ +
+
+
pollsFlow +
Link copied to clipboard
+
+
+
+
common
+
+
+
open override val pollsFlow: Flow<PollUpdate>
+
+
+
+
+ +
+
+
preCheckoutQueriesFlow +
Link copied to clipboard
+
+
+
+
common
+
+
+
open override val preCheckoutQueriesFlow: Flow<PreCheckoutQueryUpdate>
+
+
+
+
+ +
+
+
scope +
Link copied to clipboard
+
+
+
+
common
+
+
+
open override val scope: CoroutineScope

Will be used for creating of some subscriptions inside of methods, updates listening and different other things in context of working with CoroutineScope and coroutines.

+
+
+
+
+ +
+
+
shippingQueriesFlow +
Link copied to clipboard
+
+
+
+
common
+
+
+
open override val shippingQueriesFlow: Flow<ShippingQueryUpdate>
+
+
+
+
+ +
+
+
unknownUpdatesFlow +
Link copied to clipboard
+
+
+
+
common
+
+
+
open override val unknownUpdatesFlow: Flow<UnknownUpdate>
+
+
+
+
+
+
+
+
+ +
+
+ + + diff --git a/docs/dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context-with-f-s-m-builder/on-state-or-substate.html b/docs/dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context-with-f-s-m-builder/on-state-or-substate.html new file mode 100644 index 0000000000..f3dac5dc54 --- /dev/null +++ b/docs/dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context-with-f-s-m-builder/on-state-or-substate.html @@ -0,0 +1,39 @@ + + + + onStateOrSubstate + + +
+
+ + +
+
+
+
+
+
+ +
+

onStateOrSubstate

+
+
+ +
+
inline fun <I : State> onStateOrSubstate(handler: BehaviourWithFSMStateHandler<I>)
+
+

Add NON STRICT handler to list of available in future BehaviourContextWithFSM. Non strict means that for input State will be used KClass.isInstance and any inheritor of kClass will pass this requirement

See also

+
+ +
+
+ + + diff --git a/docs/dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context-with-f-s-m-builder/strictly-on.html b/docs/dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context-with-f-s-m-builder/strictly-on.html new file mode 100644 index 0000000000..7bfadd5440 --- /dev/null +++ b/docs/dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context-with-f-s-m-builder/strictly-on.html @@ -0,0 +1,39 @@ + + + + strictlyOn + + +
+
+ + +
+
+
+
+
+
+ +
+

strictlyOn

+
+
+ +
+
inline fun <I : State> strictlyOn(handler: BehaviourWithFSMStateHandler<I>)
+
+

Add STRICT handler to list of available in future BehaviourContextWithFSM. Strict means that for input State will be used State::class == kClass and any State with exactly the same type will pass requirements

See also

+
+ +
+
+ + + diff --git a/docs/dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context-with-f-s-m/-companion/index.html b/docs/dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context-with-f-s-m/-companion/index.html new file mode 100644 index 0000000000..de67f6e7f4 --- /dev/null +++ b/docs/dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context-with-f-s-m/-companion/index.html @@ -0,0 +1,61 @@ + + + + Companion + + +
+
+ + +
+
+
+
+
+
+ +
+

Companion

+
object Companion
+
+
+
+
+

Functions

+
+
+
+
invoke +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
operator fun invoke(behaviourContext: BehaviourContext, handlers: List<BehaviourWithFSMStateHandlerHolder<*>>, statesManager: StatesManager): DefaultBehaviourContextWithFSM
+
+
+
+
+
+
+
+
+
+
+ +
+
+ + + diff --git a/docs/dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context-with-f-s-m/-companion/invoke.html b/docs/dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context-with-f-s-m/-companion/invoke.html new file mode 100644 index 0000000000..dd7129b158 --- /dev/null +++ b/docs/dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context-with-f-s-m/-companion/invoke.html @@ -0,0 +1,39 @@ + + + + invoke + + +
+
+ + +
+
+
+
+
+
+ +
+

invoke

+
+
+ +
+
operator fun invoke(behaviourContext: BehaviourContext, handlers: List<BehaviourWithFSMStateHandlerHolder<*>>, statesManager: StatesManager): DefaultBehaviourContextWithFSM
+
+
+
+ +
+
+ + + diff --git a/docs/dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context-with-f-s-m/copy.html b/docs/dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context-with-f-s-m/copy.html new file mode 100644 index 0000000000..009b71f053 --- /dev/null +++ b/docs/dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context-with-f-s-m/copy.html @@ -0,0 +1,39 @@ + + + + copy + + +
+
+ + +
+
+
+
+
+
+ +
+

copy

+
+
+ +
+
abstract override fun copy(bot: TelegramBot, scope: CoroutineScope, broadcastChannelsSize: Int, onBufferOverflow: BufferOverflow, upstreamUpdatesFlow: Flow<Update>?, updatesFilter: BehaviourContextAndTypeReceiver<Boolean, Update>?): BehaviourContextWithFSM
+
+
+
+ +
+
+ + + diff --git a/docs/dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context-with-f-s-m/index.html b/docs/dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context-with-f-s-m/index.html new file mode 100644 index 0000000000..6171df58d7 --- /dev/null +++ b/docs/dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context-with-f-s-m/index.html @@ -0,0 +1,625 @@ + + + + BehaviourContextWithFSM + + +
+
+ + +
+
+
+
+
+
+ +
+

BehaviourContextWithFSM

+
interface BehaviourContextWithFSM : BehaviourContext, StatesMachine

Interface which combine BehaviourContext and StatesMachine. Subcontext of triggers and states contexts must have one common flow of updates and must not lose updates between updates

+
+
+
+
+

See also

+ +

Types

+
+
+
+
Companion +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
object Companion
+
+
+
+
+
+
+
+

Functions

+
+
+
+
close +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
abstract fun close()
+
+
+
+
+
+
+ +
+
+
copy +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
abstract override fun copy(bot: TelegramBot, scope: CoroutineScope, broadcastChannelsSize: Int, onBufferOverflow: BufferOverflow, upstreamUpdatesFlow: Flow<Update>?, updatesFilter: BehaviourContextAndTypeReceiver<Boolean, Update>?): BehaviourContextWithFSM
+
+
+
+
+
+
+ +
+
+
execute +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
abstract suspend fun <T : Any> execute(request: Request<T>): T
+
+

Unsafe execution of incoming request. Can throw almost any exception. So, it is better to use something like dev.inmo.tgbotapi.extensions.utils.shortcuts.executeAsync or dev.inmo.tgbotapi.extensions.utils.shortcuts.executeUnsafe

+
+
+
+
+ +
+
+
handleState +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
abstract suspend fun StatesMachine.handleState(state: State): State?
+
+
+
+
+
+
+ +
+
+
start +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
open suspend fun start(): Job
abstract fun start(scope: CoroutineScope): Job
+
+
+
+
+
+
+ +
+
+
startChain +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
abstract suspend fun startChain(state: State)
+
+
+
+
+
+
+
+

Properties

+
+
+
+
allowedUpdates +
Link copied to clipboard
+
+
+
+
common
+
+
+
open override val allowedUpdates: List<String>
+
+
+
+
+ +
+
+
allUpdatesFlow +
Link copied to clipboard
+
+
+
+
common
+
+
+
abstract val allUpdatesFlow: Flow<Update>
+
+
+
+
+ +
+
+
allUpdatesWithoutMediaGroupsGroupingFlow +
Link copied to clipboard
+
+
+
+
common
+
+
+
abstract val allUpdatesWithoutMediaGroupsGroupingFlow: Flow<Update>
+
+
+
+
+ +
+
+
asUpdateReceiver +
Link copied to clipboard
+
+
+
+
common
+
+
+
abstract val asUpdateReceiver: UpdateReceiver<Update>
+
+
+
+
+ +
+
+
bot +
Link copied to clipboard
+
+
+
+
common
+
+
+
open val bot: TelegramBot
+
+
+
+
+ +
+
+
callbackQueriesFlow +
Link copied to clipboard
+
+
+
+
common
+
+
+
abstract val callbackQueriesFlow: Flow<CallbackQueryUpdate>
+
+
+
+
+ +
+
+
channelPostMediaGroupsFlow +
Link copied to clipboard
+
+
+
+
common
+
+
+
abstract val channelPostMediaGroupsFlow: Flow<ChannelPostMediaGroupUpdate>
+
+
+
+
+ +
+
+
channelPostsFlow +
Link copied to clipboard
+
+
+
+
common
+
+
+
abstract val channelPostsFlow: Flow<ChannelPostUpdate>
+
+
+
+
+ +
+
+
chatMemberUpdatesFlow +
Link copied to clipboard
+
+
+
+
common
+
+
+
abstract val chatMemberUpdatesFlow: Flow<CommonChatMemberUpdatedUpdate>
+
+
+
+
+ +
+
+
chosenInlineResultsFlow +
Link copied to clipboard
+
+
+
+
common
+
+
+
abstract val chosenInlineResultsFlow: Flow<ChosenInlineResultUpdate>
+
+
+
+
+ +
+
+
coroutineContext +
Link copied to clipboard
+
+
+
+
common
+
+
+
abstract val coroutineContext: CoroutineContext
+
+
+
+
+ +
+
+
editedChannelPostMediaGroupsFlow +
Link copied to clipboard
+
+
+
+
common
+
+
+
abstract val editedChannelPostMediaGroupsFlow: Flow<EditChannelPostMediaGroupUpdate>
+
+
+
+
+ +
+
+
editedChannelPostsFlow +
Link copied to clipboard
+
+
+
+
common
+
+
+
abstract val editedChannelPostsFlow: Flow<EditChannelPostUpdate>
+
+
+
+
+ +
+
+
editedMessageMediaGroupsFlow +
Link copied to clipboard
+
+
+
+
common
+
+
+
abstract val editedMessageMediaGroupsFlow: Flow<EditMessageMediaGroupUpdate>
+
+
+
+
+ +
+
+
editedMessagesFlow +
Link copied to clipboard
+
+
+
+
common
+
+
+
abstract val editedMessagesFlow: Flow<EditMessageUpdate>
+
+
+
+
+ +
+
+
flowsUpdatesFilter +
Link copied to clipboard
+
+
+
+
common
+
+
+
open val flowsUpdatesFilter: FlowsUpdatesFilter

This parameter will be used to subscribe on different types of update

+
+
+
+
+ +
+
+
inlineQueriesFlow +
Link copied to clipboard
+
+
+
+
common
+
+
+
abstract val inlineQueriesFlow: Flow<InlineQueryUpdate>
+
+
+
+
+ +
+
+
messageMediaGroupsFlow +
Link copied to clipboard
+
+
+
+
common
+
+
+
abstract val messageMediaGroupsFlow: Flow<MessageMediaGroupUpdate>
+
+
+
+
+ +
+
+
messagesFlow +
Link copied to clipboard
+
+
+
+
common
+
+
+
abstract val messagesFlow: Flow<MessageUpdate>
+
+
+
+
+ +
+
+
myChatMemberUpdatesFlow +
Link copied to clipboard
+
+
+
+
common
+
+
+
abstract val myChatMemberUpdatesFlow: Flow<MyChatMemberUpdatedUpdate>
+
+
+
+
+ +
+
+
pollAnswersFlow +
Link copied to clipboard
+
+
+
+
common
+
+
+
abstract val pollAnswersFlow: Flow<PollAnswerUpdate>
+
+
+
+
+ +
+
+
pollsFlow +
Link copied to clipboard
+
+
+
+
common
+
+
+
abstract val pollsFlow: Flow<PollUpdate>
+
+
+
+
+ +
+
+
preCheckoutQueriesFlow +
Link copied to clipboard
+
+
+
+
common
+
+
+
abstract val preCheckoutQueriesFlow: Flow<PreCheckoutQueryUpdate>
+
+
+
+
+ +
+
+
scope +
Link copied to clipboard
+
+
+
+
common
+
+
+
open val scope: CoroutineScope

Will be used for creating of some subscriptions inside of methods, updates listening and different other things in context of working with CoroutineScope and coroutines.

+
+
+
+
+ +
+
+
shippingQueriesFlow +
Link copied to clipboard
+
+
+
+
common
+
+
+
abstract val shippingQueriesFlow: Flow<ShippingQueryUpdate>
+
+
+
+
+ +
+
+
unknownUpdatesFlow +
Link copied to clipboard
+
+
+
+
common
+
+
+
abstract val unknownUpdatesFlow: Flow<UnknownUpdate>
+
+
+
+
+
+

Inheritors

+
+
+
+
DefaultBehaviourContextWithFSM +
Link copied to clipboard
+
+
+
+
+ +
+
+
BehaviourContextWithFSMBuilder +
Link copied to clipboard
+
+
+
+
+
+
+
+
+ +
+
+ + + diff --git a/docs/dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context-with-f-s-m/start.html b/docs/dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context-with-f-s-m/start.html new file mode 100644 index 0000000000..19bb2077aa --- /dev/null +++ b/docs/dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context-with-f-s-m/start.html @@ -0,0 +1,39 @@ + + + + start + + +
+
+ + +
+
+
+
+
+
+ +
+

start

+
+
+ +
+
open suspend fun start(): Job
+
+
+
+ +
+
+ + + diff --git a/docs/dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context.html b/docs/dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context.html index ba3e04a795..77cb0f5226 100644 --- a/docs/dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context.html +++ b/docs/dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context.html @@ -27,7 +27,7 @@
-
fun BehaviourContext(bot: TelegramBot, scope: CoroutineScope, flowsUpdatesFilter: FlowsUpdatesFilter = FlowsUpdatesFilter()): DefaultBehaviourContext
+
fun BehaviourContext(bot: TelegramBot, scope: CoroutineScope, flowsUpdatesFilter: FlowsUpdatesFilter = FlowsUpdatesFilter()): DefaultBehaviourContext
inline fun <T> BehaviourContext(bot: TelegramBot, scope: CoroutineScope, flowsUpdatesFilter: FlowsUpdatesFilter = FlowsUpdatesFilter(), crossinline block: BehaviourContext.() -> T): T
diff --git a/docs/dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/copy.html b/docs/dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/copy.html index 30cd07f507..aaf866dde4 100644 --- a/docs/dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/copy.html +++ b/docs/dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/copy.html @@ -13,7 +13,7 @@
-
+

BehaviourContext

-
interface BehaviourContext : FlowsUpdatesFilter, RequestsExecutor, CoroutineScope

This class contains all necessary tools for work with bots and especially for buildBehaviour

+
interface BehaviourContext : FlowsUpdatesFilter, RequestsExecutor, CoroutineScope

This class contains all necessary tools for work with bots and especially for buildBehaviour

@@ -36,7 +36,7 @@
-
close +
close
Link copied to clipboard
@@ -46,17 +46,17 @@
-
abstract fun close()
+
abstract fun close()
- +
-
copy +
copy
Link copied to clipboard
@@ -66,7 +66,7 @@
-
abstract fun copy(bot: TelegramBot = this.bot, scope: CoroutineScope = this.scope, flowsUpdatesFilter: FlowsUpdatesFilter = this.flowsUpdatesFilter): BehaviourContext
+
abstract fun copy(bot: TelegramBot = this.bot, scope: CoroutineScope = this.scope, broadcastChannelsSize: Int = 100, onBufferOverflow: BufferOverflow = BufferOverflow.SUSPEND, upstreamUpdatesFlow: Flow<Update>? = null, updatesFilter: BehaviourContextAndTypeReceiver<Boolean, Update>? = null): BehaviourContext
@@ -513,7 +513,25 @@

Inheritors

-
+
+
+
+
BehaviourContextWithFSM +
Link copied to clipboard
+
+
+
+
+ +
+
+
DefaultBehaviourContextWithFSM +
Link copied to clipboard
+
+
+
+
+
DefaultBehaviourContext @@ -524,10 +542,10 @@

Extensions

-
+
-
command +
doInSubContext
Link copied to clipboard
@@ -537,89 +555,9 @@
-
suspend fun BehaviourContext.command(commandRegex: Regex, requireOnlyCommandInMessage: Boolean = true, initialFilter: CommonMessageFilter<TextContent>? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<TextContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<TextContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<TextContent>>): Job
suspend fun BehaviourContext.command(command: String, requireOnlyCommandInMessage: Boolean = true, initialFilter: CommonMessageFilter<TextContent>? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<TextContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<TextContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<TextContent>>): Job
+
suspend fun <T> BehaviourContext.doInSubContext(stopOnCompletion: Boolean = true, updatesUpstreamFlow: Flow<Update> = allUpdatesFlow, scope: CoroutineScope = LinkedSupervisorScope(), behaviourContextReceiver: BehaviourContextReceiver<T>): T
-
-
-
-
- -
-
-
commandWithArgs -
Link copied to clipboard
-
-
-
-
common
-
-
- -
-
suspend fun BehaviourContext.commandWithArgs(commandRegex: Regex, initialFilter: CommonMessageFilter<TextContent>? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<TextContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<TextContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTwoTypesReceiver<Unit, CommonMessage<TextContent>, Array<String>>): Job
suspend fun BehaviourContext.commandWithArgs(command: String, initialFilter: CommonMessageFilter<TextContent>? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<TextContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<TextContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTwoTypesReceiver<Unit, CommonMessage<TextContent>, Array<String>>): Job
-
-
-
-
-
-
- -
-
-
doInSubContext -
Link copied to clipboard
-
-
-
-
common
-
-
- -
-
suspend fun <T> BehaviourContext.doInSubContext(stopOnCompletion: Boolean = true, behaviourContextReceiver: BehaviourContextReceiver<T>): T
-
-
-
-
-
-
- -
-
-
doInSubContextWithFlowsUpdatesFilterSetup -
Link copied to clipboard
-
-
-
-
common
-
-
- -
-
suspend fun <T> BehaviourContext.doInSubContextWithFlowsUpdatesFilterSetup(newFlowsUpdatesFilterSetUp: BehaviourContextAndTypeReceiver<Unit, FlowsUpdatesFilter>?, stopOnCompletion: Boolean = true, behaviourContextReceiver: BehaviourContextReceiver<T>): T
-
-

Creates new one BehaviourContext, adding subsequent FlowsUpdatesFilter in case newFlowsUpdatesFilterSetUp is provided and CoroutineScope as new BehaviourContext.scope. You must do all subscription/running of longPolling manually.

-
-
-
-
- -
-
-
doInSubContextWithUpdatesFilter -
Link copied to clipboard
-
-
-
-
common
-
-
- -
-
suspend fun <T> BehaviourContext.doInSubContextWithUpdatesFilter(updatesFilter: BehaviourContextAndTypeReceiver<Boolean, Update>?, stopOnCompletion: Boolean = true, behaviourContextReceiver: BehaviourContextReceiver<T>): T
-
-

Creates new one BehaviourContext, adding subsequent FlowsUpdatesFilter in case updatesFilter is provided and CoroutineScope as new BehaviourContext.scope

@@ -680,846 +618,6 @@
suspend fun BehaviourContext.followLocation(message: ContentMessage<LiveLocationContent>, onLocation: BehaviourContextAndTypeReceiver<Unit, Location>)

Use this extension when you want to follow LiveLocation until it will became StaticLocation. This method is synchronous. You may use something like kotlinx.coroutines.launch or kotlinx.coroutines.async to run it asynchronously

-
-
-
-
- -
-
-
onAnimation -
Link copied to clipboard
-
-
-
-
common
-
-
- -
-
suspend fun BehaviourContext.onAnimation(initialFilter: CommonMessageFilter<AnimationContent>? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<AnimationContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<AnimationContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<AnimationContent>>): Job
-
-
-
-
-
-
- -
-
-
onAnyInlineQuery -
Link copied to clipboard
-
-
-
-
common
-
-
- -
-
suspend fun BehaviourContext.onAnyInlineQuery(initialFilter: SimpleFilter<InlineQuery>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, InlineQuery, Update>? = InlineQueryFilterByUser, markerFactory: MarkerFactory<in InlineQuery, Any> = ByUserInlineQueryMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, InlineQuery>): Job
-
-
-
-
-
-
- -
-
-
onAudio -
Link copied to clipboard
-
-
-
-
common
-
-
- -
-
suspend fun BehaviourContext.onAudio(initialFilter: CommonMessageFilter<AudioContent>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<AudioContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<AudioContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<AudioContent>>): Job
-
-
-
-
-
-
- -
-
-
onAudioMediaGroup -
Link copied to clipboard
-
-
-
-
common
-
-
- -
-
suspend fun BehaviourContext.onAudioMediaGroup(initialFilter: CommonMessageFilter<AudioMediaGroupContent>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<AudioMediaGroupContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<AudioMediaGroupContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<AudioMediaGroupContent>>): Job
-
-
-
-
-
-
- -
-
-
onBaseInlineQuery -
Link copied to clipboard
-
-
-
-
common
-
-
- -
-
suspend fun BehaviourContext.onBaseInlineQuery(initialFilter: SimpleFilter<BaseInlineQuery>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, BaseInlineQuery, Update>? = InlineQueryFilterByUser, markerFactory: MarkerFactory<in BaseInlineQuery, Any> = ByUserInlineQueryMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, BaseInlineQuery>): Job
-
-
-
-
-
-
- -
-
-
onChannelChatCreated -
Link copied to clipboard
-
-
-
-
common
-
-
- -
-
suspend fun BehaviourContext.onChannelChatCreated(initialFilter: SimpleFilter<ChatEventMessage<ChannelChatCreated>>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, ChatEventMessage<ChannelChatCreated>, Update>? = MessageFilterByChat, markerFactory: MarkerFactory<in ChatEventMessage<ChannelChatCreated>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, ChatEventMessage<ChannelChatCreated>>): Job
-
-
-
-
-
-
- -
-
-
onChannelEvent -
Link copied to clipboard
-
-
-
-
common
-
-
- -
-
suspend fun BehaviourContext.onChannelEvent(initialFilter: SimpleFilter<ChatEventMessage<ChannelEvent>>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, ChatEventMessage<ChannelEvent>, Update>? = MessageFilterByChat, markerFactory: MarkerFactory<in ChatEventMessage<ChannelEvent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, ChatEventMessage<ChannelEvent>>): Job
-
-
-
-
-
-
- -
-
-
onChatEvent -
Link copied to clipboard
-
-
-
-
common
-
-
- -
-
suspend fun BehaviourContext.onChatEvent(initialFilter: SimpleFilter<ChatEventMessage<ChatEvent>>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, ChatEventMessage<ChatEvent>, Update>? = MessageFilterByChat, markerFactory: MarkerFactory<in ChatEventMessage<ChatEvent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, ChatEventMessage<ChatEvent>>): Job
-
-
-
-
-
-
- -
-
-
onChatMemberUpdated -
Link copied to clipboard
-
-
-
-
common
-
-
- -
-
suspend fun BehaviourContext.onChatMemberUpdated(initialFilter: SimpleFilter<ChatMemberUpdated>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, ChatMemberUpdated, Update>? = ChatMemberUpdatedFilterByChat, markerFactory: MarkerFactory<ChatMemberUpdated, Any> = ByChatChatMemberUpdatedMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, ChatMemberUpdated>): Job
-
-
-
-
-
-
- -
-
-
onCommand -
Link copied to clipboard
-
-
-
-
common
-
-
- -
-
inline suspend fun BehaviourContext.onCommand(commandRegex: Regex, requireOnlyCommandInMessage: Boolean = true, noinline initialFilter: CommonMessageFilter<TextContent>? = CommonMessageFilterExcludeMediaGroups, noinline subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<TextContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<TextContent>, Any> = ByChatMessageMarkerFactory, noinline scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<TextContent>>): Job
inline suspend fun BehaviourContext.onCommand(command: String, requireOnlyCommandInMessage: Boolean = true, noinline initialFilter: CommonMessageFilter<TextContent>? = CommonMessageFilterExcludeMediaGroups, noinline subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<TextContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<TextContent>, Any> = ByChatMessageMarkerFactory, noinline scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<TextContent>>): Job
-
-
-
-
-
-
- -
-
-
onCommandWithArgs -
Link copied to clipboard
-
-
-
-
common
-
-
- -
-
inline suspend fun BehaviourContext.onCommandWithArgs(commandRegex: Regex, noinline initialFilter: CommonMessageFilter<TextContent>? = CommonMessageFilterExcludeMediaGroups, noinline subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<TextContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<TextContent>, Any> = ByChatMessageMarkerFactory, noinline scenarioReceiver: BehaviourContextAndTwoTypesReceiver<Unit, CommonMessage<TextContent>, Array<String>>): Job
inline suspend fun BehaviourContext.onCommandWithArgs(command: String, noinline initialFilter: CommonMessageFilter<TextContent>? = CommonMessageFilterExcludeMediaGroups, noinline subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<TextContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<TextContent>, Any> = ByChatMessageMarkerFactory, noinline scenarioReceiver: BehaviourContextAndTwoTypesReceiver<Unit, CommonMessage<TextContent>, Array<String>>): Job
-
-
-
-
-
-
- -
-
-
onCommonChatMemberUpdated -
Link copied to clipboard
-
-
-
-
common
-
-
- -
-
suspend fun BehaviourContext.onCommonChatMemberUpdated(initialFilter: SimpleFilter<ChatMemberUpdated>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, ChatMemberUpdated, Update>? = ChatMemberUpdatedFilterByChat, markerFactory: MarkerFactory<ChatMemberUpdated, Any> = ByChatChatMemberUpdatedMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, ChatMemberUpdated>): Job
-
-
-
-
-
-
- -
-
-
onCommonEvent -
Link copied to clipboard
-
-
-
-
common
-
-
- -
-
suspend fun BehaviourContext.onCommonEvent(initialFilter: SimpleFilter<ChatEventMessage<CommonEvent>>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, ChatEventMessage<CommonEvent>, Update>? = MessageFilterByChat, markerFactory: MarkerFactory<in ChatEventMessage<CommonEvent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, ChatEventMessage<CommonEvent>>): Job
-
-
-
-
-
-
- -
-
-
onContact -
Link copied to clipboard
-
-
-
-
common
-
-
- -
-
suspend fun BehaviourContext.onContact(initialFilter: CommonMessageFilter<ContactContent>? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<ContactContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<ContactContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<ContactContent>>): Job
-
-
-
-
-
-
- -
-
-
onContentMessage -
Link copied to clipboard
-
-
-
-
common
-
-
- -
-
suspend fun BehaviourContext.onContentMessage(initialFilter: CommonMessageFilter<MessageContent>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<MessageContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<MessageContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<MessageContent>>): Job
-
-
-
-
-
-
- -
-
-
onDataCallbackQuery -
Link copied to clipboard
-
-
-
-
common
-
-
- -
-
suspend fun BehaviourContext.onDataCallbackQuery(initialFilter: SimpleFilter<DataCallbackQuery>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, DataCallbackQuery, Update>? = CallbackQueryFilterByUser, markerFactory: MarkerFactory<in DataCallbackQuery, Any> = ByUserCallbackQueryMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, DataCallbackQuery>): Job
-
-
-
-
-
-
- -
-
-
onDeleteChatPhoto -
Link copied to clipboard
-
-
-
-
common
-
-
- -
-
suspend fun BehaviourContext.onDeleteChatPhoto(initialFilter: SimpleFilter<ChatEventMessage<DeleteChatPhoto>>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, ChatEventMessage<DeleteChatPhoto>, Update>? = MessageFilterByChat, markerFactory: MarkerFactory<in ChatEventMessage<DeleteChatPhoto>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, ChatEventMessage<DeleteChatPhoto>>): Job
-
-
-
-
-
-
- -
-
-
onDice -
Link copied to clipboard
-
-
-
-
common
-
-
- -
-
suspend fun BehaviourContext.onDice(initialFilter: CommonMessageFilter<DiceContent>? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<DiceContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<DiceContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<DiceContent>>): Job
-
-
-
-
-
-
- -
-
-
onDocument -
Link copied to clipboard
-
-
-
-
common
-
-
- -
-
suspend fun BehaviourContext.onDocument(initialFilter: CommonMessageFilter<DocumentContent>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<DocumentContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<DocumentContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<DocumentContent>>): Job
-
-
-
-
-
-
- -
-
-
onDocumentMediaGroupContent -
Link copied to clipboard
-
-
-
-
common
-
-
- -
-
suspend fun BehaviourContext.onDocumentMediaGroupContent(initialFilter: CommonMessageFilter<DocumentMediaGroupContent>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<DocumentMediaGroupContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<DocumentMediaGroupContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<DocumentMediaGroupContent>>): Job
-
-
-
-
-
-
- -
-
-
onDocumentsGroup -
Link copied to clipboard
-
-
-
-
common
-
-
- -
-
suspend fun BehaviourContext.onDocumentsGroup(initialFilter: SimpleFilter<List<MediaGroupMessage<DocumentMediaGroupContent>>>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, List<MediaGroupMessage<DocumentMediaGroupContent>>, Update>? = MessagesFilterByChat, markerFactory: MarkerFactory<in List<MediaGroupMessage<DocumentMediaGroupContent>>, Any> = ByChatMediaGroupMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, List<MediaGroupMessage<DocumentMediaGroupContent>>>): Job
-
-
-
-
-
-
- -
-
-
onEditedAnimation -
Link copied to clipboard
-
-
-
-
common
-
-
- -
-
suspend fun BehaviourContext.onEditedAnimation(initialFilter: CommonMessageFilter<AnimationContent>? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<AnimationContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<AnimationContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<AnimationContent>>): Job
-
-
-
-
-
-
- -
-
-
onEditedAudio -
Link copied to clipboard
-
-
-
-
common
-
-
- -
-
suspend fun BehaviourContext.onEditedAudio(initialFilter: CommonMessageFilter<AudioContent>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<AudioContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<AudioContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<AudioContent>>): Job
-
-
-
-
-
-
- -
-
-
onEditedAudioMediaGroup -
Link copied to clipboard
-
-
-
-
common
-
-
- -
-
suspend fun BehaviourContext.onEditedAudioMediaGroup(initialFilter: CommonMessageFilter<AudioMediaGroupContent>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<AudioMediaGroupContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<AudioMediaGroupContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<AudioMediaGroupContent>>): Job
-
-
-
-
-
-
- -
-
-
onEditedContact -
Link copied to clipboard
-
-
-
-
common
-
-
- -
-
suspend fun BehaviourContext.onEditedContact(initialFilter: CommonMessageFilter<ContactContent>? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<ContactContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<ContactContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<ContactContent>>): Job
-
-
-
-
-
-
- -
-
-
onEditedContentMessage -
Link copied to clipboard
-
-
-
-
common
-
-
- -
-
suspend fun BehaviourContext.onEditedContentMessage(initialFilter: CommonMessageFilter<MessageContent>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<MessageContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<MessageContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<MessageContent>>): Job
-
-
-
-
-
-
- -
-
-
onEditedDice -
Link copied to clipboard
-
-
-
-
common
-
-
- -
-
suspend fun BehaviourContext.onEditedDice(initialFilter: CommonMessageFilter<DiceContent>? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<DiceContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<DiceContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<DiceContent>>): Job
-
-
-
-
-
-
- -
-
-
onEditedDocument -
Link copied to clipboard
-
-
-
-
common
-
-
- -
-
suspend fun BehaviourContext.onEditedDocument(initialFilter: CommonMessageFilter<DocumentContent>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<DocumentContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<DocumentContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<DocumentContent>>): Job
-
-
-
-
-
-
- -
-
-
onEditedDocumentMediaGroupContent -
Link copied to clipboard
-
-
-
-
common
-
-
- -
-
suspend fun BehaviourContext.onEditedDocumentMediaGroupContent(initialFilter: CommonMessageFilter<DocumentMediaGroupContent>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<DocumentMediaGroupContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<DocumentMediaGroupContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<DocumentMediaGroupContent>>): Job
-
-
-
-
-
-
- -
-
-
onEditedGame -
Link copied to clipboard
-
-
-
-
common
-
-
- -
-
suspend fun BehaviourContext.onEditedGame(initialFilter: CommonMessageFilter<GameContent>? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<GameContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<GameContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<GameContent>>): Job
-
-
-
-
-
-
- -
-
-
onEditedInvoice -
Link copied to clipboard
-
-
-
-
common
-
-
- -
-
suspend fun BehaviourContext.onEditedInvoice(initialFilter: CommonMessageFilter<InvoiceContent>? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<InvoiceContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<InvoiceContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<InvoiceContent>>): Job
-
-
-
-
-
-
- -
-
-
onEditedLocation -
Link copied to clipboard
-
-
-
-
common
-
-
- -
-
suspend fun BehaviourContext.onEditedLocation(initialFilter: CommonMessageFilter<LocationContent>? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<LocationContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<LocationContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<LocationContent>>): Job
-
-
-
-
-
-
- -
-
-
onEditedMedia -
Link copied to clipboard
-
-
-
-
common
-
-
- -
-
suspend fun BehaviourContext.onEditedMedia(initialFilter: CommonMessageFilter<MediaContent>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<MediaContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<MediaContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<MediaContent>>): Job
-
-
-
-
-
-
- -
-
-
onEditedMediaCollection -
Link copied to clipboard
-
-
-
-
common
-
- -
-
-
- -
-
-
onEditedPhoto -
Link copied to clipboard
-
-
-
-
common
-
-
- -
-
suspend fun BehaviourContext.onEditedPhoto(initialFilter: CommonMessageFilter<PhotoContent>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<PhotoContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<PhotoContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<PhotoContent>>): Job
-
-
-
-
-
-
- -
-
-
onEditedPoll -
Link copied to clipboard
-
-
-
-
common
-
-
- -
-
suspend fun BehaviourContext.onEditedPoll(initialFilter: CommonMessageFilter<PollContent>? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<PollContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<PollContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<PollContent>>): Job
-
-
-
-
-
-
- -
-
-
onEditedSticker -
Link copied to clipboard
-
-
-
-
common
-
-
- -
-
suspend fun BehaviourContext.onEditedSticker(initialFilter: CommonMessageFilter<StickerContent>? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<StickerContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<StickerContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<StickerContent>>): Job
-
-
-
-
-
-
- -
-
-
onEditedText -
Link copied to clipboard
-
-
-
-
common
-
-
- -
-
suspend fun BehaviourContext.onEditedText(initialFilter: CommonMessageFilter<TextContent>? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<TextContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<TextContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<TextContent>>): Job
-
-
-
-
-
-
- -
-
-
onEditedVenue -
Link copied to clipboard
-
-
-
-
common
-
-
- -
-
suspend fun BehaviourContext.onEditedVenue(initialFilter: CommonMessageFilter<VenueContent>? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<VenueContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<VenueContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<VenueContent>>): Job
-
-
-
-
-
-
- -
-
-
onEditedVideo -
Link copied to clipboard
-
-
-
-
common
-
-
- -
-
suspend fun BehaviourContext.onEditedVideo(initialFilter: CommonMessageFilter<VideoContent>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<VideoContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<VideoContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<VideoContent>>): Job
-
-
-
-
-
-
- -
-
-
onEditedVideoNote -
Link copied to clipboard
-
-
-
-
common
-
-
- -
-
suspend fun BehaviourContext.onEditedVideoNote(initialFilter: CommonMessageFilter<VideoNoteContent>? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<VideoNoteContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<VideoNoteContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<VideoNoteContent>>): Job
-
-
-
-
-
-
- -
-
-
onEditedVoice -
Link copied to clipboard
-
-
-
-
common
-
-
- -
-
suspend fun BehaviourContext.onEditedVoice(initialFilter: CommonMessageFilter<VoiceContent>? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<VoiceContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<VoiceContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<VoiceContent>>): Job
-
-
@@ -1560,946 +658,6 @@
suspend fun <O> BehaviourContext.oneOfActions(deferredActions: Iterable<DeferredAction<*, O>>): O
suspend fun <O> BehaviourContext.oneOfActions(vararg deferredActions: DeferredAction<*, O>): O
-
-
-
-
- -
-
-
onGame -
Link copied to clipboard
-
-
-
-
common
-
-
- -
-
suspend fun BehaviourContext.onGame(initialFilter: CommonMessageFilter<GameContent>? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<GameContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<GameContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<GameContent>>): Job
-
-
-
-
-
-
- -
-
-
onGameShortNameCallbackQuery -
Link copied to clipboard
-
-
-
-
common
-
-
- -
-
suspend fun BehaviourContext.onGameShortNameCallbackQuery(initialFilter: SimpleFilter<GameShortNameCallbackQuery>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, GameShortNameCallbackQuery, Update>? = CallbackQueryFilterByUser, markerFactory: MarkerFactory<in GameShortNameCallbackQuery, Any> = ByUserCallbackQueryMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, GameShortNameCallbackQuery>): Job
-
-
-
-
-
-
- -
-
-
onGroupChatCreated -
Link copied to clipboard
-
-
-
-
common
-
-
- -
-
suspend fun BehaviourContext.onGroupChatCreated(initialFilter: SimpleFilter<ChatEventMessage<GroupChatCreated>>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, ChatEventMessage<GroupChatCreated>, Update>? = MessageFilterByChat, markerFactory: MarkerFactory<in ChatEventMessage<GroupChatCreated>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, ChatEventMessage<GroupChatCreated>>): Job
-
-
-
-
-
-
- -
-
-
onGroupEvent -
Link copied to clipboard
-
-
-
-
common
-
-
- -
-
suspend fun BehaviourContext.onGroupEvent(initialFilter: SimpleFilter<ChatEventMessage<GroupEvent>>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, ChatEventMessage<GroupEvent>, Update>? = MessageFilterByChat, markerFactory: MarkerFactory<in ChatEventMessage<GroupEvent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, ChatEventMessage<GroupEvent>>): Job
-
-
-
-
-
-
- -
-
-
onInlineMessageIdCallbackQuery -
Link copied to clipboard
-
-
-
-
common
-
-
- -
-
suspend fun BehaviourContext.onInlineMessageIdCallbackQuery(initialFilter: SimpleFilter<InlineMessageIdCallbackQuery>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, InlineMessageIdCallbackQuery, Update>? = CallbackQueryFilterByUser, markerFactory: MarkerFactory<in InlineMessageIdCallbackQuery, Any> = ByUserCallbackQueryMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, InlineMessageIdCallbackQuery>): Job
-
-
-
-
-
-
- -
-
-
onInlineMessageIdDataCallbackQuery -
Link copied to clipboard
-
-
-
-
common
-
-
- -
-
suspend fun BehaviourContext.onInlineMessageIdDataCallbackQuery(initialFilter: SimpleFilter<InlineMessageIdDataCallbackQuery>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, InlineMessageIdDataCallbackQuery, Update>? = CallbackQueryFilterByUser, markerFactory: MarkerFactory<in InlineMessageIdDataCallbackQuery, Any> = ByUserCallbackQueryMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, InlineMessageIdDataCallbackQuery>): Job
-
-
-
-
-
-
- -
-
-
onInlineMessageIdGameShortNameCallbackQuery -
Link copied to clipboard
-
-
-
-
common
-
-
- -
- -
-
-
-
-
-
- -
-
-
onInvoice -
Link copied to clipboard
-
-
-
-
common
-
-
- -
-
suspend fun BehaviourContext.onInvoice(initialFilter: CommonMessageFilter<InvoiceContent>? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<InvoiceContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<InvoiceContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<InvoiceContent>>): Job
-
-
-
-
-
-
- -
-
-
onLeftChatMember -
Link copied to clipboard
-
-
-
-
common
-
-
- -
-
suspend fun BehaviourContext.onLeftChatMember(initialFilter: SimpleFilter<ChatEventMessage<LeftChatMember>>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, ChatEventMessage<LeftChatMember>, Update>? = MessageFilterByChat, markerFactory: MarkerFactory<in ChatEventMessage<LeftChatMember>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, ChatEventMessage<LeftChatMember>>): Job
-
-
-
-
-
-
- -
-
-
onLiveLocation -
Link copied to clipboard
-
-
-
-
common
-
-
- -
-
suspend fun BehaviourContext.onLiveLocation(initialFilter: CommonMessageFilter<LiveLocationContent>? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<LiveLocationContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<LiveLocationContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<LiveLocationContent>>): Job
-
-
-
-
-
-
- -
-
-
onLocation -
Link copied to clipboard
-
-
-
-
common
-
-
- -
-
suspend fun BehaviourContext.onLocation(initialFilter: CommonMessageFilter<LocationContent>? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<LocationContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<LocationContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<LocationContent>>): Job
-
-
-
-
-
-
- -
-
-
onLocationInlineQuery -
Link copied to clipboard
-
-
-
-
common
-
-
- -
-
suspend fun BehaviourContext.onLocationInlineQuery(initialFilter: SimpleFilter<LocationInlineQuery>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, LocationInlineQuery, Update>? = InlineQueryFilterByUser, markerFactory: MarkerFactory<in LocationInlineQuery, Any> = ByUserInlineQueryMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, LocationInlineQuery>): Job
-
-
-
-
-
-
- -
-
-
onMedia -
Link copied to clipboard
-
-
-
-
common
-
-
- -
-
suspend fun BehaviourContext.onMedia(initialFilter: CommonMessageFilter<MediaContent>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<MediaContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<MediaContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<MediaContent>>): Job
-
-
-
-
-
-
- -
-
-
onMediaCollection -
Link copied to clipboard
-
-
-
-
common
-
-
-
-
-
-
- -
-
-
onMediaGroup -
Link copied to clipboard
-
-
-
-
common
-
-
- -
-
suspend fun BehaviourContext.onMediaGroup(initialFilter: SimpleFilter<List<MediaGroupMessage<MediaGroupContent>>>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, List<MediaGroupMessage<MediaGroupContent>>, Update>? = MessagesFilterByChat, markerFactory: MarkerFactory<in List<MediaGroupMessage<MediaGroupContent>>, Any> = ByChatMediaGroupMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, List<MediaGroupMessage<MediaGroupContent>>>): Job
-
-
-
-
-
-
- -
-
-
onMessageAutoDeleteTimerChangedEvent -
Link copied to clipboard
-
-
-
-
common
-
- -
-
-
- -
-
-
onMessageCallbackQuery -
Link copied to clipboard
-
-
-
-
common
-
-
- -
-
suspend fun BehaviourContext.onMessageCallbackQuery(initialFilter: SimpleFilter<MessageCallbackQuery>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, MessageCallbackQuery, Update>? = CallbackQueryFilterByUser, markerFactory: MarkerFactory<in MessageCallbackQuery, Any> = ByUserCallbackQueryMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, MessageCallbackQuery>): Job
-
-
-
-
-
-
- -
-
-
onMessageDataCallbackQuery -
Link copied to clipboard
-
-
-
-
common
-
-
- -
-
suspend fun BehaviourContext.onMessageDataCallbackQuery(initialFilter: SimpleFilter<MessageDataCallbackQuery>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, MessageDataCallbackQuery, Update>? = CallbackQueryFilterByUser, markerFactory: MarkerFactory<in MessageDataCallbackQuery, Any> = ByUserCallbackQueryMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, MessageDataCallbackQuery>): Job
-
-
-
-
-
-
- -
-
-
onMessageGameShortNameCallbackQuery -
Link copied to clipboard
-
-
-
-
common
-
-
- -
-
suspend fun BehaviourContext.onMessageGameShortNameCallbackQuery(initialFilter: SimpleFilter<MessageGameShortNameCallbackQuery>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, MessageGameShortNameCallbackQuery, Update>? = CallbackQueryFilterByUser, markerFactory: MarkerFactory<in MessageGameShortNameCallbackQuery, Any> = ByUserCallbackQueryMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, MessageGameShortNameCallbackQuery>): Job
-
-
-
-
-
-
- -
-
-
onMyChatMemberUpdated -
Link copied to clipboard
-
-
-
-
common
-
-
- -
-
suspend fun BehaviourContext.onMyChatMemberUpdated(initialFilter: SimpleFilter<ChatMemberUpdated>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, ChatMemberUpdated, Update>? = ChatMemberUpdatedFilterByChat, markerFactory: MarkerFactory<ChatMemberUpdated, Any> = ByChatChatMemberUpdatedMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, ChatMemberUpdated>): Job
-
-
-
-
-
-
- -
-
-
onNewChatMembers -
Link copied to clipboard
-
-
-
-
common
-
-
- -
-
suspend fun BehaviourContext.onNewChatMembers(initialFilter: SimpleFilter<ChatEventMessage<NewChatMembers>>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, ChatEventMessage<NewChatMembers>, Update>? = MessageFilterByChat, markerFactory: MarkerFactory<in ChatEventMessage<NewChatMembers>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, ChatEventMessage<NewChatMembers>>): Job
-
-
-
-
-
-
- -
-
-
onNewChatPhoto -
Link copied to clipboard
-
-
-
-
common
-
-
- -
-
suspend fun BehaviourContext.onNewChatPhoto(initialFilter: SimpleFilter<ChatEventMessage<NewChatPhoto>>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, ChatEventMessage<NewChatPhoto>, Update>? = MessageFilterByChat, markerFactory: MarkerFactory<in ChatEventMessage<NewChatPhoto>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, ChatEventMessage<NewChatPhoto>>): Job
-
-
-
-
-
-
- -
-
-
onNewChatTitle -
Link copied to clipboard
-
-
-
-
common
-
-
- -
-
suspend fun BehaviourContext.onNewChatTitle(initialFilter: SimpleFilter<ChatEventMessage<NewChatTitle>>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, ChatEventMessage<NewChatTitle>, Update>? = MessageFilterByChat, markerFactory: MarkerFactory<in ChatEventMessage<NewChatTitle>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, ChatEventMessage<NewChatTitle>>): Job
-
-
-
-
-
-
- -
-
-
onPassportMessage -
Link copied to clipboard
-
-
-
-
common
-
-
- -
-
suspend fun BehaviourContext.onPassportMessage(initialFilter: SimpleFilter<PassportMessage>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, PassportMessage, Update>? = MessageFilterByChat, markerFactory: MarkerFactory<in PassportMessage, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, PassportMessage>): Job
-
-
-
-
-
-
- -
-
-
onPhoto -
Link copied to clipboard
-
-
-
-
common
-
-
- -
-
suspend fun BehaviourContext.onPhoto(initialFilter: CommonMessageFilter<PhotoContent>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<PhotoContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<PhotoContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<PhotoContent>>): Job
-
-
-
-
-
-
- -
-
-
onPhotoGallery -
Link copied to clipboard
-
-
-
-
common
-
-
- -
-
suspend fun BehaviourContext.onPhotoGallery(initialFilter: SimpleFilter<List<MediaGroupMessage<PhotoContent>>>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, List<MediaGroupMessage<PhotoContent>>, Update>? = MessagesFilterByChat, markerFactory: MarkerFactory<in List<MediaGroupMessage<PhotoContent>>, Any> = ByChatMediaGroupMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, List<MediaGroupMessage<PhotoContent>>>): Job
-
-
-
-
-
-
- -
-
-
onPinnedMessage -
Link copied to clipboard
-
-
-
-
common
-
-
- -
-
suspend fun BehaviourContext.onPinnedMessage(initialFilter: SimpleFilter<ChatEventMessage<PinnedMessage>>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, ChatEventMessage<PinnedMessage>, Update>? = MessageFilterByChat, markerFactory: MarkerFactory<in ChatEventMessage<PinnedMessage>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, ChatEventMessage<PinnedMessage>>): Job
-
-
-
-
-
-
- -
-
-
onPlaylist -
Link copied to clipboard
-
-
-
-
common
-
-
- -
-
suspend fun BehaviourContext.onPlaylist(initialFilter: SimpleFilter<List<MediaGroupMessage<AudioMediaGroupContent>>>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, List<MediaGroupMessage<AudioMediaGroupContent>>, Update>? = MessagesFilterByChat, markerFactory: MarkerFactory<in List<MediaGroupMessage<AudioMediaGroupContent>>, Any> = ByChatMediaGroupMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, List<MediaGroupMessage<AudioMediaGroupContent>>>): Job
-
-
-
-
-
-
- -
-
-
onPoll -
Link copied to clipboard
-
-
-
-
common
-
-
- -
-
suspend fun BehaviourContext.onPoll(initialFilter: CommonMessageFilter<PollContent>? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<PollContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<PollContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<PollContent>>): Job
-
-
-
-
-
-
- -
-
-
onProximityAlertTriggered -
Link copied to clipboard
-
-
-
-
common
-
-
- -
-
suspend fun BehaviourContext.onProximityAlertTriggered(initialFilter: SimpleFilter<ChatEventMessage<ProximityAlertTriggered>>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, ChatEventMessage<ProximityAlertTriggered>, Update>? = MessageFilterByChat, markerFactory: MarkerFactory<in ChatEventMessage<ProximityAlertTriggered>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, ChatEventMessage<ProximityAlertTriggered>>): Job
-
-
-
-
-
-
- -
-
-
onStaticLocation -
Link copied to clipboard
-
-
-
-
common
-
-
- -
-
suspend fun BehaviourContext.onStaticLocation(initialFilter: CommonMessageFilter<StaticLocationContent>? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<StaticLocationContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<StaticLocationContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<StaticLocationContent>>): Job
-
-
-
-
-
-
- -
-
-
onSticker -
Link copied to clipboard
-
-
-
-
common
-
-
- -
-
suspend fun BehaviourContext.onSticker(initialFilter: CommonMessageFilter<StickerContent>? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<StickerContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<StickerContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<StickerContent>>): Job
-
-
-
-
-
-
- -
-
-
onSupergroupChatCreated -
Link copied to clipboard
-
-
-
-
common
-
-
- -
-
suspend fun BehaviourContext.onSupergroupChatCreated(initialFilter: SimpleFilter<ChatEventMessage<SupergroupChatCreated>>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, ChatEventMessage<SupergroupChatCreated>, Update>? = MessageFilterByChat, markerFactory: MarkerFactory<in ChatEventMessage<SupergroupChatCreated>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, ChatEventMessage<SupergroupChatCreated>>): Job
-
-
-
-
-
-
- -
-
-
onSupergroupEvent -
Link copied to clipboard
-
-
-
-
common
-
-
- -
-
suspend fun BehaviourContext.onSupergroupEvent(initialFilter: SimpleFilter<ChatEventMessage<SupergroupEvent>>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, ChatEventMessage<SupergroupEvent>, Update>? = MessageFilterByChat, markerFactory: MarkerFactory<in ChatEventMessage<SupergroupEvent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, ChatEventMessage<SupergroupEvent>>): Job
-
-
-
-
-
-
- -
-
-
onText -
Link copied to clipboard
-
-
-
-
common
-
-
- -
-
suspend fun BehaviourContext.onText(initialFilter: CommonMessageFilter<TextContent>? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<TextContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<TextContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<TextContent>>): Job
-
-
-
-
-
-
- -
-
-
onUnknownCallbackQueryType -
Link copied to clipboard
-
-
-
-
common
-
-
- -
-
suspend fun BehaviourContext.onUnknownCallbackQueryType(initialFilter: SimpleFilter<UnknownCallbackQueryType>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, UnknownCallbackQueryType, Update>? = CallbackQueryFilterByUser, markerFactory: MarkerFactory<in UnknownCallbackQueryType, Any> = ByUserCallbackQueryMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, UnknownCallbackQueryType>): Job
-
-
-
-
-
-
- -
-
-
onVenue -
Link copied to clipboard
-
-
-
-
common
-
-
- -
-
suspend fun BehaviourContext.onVenue(initialFilter: CommonMessageFilter<VenueContent>? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<VenueContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<VenueContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<VenueContent>>): Job
-
-
-
-
-
-
- -
-
-
onVideo -
Link copied to clipboard
-
-
-
-
common
-
-
- -
-
suspend fun BehaviourContext.onVideo(initialFilter: CommonMessageFilter<VideoContent>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<VideoContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<VideoContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<VideoContent>>): Job
-
-
-
-
-
-
- -
-
-
onVideoGallery -
Link copied to clipboard
-
-
-
-
common
-
-
- -
-
suspend fun BehaviourContext.onVideoGallery(initialFilter: SimpleFilter<List<MediaGroupMessage<VideoContent>>>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, List<MediaGroupMessage<VideoContent>>, Update>? = MessagesFilterByChat, markerFactory: MarkerFactory<in List<MediaGroupMessage<VideoContent>>, Any> = ByChatMediaGroupMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, List<MediaGroupMessage<VideoContent>>>): Job
-
-
-
-
-
-
- -
-
-
onVideoNote -
Link copied to clipboard
-
-
-
-
common
-
-
- -
-
suspend fun BehaviourContext.onVideoNote(initialFilter: CommonMessageFilter<VideoNoteContent>? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<VideoNoteContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<VideoNoteContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<VideoNoteContent>>): Job
-
-
-
-
-
-
- -
-
-
onVisualGallery -
Link copied to clipboard
-
-
-
-
common
-
-
- -
-
suspend fun BehaviourContext.onVisualGallery(initialFilter: SimpleFilter<List<MediaGroupMessage<VisualMediaGroupContent>>>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, List<MediaGroupMessage<VisualMediaGroupContent>>, Update>? = MessagesFilterByChat, markerFactory: MarkerFactory<in List<MediaGroupMessage<VisualMediaGroupContent>>, Any> = ByChatMediaGroupMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, List<MediaGroupMessage<VisualMediaGroupContent>>>): Job
-
-
-
-
-
-
- -
-
-
onVisualMediaGroup -
Link copied to clipboard
-
-
-
-
common
-
-
- -
-
suspend fun BehaviourContext.onVisualMediaGroup(initialFilter: SimpleFilter<List<MediaGroupMessage<VisualMediaGroupContent>>>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, List<MediaGroupMessage<VisualMediaGroupContent>>, Update>? = MessagesFilterByChat, markerFactory: MarkerFactory<in List<MediaGroupMessage<VisualMediaGroupContent>>, Any> = ByChatMediaGroupMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, List<MediaGroupMessage<VisualMediaGroupContent>>>): Job
-
-
-
-
-
-
- -
-
-
onVoice -
Link copied to clipboard
-
-
-
-
common
-
-
- -
-
suspend fun BehaviourContext.onVoice(initialFilter: CommonMessageFilter<VoiceContent>? = CommonMessageFilterExcludeMediaGroups, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, CommonMessage<VoiceContent>, Update> = MessageFilterByChat, markerFactory: MarkerFactory<in CommonMessage<VoiceContent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<VoiceContent>>): Job
-
-
-
-
-
-
- -
-
-
onVoiceChatEndedEvent -
Link copied to clipboard
-
-
-
-
common
-
-
- -
-
suspend fun BehaviourContext.onVoiceChatEndedEvent(initialFilter: SimpleFilter<ChatEventMessage<VoiceChatEnded>>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, ChatEventMessage<VoiceChatEnded>, Update>? = MessageFilterByChat, markerFactory: MarkerFactory<in ChatEventMessage<VoiceChatEnded>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, ChatEventMessage<VoiceChatEnded>>): Job
-
-
-
-
-
-
- -
-
-
onVoiceChatEvent -
Link copied to clipboard
-
-
-
-
common
-
-
- -
-
suspend fun BehaviourContext.onVoiceChatEvent(initialFilter: SimpleFilter<ChatEventMessage<VoiceChatEvent>>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, ChatEventMessage<VoiceChatEvent>, Update>? = MessageFilterByChat, markerFactory: MarkerFactory<in ChatEventMessage<VoiceChatEvent>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, ChatEventMessage<VoiceChatEvent>>): Job
-
-
-
-
-
-
- -
-
-
onVoiceChatParticipantsInvitedEvent -
Link copied to clipboard
-
-
-
-
common
-
-
-
-
-
-
- -
-
-
onVoiceChatStartedEvent -
Link copied to clipboard
-
-
-
-
common
-
-
- -
-
suspend fun BehaviourContext.onVoiceChatStartedEvent(initialFilter: SimpleFilter<ChatEventMessage<VoiceChatStarted>>? = null, subcontextUpdatesFilter: BehaviourContextAndTwoTypesReceiver<Boolean, ChatEventMessage<VoiceChatStarted>, Update>? = MessageFilterByChat, markerFactory: MarkerFactory<in ChatEventMessage<VoiceChatStarted>, Any> = ByChatMessageMarkerFactory, scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, ChatEventMessage<VoiceChatStarted>>): Job
-
-
@@ -2660,6 +818,26 @@
suspend fun BehaviourContext.waitAudioMediaGroupContent(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }, count: Int = 1, includeMediaGroups: Boolean = true, filter: SimpleFilter<CommonMessage<AudioMediaGroupContent>>? = null, mapper: CommonMessageToContentMapper<AudioMediaGroupContent>? = null): List<AudioMediaGroupContent>
+
+
+
+
+ +
+
+
waitBaseChosenInlineResult +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
suspend fun BehaviourContext.waitBaseChosenInlineResult(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }, count: Int = 1, filter: SimpleFilter<BaseChosenInlineResult>? = null, mapper: PollMapper<BaseChosenInlineResult>? = null): List<BaseChosenInlineResult>
+
+
@@ -2760,6 +938,26 @@
suspend fun BehaviourContext.waitChatMemberUpdated(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }, count: Int = 1, filter: SimpleFilter<ChatMemberUpdatedUpdate>? = null, mapper: ChatMemberUpdatedMapper<ChatMemberUpdated>? = null): List<ChatMemberUpdated>
+
+
+
+
+ +
+
+
waitChosenInlineResult +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
suspend fun BehaviourContext.waitChosenInlineResult(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }, count: Int = 1, filter: SimpleFilter<ChosenInlineResult>? = null, mapper: ChosenInlineResultMapper<ChosenInlineResult>? = null): List<ChosenInlineResult>
+
+
@@ -3260,26 +1458,6 @@
suspend fun BehaviourContext.waitEditedPhoto(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }, count: Int = 1, includeMediaGroups: Boolean = false, filter: SimpleFilter<CommonMessage<PhotoContent>>? = null, mapper: CommonMessageToContentMapper<PhotoContent>? = null): List<PhotoContent>
-
-
-
-
- -
-
-
waitEditedPoll -
Link copied to clipboard
-
-
-
-
common
-
-
- -
-
suspend fun BehaviourContext.waitEditedPoll(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }, count: Int = 1, filter: SimpleFilter<CommonMessage<PollContent>>? = null, mapper: CommonMessageToContentMapper<PollContent>? = null): List<PollContent>
-
-
@@ -3660,6 +1838,26 @@
suspend fun BehaviourContext.waitLocation(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }, count: Int = 1, filter: SimpleFilter<CommonMessage<LocationContent>>? = null, mapper: CommonMessageToContentMapper<LocationContent>? = null): List<LocationContent>
+
+
+
+
+ +
+
+
waitLocationChosenInlineResult +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
suspend fun BehaviourContext.waitLocationChosenInlineResult(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }, count: Int = 1, filter: SimpleFilter<LocationChosenInlineResult>? = null, mapper: PollMapper<LocationChosenInlineResult>? = null): List<LocationChosenInlineResult>
+
+
@@ -4020,6 +2218,86 @@
suspend fun BehaviourContext.waitPoll(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }, count: Int = 1, filter: SimpleFilter<CommonMessage<PollContent>>? = null, mapper: CommonMessageToContentMapper<PollContent>? = null): List<PollContent>
+
+
+
+
+ +
+
+
waitPollAnswers +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
suspend fun BehaviourContext.waitPollAnswers(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }, count: Int = 1, filter: SimpleFilter<PollAnswer>? = null, mapper: PollAnswerMapper? = null): List<PollAnswer>
+
+

This wait will be triggered only for stopped polls and polls, which are sent by the bot

+
+
+
+
+ +
+
+
waitPollUpdates +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
suspend fun BehaviourContext.waitPollUpdates(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }, count: Int = 1, filter: SimpleFilter<Poll>? = null, mapper: PollMapper<Poll>? = null): List<Poll>
+
+

This wait will be triggered only for stopped polls and polls, which are sent by the bot

+
+
+
+
+ +
+
+
waitPreCheckoutQueries +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
suspend fun BehaviourContext.waitPreCheckoutQueries(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }, count: Int = 1, filter: SimpleFilter<PreCheckoutQuery>? = null, mapper: PreCheckoutQueryMapper? = null): List<PreCheckoutQuery>
+
+
+
+
+
+
+ +
+
+
waitPrivateEvents +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
suspend fun BehaviourContext.waitPrivateEvents(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }, count: Int = 1, filter: SimpleFilter<ChatEventMessage<PrivateEvent>>? = null, mapper: EventMessageToEventMapper<PrivateEvent>? = null): List<PrivateEvent>
+
+
@@ -4040,6 +2318,86 @@
suspend fun BehaviourContext.waitProximityAlertTriggeredEvents(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }, count: Int = 1, filter: SimpleFilter<ChatEventMessage<ProximityAlertTriggered>>? = null, mapper: EventMessageToEventMapper<ProximityAlertTriggered>? = null): List<ProximityAlertTriggered>
+
+
+
+
+ +
+
+
waitPublicChatEvents +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
suspend fun BehaviourContext.waitPublicChatEvents(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }, count: Int = 1, filter: SimpleFilter<ChatEventMessage<PublicChatEvent>>? = null, mapper: EventMessageToEventMapper<PublicChatEvent>? = null): List<PublicChatEvent>
+
+
+
+
+
+
+ +
+
+
waitQuizPollUpdates +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
suspend fun BehaviourContext.waitQuizPollUpdates(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }, count: Int = 1, filter: SimpleFilter<QuizPoll>? = null, mapper: PollMapper<QuizPoll>? = null): List<QuizPoll>
+
+

This wait will be triggered only for stopped polls and polls, which are sent by the bot

+
+
+
+
+ +
+
+
waitRegularPollUpdates +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
suspend fun BehaviourContext.waitRegularPollUpdates(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }, count: Int = 1, filter: SimpleFilter<RegularPoll>? = null, mapper: PollMapper<RegularPoll>? = null): List<RegularPoll>
+
+

This wait will be triggered only for stopped polls and polls, which are sent by the bot

+
+
+
+
+ +
+
+
waitShippingQueries +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
suspend fun BehaviourContext.waitShippingQueries(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }, count: Int = 1, filter: SimpleFilter<ShippingQuery>? = null, mapper: ShippingQueryMapper? = null): List<ShippingQuery>
+
+
@@ -4080,6 +2438,26 @@
suspend fun BehaviourContext.waitSticker(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }, count: Int = 1, filter: SimpleFilter<CommonMessage<StickerContent>>? = null, mapper: CommonMessageToContentMapper<StickerContent>? = null): List<StickerContent>
+
+
+
+
+ +
+
+
waitSuccessfulPaymentEvents +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
suspend fun BehaviourContext.waitSuccessfulPaymentEvents(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }, count: Int = 1, filter: SimpleFilter<ChatEventMessage<SuccessfulPaymentEvent>>? = null, mapper: EventMessageToEventMapper<SuccessfulPaymentEvent>? = null): List<SuccessfulPaymentEvent>
+
+
diff --git a/docs/dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-with-f-s-m-state-handler-holder/-behaviour-with-f-s-m-state-handler-holder.html b/docs/dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-with-f-s-m-state-handler-holder/-behaviour-with-f-s-m-state-handler-holder.html new file mode 100644 index 0000000000..be1ac1412d --- /dev/null +++ b/docs/dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-with-f-s-m-state-handler-holder/-behaviour-with-f-s-m-state-handler-holder.html @@ -0,0 +1,39 @@ + + + + BehaviourWithFSMStateHandlerHolder + + +
+
+ + +
+
+
+
+
+
+ +
+

BehaviourWithFSMStateHandlerHolder

+
+
+ +
+
fun <I : State> BehaviourWithFSMStateHandlerHolder(inputKlass: KClass<I>, strict: Boolean = false, delegateTo: BehaviourWithFSMStateHandler<I>)
+
+

Parameters

inputKlass

This KClass will be used to compare input State type and declare ability of delegateTo to handle incoming State. See checkHandleable for more info

strict

This flag will be used in checkHandleable to choose strategy of checking incoming State

delegateTo

This handler will be called in case checkHandleable returns true with class caster incoming State in handleState

+
+ +
+
+ + + diff --git a/docs/dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-with-f-s-m-state-handler-holder/check-handleable.html b/docs/dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-with-f-s-m-state-handler-holder/check-handleable.html new file mode 100644 index 0000000000..01b9459e20 --- /dev/null +++ b/docs/dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-with-f-s-m-state-handler-holder/check-handleable.html @@ -0,0 +1,39 @@ + + + + checkHandleable + + +
+
+ + +
+
+
+
+
+
+ +
+

checkHandleable

+
+
+ +
+
fun checkHandleable(state: State): Boolean
+
+

Check ability of delegateTo to handle this state

Return

When state::class exactly equals to inputKlass will always return true. Otherwise when strict mode is disabled, will be used KClass.isInstance of inputKlass for checking

+
+ +
+
+ + + diff --git a/docs/dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-with-f-s-m-state-handler-holder/handle-state.html b/docs/dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-with-f-s-m-state-handler-holder/handle-state.html new file mode 100644 index 0000000000..86c614c951 --- /dev/null +++ b/docs/dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-with-f-s-m-state-handler-holder/handle-state.html @@ -0,0 +1,39 @@ + + + + handleState + + +
+
+ + +
+
+
+
+
+
+ +
+

handleState

+
+
+ +
+
suspend fun BehaviourContextWithFSM.handleState(contextUpdatesFlow: Flow<Update>, state: State): State?
+
+

Handling of state :)

Parameters

contextUpdatesFlow

This Flow will be used as source of updates. By contract, this Flow must be common for all States of incoming state and for the whole chain inside of BehaviourContextWithFSM

+
+ +
+
+ + + diff --git a/docs/dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-with-f-s-m-state-handler-holder/index.html b/docs/dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-with-f-s-m-state-handler-holder/index.html new file mode 100644 index 0000000000..8433a87ac2 --- /dev/null +++ b/docs/dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-with-f-s-m-state-handler-holder/index.html @@ -0,0 +1,103 @@ + + + + BehaviourWithFSMStateHandlerHolder + + +
+
+ + +
+
+
+
+
+
+ +
+

BehaviourWithFSMStateHandlerHolder

+
class BehaviourWithFSMStateHandlerHolder<I : State>(inputKlass: KClass<I>, strict: Boolean, delegateTo: BehaviourWithFSMStateHandler<I>)

Special holder for BehaviourContextWithFSM. This holder helps BehaviourContextWithFSM to understand whether it can handle input State with delegateTo or not

+
+
+
+
+

Parameters

+
+
inputKlass

This KClass will be used to compare input State type and declare ability of delegateTo to handle incoming State. See checkHandleable for more info

strict

This flag will be used in checkHandleable to choose strategy of checking incoming State

delegateTo

This handler will be called in case checkHandleable returns true with class caster incoming State in handleState

+
+

Constructors

+
+
+
+
BehaviourWithFSMStateHandlerHolder +
Link copied to clipboard
+
+
+
+
common
+
+
+
fun <I : State> BehaviourWithFSMStateHandlerHolder(inputKlass: KClass<I>, strict: Boolean = false, delegateTo: BehaviourWithFSMStateHandler<I>)
+
+
+
+
+
+

Functions

+
+
+
+
checkHandleable +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
fun checkHandleable(state: State): Boolean
+
+

Check ability of delegateTo to handle this state

+
+
+
+
+ +
+
+
handleState +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
suspend fun BehaviourContextWithFSM.handleState(contextUpdatesFlow: Flow<Update>, state: State): State?
+
+

Handling of state :)

+
+
+
+
+
+
+
+
+ +
+
+ + + diff --git a/docs/dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-with-f-s-m-state-handler/handle-state.html b/docs/dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-with-f-s-m-state-handler/handle-state.html new file mode 100644 index 0000000000..6ebc13a931 --- /dev/null +++ b/docs/dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-with-f-s-m-state-handler/handle-state.html @@ -0,0 +1,39 @@ + + + + handleState + + +
+
+ + +
+
+
+
+
+
+ +
+

handleState

+
+
+ +
+
abstract suspend fun BehaviourContextWithFSM.handleState(state: T): State?
+
+
+
+ +
+
+ + + diff --git a/docs/dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-with-f-s-m-state-handler/index.html b/docs/dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-with-f-s-m-state-handler/index.html new file mode 100644 index 0000000000..18b111d62e --- /dev/null +++ b/docs/dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-with-f-s-m-state-handler/index.html @@ -0,0 +1,61 @@ + + + + BehaviourWithFSMStateHandler + + +
+
+ + +
+
+
+
+
+
+ +
+

BehaviourWithFSMStateHandler

+
fun interface BehaviourWithFSMStateHandler<T : State>
+
+
+
+
+

Functions

+
+
+
+
handleState +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
abstract suspend fun BehaviourContextWithFSM.handleState(state: T): State?
+
+
+
+
+
+
+
+
+
+
+ +
+
+ + + diff --git a/docs/dev.inmo.tgbotapi.extensions.behaviour_builder/-custom-behaviour-context-receiver.html b/docs/dev.inmo.tgbotapi.extensions.behaviour_builder/-custom-behaviour-context-receiver.html new file mode 100644 index 0000000000..8d62f665fa --- /dev/null +++ b/docs/dev.inmo.tgbotapi.extensions.behaviour_builder/-custom-behaviour-context-receiver.html @@ -0,0 +1,39 @@ + + + + CustomBehaviourContextReceiver + + +
+
+ + +
+
+
+
+
+
+ +
+

CustomBehaviourContextReceiver

+
+
+ +
+
inline fun <BC, T> CustomBehaviourContextReceiver(noinline block: CustomBehaviourContextReceiver<BC, T>): suspend BC.() -> T
+
+
+
+ +
+
+ + + diff --git a/docs/dev.inmo.tgbotapi.extensions.behaviour_builder/-default-behaviour-context-with-f-s-m/-default-behaviour-context-with-f-s-m.html b/docs/dev.inmo.tgbotapi.extensions.behaviour_builder/-default-behaviour-context-with-f-s-m/-default-behaviour-context-with-f-s-m.html new file mode 100644 index 0000000000..6bdc473b5d --- /dev/null +++ b/docs/dev.inmo.tgbotapi.extensions.behaviour_builder/-default-behaviour-context-with-f-s-m/-default-behaviour-context-with-f-s-m.html @@ -0,0 +1,39 @@ + + + + DefaultBehaviourContextWithFSM + + +
+
+ + +
+
+
+
+
+
+ +
+

DefaultBehaviourContextWithFSM

+
+
+ +
+
fun DefaultBehaviourContextWithFSM(behaviourContext: BehaviourContext, statesManager: StatesManager, handlers: List<BehaviourWithFSMStateHandlerHolder<*>>)
+
+
+
+ +
+
+ + + diff --git a/docs/dev.inmo.tgbotapi.extensions.behaviour_builder/-default-behaviour-context-with-f-s-m/copy.html b/docs/dev.inmo.tgbotapi.extensions.behaviour_builder/-default-behaviour-context-with-f-s-m/copy.html new file mode 100644 index 0000000000..853054fdbf --- /dev/null +++ b/docs/dev.inmo.tgbotapi.extensions.behaviour_builder/-default-behaviour-context-with-f-s-m/copy.html @@ -0,0 +1,39 @@ + + + + copy + + +
+
+ + +
+
+
+
+
+
+ +
+

copy

+
+
+ +
+
open override fun copy(bot: TelegramBot, scope: CoroutineScope, broadcastChannelsSize: Int, onBufferOverflow: BufferOverflow, upstreamUpdatesFlow: Flow<Update>?, updatesFilter: BehaviourContextAndTypeReceiver<Boolean, Update>?): BehaviourContextWithFSM
+
+
+
+ +
+
+ + + diff --git a/docs/dev.inmo.tgbotapi.types.buttons.InlineKeyboardButtons/-pay-inline-keyboard-button/pay.html b/docs/dev.inmo.tgbotapi.extensions.behaviour_builder/-default-behaviour-context-with-f-s-m/handle-state.html similarity index 69% rename from docs/dev.inmo.tgbotapi.types.buttons.InlineKeyboardButtons/-pay-inline-keyboard-button/pay.html rename to docs/dev.inmo.tgbotapi.extensions.behaviour_builder/-default-behaviour-context-with-f-s-m/handle-state.html index 1945965b2a..6dec9ed768 100644 --- a/docs/dev.inmo.tgbotapi.types.buttons.InlineKeyboardButtons/-pay-inline-keyboard-button/pay.html +++ b/docs/dev.inmo.tgbotapi.extensions.behaviour_builder/-default-behaviour-context-with-f-s-m/handle-state.html @@ -1,7 +1,7 @@ - pay + handleState
@@ -13,21 +13,21 @@
-
+
-

pay

+

handleState

-
val pay: Boolean
+
open suspend override fun StatesMachine.handleState(state: State): State?
diff --git a/docs/dev.inmo.tgbotapi.extensions.behaviour_builder/-default-behaviour-context-with-f-s-m/index.html b/docs/dev.inmo.tgbotapi.extensions.behaviour_builder/-default-behaviour-context-with-f-s-m/index.html new file mode 100644 index 0000000000..175af02185 --- /dev/null +++ b/docs/dev.inmo.tgbotapi.extensions.behaviour_builder/-default-behaviour-context-with-f-s-m/index.html @@ -0,0 +1,597 @@ + + + + DefaultBehaviourContextWithFSM + + +
+
+ + +
+
+
+
+
+
+ +
+

DefaultBehaviourContextWithFSM

+
class DefaultBehaviourContextWithFSM(behaviourContext: BehaviourContext, statesManager: StatesManager, handlers: List<BehaviourWithFSMStateHandlerHolder<*>>) : BehaviourContext, BehaviourContextWithFSM

Default realization of BehaviourContextWithFSM. It uses behaviourContext as a base for this object as BehaviourContext, but managing substates contexts updates for avoiding of updates lost between states

+
+
+
+
+

Constructors

+
+
+
+
DefaultBehaviourContextWithFSM +
Link copied to clipboard
+
+
+
+
common
+
+
+
fun DefaultBehaviourContextWithFSM(behaviourContext: BehaviourContext, statesManager: StatesManager, handlers: List<BehaviourWithFSMStateHandlerHolder<*>>)
+
+
+
+
+
+

Functions

+
+
+
+
close +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
open override fun close()
+
+
+
+
+
+
+ +
+
+
copy +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
open override fun copy(bot: TelegramBot, scope: CoroutineScope, broadcastChannelsSize: Int, onBufferOverflow: BufferOverflow, upstreamUpdatesFlow: Flow<Update>?, updatesFilter: BehaviourContextAndTypeReceiver<Boolean, Update>?): BehaviourContextWithFSM
+
+
+
+
+
+
+ +
+
+
execute +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
open suspend override fun <T : Any> execute(request: Request<T>): T
+
+

Unsafe execution of incoming request. Can throw almost any exception. So, it is better to use something like dev.inmo.tgbotapi.extensions.utils.shortcuts.executeAsync or dev.inmo.tgbotapi.extensions.utils.shortcuts.executeUnsafe

+
+
+
+
+ +
+
+
handleState +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
open suspend override fun StatesMachine.handleState(state: State): State?
+
+
+
+
+
+
+ +
+
+
start +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
open suspend fun start(): Job
open override fun start(scope: CoroutineScope): Job
+
+
+
+
+
+
+ +
+
+
startChain +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
open suspend override fun startChain(state: State)
+
+
+
+
+
+
+
+

Properties

+
+
+
+
allowedUpdates +
Link copied to clipboard
+
+
+
+
common
+
+
+
open override val allowedUpdates: List<String>
+
+
+
+
+ +
+
+
allUpdatesFlow +
Link copied to clipboard
+
+
+
+
common
+
+
+
open override val allUpdatesFlow: Flow<Update>
+
+
+
+
+ +
+
+
allUpdatesWithoutMediaGroupsGroupingFlow +
Link copied to clipboard
+
+
+
+
common
+
+
+
open override val allUpdatesWithoutMediaGroupsGroupingFlow: Flow<Update>
+
+
+
+
+ +
+
+
asUpdateReceiver +
Link copied to clipboard
+
+
+
+
common
+
+
+
open override val asUpdateReceiver: UpdateReceiver<Update>
+
+
+
+
+ +
+
+
bot +
Link copied to clipboard
+
+
+
+
common
+
+
+
open override val bot: TelegramBot
+
+
+
+
+ +
+
+
callbackQueriesFlow +
Link copied to clipboard
+
+
+
+
common
+
+
+
open override val callbackQueriesFlow: Flow<CallbackQueryUpdate>
+
+
+
+
+ +
+
+
channelPostMediaGroupsFlow +
Link copied to clipboard
+
+
+
+
common
+
+
+
open override val channelPostMediaGroupsFlow: Flow<ChannelPostMediaGroupUpdate>
+
+
+
+
+ +
+
+
channelPostsFlow +
Link copied to clipboard
+
+
+
+
common
+
+
+
open override val channelPostsFlow: Flow<ChannelPostUpdate>
+
+
+
+
+ +
+
+
chatMemberUpdatesFlow +
Link copied to clipboard
+
+
+
+
common
+
+
+
open override val chatMemberUpdatesFlow: Flow<CommonChatMemberUpdatedUpdate>
+
+
+
+
+ +
+
+
chosenInlineResultsFlow +
Link copied to clipboard
+
+
+
+
common
+
+
+
open override val chosenInlineResultsFlow: Flow<ChosenInlineResultUpdate>
+
+
+
+
+ +
+
+
coroutineContext +
Link copied to clipboard
+
+
+
+
common
+
+
+
open override val coroutineContext: CoroutineContext
+
+
+
+
+ +
+
+
editedChannelPostMediaGroupsFlow +
Link copied to clipboard
+
+
+
+
common
+
+
+
open override val editedChannelPostMediaGroupsFlow: Flow<EditChannelPostMediaGroupUpdate>
+
+
+
+
+ +
+
+
editedChannelPostsFlow +
Link copied to clipboard
+
+
+
+
common
+
+
+
open override val editedChannelPostsFlow: Flow<EditChannelPostUpdate>
+
+
+
+
+ +
+
+
editedMessageMediaGroupsFlow +
Link copied to clipboard
+
+
+
+
common
+
+
+
open override val editedMessageMediaGroupsFlow: Flow<EditMessageMediaGroupUpdate>
+
+
+
+
+ +
+
+
editedMessagesFlow +
Link copied to clipboard
+
+
+
+
common
+
+
+
open override val editedMessagesFlow: Flow<EditMessageUpdate>
+
+
+
+
+ +
+
+
flowsUpdatesFilter +
Link copied to clipboard
+
+
+
+
common
+
+
+
open override val flowsUpdatesFilter: FlowsUpdatesFilter

This parameter will be used to subscribe on different types of update

+
+
+
+
+ +
+
+
inlineQueriesFlow +
Link copied to clipboard
+
+
+
+
common
+
+
+
open override val inlineQueriesFlow: Flow<InlineQueryUpdate>
+
+
+
+
+ +
+
+
messageMediaGroupsFlow +
Link copied to clipboard
+
+
+
+
common
+
+
+
open override val messageMediaGroupsFlow: Flow<MessageMediaGroupUpdate>
+
+
+
+
+ +
+
+
messagesFlow +
Link copied to clipboard
+
+
+
+
common
+
+
+
open override val messagesFlow: Flow<MessageUpdate>
+
+
+
+
+ +
+
+
myChatMemberUpdatesFlow +
Link copied to clipboard
+
+
+
+
common
+
+
+
open override val myChatMemberUpdatesFlow: Flow<MyChatMemberUpdatedUpdate>
+
+
+
+
+ +
+
+
pollAnswersFlow +
Link copied to clipboard
+
+
+
+
common
+
+
+
open override val pollAnswersFlow: Flow<PollAnswerUpdate>
+
+
+
+
+ +
+
+
pollsFlow +
Link copied to clipboard
+
+
+
+
common
+
+
+
open override val pollsFlow: Flow<PollUpdate>
+
+
+
+
+ +
+
+
preCheckoutQueriesFlow +
Link copied to clipboard
+
+
+
+
common
+
+
+
open override val preCheckoutQueriesFlow: Flow<PreCheckoutQueryUpdate>
+
+
+
+
+ +
+
+
scope +
Link copied to clipboard
+
+
+
+
common
+
+
+
open override val scope: CoroutineScope

Will be used for creating of some subscriptions inside of methods, updates listening and different other things in context of working with CoroutineScope and coroutines.

+
+
+
+
+ +
+
+
shippingQueriesFlow +
Link copied to clipboard
+
+
+
+
common
+
+
+
open override val shippingQueriesFlow: Flow<ShippingQueryUpdate>
+
+
+
+
+ +
+
+
unknownUpdatesFlow +
Link copied to clipboard
+
+
+
+
common
+
+
+
open override val unknownUpdatesFlow: Flow<UnknownUpdate>
+
+
+
+
+
+
+
+
+ +
+
+ + + diff --git a/docs/dev.inmo.tgbotapi.extensions.behaviour_builder/-default-behaviour-context/flows-updates-filter.html b/docs/dev.inmo.tgbotapi.extensions.behaviour_builder/-default-behaviour-context-with-f-s-m/start-chain.html similarity index 77% rename from docs/dev.inmo.tgbotapi.extensions.behaviour_builder/-default-behaviour-context/flows-updates-filter.html rename to docs/dev.inmo.tgbotapi.extensions.behaviour_builder/-default-behaviour-context-with-f-s-m/start-chain.html index 8e0621e266..cca06e90ab 100644 --- a/docs/dev.inmo.tgbotapi.extensions.behaviour_builder/-default-behaviour-context/flows-updates-filter.html +++ b/docs/dev.inmo.tgbotapi.extensions.behaviour_builder/-default-behaviour-context-with-f-s-m/start-chain.html @@ -1,7 +1,7 @@ - flowsUpdatesFilter + startChain
@@ -13,23 +13,23 @@
-
+
-

flowsUpdatesFilter

+

startChain

-
open override val flowsUpdatesFilter: FlowsUpdatesFilter
+
open suspend override fun startChain(state: State)
-

This parameter will be used to subscribe on different types of update

+
diff --git a/docs/dev.inmo.tgbotapi.extensions.behaviour_builder/-default-behaviour-context-with-f-s-m/start.html b/docs/dev.inmo.tgbotapi.extensions.behaviour_builder/-default-behaviour-context-with-f-s-m/start.html new file mode 100644 index 0000000000..23e7c228a1 --- /dev/null +++ b/docs/dev.inmo.tgbotapi.extensions.behaviour_builder/-default-behaviour-context-with-f-s-m/start.html @@ -0,0 +1,39 @@ + + + + start + + +
+
+ + +
+
+
+
+
+
+ +
+

start

+
+
+ +
+
open override fun start(scope: CoroutineScope): Job
+
+
+
+ +
+
+ + + diff --git a/docs/dev.inmo.tgbotapi.extensions.behaviour_builder/-default-behaviour-context/-default-behaviour-context.html b/docs/dev.inmo.tgbotapi.extensions.behaviour_builder/-default-behaviour-context/-default-behaviour-context.html index 4e142867a6..9da0f63e7e 100644 --- a/docs/dev.inmo.tgbotapi.extensions.behaviour_builder/-default-behaviour-context/-default-behaviour-context.html +++ b/docs/dev.inmo.tgbotapi.extensions.behaviour_builder/-default-behaviour-context/-default-behaviour-context.html @@ -13,7 +13,7 @@
-
+
-
+

DefaultBehaviourContext

-
class DefaultBehaviourContext(bot: TelegramBot, scope: CoroutineScope, flowsUpdatesFilter: FlowsUpdatesFilter) : FlowsUpdatesFilter, RequestsExecutor, CoroutineScope, BehaviourContext
+
class DefaultBehaviourContext(bot: TelegramBot, scope: CoroutineScope, broadcastChannelsSize: Int, onBufferOverflow: BufferOverflow, upstreamUpdatesFlow: Flow<Update>?, updatesFilter: BehaviourContextAndTypeReceiver<Boolean, Update>?) : AbstractFlowsUpdatesFilter, RequestsExecutor, CoroutineScope, BehaviourContext
@@ -32,7 +32,7 @@
-
close +
close
Link copied to clipboard
@@ -42,17 +42,17 @@
-
open override fun close()
+
open override fun close()
- +
-
copy +
copy
Link copied to clipboard
@@ -62,7 +62,7 @@
-
open override fun copy(bot: TelegramBot, scope: CoroutineScope, flowsUpdatesFilter: FlowsUpdatesFilter): DefaultBehaviourContext
+
open override fun copy(bot: TelegramBot, scope: CoroutineScope, broadcastChannelsSize: Int, onBufferOverflow: BufferOverflow, upstreamUpdatesFlow: Flow<Update>?, updatesFilter: BehaviourContextAndTypeReceiver<Boolean, Update>?): BehaviourContext
@@ -107,10 +107,10 @@
- +
-
allUpdatesFlow +
allUpdatesFlow
Link copied to clipboard
@@ -118,15 +118,15 @@
common
-
open override val allUpdatesFlow: Flow<Update>
+
open override val allUpdatesFlow: Flow<Update>
- +
-
allUpdatesWithoutMediaGroupsGroupingFlow +
@@ -134,15 +134,15 @@
common
-
open override val allUpdatesWithoutMediaGroupsGroupingFlow: Flow<Update>
+
open override val allUpdatesWithoutMediaGroupsGroupingFlow: Flow<Update>
- +
-
asUpdateReceiver +
asUpdateReceiver
Link copied to clipboard
@@ -150,7 +150,7 @@
common
-
open override val asUpdateReceiver: UpdateReceiver<Update>
+
open override val asUpdateReceiver: UpdateReceiver<Update>
@@ -171,10 +171,10 @@
- +
-
callbackQueriesFlow +
callbackQueriesFlow
Link copied to clipboard
@@ -182,15 +182,15 @@
common
-
open override val callbackQueriesFlow: Flow<CallbackQueryUpdate>
+
open override val callbackQueriesFlow: Flow<CallbackQueryUpdate>
- +
-
channelPostMediaGroupsFlow +
channelPostMediaGroupsFlow
Link copied to clipboard
@@ -198,15 +198,15 @@
common
-
open override val channelPostMediaGroupsFlow: Flow<ChannelPostMediaGroupUpdate>
+
open override val channelPostMediaGroupsFlow: Flow<ChannelPostMediaGroupUpdate>
- +
-
channelPostsFlow +
channelPostsFlow
Link copied to clipboard
@@ -214,15 +214,15 @@
common
-
open override val channelPostsFlow: Flow<ChannelPostUpdate>
+
open override val channelPostsFlow: Flow<ChannelPostUpdate>
- +
-
chatMemberUpdatesFlow +
chatMemberUpdatesFlow
Link copied to clipboard
@@ -230,15 +230,15 @@
common
-
open override val chatMemberUpdatesFlow: Flow<CommonChatMemberUpdatedUpdate>
+
open override val chatMemberUpdatesFlow: Flow<CommonChatMemberUpdatedUpdate>
- +
-
chosenInlineResultsFlow +
chosenInlineResultsFlow
Link copied to clipboard
@@ -246,7 +246,7 @@
common
-
open override val chosenInlineResultsFlow: Flow<ChosenInlineResultUpdate>
+
open override val chosenInlineResultsFlow: Flow<ChosenInlineResultUpdate>
@@ -267,10 +267,10 @@
- +
-
editedChannelPostMediaGroupsFlow +
editedChannelPostMediaGroupsFlow
Link copied to clipboard
@@ -278,15 +278,15 @@
common
-
open override val editedChannelPostMediaGroupsFlow: Flow<EditChannelPostMediaGroupUpdate>
+
open override val editedChannelPostMediaGroupsFlow: Flow<EditChannelPostMediaGroupUpdate>
- +
-
editedChannelPostsFlow +
editedChannelPostsFlow
Link copied to clipboard
@@ -294,15 +294,15 @@
common
-
open override val editedChannelPostsFlow: Flow<EditChannelPostUpdate>
+
open override val editedChannelPostsFlow: Flow<EditChannelPostUpdate>
- +
-
editedMessageMediaGroupsFlow +
editedMessageMediaGroupsFlow
Link copied to clipboard
@@ -310,15 +310,15 @@
common
-
open override val editedMessageMediaGroupsFlow: Flow<EditMessageMediaGroupUpdate>
+
open override val editedMessageMediaGroupsFlow: Flow<EditMessageMediaGroupUpdate>
- +
-
editedMessagesFlow +
editedMessagesFlow
Link copied to clipboard
@@ -326,15 +326,15 @@
common
-
open override val editedMessagesFlow: Flow<EditMessageUpdate>
+
open override val editedMessagesFlow: Flow<EditMessageUpdate>
- +
-
flowsUpdatesFilter +
flowsUpdatesFilter
Link copied to clipboard
@@ -342,15 +342,15 @@
common
-
open override val flowsUpdatesFilter: FlowsUpdatesFilter

This parameter will be used to subscribe on different types of update

+
open val flowsUpdatesFilter: FlowsUpdatesFilter

This parameter will be used to subscribe on different types of update

- +
-
inlineQueriesFlow +
inlineQueriesFlow
Link copied to clipboard
@@ -358,15 +358,15 @@
common
-
open override val inlineQueriesFlow: Flow<InlineQueryUpdate>
+
open override val inlineQueriesFlow: Flow<InlineQueryUpdate>
- +
-
messageMediaGroupsFlow +
messageMediaGroupsFlow
Link copied to clipboard
@@ -374,15 +374,15 @@
common
-
open override val messageMediaGroupsFlow: Flow<MessageMediaGroupUpdate>
+
open override val messageMediaGroupsFlow: Flow<MessageMediaGroupUpdate>
- +
-
messagesFlow +
messagesFlow
Link copied to clipboard
@@ -390,15 +390,15 @@
common
-
open override val messagesFlow: Flow<MessageUpdate>
+
open override val messagesFlow: Flow<MessageUpdate>
- +
-
myChatMemberUpdatesFlow +
myChatMemberUpdatesFlow
Link copied to clipboard
@@ -406,15 +406,15 @@
common
-
open override val myChatMemberUpdatesFlow: Flow<MyChatMemberUpdatedUpdate>
+
open override val myChatMemberUpdatesFlow: Flow<MyChatMemberUpdatedUpdate>
- +
-
pollAnswersFlow +
pollAnswersFlow
Link copied to clipboard
@@ -422,15 +422,15 @@
common
-
open override val pollAnswersFlow: Flow<PollAnswerUpdate>
+
open override val pollAnswersFlow: Flow<PollAnswerUpdate>
- +
-
pollsFlow +
pollsFlow
Link copied to clipboard
@@ -438,15 +438,15 @@
common
-
open override val pollsFlow: Flow<PollUpdate>
+
open override val pollsFlow: Flow<PollUpdate>
- +
-
preCheckoutQueriesFlow +
preCheckoutQueriesFlow
Link copied to clipboard
@@ -454,7 +454,7 @@
common
-
open override val preCheckoutQueriesFlow: Flow<PreCheckoutQueryUpdate>
+
open override val preCheckoutQueriesFlow: Flow<PreCheckoutQueryUpdate>
@@ -475,10 +475,10 @@
- +
-
shippingQueriesFlow +
shippingQueriesFlow
Link copied to clipboard
@@ -486,15 +486,15 @@
common
-
open override val shippingQueriesFlow: Flow<ShippingQueryUpdate>
+
open override val shippingQueriesFlow: Flow<ShippingQueryUpdate>
- +
-
unknownUpdatesFlow +
unknownUpdatesFlow
Link copied to clipboard
@@ -502,7 +502,7 @@
common
-
open override val unknownUpdatesFlow: Flow<UnknownUpdate>
+
open override val unknownUpdatesFlow: Flow<UnknownUpdate>
diff --git a/docs/dev.inmo.tgbotapi.extensions.behaviour_builder/build-behaviour-with-f-s-m-and-start-long-polling.html b/docs/dev.inmo.tgbotapi.extensions.behaviour_builder/build-behaviour-with-f-s-m-and-start-long-polling.html new file mode 100644 index 0000000000..386c77c271 --- /dev/null +++ b/docs/dev.inmo.tgbotapi.extensions.behaviour_builder/build-behaviour-with-f-s-m-and-start-long-polling.html @@ -0,0 +1,45 @@ + + + + buildBehaviourWithFSMAndStartLongPolling + + +
+
+ + +
+
+
+
+
+
+ +
+

buildBehaviourWithFSMAndStartLongPolling

+
+
+ +
+
suspend fun TelegramBot.buildBehaviourWithFSMAndStartLongPolling(upstreamUpdatesFlow: Flow<Update>? = null, scope: CoroutineScope = defaultCoroutineScopeProvider(), defaultExceptionsHandler: ExceptionHandler<Unit>? = null, statesManager: StatesManager = DefaultStatesManager(InMemoryDefaultStatesManagerRepo()), presetHandlers: MutableList<BehaviourWithFSMStateHandlerHolder<*>> = mutableListOf(), block: CustomBehaviourContextReceiver<BehaviourContextWithFSMBuilder, Unit>): Pair<BehaviourContextWithFSM, Job>
+
+

Use buildBehaviourWithFSM to create BehaviourContextWithFSM and launch getting of updates using longPolling. For longPolling will be used result BehaviourContextWithFSM for both parameters flowsUpdatesFilter and scope

+
+ +
+
suspend fun TelegramBot.buildBehaviourWithFSMAndStartLongPolling(scope: CoroutineScope = defaultCoroutineScopeProvider(), defaultExceptionsHandler: ExceptionHandler<Unit>? = null, statesManager: StatesManager = DefaultStatesManager(InMemoryDefaultStatesManagerRepo()), presetHandlers: MutableList<BehaviourWithFSMStateHandlerHolder<*>> = mutableListOf(), block: CustomBehaviourContextReceiver<BehaviourContextWithFSMBuilder, Unit>): Job
+
+

Use buildBehaviourWithFSM to create BehaviourContextWithFSM and launch getting of updates using longPolling. For longPolling will be used result BehaviourContextWithFSM for both parameters flowsUpdatesFilter and scope

See also

+
+ +
+
+ + + diff --git a/docs/dev.inmo.tgbotapi.extensions.behaviour_builder/build-behaviour-with-f-s-m.html b/docs/dev.inmo.tgbotapi.extensions.behaviour_builder/build-behaviour-with-f-s-m.html new file mode 100644 index 0000000000..17bccb9e9e --- /dev/null +++ b/docs/dev.inmo.tgbotapi.extensions.behaviour_builder/build-behaviour-with-f-s-m.html @@ -0,0 +1,45 @@ + + + + buildBehaviourWithFSM + + +
+
+ + +
+
+
+
+
+
+ +
+

buildBehaviourWithFSM

+
+
+ +
+
suspend fun TelegramBot.buildBehaviourWithFSM(upstreamUpdatesFlow: Flow<Update>? = null, scope: CoroutineScope = defaultCoroutineScopeProvider(), defaultExceptionsHandler: ExceptionHandler<Unit>? = null, statesManager: StatesManager = DefaultStatesManager(InMemoryDefaultStatesManagerRepo()), presetHandlers: MutableList<BehaviourWithFSMStateHandlerHolder<*>> = mutableListOf(), block: CustomBehaviourContextReceiver<BehaviourContextWithFSMBuilder, Unit>): BehaviourContextWithFSM
+
+

Creates BehaviourContextWithFSM via creating of DefaultBehaviourContext with this as TelegramBot, scope as target scope for that DefaultBehaviourContext and upstreamUpdatesFlow. Pass statesManager to customize some internal logic of states changes. Pass presetHandlers in case you have some list of BehaviourWithFSMStateHandlerHolder with presets.

!!! WARNING !!! This method WILL NOT call BehaviourContextWithFSM.start of result object and WILL NOT start any updates retrieving. See buildBehaviourWithFSMAndStartLongPolling or telegramBotWithBehaviourAndFSMAndStartLongPolling in case you wish to start longPolling automatically

+
+ +
+
suspend fun TelegramBot.buildBehaviourWithFSM(flowUpdatesFilter: FlowsUpdatesFilter, scope: CoroutineScope = defaultCoroutineScopeProvider(), defaultExceptionsHandler: ExceptionHandler<Unit>? = null, statesManager: StatesManager = DefaultStatesManager(InMemoryDefaultStatesManagerRepo()), presetHandlers: MutableList<BehaviourWithFSMStateHandlerHolder<*>> = mutableListOf(), block: CustomBehaviourContextReceiver<BehaviourContextWithFSMBuilder, Unit>): BehaviourContextWithFSM
+
+

Creates BehaviourContextWithFSM via creating of DefaultBehaviourContext with this as TelegramBot, scope as target scope for that DefaultBehaviourContext and FlowsUpdatesFilter.allUpdatesFlow of flowUpdatesFilter as DefaultBehaviourContext.upstreamUpdatesFlow. Pass statesManager to customize some internal logic of states changes. Pass presetHandlers in case you have some list of BehaviourWithFSMStateHandlerHolder with presets. Use this method in case you wish to make some additional actions with flowUpdatesFilter.

!!! WARNING !!! This method WILL NOT call BehaviourContextWithFSM.start of result object and WILL NOT start any updates retrieving. See buildBehaviourWithFSMAndStartLongPolling or telegramBotWithBehaviourAndFSMAndStartLongPolling in case you wish to start longPolling automatically

See also

+
+ +
+
+ + + diff --git a/docs/dev.inmo.tgbotapi.extensions.behaviour_builder/build-behaviour-with-long-polling.html b/docs/dev.inmo.tgbotapi.extensions.behaviour_builder/build-behaviour-with-long-polling.html new file mode 100644 index 0000000000..d8ba08ebad --- /dev/null +++ b/docs/dev.inmo.tgbotapi.extensions.behaviour_builder/build-behaviour-with-long-polling.html @@ -0,0 +1,39 @@ + + + + buildBehaviourWithLongPolling + + +
+
+ + +
+
+
+
+
+
+ +
+

buildBehaviourWithLongPolling

+
+
+ +
+
suspend fun TelegramBot.buildBehaviourWithLongPolling(scope: CoroutineScope = defaultCoroutineScopeProvider(), defaultExceptionsHandler: ExceptionHandler<Unit>? = null, block: BehaviourContextReceiver<Unit>): Job
+
+

Use this method to build bot behaviour and run it via long polling. In case you wish to get FlowsUpdatesFilter for additional manipulations, you must provide external FlowsUpdatesFilter in other buildBehaviour function.

See also

+
+ +
+
+ + + diff --git a/docs/dev.inmo.tgbotapi.extensions.behaviour_builder/build-behaviour.html b/docs/dev.inmo.tgbotapi.extensions.behaviour_builder/build-behaviour.html index ba278667de..da1c5b5c21 100644 --- a/docs/dev.inmo.tgbotapi.extensions.behaviour_builder/build-behaviour.html +++ b/docs/dev.inmo.tgbotapi.extensions.behaviour_builder/build-behaviour.html @@ -30,12 +30,6 @@
suspend fun TelegramBot.buildBehaviour(flowUpdatesFilter: FlowsUpdatesFilter, scope: CoroutineScope = defaultCoroutineScopeProvider(), defaultExceptionsHandler: ExceptionHandler<Unit>? = null, block: BehaviourContextReceiver<Unit>)

Use this method in case you wish to make some additional actions with flowUpdatesFilter.

WARNING This method WILL NOT launch any listening of updates. Use something like startGettingOfUpdatesByLongPolling or tools for work with webhooks

See also

-
- -
-
suspend fun TelegramBot.buildBehaviour(scope: CoroutineScope = defaultCoroutineScopeProvider(), defaultExceptionsHandler: ExceptionHandler<Unit>? = null, block: BehaviourContextReceiver<Unit>): Job
-
-

Use this method to build bot behaviour and run it via long polling. In case you wish to get FlowsUpdatesFilter for additional manipulations, you must provide external FlowsUpdatesFilter in other buildBehaviour function.

See also

diff --git a/docs/dev.inmo.tgbotapi.extensions.behaviour_builder/default-coroutine-scope-provider.html b/docs/dev.inmo.tgbotapi.extensions.behaviour_builder/default-coroutine-scope-provider.html index 4baa2a78b4..aed66a9fd1 100644 --- a/docs/dev.inmo.tgbotapi.extensions.behaviour_builder/default-coroutine-scope-provider.html +++ b/docs/dev.inmo.tgbotapi.extensions.behaviour_builder/default-coroutine-scope-provider.html @@ -33,7 +33,7 @@
var defaultCoroutineScopeProvider: () -> CoroutineScope
-

This function is used in buildBehaviour extensions to provide default CoroutineScope and allow to avoid all unnecessary parameters except of block

+

This function is used in buildBehaviour extensions to provide default CoroutineScope and allow to avoid all unnecessary parameters except of block

diff --git a/docs/dev.inmo.tgbotapi.extensions.behaviour_builder/do-in-sub-context-with-flows-updates-filter-setup.html b/docs/dev.inmo.tgbotapi.extensions.behaviour_builder/do-in-sub-context-with-flows-updates-filter-setup.html deleted file mode 100644 index 08c629fa81..0000000000 --- a/docs/dev.inmo.tgbotapi.extensions.behaviour_builder/do-in-sub-context-with-flows-updates-filter-setup.html +++ /dev/null @@ -1,39 +0,0 @@ - - - - doInSubContextWithFlowsUpdatesFilterSetup - - -
-
- - -
-
-
-
-
-
- -
-

doInSubContextWithFlowsUpdatesFilterSetup

-
-
- -
-
suspend fun <T> BehaviourContext.doInSubContextWithFlowsUpdatesFilterSetup(newFlowsUpdatesFilterSetUp: BehaviourContextAndTypeReceiver<Unit, FlowsUpdatesFilter>?, stopOnCompletion: Boolean = true, behaviourContextReceiver: BehaviourContextReceiver<T>): T
-
-

Creates new one BehaviourContext, adding subsequent FlowsUpdatesFilter in case newFlowsUpdatesFilterSetUp is provided and CoroutineScope as new BehaviourContext.scope. You must do all subscription/running of longPolling manually.

Parameters

newFlowsUpdatesFilterSetUp

As a parameter receives FlowsUpdatesFilter from old this

-
- -
-
- - - diff --git a/docs/dev.inmo.tgbotapi.extensions.behaviour_builder/do-in-sub-context-with-updates-filter.html b/docs/dev.inmo.tgbotapi.extensions.behaviour_builder/do-in-sub-context-with-updates-filter.html index 3b4b1f6840..279f02d44e 100644 --- a/docs/dev.inmo.tgbotapi.extensions.behaviour_builder/do-in-sub-context-with-updates-filter.html +++ b/docs/dev.inmo.tgbotapi.extensions.behaviour_builder/do-in-sub-context-with-updates-filter.html @@ -13,7 +13,7 @@
-
+
-
+
+

This class contains all necessary tools for work with bots and especially for buildBehaviour

@@ -61,7 +61,7 @@
-
typealias BehaviourContextAndTwoTypesReceiver<T, I1, I2> = suspend BehaviourContext.(I1, I2) -> T
+
@@ -81,7 +81,7 @@
-
typealias BehaviourContextAndTypeReceiver<T, I> = suspend BehaviourContext.(I) -> T
+
@@ -101,7 +101,147 @@
-
typealias BehaviourContextReceiver<T> = suspend BehaviourContext.() -> T
+ +
+
+
+
+
+
+ +
+
+
BehaviourContextWithFSM +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
interface BehaviourContextWithFSM : BehaviourContext, StatesMachine
+
+

Interface which combine BehaviourContext and StatesMachine. Subcontext of triggers and states contexts must have one common flow of updates and must not lose updates between updates

+
+
+
+
+ +
+
+
BehaviourContextWithFSMBuilder +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
class BehaviourContextWithFSMBuilder : BehaviourContextWithFSM
+
+
+
+
+
+
+ +
+
+
BehaviourWithFSMStateHandler +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
fun interface BehaviourWithFSMStateHandler<T : State>
+
+
+
+
+
+
+ +
+
+
BehaviourWithFSMStateHandlerHolder +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
class BehaviourWithFSMStateHandlerHolder<I : State>(inputKlass: KClass<I>, strict: Boolean, delegateTo: BehaviourWithFSMStateHandler<I>)
+
+

Special holder for BehaviourContextWithFSM. This holder helps BehaviourContextWithFSM to understand whether it can handle input State with delegateTo or not

+
+
+
+
+ +
+
+
CustomBehaviourContextAndTwoTypesReceiver +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
typealias CustomBehaviourContextAndTwoTypesReceiver<BC, T, I1, I2> = suspend BC.(I1, I2) -> T
+
+
+
+
+
+
+ +
+
+
CustomBehaviourContextAndTypeReceiver +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
typealias CustomBehaviourContextAndTypeReceiver<BC, T, I> = suspend BC.(I) -> T
+
+
+
+
+
+
+ +
+
+
CustomBehaviourContextReceiver +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
typealias CustomBehaviourContextReceiver<BC, T> = suspend BC.() -> T
@@ -121,9 +261,29 @@
-
class DefaultBehaviourContext(bot: TelegramBot, scope: CoroutineScope, flowsUpdatesFilter: FlowsUpdatesFilter) : FlowsUpdatesFilter, RequestsExecutor, CoroutineScope, BehaviourContext
+
class DefaultBehaviourContext(bot: TelegramBot, scope: CoroutineScope, broadcastChannelsSize: Int, onBufferOverflow: BufferOverflow, upstreamUpdatesFlow: Flow<Update>?, updatesFilter: BehaviourContextAndTypeReceiver<Boolean, Update>?) : AbstractFlowsUpdatesFilter, RequestsExecutor, CoroutineScope, BehaviourContext
+
+
+
+
+ +
+
+
DefaultBehaviourContextWithFSM +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
class DefaultBehaviourContextWithFSM(behaviourContext: BehaviourContext, statesManager: StatesManager, handlers: List<BehaviourWithFSMStateHandlerHolder<*>>) : BehaviourContext, BehaviourContextWithFSM
+
+

Default realization of BehaviourContextWithFSM. It uses behaviourContext as a base for this object as BehaviourContext, but managing substates contexts updates for avoiding of updates lost between states

@@ -150,10 +310,10 @@
- +
-
BehaviourContext +
BehaviourContext
Link copied to clipboard
@@ -163,7 +323,7 @@
-
fun BehaviourContext(bot: TelegramBot, scope: CoroutineScope, flowsUpdatesFilter: FlowsUpdatesFilter = FlowsUpdatesFilter()): DefaultBehaviourContext
+
fun BehaviourContext(bot: TelegramBot, scope: CoroutineScope, flowsUpdatesFilter: FlowsUpdatesFilter = FlowsUpdatesFilter()): DefaultBehaviourContext
inline fun <T> BehaviourContext(bot: TelegramBot, scope: CoroutineScope, flowsUpdatesFilter: FlowsUpdatesFilter = FlowsUpdatesFilter(), crossinline block: BehaviourContext.() -> T): T
@@ -230,10 +390,10 @@
- +
-
buildBehaviour +
buildBehaviour
Link copied to clipboard
@@ -242,12 +402,6 @@
-
-
suspend fun TelegramBot.buildBehaviour(scope: CoroutineScope = defaultCoroutineScopeProvider(), defaultExceptionsHandler: ExceptionHandler<Unit>? = null, block: BehaviourContextReceiver<Unit>): Job
-
-

Use this method to build bot behaviour and run it via long polling. In case you wish to get FlowsUpdatesFilter for additional manipulations, you must provide external FlowsUpdatesFilter in other buildBehaviour function.

-
-
suspend fun TelegramBot.buildBehaviour(flowUpdatesFilter: FlowsUpdatesFilter, scope: CoroutineScope = defaultCoroutineScopeProvider(), defaultExceptionsHandler: ExceptionHandler<Unit>? = null, block: BehaviourContextReceiver<Unit>)
@@ -256,10 +410,10 @@
- +
-
doInSubContext +
buildBehaviourWithFSM
Link copied to clipboard
@@ -269,17 +423,83 @@
-
suspend fun <T> BehaviourContext.doInSubContext(stopOnCompletion: Boolean = true, behaviourContextReceiver: BehaviourContextReceiver<T>): T
+
suspend fun TelegramBot.buildBehaviourWithFSM(flowUpdatesFilter: FlowsUpdatesFilter, scope: CoroutineScope = defaultCoroutineScopeProvider(), defaultExceptionsHandler: ExceptionHandler<Unit>? = null, statesManager: StatesManager = DefaultStatesManager(InMemoryDefaultStatesManagerRepo()), presetHandlers: MutableList<BehaviourWithFSMStateHandlerHolder<*>> = mutableListOf(), block: CustomBehaviourContextReceiver<BehaviourContextWithFSMBuilder, Unit>): BehaviourContextWithFSM
+
+

Creates BehaviourContextWithFSM via creating of DefaultBehaviourContext with this as TelegramBot, scope as target scope for that DefaultBehaviourContext and FlowsUpdatesFilter.allUpdatesFlow of flowUpdatesFilter as DefaultBehaviourContext.upstreamUpdatesFlow. Pass statesManager to customize some internal logic of states changes. Pass presetHandlers in case you have some list of BehaviourWithFSMStateHandlerHolder with presets. Use this method in case you wish to make some additional actions with flowUpdatesFilter.

+
+ +
+
suspend fun TelegramBot.buildBehaviourWithFSM(upstreamUpdatesFlow: Flow<Update>? = null, scope: CoroutineScope = defaultCoroutineScopeProvider(), defaultExceptionsHandler: ExceptionHandler<Unit>? = null, statesManager: StatesManager = DefaultStatesManager(InMemoryDefaultStatesManagerRepo()), presetHandlers: MutableList<BehaviourWithFSMStateHandlerHolder<*>> = mutableListOf(), block: CustomBehaviourContextReceiver<BehaviourContextWithFSMBuilder, Unit>): BehaviourContextWithFSM
+
+

Creates BehaviourContextWithFSM via creating of DefaultBehaviourContext with this as TelegramBot, scope as target scope for that DefaultBehaviourContext and upstreamUpdatesFlow. Pass statesManager to customize some internal logic of states changes. Pass presetHandlers in case you have some list of BehaviourWithFSMStateHandlerHolder with presets.

+
+
+
+
+ +
+
+
buildBehaviourWithFSMAndStartLongPolling +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
suspend fun TelegramBot.buildBehaviourWithFSMAndStartLongPolling(scope: CoroutineScope = defaultCoroutineScopeProvider(), defaultExceptionsHandler: ExceptionHandler<Unit>? = null, statesManager: StatesManager = DefaultStatesManager(InMemoryDefaultStatesManagerRepo()), presetHandlers: MutableList<BehaviourWithFSMStateHandlerHolder<*>> = mutableListOf(), block: CustomBehaviourContextReceiver<BehaviourContextWithFSMBuilder, Unit>): Job
suspend fun TelegramBot.buildBehaviourWithFSMAndStartLongPolling(upstreamUpdatesFlow: Flow<Update>? = null, scope: CoroutineScope = defaultCoroutineScopeProvider(), defaultExceptionsHandler: ExceptionHandler<Unit>? = null, statesManager: StatesManager = DefaultStatesManager(InMemoryDefaultStatesManagerRepo()), presetHandlers: MutableList<BehaviourWithFSMStateHandlerHolder<*>> = mutableListOf(), block: CustomBehaviourContextReceiver<BehaviourContextWithFSMBuilder, Unit>): Pair<BehaviourContextWithFSM, Job>
+
+

Use buildBehaviourWithFSM to create BehaviourContextWithFSM and launch getting of updates using longPolling. For longPolling will be used result BehaviourContextWithFSM for both parameters flowsUpdatesFilter and scope

+
+
+
+
+ +
+
+
buildBehaviourWithLongPolling +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
suspend fun TelegramBot.buildBehaviourWithLongPolling(scope: CoroutineScope = defaultCoroutineScopeProvider(), defaultExceptionsHandler: ExceptionHandler<Unit>? = null, block: BehaviourContextReceiver<Unit>): Job
+
+

Use this method to build bot behaviour and run it via long polling. In case you wish to get FlowsUpdatesFilter for additional manipulations, you must provide external FlowsUpdatesFilter in other buildBehaviour function.

+
+
+
+
+ +
+
+
CustomBehaviourContextReceiver +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
inline fun <BC, T> CustomBehaviourContextReceiver(noinline block: CustomBehaviourContextReceiver<BC, T>): suspend BC.() -> T
- +
-
doInSubContextWithFlowsUpdatesFilterSetup +
doInSubContext
Link copied to clipboard
@@ -289,17 +509,17 @@
-
suspend fun <T> BehaviourContext.doInSubContextWithFlowsUpdatesFilterSetup(newFlowsUpdatesFilterSetUp: BehaviourContextAndTypeReceiver<Unit, FlowsUpdatesFilter>?, stopOnCompletion: Boolean = true, behaviourContextReceiver: BehaviourContextReceiver<T>): T
+
suspend fun <T> BehaviourContext.doInSubContext(stopOnCompletion: Boolean = true, updatesUpstreamFlow: Flow<Update> = allUpdatesFlow, scope: CoroutineScope = LinkedSupervisorScope(), behaviourContextReceiver: BehaviourContextReceiver<T>): T
-

Creates new one BehaviourContext, adding subsequent FlowsUpdatesFilter in case newFlowsUpdatesFilterSetUp is provided and CoroutineScope as new BehaviourContext.scope. You must do all subscription/running of longPolling manually.

+
- +
-
doInSubContextWithUpdatesFilter +
doInSubContextWithUpdatesFilter
Link copied to clipboard
@@ -309,7 +529,7 @@
-
suspend fun <T> BehaviourContext.doInSubContextWithUpdatesFilter(updatesFilter: BehaviourContextAndTypeReceiver<Boolean, Update>?, stopOnCompletion: Boolean = true, behaviourContextReceiver: BehaviourContextReceiver<T>): T
+
suspend fun <T, BC : BehaviourContext> BC.doInSubContextWithUpdatesFilter(updatesFilter: CustomBehaviourContextAndTypeReceiver<BC, Boolean, Update>?, stopOnCompletion: Boolean = true, updatesUpstreamFlow: Flow<Update> = allUpdatesFlow, scope: CoroutineScope = LinkedSupervisorScope(), behaviourContextReceiver: CustomBehaviourContextReceiver<BC, T>): T

Creates new one BehaviourContext, adding subsequent FlowsUpdatesFilter in case updatesFilter is provided and CoroutineScope as new BehaviourContext.scope

@@ -396,10 +616,10 @@
- +
-
telegramBotWithBehaviour +
telegramBotWithBehaviour
Link copied to clipboard
@@ -408,16 +628,70 @@
-
-
suspend fun telegramBotWithBehaviour(token: String, scope: CoroutineScope? = null, apiUrl: String = telegramBotAPIDefaultUrl, builder: KtorRequestsExecutorBuilder.() -> Unit = {}, defaultExceptionsHandler: ExceptionHandler<Unit>? = null, block: BehaviourContextReceiver<Unit>): Pair<TelegramBot, Job>
-
-

Create bot using telegramBot and start listening for updates using buildBehaviour. Use this method in case you wish to make some additional actions with flowsUpdatesFilter.

-
-
suspend fun telegramBotWithBehaviour(token: String, flowsUpdatesFilter: FlowsUpdatesFilter, scope: CoroutineScope? = null, apiUrl: String = telegramBotAPIDefaultUrl, builder: KtorRequestsExecutorBuilder.() -> Unit = {}, defaultExceptionsHandler: ExceptionHandler<Unit>? = null, block: BehaviourContextReceiver<Unit>): TelegramBot
-

Create bot using telegramBot and start listening for updates using buildBehaviour. Use this method in case you wish to make some additional actions with flowsUpdatesFilter.

+

Create bot using telegramBot and start listening for updates using buildBehaviour. Use this method in case you wish to make some additional actions with flowsUpdatesFilter.

+
+
+
+
+ +
+
+
telegramBotWithBehaviourAndFSM +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
suspend fun telegramBotWithBehaviourAndFSM(token: String, flowsUpdatesFilter: FlowsUpdatesFilter, scope: CoroutineScope? = null, apiUrl: String = telegramBotAPIDefaultUrl, builder: KtorRequestsExecutorBuilder.() -> Unit = {}, defaultExceptionsHandler: ExceptionHandler<Unit>? = null, statesManager: StatesManager = DefaultStatesManager(InMemoryDefaultStatesManagerRepo()), presetHandlers: MutableList<BehaviourWithFSMStateHandlerHolder<*>> = mutableListOf(), block: CustomBehaviourContextReceiver<BehaviourContextWithFSMBuilder, Unit>): TelegramBot
+
+

Create bot using telegramBot and start listening for updates using buildBehaviourWithFSM. Use this method in case you wish to make some additional actions with flowsUpdatesFilter.

+
+
+
+
+ +
+
+ +
+
+
common
+
+
+ +
+
suspend fun telegramBotWithBehaviourAndFSMAndStartLongPolling(token: String, scope: CoroutineScope? = null, apiUrl: String = telegramBotAPIDefaultUrl, builder: KtorRequestsExecutorBuilder.() -> Unit = {}, defaultExceptionsHandler: ExceptionHandler<Unit>? = null, statesManager: StatesManager = DefaultStatesManager(InMemoryDefaultStatesManagerRepo()), presetHandlers: MutableList<BehaviourWithFSMStateHandlerHolder<*>> = mutableListOf(), block: CustomBehaviourContextReceiver<BehaviourContextWithFSMBuilder, Unit>): Pair<TelegramBot, Job>
+
+

Create bot using telegramBot and start listening for updates using buildBehaviourWithFSMAndStartLongPolling. This method will launch updates retrieving via long polling inside of buildBehaviourWithFSMAndStartLongPolling

+
+
+
+
+ +
+
+
telegramBotWithBehaviourAndLongPolling +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
suspend fun telegramBotWithBehaviourAndLongPolling(token: String, scope: CoroutineScope? = null, apiUrl: String = telegramBotAPIDefaultUrl, builder: KtorRequestsExecutorBuilder.() -> Unit = {}, defaultExceptionsHandler: ExceptionHandler<Unit>? = null, block: BehaviourContextReceiver<Unit>): Pair<TelegramBot, Job>
+
+

Create bot using telegramBot and start listening for updates using buildBehaviourWithLongPolling. Use this method in case you wish to make some additional actions with flowsUpdatesFilter.

@@ -454,7 +728,7 @@
-
var defaultCoroutineScopeProvider: () -> CoroutineScope

This function is used in buildBehaviour extensions to provide default CoroutineScope and allow to avoid all unnecessary parameters except of block

var defaultCoroutineScopeProvider: () -> CoroutineScope
var defaultCoroutineScopeProvider: () -> CoroutineScope
+
var defaultCoroutineScopeProvider: () -> CoroutineScope

This function is used in buildBehaviour extensions to provide default CoroutineScope and allow to avoid all unnecessary parameters except of block

var defaultCoroutineScopeProvider: () -> CoroutineScope
var defaultCoroutineScopeProvider: () -> CoroutineScope
diff --git a/docs/dev.inmo.tgbotapi.extensions.behaviour_builder/telegram-bot-with-behaviour-and-f-s-m-and-start-long-polling.html b/docs/dev.inmo.tgbotapi.extensions.behaviour_builder/telegram-bot-with-behaviour-and-f-s-m-and-start-long-polling.html new file mode 100644 index 0000000000..9563d72bd7 --- /dev/null +++ b/docs/dev.inmo.tgbotapi.extensions.behaviour_builder/telegram-bot-with-behaviour-and-f-s-m-and-start-long-polling.html @@ -0,0 +1,39 @@ + + + + telegramBotWithBehaviourAndFSMAndStartLongPolling + + +
+
+ + +
+
+
+
+
+
+ +
+

telegramBotWithBehaviourAndFSMAndStartLongPolling

+
+
+ +
+
suspend fun telegramBotWithBehaviourAndFSMAndStartLongPolling(token: String, scope: CoroutineScope? = null, apiUrl: String = telegramBotAPIDefaultUrl, builder: KtorRequestsExecutorBuilder.() -> Unit = {}, defaultExceptionsHandler: ExceptionHandler<Unit>? = null, statesManager: StatesManager = DefaultStatesManager(InMemoryDefaultStatesManagerRepo()), presetHandlers: MutableList<BehaviourWithFSMStateHandlerHolder<*>> = mutableListOf(), block: CustomBehaviourContextReceiver<BehaviourContextWithFSMBuilder, Unit>): Pair<TelegramBot, Job>
+
+

Create bot using telegramBot and start listening for updates using buildBehaviourWithFSMAndStartLongPolling. This method will launch updates retrieving via long polling inside of buildBehaviourWithFSMAndStartLongPolling

Return

Pair of TelegramBot and Job. This Job can be used to stop listening updates in your block you passed here

See also

+
+ +
+
+ + + diff --git a/docs/dev.inmo.tgbotapi.extensions.behaviour_builder/telegram-bot-with-behaviour-and-f-s-m.html b/docs/dev.inmo.tgbotapi.extensions.behaviour_builder/telegram-bot-with-behaviour-and-f-s-m.html new file mode 100644 index 0000000000..fefd2acd35 --- /dev/null +++ b/docs/dev.inmo.tgbotapi.extensions.behaviour_builder/telegram-bot-with-behaviour-and-f-s-m.html @@ -0,0 +1,39 @@ + + + + telegramBotWithBehaviourAndFSM + + +
+
+ + +
+
+
+
+
+
+ +
+

telegramBotWithBehaviourAndFSM

+
+
+ +
+
suspend fun telegramBotWithBehaviourAndFSM(token: String, flowsUpdatesFilter: FlowsUpdatesFilter, scope: CoroutineScope? = null, apiUrl: String = telegramBotAPIDefaultUrl, builder: KtorRequestsExecutorBuilder.() -> Unit = {}, defaultExceptionsHandler: ExceptionHandler<Unit>? = null, statesManager: StatesManager = DefaultStatesManager(InMemoryDefaultStatesManagerRepo()), presetHandlers: MutableList<BehaviourWithFSMStateHandlerHolder<*>> = mutableListOf(), block: CustomBehaviourContextReceiver<BehaviourContextWithFSMBuilder, Unit>): TelegramBot
+
+

Create bot using telegramBot and start listening for updates using buildBehaviourWithFSM. Use this method in case you wish to make some additional actions with flowsUpdatesFilter.

WARNING This method WILL NOT launch any listening of updates. Use something like startGettingOfUpdatesByLongPolling or tools for work with webhooks

Return

Created bot which has been used to create BehaviourContext via buildBehaviourWithFSM

See also

+
+ +
+
+ + + diff --git a/docs/dev.inmo.tgbotapi.extensions.behaviour_builder/telegram-bot-with-behaviour-and-long-polling.html b/docs/dev.inmo.tgbotapi.extensions.behaviour_builder/telegram-bot-with-behaviour-and-long-polling.html new file mode 100644 index 0000000000..a556a4689f --- /dev/null +++ b/docs/dev.inmo.tgbotapi.extensions.behaviour_builder/telegram-bot-with-behaviour-and-long-polling.html @@ -0,0 +1,39 @@ + + + + telegramBotWithBehaviourAndLongPolling + + +
+
+ + +
+
+
+
+
+
+ +
+

telegramBotWithBehaviourAndLongPolling

+
+
+ +
+
suspend fun telegramBotWithBehaviourAndLongPolling(token: String, scope: CoroutineScope? = null, apiUrl: String = telegramBotAPIDefaultUrl, builder: KtorRequestsExecutorBuilder.() -> Unit = {}, defaultExceptionsHandler: ExceptionHandler<Unit>? = null, block: BehaviourContextReceiver<Unit>): Pair<TelegramBot, Job>
+
+

Create bot using telegramBot and start listening for updates using buildBehaviourWithLongPolling. Use this method in case you wish to make some additional actions with flowsUpdatesFilter.

WARNING This method WILL launch updates listening inside of calling buildBehaviourWithLongPolling

Return

Pair of TelegramBot and Job. This Job can be used to stop listening updates in your block you passed here

See also

+
+ +
+
+ + + diff --git a/docs/dev.inmo.tgbotapi.extensions.behaviour_builder/telegram-bot-with-behaviour.html b/docs/dev.inmo.tgbotapi.extensions.behaviour_builder/telegram-bot-with-behaviour.html index 89ea2f9db0..a6161018ab 100644 --- a/docs/dev.inmo.tgbotapi.extensions.behaviour_builder/telegram-bot-with-behaviour.html +++ b/docs/dev.inmo.tgbotapi.extensions.behaviour_builder/telegram-bot-with-behaviour.html @@ -29,13 +29,7 @@
suspend fun telegramBotWithBehaviour(token: String, flowsUpdatesFilter: FlowsUpdatesFilter, scope: CoroutineScope? = null, apiUrl: String = telegramBotAPIDefaultUrl, builder: KtorRequestsExecutorBuilder.() -> Unit = {}, defaultExceptionsHandler: ExceptionHandler<Unit>? = null, block: BehaviourContextReceiver<Unit>): TelegramBot
-

Create bot using telegramBot and start listening for updates using buildBehaviour. Use this method in case you wish to make some additional actions with flowsUpdatesFilter.

WARNING This method WILL NOT launch any listening of updates. Use something like startGettingOfUpdatesByLongPolling or tools for work with webhooks

Return

Created bot which has been used to create BehaviourContext via buildBehaviour

See also

-
- -
-
suspend fun telegramBotWithBehaviour(token: String, scope: CoroutineScope? = null, apiUrl: String = telegramBotAPIDefaultUrl, builder: KtorRequestsExecutorBuilder.() -> Unit = {}, defaultExceptionsHandler: ExceptionHandler<Unit>? = null, block: BehaviourContextReceiver<Unit>): Pair<TelegramBot, Job>
-
-

Create bot using telegramBot and start listening for updates using buildBehaviour. Use this method in case you wish to make some additional actions with flowsUpdatesFilter.

WARNING This method WILL NOT launch any listening of updates. Use something like startGettingOfUpdatesByLongPolling or tools for work with webhooks

Return

Pair of TelegramBot and Job. This Job can be used to stop listening updates in your block you passed here

See also

+

Create bot using telegramBot and start listening for updates using buildBehaviour. Use this method in case you wish to make some additional actions with flowsUpdatesFilter.

WARNING This method WILL NOT launch any listening of updates. Use something like startGettingOfUpdatesByLongPolling or tools for work with webhooks

Return

Created bot which has been used to create BehaviourContext via buildBehaviour

See also

diff --git a/docs/dev.inmo.tgbotapi.extensions.utils.shortcuts/filter-private-events.html b/docs/dev.inmo.tgbotapi.extensions.utils.shortcuts/filter-private-events.html new file mode 100644 index 0000000000..b2268ad978 --- /dev/null +++ b/docs/dev.inmo.tgbotapi.extensions.utils.shortcuts/filter-private-events.html @@ -0,0 +1,39 @@ + + + + filterPrivateEvents + + +
+
+ + +
+
+
+
+
+
+ +
+

filterPrivateEvents

+
+
+ +
+
inline fun <T : PrivateEvent> Flow<ChatEventMessage<*>>.filterPrivateEvents(): Flow<PrivateEventMessage<T>>
inline fun <T : PrivateEvent> FlowsUpdatesFilter.filterPrivateEvents(): Flow<PrivateEventMessage<T>>
+
+
+
+ +
+
+ + + diff --git a/docs/dev.inmo.tgbotapi.extensions.utils.shortcuts/index.html b/docs/dev.inmo.tgbotapi.extensions.utils.shortcuts/index.html index f14e6b594e..346188e6d4 100644 --- a/docs/dev.inmo.tgbotapi.extensions.utils.shortcuts/index.html +++ b/docs/dev.inmo.tgbotapi.extensions.utils.shortcuts/index.html @@ -584,6 +584,26 @@
inline fun <T : MediaGroupContent> Flow<SentMediaGroupUpdate>.filterMediaGroupMessages(): Flow<List<CommonMessage<T>>>
inline fun <T : MediaGroupContent> FlowsUpdatesFilter.filterMediaGroupMessages(scopeToIncludeChannels: CoroutineScope? = null): Flow<List<CommonMessage<T>>>
+
+
+
+
+ +
+
+
filterPrivateEvents +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
inline fun <T : PrivateEvent> FlowsUpdatesFilter.filterPrivateEvents(): Flow<PrivateEventMessage<T>>
inline fun <T : PrivateEvent> Flow<ChatEventMessage<*>>.filterPrivateEvents(): Flow<PrivateEventMessage<T>>
+
+
@@ -1050,6 +1070,26 @@
inline fun FlowsUpdatesFilter.newGroupTitleEvents(): Flow<GroupEventMessage<NewChatTitle>>
inline fun Flow<ChatEventMessage<*>>.newGroupTitleEvents(): Flow<GroupEventMessage<NewChatTitle>>
+
+
+
+
+ +
+
+
newPrivatePinnedMessageEvents +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
inline fun Flow<ChatEventMessage<*>>.newPrivatePinnedMessageEvents(): Flow<PrivateEventMessage<PinnedMessage>>
+
+
@@ -1190,6 +1230,26 @@
fun Flow<BaseSentMessageUpdate>.pollMessages(): Flow<ContentMessage<PollContent>>
fun FlowsUpdatesFilter.pollMessages(scopeToIncludeChannels: CoroutineScope? = null): Flow<ContentMessage<PollContent>>
+
+
+
+
+ +
+
+
privateEvents +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
inline fun FlowsUpdatesFilter.privateEvents(): Flow<PrivateEventMessage<*>>
inline fun Flow<ChatEventMessage<*>>.privateEvents(): Flow<PrivateEventMessage<PrivateEvent>>
+
+
@@ -1290,6 +1350,86 @@
fun Flow<BaseSentMessageUpdate>.stickerMessages(): Flow<ContentMessage<StickerContent>>
fun FlowsUpdatesFilter.stickerMessages(scopeToIncludeChannels: CoroutineScope? = null): Flow<ContentMessage<StickerContent>>
+
+
+
+
+ +
+
+
successfulPaymentInChannelEvents +
Link copied to clipboard
+
+
+
+
common
+
+
+ + +
+
+
+
+
+ +
+
+
successfulPaymentInGroupEvents +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+ +
+
+
+
+
+
+ +
+
+
successfulPaymentInPrivateEvents +
Link copied to clipboard
+
+
+
+
common
+
+
+ + +
+
+
+
+
+ +
+
+
successfulPaymentInSupergroupEvents +
Link copied to clipboard
+
+
+
+
common
+
+
diff --git a/docs/dev.inmo.tgbotapi.extensions.utils.shortcuts/new-private-pinned-message-events.html b/docs/dev.inmo.tgbotapi.extensions.utils.shortcuts/new-private-pinned-message-events.html new file mode 100644 index 0000000000..5677fc4c51 --- /dev/null +++ b/docs/dev.inmo.tgbotapi.extensions.utils.shortcuts/new-private-pinned-message-events.html @@ -0,0 +1,39 @@ + + + + newPrivatePinnedMessageEvents + + +
+
+ + +
+
+
+
+
+
+ +
+

newPrivatePinnedMessageEvents

+
+
+ +
+
inline fun Flow<ChatEventMessage<*>>.newPrivatePinnedMessageEvents(): Flow<PrivateEventMessage<PinnedMessage>>
+
+
+
+ +
+
+ + + diff --git a/docs/dev.inmo.tgbotapi.extensions.utils.shortcuts/private-events.html b/docs/dev.inmo.tgbotapi.extensions.utils.shortcuts/private-events.html new file mode 100644 index 0000000000..0bd9804890 --- /dev/null +++ b/docs/dev.inmo.tgbotapi.extensions.utils.shortcuts/private-events.html @@ -0,0 +1,39 @@ + + + + privateEvents + + +
+
+ + +
+
+
+
+
+
+ +
+

privateEvents

+
+
+ +
+
inline fun FlowsUpdatesFilter.privateEvents(): Flow<PrivateEventMessage<*>>
inline fun Flow<ChatEventMessage<*>>.privateEvents(): Flow<PrivateEventMessage<PrivateEvent>>
+
+
+
+ +
+
+ + + diff --git a/docs/dev.inmo.tgbotapi.extensions.utils.shortcuts/successful-payment-in-channel-events.html b/docs/dev.inmo.tgbotapi.extensions.utils.shortcuts/successful-payment-in-channel-events.html new file mode 100644 index 0000000000..0a8074c295 --- /dev/null +++ b/docs/dev.inmo.tgbotapi.extensions.utils.shortcuts/successful-payment-in-channel-events.html @@ -0,0 +1,39 @@ + + + + successfulPaymentInChannelEvents + + +
+
+ + +
+
+
+
+
+
+ +
+

successfulPaymentInChannelEvents

+
+
+ + +
+
+ +
+
+ + + diff --git a/docs/dev.inmo.tgbotapi.extensions.utils.shortcuts/successful-payment-in-group-events.html b/docs/dev.inmo.tgbotapi.extensions.utils.shortcuts/successful-payment-in-group-events.html new file mode 100644 index 0000000000..1af6b64b74 --- /dev/null +++ b/docs/dev.inmo.tgbotapi.extensions.utils.shortcuts/successful-payment-in-group-events.html @@ -0,0 +1,39 @@ + + + + successfulPaymentInGroupEvents + + +
+
+ + +
+
+
+
+
+
+ +
+

successfulPaymentInGroupEvents

+
+
+ +
+ +
+
+
+ +
+
+ + + diff --git a/docs/dev.inmo.tgbotapi.extensions.utils.shortcuts/successful-payment-in-private-events.html b/docs/dev.inmo.tgbotapi.extensions.utils.shortcuts/successful-payment-in-private-events.html new file mode 100644 index 0000000000..d8269317b8 --- /dev/null +++ b/docs/dev.inmo.tgbotapi.extensions.utils.shortcuts/successful-payment-in-private-events.html @@ -0,0 +1,39 @@ + + + + successfulPaymentInPrivateEvents + + +
+
+ + +
+
+
+
+
+
+ +
+

successfulPaymentInPrivateEvents

+
+
+ + +
+
+ +
+
+ + + diff --git a/docs/dev.inmo.tgbotapi.extensions.utils.shortcuts/successful-payment-in-supergroup-events.html b/docs/dev.inmo.tgbotapi.extensions.utils.shortcuts/successful-payment-in-supergroup-events.html new file mode 100644 index 0000000000..cd94a0e4f2 --- /dev/null +++ b/docs/dev.inmo.tgbotapi.extensions.utils.shortcuts/successful-payment-in-supergroup-events.html @@ -0,0 +1,39 @@ + + + + successfulPaymentInSupergroupEvents + + +
+
+ + +
+
+
+
+
+
+ +
+

successfulPaymentInSupergroupEvents

+
+ +
+ +
+
+ + + diff --git a/docs/dev.inmo.tgbotapi.extensions.utils.types.buttons/-inline-keyboard-builder/-inline-keyboard-builder.html b/docs/dev.inmo.tgbotapi.extensions.utils.types.buttons/-inline-keyboard-builder/-inline-keyboard-builder.html new file mode 100644 index 0000000000..464c7019a1 --- /dev/null +++ b/docs/dev.inmo.tgbotapi.extensions.utils.types.buttons/-inline-keyboard-builder/-inline-keyboard-builder.html @@ -0,0 +1,39 @@ + + + + InlineKeyboardBuilder + + +
+
+ + +
+
+
+
+
+
+ +
+

InlineKeyboardBuilder

+
+
+ +
+
fun InlineKeyboardBuilder()
+
+
+
+ +
+
+ + + diff --git a/docs/dev.inmo.tgbotapi.extensions.utils.types.buttons/-inline-keyboard-builder/build.html b/docs/dev.inmo.tgbotapi.extensions.utils.types.buttons/-inline-keyboard-builder/build.html new file mode 100644 index 0000000000..4cf63f4856 --- /dev/null +++ b/docs/dev.inmo.tgbotapi.extensions.utils.types.buttons/-inline-keyboard-builder/build.html @@ -0,0 +1,39 @@ + + + + build + + +
+
+ + +
+
+
+
+
+
+ +
+

build

+
+
+ +
+
fun build(): InlineKeyboardMarkup
+
+

Creates InlineKeyboardMarkup using internal matrix

+
+ +
+
+ + + diff --git a/docs/dev.inmo.tgbotapi.extensions.utils.types.buttons/-inline-keyboard-builder/index.html b/docs/dev.inmo.tgbotapi.extensions.utils.types.buttons/-inline-keyboard-builder/index.html new file mode 100644 index 0000000000..5f3f6f912a --- /dev/null +++ b/docs/dev.inmo.tgbotapi.extensions.utils.types.buttons/-inline-keyboard-builder/index.html @@ -0,0 +1,183 @@ + + + + InlineKeyboardBuilder + + +
+
+ + +
+
+
+
+
+
+ +
+

InlineKeyboardBuilder

+
class InlineKeyboardBuilder : MatrixBuilder<InlineKeyboardButton>

Core DSL part of Inline Keyboard DSL. Can accept only InlineKeyboardButton and returns ready to use InlineKeyboardMarkup via build method

+
+
+
+
+

See also

+ +

Constructors

+
+
+
+
InlineKeyboardBuilder +
Link copied to clipboard
+
+
+
+
common
+
+
+
fun InlineKeyboardBuilder()
+
+
+
+
+
+

Functions

+
+
+
+
add +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
fun add(t: List<InlineKeyboardButton>): Boolean
+
+
+
+
+
+
+ +
+
+
build +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
fun build(): InlineKeyboardMarkup
+
+

Creates InlineKeyboardMarkup using internal matrix

+
+
+
+
+ +
+
+
plus +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
operator fun plus(t: List<InlineKeyboardButton>): Boolean
+
+
+
+
+
+
+ +
+
+
unaryPlus +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
operator fun InlineKeyboardButton.unaryPlus(): Boolean
+
+
+
+
+
+
+
+

Properties

+
+
+
+
matrix +
Link copied to clipboard
+
+
+
+
common
+
+
+
val matrix: Matrix<InlineKeyboardButton>
+
+
+
+
+
+

Extensions

+
+
+
+
row +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
inline fun InlineKeyboardBuilder.row(crossinline block: InlineKeyboardRowBuilder.() -> Unit): Boolean
+
+

Creates an InlineKeyboardRowBuilder and apply with this builder

+
+
+
+
+
+
+
+
+ +
+
+ + + diff --git a/docs/dev.inmo.tgbotapi.extensions.utils.types.buttons/-inline-keyboard-row-builder/-inline-keyboard-row-builder.html b/docs/dev.inmo.tgbotapi.extensions.utils.types.buttons/-inline-keyboard-row-builder/-inline-keyboard-row-builder.html new file mode 100644 index 0000000000..83602cf872 --- /dev/null +++ b/docs/dev.inmo.tgbotapi.extensions.utils.types.buttons/-inline-keyboard-row-builder/-inline-keyboard-row-builder.html @@ -0,0 +1,39 @@ + + + + InlineKeyboardRowBuilder + + +
+
+ + +
+
+
+
+
+
+ +
+

InlineKeyboardRowBuilder

+
+
+ +
+
fun InlineKeyboardRowBuilder()
+
+
+
+ +
+
+ + + diff --git a/docs/dev.inmo.tgbotapi.extensions.utils.types.buttons/-inline-keyboard-row-builder/index.html b/docs/dev.inmo.tgbotapi.extensions.utils.types.buttons/-inline-keyboard-row-builder/index.html new file mode 100644 index 0000000000..c88381204f --- /dev/null +++ b/docs/dev.inmo.tgbotapi.extensions.utils.types.buttons/-inline-keyboard-row-builder/index.html @@ -0,0 +1,263 @@ + + + + InlineKeyboardRowBuilder + + +
+
+ + +
+
+
+
+
+
+ +
+

InlineKeyboardRowBuilder

+
class InlineKeyboardRowBuilder : RowBuilder<InlineKeyboardButton>

Row builder of InlineKeyboardBuilder

+
+
+
+
+

See also

+ +

Constructors

+
+
+
+
InlineKeyboardRowBuilder +
Link copied to clipboard
+
+
+
+
common
+
+
+
fun InlineKeyboardRowBuilder()
+
+
+
+
+
+

Functions

+
+
+
+
add +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
fun add(t: InlineKeyboardButton): Boolean
+
+
+
+
+
+
+ +
+
+
unaryPlus +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
operator fun InlineKeyboardButton.unaryPlus(): Boolean
+
+
+
+
+
+
+
+

Properties

+
+
+
+
row +
Link copied to clipboard
+
+
+
+
common
+
+
+
val row: List<InlineKeyboardButton>
+
+
+
+
+
+

Extensions

+
+
+
+
dataButton +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
inline fun InlineKeyboardRowBuilder.dataButton(text: String, data: String): Boolean
+
+
+
+
+
+
+ +
+
+
gameButton +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
inline fun InlineKeyboardRowBuilder.gameButton(text: String): Boolean
+
+
+
+
+
+
+ +
+
+
inlineQueryButton +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
inline fun InlineKeyboardRowBuilder.inlineQueryButton(text: String, data: String): Boolean
+
+
+
+
+
+
+ +
+
+
inlineQueryInCurrentChatButton +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
inline fun InlineKeyboardRowBuilder.inlineQueryInCurrentChatButton(text: String, data: String): Boolean
+
+
+
+
+
+
+ +
+
+
loginButton +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
inline fun InlineKeyboardRowBuilder.loginButton(text: String, loginUrl: LoginURL): Boolean
+
+
+
+
+
+
+ +
+
+
payButton +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
inline fun InlineKeyboardRowBuilder.payButton(text: String): Boolean
+
+

Creates and put PayInlineKeyboardButton

+
+
+
+
+ +
+
+
urlButton +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
inline fun InlineKeyboardRowBuilder.urlButton(text: String, url: String): Boolean
+
+

Creates and put URLInlineKeyboardButton

+
+
+
+
+
+
+
+
+ +
+
+ + + diff --git a/docs/dev.inmo.tgbotapi.extensions.utils.types.buttons/-reply-keyboard-builder/-reply-keyboard-builder.html b/docs/dev.inmo.tgbotapi.extensions.utils.types.buttons/-reply-keyboard-builder/-reply-keyboard-builder.html new file mode 100644 index 0000000000..e8f71bc338 --- /dev/null +++ b/docs/dev.inmo.tgbotapi.extensions.utils.types.buttons/-reply-keyboard-builder/-reply-keyboard-builder.html @@ -0,0 +1,39 @@ + + + + ReplyKeyboardBuilder + + +
+
+ + +
+
+
+
+
+
+ +
+

ReplyKeyboardBuilder

+
+
+ +
+
fun ReplyKeyboardBuilder()
+
+
+
+ +
+
+ + + diff --git a/docs/dev.inmo.tgbotapi.extensions.utils.types.buttons/-reply-keyboard-builder/build.html b/docs/dev.inmo.tgbotapi.extensions.utils.types.buttons/-reply-keyboard-builder/build.html new file mode 100644 index 0000000000..c185dff90e --- /dev/null +++ b/docs/dev.inmo.tgbotapi.extensions.utils.types.buttons/-reply-keyboard-builder/build.html @@ -0,0 +1,39 @@ + + + + build + + +
+
+ + +
+
+
+
+
+
+ +
+

build

+
+
+ +
+
fun build(resizeKeyboard: Boolean? = null, oneTimeKeyboard: Boolean? = null, inputFieldPlaceholder: String? = null, selective: Boolean? = null): ReplyKeyboardMarkup
+
+

Creates InlineKeyboardMarkup using internal matrix

+
+ +
+
+ + + diff --git a/docs/dev.inmo.tgbotapi.extensions.utils.types.buttons/-reply-keyboard-builder/index.html b/docs/dev.inmo.tgbotapi.extensions.utils.types.buttons/-reply-keyboard-builder/index.html new file mode 100644 index 0000000000..05093931a8 --- /dev/null +++ b/docs/dev.inmo.tgbotapi.extensions.utils.types.buttons/-reply-keyboard-builder/index.html @@ -0,0 +1,183 @@ + + + + ReplyKeyboardBuilder + + +
+
+ + +
+
+
+
+
+
+ +
+

ReplyKeyboardBuilder

+
class ReplyKeyboardBuilder : MatrixBuilder<KeyboardButton>

Core DSL part of Keyboard DSL. Can accept only KeyboardButton and returns ready to use ReplyKeyboardMarkup via build method

+
+
+
+
+

See also

+ +

Constructors

+
+
+
+
ReplyKeyboardBuilder +
Link copied to clipboard
+
+
+
+
common
+
+
+
fun ReplyKeyboardBuilder()
+
+
+
+
+
+

Functions

+
+
+
+
add +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
fun add(t: List<KeyboardButton>): Boolean
+
+
+
+
+
+
+ +
+
+
build +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
fun build(resizeKeyboard: Boolean? = null, oneTimeKeyboard: Boolean? = null, inputFieldPlaceholder: String? = null, selective: Boolean? = null): ReplyKeyboardMarkup
+
+

Creates InlineKeyboardMarkup using internal matrix

+
+
+
+
+ +
+
+
plus +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
operator fun plus(t: List<KeyboardButton>): Boolean
+
+
+
+
+
+
+ +
+
+
unaryPlus +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
operator fun KeyboardButton.unaryPlus(): Boolean
+
+
+
+
+
+
+
+

Properties

+
+
+
+
matrix +
Link copied to clipboard
+
+
+
+
common
+
+
+
val matrix: Matrix<KeyboardButton>
+
+
+
+
+
+

Extensions

+
+
+
+
row +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
inline fun ReplyKeyboardBuilder.row(crossinline block: ReplyKeyboardRowBuilder.() -> Unit): Boolean
+
+

Creates an ReplyKeyboardRowBuilder and apply with this builder

+
+
+
+
+
+
+
+
+ +
+
+ + + diff --git a/docs/dev.inmo.tgbotapi.extensions.utils.types.buttons/-reply-keyboard-row-builder/-reply-keyboard-row-builder.html b/docs/dev.inmo.tgbotapi.extensions.utils.types.buttons/-reply-keyboard-row-builder/-reply-keyboard-row-builder.html new file mode 100644 index 0000000000..762ac5df23 --- /dev/null +++ b/docs/dev.inmo.tgbotapi.extensions.utils.types.buttons/-reply-keyboard-row-builder/-reply-keyboard-row-builder.html @@ -0,0 +1,39 @@ + + + + ReplyKeyboardRowBuilder + + +
+
+ + +
+
+
+
+
+
+ +
+

ReplyKeyboardRowBuilder

+
+
+ +
+
fun ReplyKeyboardRowBuilder()
+
+
+
+ +
+
+ + + diff --git a/docs/dev.inmo.tgbotapi.extensions.utils.types.buttons/-reply-keyboard-row-builder/index.html b/docs/dev.inmo.tgbotapi.extensions.utils.types.buttons/-reply-keyboard-row-builder/index.html new file mode 100644 index 0000000000..0b4d8869fd --- /dev/null +++ b/docs/dev.inmo.tgbotapi.extensions.utils.types.buttons/-reply-keyboard-row-builder/index.html @@ -0,0 +1,203 @@ + + + + ReplyKeyboardRowBuilder + + +
+
+ + +
+
+
+
+
+
+ +
+

ReplyKeyboardRowBuilder

+
class ReplyKeyboardRowBuilder : RowBuilder<KeyboardButton>

Row builder of KeyboardButton

+
+
+
+
+

See also

+ +

Constructors

+
+
+
+
ReplyKeyboardRowBuilder +
Link copied to clipboard
+
+
+
+
common
+
+
+
fun ReplyKeyboardRowBuilder()
+
+
+
+
+
+

Functions

+
+
+
+
add +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
fun add(t: KeyboardButton): Boolean
+
+
+
+
+
+
+ +
+
+
unaryPlus +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
operator fun KeyboardButton.unaryPlus(): Boolean
+
+
+
+
+
+
+
+

Properties

+
+
+
+
row +
Link copied to clipboard
+
+
+
+
common
+
+
+
val row: List<KeyboardButton>
+
+
+
+
+
+

Extensions

+
+
+
+
requestContactButton +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
inline fun ReplyKeyboardRowBuilder.requestContactButton(text: String): Boolean
+
+
+
+
+
+
+ +
+
+
requestLocationButton +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
inline fun ReplyKeyboardRowBuilder.requestLocationButton(text: String): Boolean
+
+
+
+
+
+
+ +
+
+
requestPollButton +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
inline fun ReplyKeyboardRowBuilder.requestPollButton(text: String, pollType: KeyboardButtonPollType): Boolean
+
+
+
+
+
+
+ +
+
+
simpleButton +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
inline fun ReplyKeyboardRowBuilder.simpleButton(text: String): Boolean
+
+

Creates and put SimpleKeyboardButton

+
+
+
+
+
+
+
+
+ +
+
+ + + diff --git a/docs/dev.inmo.tgbotapi.extensions.utils.types.buttons/data-button.html b/docs/dev.inmo.tgbotapi.extensions.utils.types.buttons/data-button.html new file mode 100644 index 0000000000..ce2b8f2a68 --- /dev/null +++ b/docs/dev.inmo.tgbotapi.extensions.utils.types.buttons/data-button.html @@ -0,0 +1,39 @@ + + + + dataButton + + +
+
+ + +
+
+
+
+
+
+ +
+

dataButton

+
+
+ +
+
inline fun InlineKeyboardRowBuilder.dataButton(text: String, data: String): Boolean
+
+

Creates and put CallbackDataInlineKeyboardButton

See also

+
+ +
+
+ + + diff --git a/docs/dev.inmo.tgbotapi.extensions.utils.types.buttons/game-button.html b/docs/dev.inmo.tgbotapi.extensions.utils.types.buttons/game-button.html new file mode 100644 index 0000000000..ad2d1fdff0 --- /dev/null +++ b/docs/dev.inmo.tgbotapi.extensions.utils.types.buttons/game-button.html @@ -0,0 +1,39 @@ + + + + gameButton + + +
+
+ + +
+
+
+
+
+
+ +
+

gameButton

+
+
+ +
+
inline fun InlineKeyboardRowBuilder.gameButton(text: String): Boolean
+
+

Creates and put CallbackGameInlineKeyboardButton

See also

+
+ +
+
+ + + diff --git a/docs/dev.inmo.tgbotapi.extensions.utils.types.buttons/index.html b/docs/dev.inmo.tgbotapi.extensions.utils.types.buttons/index.html index e4995e7a29..bcc2397047 100644 --- a/docs/dev.inmo.tgbotapi.extensions.utils.types.buttons/index.html +++ b/docs/dev.inmo.tgbotapi.extensions.utils.types.buttons/index.html @@ -25,10 +25,152 @@

Package dev.inmo.tgbotapi.extensions.utils.types.buttons

-
+
+

Types

+
+
+
+
InlineKeyboardBuilder +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
class InlineKeyboardBuilder : MatrixBuilder<InlineKeyboardButton>
+
+

Core DSL part of Inline Keyboard DSL. Can accept only InlineKeyboardButton and returns ready to use InlineKeyboardMarkup via build method

+
+
+
+
+ +
+
+
InlineKeyboardRowBuilder +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
class InlineKeyboardRowBuilder : RowBuilder<InlineKeyboardButton>
+
+

Row builder of InlineKeyboardBuilder

+
+
+
+
+ +
+
+
ReplyKeyboardBuilder +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
class ReplyKeyboardBuilder : MatrixBuilder<KeyboardButton>
+
+

Core DSL part of Keyboard DSL. Can accept only KeyboardButton and returns ready to use ReplyKeyboardMarkup via build method

+
+
+
+
+ +
+
+
ReplyKeyboardRowBuilder +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
class ReplyKeyboardRowBuilder : RowBuilder<KeyboardButton>
+
+

Row builder of KeyboardButton

+
+
+
+
+

Functions

-
+
+
+
+
dataButton +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
inline fun InlineKeyboardRowBuilder.dataButton(text: String, data: String): Boolean
+
+
+
+
+
+
+ +
+
+
gameButton +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
inline fun InlineKeyboardRowBuilder.gameButton(text: String): Boolean
+
+
+
+
+
+
+ +
+
+
inlineKeyboard +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
inline fun inlineKeyboard(crossinline block: InlineKeyboardBuilder.() -> Unit): InlineKeyboardMarkup
+
+

Factory-function for InlineKeyboardBuilder. It will apply to internally created InlineKeyboardMarkup and InlineKeyboardBuilder.build then

+
+
+
+
+
InlineKeyboardMarkup @@ -44,6 +186,106 @@
fun InlineKeyboardMarkup(vararg buttons: InlineKeyboardButton): InlineKeyboardMarkup
+
+
+
+
+ +
+
+
inlineQueryButton +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
inline fun InlineKeyboardRowBuilder.inlineQueryButton(text: String, data: String): Boolean
+
+
+
+
+
+
+ +
+
+
inlineQueryInCurrentChatButton +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
inline fun InlineKeyboardRowBuilder.inlineQueryInCurrentChatButton(text: String, data: String): Boolean
+
+
+
+
+
+
+ +
+
+
loginButton +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
inline fun InlineKeyboardRowBuilder.loginButton(text: String, loginUrl: LoginURL): Boolean
+
+
+
+
+
+
+ +
+
+
payButton +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
inline fun InlineKeyboardRowBuilder.payButton(text: String): Boolean
+
+

Creates and put PayInlineKeyboardButton

+
+
+
+
+ +
+
+
replyKeyboard +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
inline fun replyKeyboard(resizeKeyboard: Boolean? = null, oneTimeKeyboard: Boolean? = null, inputFieldPlaceholder: String? = null, selective: Boolean? = null, crossinline block: ReplyKeyboardBuilder.() -> Unit): ReplyKeyboardMarkup
+
+

Factory-function for ReplyKeyboardBuilder. It will apply to internally created ReplyKeyboardMarkup and ReplyKeyboardBuilder.build then

@@ -64,6 +306,132 @@
fun ReplyKeyboardMarkup(vararg buttons: KeyboardButton, resizeKeyboard: Boolean? = null, oneTimeKeyboard: Boolean? = null, inputFieldPlaceholder: String? = null, selective: Boolean? = null): ReplyKeyboardMarkup
+
+
+
+
+ +
+
+
requestContactButton +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
inline fun ReplyKeyboardRowBuilder.requestContactButton(text: String): Boolean
+
+
+
+
+
+
+ +
+
+
requestLocationButton +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
inline fun ReplyKeyboardRowBuilder.requestLocationButton(text: String): Boolean
+
+
+
+
+
+
+ +
+
+
requestPollButton +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
inline fun ReplyKeyboardRowBuilder.requestPollButton(text: String, pollType: KeyboardButtonPollType): Boolean
+
+
+
+
+
+
+ +
+
+
row +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
inline fun InlineKeyboardBuilder.row(crossinline block: InlineKeyboardRowBuilder.() -> Unit): Boolean
+
+

Creates an InlineKeyboardRowBuilder and apply with this builder

+
+ +
+
inline fun ReplyKeyboardBuilder.row(crossinline block: ReplyKeyboardRowBuilder.() -> Unit): Boolean
+
+

Creates an ReplyKeyboardRowBuilder and apply with this builder

+
+
+
+
+ +
+
+
simpleButton +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
inline fun ReplyKeyboardRowBuilder.simpleButton(text: String): Boolean
+
+

Creates and put SimpleKeyboardButton

+
+
+
+
+ +
+
+
urlButton +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
inline fun InlineKeyboardRowBuilder.urlButton(text: String, url: String): Boolean
+
+

Creates and put URLInlineKeyboardButton

diff --git a/docs/dev.inmo.tgbotapi.extensions.utils.types.buttons/inline-keyboard.html b/docs/dev.inmo.tgbotapi.extensions.utils.types.buttons/inline-keyboard.html new file mode 100644 index 0000000000..9e60a2f370 --- /dev/null +++ b/docs/dev.inmo.tgbotapi.extensions.utils.types.buttons/inline-keyboard.html @@ -0,0 +1,39 @@ + + + + inlineKeyboard + + +
+
+ + +
+
+
+
+
+
+ +
+

inlineKeyboard

+
+
+ +
+
inline fun inlineKeyboard(crossinline block: InlineKeyboardBuilder.() -> Unit): InlineKeyboardMarkup
+
+

Factory-function for InlineKeyboardBuilder. It will apply to internally created InlineKeyboardMarkup and InlineKeyboardBuilder.build then

See also

+
+ +
+
+ + + diff --git a/docs/dev.inmo.tgbotapi.extensions.utils.types.buttons/inline-query-button.html b/docs/dev.inmo.tgbotapi.extensions.utils.types.buttons/inline-query-button.html new file mode 100644 index 0000000000..8a57025cc2 --- /dev/null +++ b/docs/dev.inmo.tgbotapi.extensions.utils.types.buttons/inline-query-button.html @@ -0,0 +1,39 @@ + + + + inlineQueryButton + + +
+
+ + +
+
+
+
+
+
+ +
+

inlineQueryButton

+
+
+ +
+
inline fun InlineKeyboardRowBuilder.inlineQueryButton(text: String, data: String): Boolean
+
+

Creates and put SwitchInlineQueryInlineKeyboardButton

See also

+
+ +
+
+ + + diff --git a/docs/dev.inmo.tgbotapi.extensions.utils.types.buttons/inline-query-in-current-chat-button.html b/docs/dev.inmo.tgbotapi.extensions.utils.types.buttons/inline-query-in-current-chat-button.html new file mode 100644 index 0000000000..67caa1fc15 --- /dev/null +++ b/docs/dev.inmo.tgbotapi.extensions.utils.types.buttons/inline-query-in-current-chat-button.html @@ -0,0 +1,39 @@ + + + + inlineQueryInCurrentChatButton + + +
+
+ + +
+
+
+
+
+
+ +
+

inlineQueryInCurrentChatButton

+
+ +
+ +
+
+ + + diff --git a/docs/dev.inmo.tgbotapi.extensions.utils.types.buttons/login-button.html b/docs/dev.inmo.tgbotapi.extensions.utils.types.buttons/login-button.html new file mode 100644 index 0000000000..4fbb6a08fd --- /dev/null +++ b/docs/dev.inmo.tgbotapi.extensions.utils.types.buttons/login-button.html @@ -0,0 +1,39 @@ + + + + loginButton + + +
+
+ + +
+
+
+
+
+
+ +
+

loginButton

+
+
+ +
+
inline fun InlineKeyboardRowBuilder.loginButton(text: String, loginUrl: LoginURL): Boolean
+
+

Creates and put LoginURLInlineKeyboardButton

See also

+
+ +
+
+ + + diff --git a/docs/dev.inmo.tgbotapi.extensions.utils.types.buttons/pay-button.html b/docs/dev.inmo.tgbotapi.extensions.utils.types.buttons/pay-button.html new file mode 100644 index 0000000000..205c9d0bc7 --- /dev/null +++ b/docs/dev.inmo.tgbotapi.extensions.utils.types.buttons/pay-button.html @@ -0,0 +1,39 @@ + + + + payButton + + +
+
+ + +
+
+
+
+
+
+ +
+

payButton

+
+
+ +
+
inline fun InlineKeyboardRowBuilder.payButton(text: String): Boolean
+
+

Creates and put PayInlineKeyboardButton

See also

+
+ +
+
+ + + diff --git a/docs/dev.inmo.tgbotapi.extensions.utils.types.buttons/reply-keyboard.html b/docs/dev.inmo.tgbotapi.extensions.utils.types.buttons/reply-keyboard.html new file mode 100644 index 0000000000..e80e4f91e1 --- /dev/null +++ b/docs/dev.inmo.tgbotapi.extensions.utils.types.buttons/reply-keyboard.html @@ -0,0 +1,39 @@ + + + + replyKeyboard + + +
+
+ + +
+
+
+
+
+
+ +
+

replyKeyboard

+
+
+ +
+
inline fun replyKeyboard(resizeKeyboard: Boolean? = null, oneTimeKeyboard: Boolean? = null, inputFieldPlaceholder: String? = null, selective: Boolean? = null, crossinline block: ReplyKeyboardBuilder.() -> Unit): ReplyKeyboardMarkup
+
+

Factory-function for ReplyKeyboardBuilder. It will apply to internally created ReplyKeyboardMarkup and ReplyKeyboardBuilder.build then

See also

+
+ +
+
+ + + diff --git a/docs/dev.inmo.tgbotapi.extensions.utils.types.buttons/request-contact-button.html b/docs/dev.inmo.tgbotapi.extensions.utils.types.buttons/request-contact-button.html new file mode 100644 index 0000000000..2a40eb159f --- /dev/null +++ b/docs/dev.inmo.tgbotapi.extensions.utils.types.buttons/request-contact-button.html @@ -0,0 +1,39 @@ + + + + requestContactButton + + +
+
+ + +
+
+
+
+
+
+ +
+

requestContactButton

+
+
+ +
+
inline fun ReplyKeyboardRowBuilder.requestContactButton(text: String): Boolean
+
+

Creates and put RequestContactKeyboardButton

See also

+
+ +
+
+ + + diff --git a/docs/dev.inmo.tgbotapi.extensions.utils.types.buttons/request-location-button.html b/docs/dev.inmo.tgbotapi.extensions.utils.types.buttons/request-location-button.html new file mode 100644 index 0000000000..d2b095efed --- /dev/null +++ b/docs/dev.inmo.tgbotapi.extensions.utils.types.buttons/request-location-button.html @@ -0,0 +1,39 @@ + + + + requestLocationButton + + +
+
+ + +
+
+
+
+
+
+ +
+

requestLocationButton

+
+
+ +
+
inline fun ReplyKeyboardRowBuilder.requestLocationButton(text: String): Boolean
+
+

Creates and put RequestLocationKeyboardButton

See also

+
+ +
+
+ + + diff --git a/docs/dev.inmo.tgbotapi.extensions.utils.types.buttons/request-poll-button.html b/docs/dev.inmo.tgbotapi.extensions.utils.types.buttons/request-poll-button.html new file mode 100644 index 0000000000..b627217364 --- /dev/null +++ b/docs/dev.inmo.tgbotapi.extensions.utils.types.buttons/request-poll-button.html @@ -0,0 +1,39 @@ + + + + requestPollButton + + +
+
+ + +
+
+
+
+
+
+ +
+

requestPollButton

+
+
+ +
+
inline fun ReplyKeyboardRowBuilder.requestPollButton(text: String, pollType: KeyboardButtonPollType): Boolean
+
+

Creates and put RequestPollKeyboardButton

See also

+
+ +
+
+ + + diff --git a/docs/dev.inmo.tgbotapi.extensions.utils.types.buttons/row.html b/docs/dev.inmo.tgbotapi.extensions.utils.types.buttons/row.html new file mode 100644 index 0000000000..48b2e97cba --- /dev/null +++ b/docs/dev.inmo.tgbotapi.extensions.utils.types.buttons/row.html @@ -0,0 +1,45 @@ + + + + row + + +
+
+ + +
+
+
+
+
+
+ +
+

row

+
+ +
+ +
+
inline fun ReplyKeyboardBuilder.row(crossinline block: ReplyKeyboardRowBuilder.() -> Unit): Boolean
+
+

Creates an ReplyKeyboardRowBuilder and apply with this builder

See also

+
+ +
+
+ + + diff --git a/docs/dev.inmo.tgbotapi.extensions.utils.types.buttons/simple-button.html b/docs/dev.inmo.tgbotapi.extensions.utils.types.buttons/simple-button.html new file mode 100644 index 0000000000..634d075eaa --- /dev/null +++ b/docs/dev.inmo.tgbotapi.extensions.utils.types.buttons/simple-button.html @@ -0,0 +1,39 @@ + + + + simpleButton + + +
+
+ + +
+
+
+
+
+
+ +
+

simpleButton

+
+
+ +
+
inline fun ReplyKeyboardRowBuilder.simpleButton(text: String): Boolean
+
+

Creates and put SimpleKeyboardButton

See also

+
+ +
+
+ + + diff --git a/docs/dev.inmo.tgbotapi.extensions.utils.types.buttons/url-button.html b/docs/dev.inmo.tgbotapi.extensions.utils.types.buttons/url-button.html new file mode 100644 index 0000000000..344e2ccd71 --- /dev/null +++ b/docs/dev.inmo.tgbotapi.extensions.utils.types.buttons/url-button.html @@ -0,0 +1,39 @@ + + + + urlButton + + +
+
+ + +
+
+
+
+
+
+ +
+

urlButton

+
+
+ +
+
inline fun InlineKeyboardRowBuilder.urlButton(text: String, url: String): Boolean
+
+

Creates and put URLInlineKeyboardButton

See also

+
+ +
+
+ + + diff --git a/docs/dev.inmo.tgbotapi.extensions.utils/as-force-reply.html b/docs/dev.inmo.tgbotapi.extensions.utils/as-force-reply.html index 74f95abc3b..9f2efb401e 100644 --- a/docs/dev.inmo.tgbotapi.extensions.utils/as-force-reply.html +++ b/docs/dev.inmo.tgbotapi.extensions.utils/as-force-reply.html @@ -27,7 +27,7 @@
-
inline fun KeyboardMarkup.asForceReply(): ForceReply?
+
inline fun KeyboardMarkup.asForceReply(): ReplyForce?
diff --git a/docs/dev.inmo.tgbotapi.CommonAbstracts/-direct-invocation-of-text-source-constructor.html b/docs/dev.inmo.tgbotapi.extensions.utils/as-possibly-reply-message.html similarity index 71% rename from docs/dev.inmo.tgbotapi.CommonAbstracts/-direct-invocation-of-text-source-constructor.html rename to docs/dev.inmo.tgbotapi.extensions.utils/as-possibly-reply-message.html index ef14b06c66..2624f4d66f 100644 --- a/docs/dev.inmo.tgbotapi.CommonAbstracts/-direct-invocation-of-text-source-constructor.html +++ b/docs/dev.inmo.tgbotapi.extensions.utils/as-possibly-reply-message.html @@ -1,7 +1,7 @@ - DirectInvocationOfTextSourceConstructor + asPossiblyReplyMessage
@@ -13,21 +13,21 @@
-
+
-

DirectInvocationOfTextSourceConstructor

+

asPossiblyReplyMessage

-
const val DirectInvocationOfTextSourceConstructor: String
+
inline fun Message.asPossiblyReplyMessage(): PossiblyReplyMessage?
diff --git a/docs/dev.inmo.tgbotapi.extensions.utils/as-private-event-message.html b/docs/dev.inmo.tgbotapi.extensions.utils/as-private-event-message.html new file mode 100644 index 0000000000..ed7a9785ff --- /dev/null +++ b/docs/dev.inmo.tgbotapi.extensions.utils/as-private-event-message.html @@ -0,0 +1,39 @@ + + + + asPrivateEventMessage + + +
+
+ + +
+
+
+
+
+
+ +
+

asPrivateEventMessage

+
+
+ +
+
inline fun Message.asPrivateEventMessage(): PrivateEventMessage<PrivateEvent>?
+
+
+
+ +
+
+ + + diff --git a/docs/dev.inmo.tgbotapi.extensions.utils/as-public-chat-event.html b/docs/dev.inmo.tgbotapi.extensions.utils/as-public-chat-event.html new file mode 100644 index 0000000000..f7a430cc41 --- /dev/null +++ b/docs/dev.inmo.tgbotapi.extensions.utils/as-public-chat-event.html @@ -0,0 +1,39 @@ + + + + asPublicChatEvent + + +
+
+ + +
+
+
+
+
+
+ +
+

asPublicChatEvent

+
+
+ +
+
inline fun ChatEvent.asPublicChatEvent(): PublicChatEvent?
+
+
+
+ +
+
+ + + diff --git a/docs/dev.inmo.tgbotapi.extensions.utils/as-with-user.html b/docs/dev.inmo.tgbotapi.extensions.utils/as-with-user.html new file mode 100644 index 0000000000..7a2fbe2a0c --- /dev/null +++ b/docs/dev.inmo.tgbotapi.extensions.utils/as-with-user.html @@ -0,0 +1,39 @@ + + + + asWithUser + + +
+
+ + +
+
+
+
+
+
+ +
+

asWithUser

+
+
+ +
+
inline fun Any.asWithUser(): WithUser?
+
+
+
+ +
+
+ + + diff --git a/docs/dev.inmo.tgbotapi.extensions.utils/index.html b/docs/dev.inmo.tgbotapi.extensions.utils/index.html index 66854189ec..5af7bd3c0b 100644 --- a/docs/dev.inmo.tgbotapi.extensions.utils/index.html +++ b/docs/dev.inmo.tgbotapi.extensions.utils/index.html @@ -2043,7 +2043,7 @@
-
inline fun KeyboardMarkup.asForceReply(): ForceReply?
+
inline fun KeyboardMarkup.asForceReply(): ReplyForce?
@@ -4546,6 +4546,26 @@
inline fun Message.asPossiblyPaymentMessage(): PossiblyPaymentMessage?
+
+
+
+
+ +
+
+
asPossiblyReplyMessage +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
inline fun Message.asPossiblyReplyMessage(): PossiblyReplyMessage?
+
+
@@ -4666,6 +4686,26 @@
+
+
+
+
+ +
+
+
asPrivateEventMessage +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
inline fun Message.asPrivateEventMessage(): PrivateEventMessage<PrivateEvent>?
+
+
@@ -4706,6 +4746,26 @@
inline fun Chat.asPublicChat(): PublicChat?
+
+
+
+
+ +
+
+
asPublicChatEvent +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
inline fun ChatEvent.asPublicChatEvent(): PublicChatEvent?
+
+
@@ -6446,6 +6506,26 @@
inline fun Any.asWithOptionalLanguageCode(): WithOptionalLanguageCode?
+
+
+
+
+ +
+
+
asWithUser +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
inline fun Any.asWithUser(): WithUser?
+
+
@@ -11366,6 +11446,26 @@
inline fun Message.requirePossiblyPaymentMessage(): PossiblyPaymentMessage
+
+
+
+
+ +
+
+
requirePossiblyReplyMessage +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
inline fun Message.requirePossiblyReplyMessage(): PossiblyReplyMessage
+
+
@@ -11486,6 +11586,26 @@
+
+
+
+
+ +
+
+
requirePrivateEventMessage +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
inline fun Message.requirePrivateEventMessage(): PrivateEventMessage<PrivateEvent>
+
+
@@ -11526,6 +11646,26 @@
inline fun Chat.requirePublicChat(): PublicChat
+
+
+
+
+ +
+
+
requirePublicChatEvent +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
inline fun ChatEvent.requirePublicChatEvent(): PublicChatEvent
+
+
@@ -13266,6 +13406,26 @@
inline fun Any.requireWithOptionalLanguageCode(): WithOptionalLanguageCode
+
+
+
+
+ +
+
+
requireWithUser +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
inline fun Any.requireWithUser(): WithUser
+
+
@@ -15223,7 +15383,7 @@
-
inline fun <T> KeyboardMarkup.whenForceReply(block: (ForceReply) -> T): T?
+
inline fun <T> KeyboardMarkup.whenForceReply(block: (ReplyForce) -> T): T?
@@ -17726,6 +17886,26 @@
inline fun <T> Message.whenPossiblyPaymentMessage(block: (PossiblyPaymentMessage) -> T): T?
+
+
+
+
+ +
+
+
whenPossiblyReplyMessage +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
inline fun <T> Message.whenPossiblyReplyMessage(block: (PossiblyReplyMessage) -> T): T?
+
+
@@ -17846,6 +18026,26 @@
inline fun <T> Message.whenPrivateContentMessageImpl(block: (PrivateContentMessageImpl<MessageContent>) -> T): T?
+
+
+
+
+ +
+
+
whenPrivateEventMessage +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
inline fun <T> Message.whenPrivateEventMessage(block: (PrivateEventMessage<PrivateEvent>) -> T): T?
+
+
@@ -17886,6 +18086,26 @@
inline fun <T> Chat.whenPublicChat(block: (PublicChat) -> T): T?
+
+
+
+
+ +
+
+
whenPublicChatEvent +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
inline fun <T> ChatEvent.whenPublicChatEvent(block: (PublicChatEvent) -> T): T?
+
+
@@ -19626,6 +19846,26 @@
inline fun <T> Any.whenWithOptionalLanguageCode(block: (WithOptionalLanguageCode) -> T): T?
+
+
+
+
+ +
+
+
whenWithUser +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
inline fun <T> Any.whenWithUser(block: (WithUser) -> T): T?
+
+
diff --git a/docs/dev.inmo.tgbotapi.extensions.utils/require-possibly-reply-message.html b/docs/dev.inmo.tgbotapi.extensions.utils/require-possibly-reply-message.html new file mode 100644 index 0000000000..fcdabd874c --- /dev/null +++ b/docs/dev.inmo.tgbotapi.extensions.utils/require-possibly-reply-message.html @@ -0,0 +1,39 @@ + + + + requirePossiblyReplyMessage + + +
+
+ + +
+
+
+
+
+
+ +
+

requirePossiblyReplyMessage

+
+
+ +
+
inline fun Message.requirePossiblyReplyMessage(): PossiblyReplyMessage
+
+
+
+ +
+
+ + + diff --git a/docs/dev.inmo.tgbotapi.extensions.utils/require-private-event-message.html b/docs/dev.inmo.tgbotapi.extensions.utils/require-private-event-message.html new file mode 100644 index 0000000000..d4202c7711 --- /dev/null +++ b/docs/dev.inmo.tgbotapi.extensions.utils/require-private-event-message.html @@ -0,0 +1,39 @@ + + + + requirePrivateEventMessage + + +
+
+ + +
+
+
+
+
+
+ +
+

requirePrivateEventMessage

+
+
+ +
+
inline fun Message.requirePrivateEventMessage(): PrivateEventMessage<PrivateEvent>
+
+
+
+ +
+
+ + + diff --git a/docs/dev.inmo.tgbotapi.extensions.utils/require-public-chat-event.html b/docs/dev.inmo.tgbotapi.extensions.utils/require-public-chat-event.html new file mode 100644 index 0000000000..f72e02cd65 --- /dev/null +++ b/docs/dev.inmo.tgbotapi.extensions.utils/require-public-chat-event.html @@ -0,0 +1,39 @@ + + + + requirePublicChatEvent + + +
+
+ + +
+
+
+
+
+
+ +
+

requirePublicChatEvent

+
+
+ +
+
inline fun ChatEvent.requirePublicChatEvent(): PublicChatEvent
+
+
+
+ +
+
+ + + diff --git a/docs/dev.inmo.tgbotapi.extensions.utils/require-with-user.html b/docs/dev.inmo.tgbotapi.extensions.utils/require-with-user.html new file mode 100644 index 0000000000..b25ced48d4 --- /dev/null +++ b/docs/dev.inmo.tgbotapi.extensions.utils/require-with-user.html @@ -0,0 +1,39 @@ + + + + requireWithUser + + +
+
+ + +
+
+
+
+
+
+ +
+

requireWithUser

+
+
+ +
+
inline fun Any.requireWithUser(): WithUser
+
+
+
+ +
+
+ + + diff --git a/docs/dev.inmo.tgbotapi.extensions.utils/when-force-reply.html b/docs/dev.inmo.tgbotapi.extensions.utils/when-force-reply.html index dbbd514ebe..d91b3da30e 100644 --- a/docs/dev.inmo.tgbotapi.extensions.utils/when-force-reply.html +++ b/docs/dev.inmo.tgbotapi.extensions.utils/when-force-reply.html @@ -27,7 +27,7 @@
-
inline fun <T> KeyboardMarkup.whenForceReply(block: (ForceReply) -> T): T?
+
inline fun <T> KeyboardMarkup.whenForceReply(block: (ReplyForce) -> T): T?
diff --git a/docs/dev.inmo.tgbotapi.extensions.utils/when-possibly-reply-message.html b/docs/dev.inmo.tgbotapi.extensions.utils/when-possibly-reply-message.html new file mode 100644 index 0000000000..f847994b3a --- /dev/null +++ b/docs/dev.inmo.tgbotapi.extensions.utils/when-possibly-reply-message.html @@ -0,0 +1,39 @@ + + + + whenPossiblyReplyMessage + + +
+
+ + +
+
+
+
+
+
+ +
+

whenPossiblyReplyMessage

+
+
+ +
+
inline fun <T> Message.whenPossiblyReplyMessage(block: (PossiblyReplyMessage) -> T): T?
+
+
+
+ +
+
+ + + diff --git a/docs/dev.inmo.tgbotapi.extensions.utils/when-private-event-message.html b/docs/dev.inmo.tgbotapi.extensions.utils/when-private-event-message.html new file mode 100644 index 0000000000..3e75faffc0 --- /dev/null +++ b/docs/dev.inmo.tgbotapi.extensions.utils/when-private-event-message.html @@ -0,0 +1,39 @@ + + + + whenPrivateEventMessage + + +
+
+ + +
+
+
+
+
+
+ +
+

whenPrivateEventMessage

+
+
+ +
+
inline fun <T> Message.whenPrivateEventMessage(block: (PrivateEventMessage<PrivateEvent>) -> T): T?
+
+
+
+ +
+
+ + + diff --git a/docs/dev.inmo.tgbotapi.extensions.utils/when-public-chat-event.html b/docs/dev.inmo.tgbotapi.extensions.utils/when-public-chat-event.html new file mode 100644 index 0000000000..548167d124 --- /dev/null +++ b/docs/dev.inmo.tgbotapi.extensions.utils/when-public-chat-event.html @@ -0,0 +1,39 @@ + + + + whenPublicChatEvent + + +
+
+ + +
+
+
+
+
+
+ +
+

whenPublicChatEvent

+
+
+ +
+
inline fun <T> ChatEvent.whenPublicChatEvent(block: (PublicChatEvent) -> T): T?
+
+
+
+ +
+
+ + + diff --git a/docs/dev.inmo.tgbotapi.extensions.utils/when-with-user.html b/docs/dev.inmo.tgbotapi.extensions.utils/when-with-user.html new file mode 100644 index 0000000000..ba6b12dd54 --- /dev/null +++ b/docs/dev.inmo.tgbotapi.extensions.utils/when-with-user.html @@ -0,0 +1,39 @@ + + + + whenWithUser + + +
+
+ + +
+
+
+
+
+
+ +
+

whenWithUser

+
+
+ +
+
inline fun <T> Any.whenWithUser(block: (WithUser) -> T): T?
+
+
+
+ +
+
+ + + diff --git a/docs/dev.inmo.tgbotapi.requests.abstracts/-input-file/index.html b/docs/dev.inmo.tgbotapi.requests.abstracts/-input-file/index.html index 7e9b12acf0..5df3558bb1 100644 --- a/docs/dev.inmo.tgbotapi.requests.abstracts/-input-file/index.html +++ b/docs/dev.inmo.tgbotapi.requests.abstracts/-input-file/index.html @@ -30,7 +30,7 @@

See also

Properties

diff --git a/docs/dev.inmo.tgbotapi.types.CallbackQuery/-callback-query/index.html b/docs/dev.inmo.tgbotapi.types.CallbackQuery/-callback-query/index.html index daa02c6d3f..cbf776cd79 100644 --- a/docs/dev.inmo.tgbotapi.types.CallbackQuery/-callback-query/index.html +++ b/docs/dev.inmo.tgbotapi.types.CallbackQuery/-callback-query/index.html @@ -45,6 +45,22 @@
+ +
+
+
from +
Link copied to clipboard
+
+
+
+
common
+
+
+
abstract val from: User

The source User of this type

+
+
+
+
@@ -72,7 +88,7 @@
common
-
abstract val user: User
+
open override val user: User
diff --git a/docs/dev.inmo.tgbotapi.types.CallbackQuery/-data-callback-query/index.html b/docs/dev.inmo.tgbotapi.types.CallbackQuery/-data-callback-query/index.html index 6c2c082072..074c2e8c45 100644 --- a/docs/dev.inmo.tgbotapi.types.CallbackQuery/-data-callback-query/index.html +++ b/docs/dev.inmo.tgbotapi.types.CallbackQuery/-data-callback-query/index.html @@ -23,11 +23,15 @@

DataCallbackQuery

-
interface DataCallbackQuery : CallbackQuery
+
interface DataCallbackQuery : CallbackQuery

CallbackQuery with data field

-
+
+ +
+
+
from +
Link copied to clipboard
+
+
+
+
common
+
+
+
abstract val from: User

The source User of this type

+
+
+
+
@@ -88,7 +108,7 @@
common
-
abstract val user: User
+
open override val user: User
diff --git a/docs/dev.inmo.tgbotapi.types.CallbackQuery/-game-short-name-callback-query/index.html b/docs/dev.inmo.tgbotapi.types.CallbackQuery/-game-short-name-callback-query/index.html index 7fec5bdb3e..c9d72fedcc 100644 --- a/docs/dev.inmo.tgbotapi.types.CallbackQuery/-game-short-name-callback-query/index.html +++ b/docs/dev.inmo.tgbotapi.types.CallbackQuery/-game-short-name-callback-query/index.html @@ -45,6 +45,22 @@
+ +
+
+
from +
Link copied to clipboard
+
+
+
+
common
+
+
+
abstract val from: User

The source User of this type

+
+
+
+
@@ -88,7 +104,7 @@
common
-
abstract val user: User
+
open override val user: User
diff --git a/docs/dev.inmo.tgbotapi.types.CallbackQuery/-inline-message-id-callback-query/index.html b/docs/dev.inmo.tgbotapi.types.CallbackQuery/-inline-message-id-callback-query/index.html index 90a8bb0120..1767890a79 100644 --- a/docs/dev.inmo.tgbotapi.types.CallbackQuery/-inline-message-id-callback-query/index.html +++ b/docs/dev.inmo.tgbotapi.types.CallbackQuery/-inline-message-id-callback-query/index.html @@ -45,6 +45,22 @@
+ +
+
+
from +
Link copied to clipboard
+
+
+
+
common
+
+
+
abstract val from: User

The source User of this type

+
+
+
+
@@ -88,7 +104,7 @@
common
-
abstract val user: User
+
open override val user: User
diff --git a/docs/dev.inmo.tgbotapi.types.CallbackQuery/-inline-message-id-data-callback-query/-inline-message-id-data-callback-query.html b/docs/dev.inmo.tgbotapi.types.CallbackQuery/-inline-message-id-data-callback-query/-inline-message-id-data-callback-query.html index 42cdca1e3f..a109f04930 100644 --- a/docs/dev.inmo.tgbotapi.types.CallbackQuery/-inline-message-id-data-callback-query/-inline-message-id-data-callback-query.html +++ b/docs/dev.inmo.tgbotapi.types.CallbackQuery/-inline-message-id-data-callback-query/-inline-message-id-data-callback-query.html @@ -27,7 +27,7 @@
-
fun InlineMessageIdDataCallbackQuery(id: CallbackQueryIdentifier, user: User, chatInstance: String, inlineMessageId: InlineMessageIdentifier, data: String)
+
fun InlineMessageIdDataCallbackQuery(id: CallbackQueryIdentifier, from: User, chatInstance: String, inlineMessageId: InlineMessageIdentifier, data: String)
diff --git a/docs/dev.inmo.tgbotapi.types.CallbackQuery/-inline-message-id-data-callback-query/user.html b/docs/dev.inmo.tgbotapi.types.CallbackQuery/-inline-message-id-data-callback-query/from.html similarity index 87% rename from docs/dev.inmo.tgbotapi.types.CallbackQuery/-inline-message-id-data-callback-query/user.html rename to docs/dev.inmo.tgbotapi.types.CallbackQuery/-inline-message-id-data-callback-query/from.html index 7305d85909..cd5c9c0e52 100644 --- a/docs/dev.inmo.tgbotapi.types.CallbackQuery/-inline-message-id-data-callback-query/user.html +++ b/docs/dev.inmo.tgbotapi.types.CallbackQuery/-inline-message-id-data-callback-query/from.html @@ -1,7 +1,7 @@ - user + from
@@ -13,23 +13,23 @@
-
+
-

user

+

from

-
open override val user: User
+
open override val from: User
-
+

The source User of this type

diff --git a/docs/dev.inmo.tgbotapi.types.CallbackQuery/-inline-message-id-data-callback-query/index.html b/docs/dev.inmo.tgbotapi.types.CallbackQuery/-inline-message-id-data-callback-query/index.html index 456e5bd943..fcd15f382a 100644 --- a/docs/dev.inmo.tgbotapi.types.CallbackQuery/-inline-message-id-data-callback-query/index.html +++ b/docs/dev.inmo.tgbotapi.types.CallbackQuery/-inline-message-id-data-callback-query/index.html @@ -23,7 +23,7 @@

InlineMessageIdDataCallbackQuery

-
data class InlineMessageIdDataCallbackQuery(id: CallbackQueryIdentifier, user: User, chatInstance: String, inlineMessageId: InlineMessageIdentifier, data: String) : DataCallbackQuery, InlineMessageIdCallbackQuery
+
data class InlineMessageIdDataCallbackQuery(id: CallbackQueryIdentifier, from: User, chatInstance: String, inlineMessageId: InlineMessageIdentifier, data: String) : DataCallbackQuery, InlineMessageIdCallbackQuery
@@ -61,6 +61,22 @@
+ +
+
+
from +
Link copied to clipboard
+
+
+
+
common
+
+
+
open override val from: User

The source User of this type

+
+
+
+
@@ -93,10 +109,10 @@
- +
-
user +
user
Link copied to clipboard
@@ -104,7 +120,7 @@
common
-
open override val user: User
+
open override val user: User
diff --git a/docs/dev.inmo.tgbotapi.types.CallbackQuery/-inline-message-id-game-short-name-callback-query/-inline-message-id-game-short-name-callback-query.html b/docs/dev.inmo.tgbotapi.types.CallbackQuery/-inline-message-id-game-short-name-callback-query/-inline-message-id-game-short-name-callback-query.html index 3a49385a09..2a9620e2a5 100644 --- a/docs/dev.inmo.tgbotapi.types.CallbackQuery/-inline-message-id-game-short-name-callback-query/-inline-message-id-game-short-name-callback-query.html +++ b/docs/dev.inmo.tgbotapi.types.CallbackQuery/-inline-message-id-game-short-name-callback-query/-inline-message-id-game-short-name-callback-query.html @@ -27,7 +27,7 @@
-
fun InlineMessageIdGameShortNameCallbackQuery(id: CallbackQueryIdentifier, user: User, chatInstance: String, inlineMessageId: InlineMessageIdentifier, gameShortName: String)
+
fun InlineMessageIdGameShortNameCallbackQuery(id: CallbackQueryIdentifier, from: User, chatInstance: String, inlineMessageId: InlineMessageIdentifier, gameShortName: String)
diff --git a/docs/dev.inmo.tgbotapi.types.CallbackQuery/-inline-message-id-game-short-name-callback-query/user.html b/docs/dev.inmo.tgbotapi.types.CallbackQuery/-inline-message-id-game-short-name-callback-query/from.html similarity index 87% rename from docs/dev.inmo.tgbotapi.types.CallbackQuery/-inline-message-id-game-short-name-callback-query/user.html rename to docs/dev.inmo.tgbotapi.types.CallbackQuery/-inline-message-id-game-short-name-callback-query/from.html index c0bcfdece7..ca32a7ee9e 100644 --- a/docs/dev.inmo.tgbotapi.types.CallbackQuery/-inline-message-id-game-short-name-callback-query/user.html +++ b/docs/dev.inmo.tgbotapi.types.CallbackQuery/-inline-message-id-game-short-name-callback-query/from.html @@ -1,7 +1,7 @@ - user + from
@@ -13,23 +13,23 @@
-
+
-

user

+

from

-
open override val user: User
+
open override val from: User
-
+

The source User of this type

diff --git a/docs/dev.inmo.tgbotapi.types.CallbackQuery/-inline-message-id-game-short-name-callback-query/index.html b/docs/dev.inmo.tgbotapi.types.CallbackQuery/-inline-message-id-game-short-name-callback-query/index.html index f8a43a4d27..f924cde894 100644 --- a/docs/dev.inmo.tgbotapi.types.CallbackQuery/-inline-message-id-game-short-name-callback-query/index.html +++ b/docs/dev.inmo.tgbotapi.types.CallbackQuery/-inline-message-id-game-short-name-callback-query/index.html @@ -23,7 +23,7 @@

InlineMessageIdGameShortNameCallbackQuery

-
data class InlineMessageIdGameShortNameCallbackQuery(id: CallbackQueryIdentifier, user: User, chatInstance: String, inlineMessageId: InlineMessageIdentifier, gameShortName: String) : GameShortNameCallbackQuery, InlineMessageIdCallbackQuery
+
data class InlineMessageIdGameShortNameCallbackQuery(id: CallbackQueryIdentifier, from: User, chatInstance: String, inlineMessageId: InlineMessageIdentifier, gameShortName: String) : GameShortNameCallbackQuery, InlineMessageIdCallbackQuery
@@ -45,6 +45,22 @@
+ +
+
+
from +
Link copied to clipboard
+
+
+
+
common
+
+
+
open override val from: User

The source User of this type

+
+
+
+
@@ -93,10 +109,10 @@
- +
-
user +
user
Link copied to clipboard
@@ -104,7 +120,7 @@
common
-
open override val user: User
+
open override val user: User
diff --git a/docs/dev.inmo.tgbotapi.types.CallbackQuery/-message-callback-query/index.html b/docs/dev.inmo.tgbotapi.types.CallbackQuery/-message-callback-query/index.html index 42293d6507..aab97d2b90 100644 --- a/docs/dev.inmo.tgbotapi.types.CallbackQuery/-message-callback-query/index.html +++ b/docs/dev.inmo.tgbotapi.types.CallbackQuery/-message-callback-query/index.html @@ -45,6 +45,22 @@
+ +
+
+
from +
Link copied to clipboard
+
+
+
+
common
+
+
+
abstract val from: User

The source User of this type

+
+
+
+
@@ -88,7 +104,7 @@
common
-
abstract val user: User
+
open override val user: User
diff --git a/docs/dev.inmo.tgbotapi.types.CallbackQuery/-message-data-callback-query/-message-data-callback-query.html b/docs/dev.inmo.tgbotapi.types.CallbackQuery/-message-data-callback-query/-message-data-callback-query.html index 33890a66d3..e8c13f5fb2 100644 --- a/docs/dev.inmo.tgbotapi.types.CallbackQuery/-message-data-callback-query/-message-data-callback-query.html +++ b/docs/dev.inmo.tgbotapi.types.CallbackQuery/-message-data-callback-query/-message-data-callback-query.html @@ -27,7 +27,7 @@
-
fun MessageDataCallbackQuery(id: CallbackQueryIdentifier, user: User, chatInstance: String, message: Message, data: String)
+
fun MessageDataCallbackQuery(id: CallbackQueryIdentifier, from: User, chatInstance: String, message: Message, data: String)
diff --git a/docs/dev.inmo.tgbotapi.types.CallbackQuery/-message-data-callback-query/user.html b/docs/dev.inmo.tgbotapi.types.CallbackQuery/-message-data-callback-query/from.html similarity index 87% rename from docs/dev.inmo.tgbotapi.types.CallbackQuery/-message-data-callback-query/user.html rename to docs/dev.inmo.tgbotapi.types.CallbackQuery/-message-data-callback-query/from.html index 5169a06681..35bbd66d2f 100644 --- a/docs/dev.inmo.tgbotapi.types.CallbackQuery/-message-data-callback-query/user.html +++ b/docs/dev.inmo.tgbotapi.types.CallbackQuery/-message-data-callback-query/from.html @@ -1,7 +1,7 @@ - user + from
@@ -13,23 +13,23 @@
-
+
-

user

+

from

-
open override val user: User
+
open override val from: User
-
+

The source User of this type

diff --git a/docs/dev.inmo.tgbotapi.types.CallbackQuery/-message-data-callback-query/index.html b/docs/dev.inmo.tgbotapi.types.CallbackQuery/-message-data-callback-query/index.html index 26111bd483..a8c4d552db 100644 --- a/docs/dev.inmo.tgbotapi.types.CallbackQuery/-message-data-callback-query/index.html +++ b/docs/dev.inmo.tgbotapi.types.CallbackQuery/-message-data-callback-query/index.html @@ -23,7 +23,7 @@

MessageDataCallbackQuery

-
data class MessageDataCallbackQuery(id: CallbackQueryIdentifier, user: User, chatInstance: String, message: Message, data: String) : DataCallbackQuery, MessageCallbackQuery
+
data class MessageDataCallbackQuery(id: CallbackQueryIdentifier, from: User, chatInstance: String, message: Message, data: String) : DataCallbackQuery, MessageCallbackQuery
@@ -61,6 +61,22 @@
+ +
+
+
from +
Link copied to clipboard
+
+
+
+
common
+
+
+
open override val from: User

The source User of this type

+
+
+
+
@@ -93,10 +109,10 @@
- +
-
user +
user
Link copied to clipboard
@@ -104,7 +120,7 @@
common
-
open override val user: User
+
open override val user: User
diff --git a/docs/dev.inmo.tgbotapi.types.CallbackQuery/-message-game-short-name-callback-query/-message-game-short-name-callback-query.html b/docs/dev.inmo.tgbotapi.types.CallbackQuery/-message-game-short-name-callback-query/-message-game-short-name-callback-query.html index 98c55bd5d3..b36402dbeb 100644 --- a/docs/dev.inmo.tgbotapi.types.CallbackQuery/-message-game-short-name-callback-query/-message-game-short-name-callback-query.html +++ b/docs/dev.inmo.tgbotapi.types.CallbackQuery/-message-game-short-name-callback-query/-message-game-short-name-callback-query.html @@ -27,7 +27,7 @@
-
fun MessageGameShortNameCallbackQuery(id: CallbackQueryIdentifier, user: User, chatInstance: String, message: Message, gameShortName: String)
+
fun MessageGameShortNameCallbackQuery(id: CallbackQueryIdentifier, from: User, chatInstance: String, message: Message, gameShortName: String)
diff --git a/docs/dev.inmo.tgbotapi.types.CallbackQuery/-message-game-short-name-callback-query/user.html b/docs/dev.inmo.tgbotapi.types.CallbackQuery/-message-game-short-name-callback-query/from.html similarity index 87% rename from docs/dev.inmo.tgbotapi.types.CallbackQuery/-message-game-short-name-callback-query/user.html rename to docs/dev.inmo.tgbotapi.types.CallbackQuery/-message-game-short-name-callback-query/from.html index 18e8dc954d..bcb0a58a20 100644 --- a/docs/dev.inmo.tgbotapi.types.CallbackQuery/-message-game-short-name-callback-query/user.html +++ b/docs/dev.inmo.tgbotapi.types.CallbackQuery/-message-game-short-name-callback-query/from.html @@ -1,7 +1,7 @@ - user + from
@@ -13,23 +13,23 @@
-
+
-

user

+

from

-
open override val user: User
+
open override val from: User
-
+

The source User of this type

diff --git a/docs/dev.inmo.tgbotapi.types.CallbackQuery/-message-game-short-name-callback-query/index.html b/docs/dev.inmo.tgbotapi.types.CallbackQuery/-message-game-short-name-callback-query/index.html index 5c34154cdb..a35e40288c 100644 --- a/docs/dev.inmo.tgbotapi.types.CallbackQuery/-message-game-short-name-callback-query/index.html +++ b/docs/dev.inmo.tgbotapi.types.CallbackQuery/-message-game-short-name-callback-query/index.html @@ -23,7 +23,7 @@

MessageGameShortNameCallbackQuery

-
data class MessageGameShortNameCallbackQuery(id: CallbackQueryIdentifier, user: User, chatInstance: String, message: Message, gameShortName: String) : GameShortNameCallbackQuery, MessageCallbackQuery
+
data class MessageGameShortNameCallbackQuery(id: CallbackQueryIdentifier, from: User, chatInstance: String, message: Message, gameShortName: String) : GameShortNameCallbackQuery, MessageCallbackQuery
@@ -45,6 +45,22 @@
+ +
+
+
from +
Link copied to clipboard
+
+
+
+
common
+
+
+
open override val from: User

The source User of this type

+
+
+
+
@@ -93,10 +109,10 @@
- +
-
user +
user
Link copied to clipboard
@@ -104,7 +120,7 @@
common
-
open override val user: User
+
open override val user: User
diff --git a/docs/dev.inmo.tgbotapi.types.CallbackQuery/-unknown-callback-query-type/-unknown-callback-query-type.html b/docs/dev.inmo.tgbotapi.types.CallbackQuery/-unknown-callback-query-type/-unknown-callback-query-type.html index 9b2c4c3958..9ea2345c8c 100644 --- a/docs/dev.inmo.tgbotapi.types.CallbackQuery/-unknown-callback-query-type/-unknown-callback-query-type.html +++ b/docs/dev.inmo.tgbotapi.types.CallbackQuery/-unknown-callback-query-type/-unknown-callback-query-type.html @@ -27,7 +27,7 @@
-
fun UnknownCallbackQueryType(id: CallbackQueryIdentifier, user: User, chatInstance: String, raw: String)
+
fun UnknownCallbackQueryType(id: CallbackQueryIdentifier, from: User, chatInstance: String, raw: String)
diff --git a/docs/dev.inmo.tgbotapi.types.CallbackQuery/-unknown-callback-query-type/user.html b/docs/dev.inmo.tgbotapi.types.CallbackQuery/-unknown-callback-query-type/from.html similarity index 87% rename from docs/dev.inmo.tgbotapi.types.CallbackQuery/-unknown-callback-query-type/user.html rename to docs/dev.inmo.tgbotapi.types.CallbackQuery/-unknown-callback-query-type/from.html index 4deaddd5e2..6135baf6e5 100644 --- a/docs/dev.inmo.tgbotapi.types.CallbackQuery/-unknown-callback-query-type/user.html +++ b/docs/dev.inmo.tgbotapi.types.CallbackQuery/-unknown-callback-query-type/from.html @@ -1,7 +1,7 @@ - user + from
@@ -13,23 +13,23 @@
-
+
-

user

+

from

-
open override val user: User
+
open override val from: User
-
+

The source User of this type

diff --git a/docs/dev.inmo.tgbotapi.types.CallbackQuery/-unknown-callback-query-type/index.html b/docs/dev.inmo.tgbotapi.types.CallbackQuery/-unknown-callback-query-type/index.html index 71cc6a7abe..6c16eb98af 100644 --- a/docs/dev.inmo.tgbotapi.types.CallbackQuery/-unknown-callback-query-type/index.html +++ b/docs/dev.inmo.tgbotapi.types.CallbackQuery/-unknown-callback-query-type/index.html @@ -23,7 +23,7 @@

UnknownCallbackQueryType

-
data class UnknownCallbackQueryType(id: CallbackQueryIdentifier, user: User, chatInstance: String, raw: String) : CallbackQuery
+
data class UnknownCallbackQueryType(id: CallbackQueryIdentifier, from: User, chatInstance: String, raw: String) : CallbackQuery
@@ -45,6 +45,22 @@
+ +
+
+
from +
Link copied to clipboard
+
+
+
+
common
+
+
+
open override val from: User

The source User of this type

+
+
+
+
@@ -77,10 +93,10 @@
- +
-
user +
user
Link copied to clipboard
@@ -88,7 +104,7 @@
common
-
open override val user: User
+
open override val user: User
diff --git a/docs/dev.inmo.tgbotapi.types.CallbackQuery/index.html b/docs/dev.inmo.tgbotapi.types.CallbackQuery/index.html index 3e5b28f531..f26020ea1f 100644 --- a/docs/dev.inmo.tgbotapi.types.CallbackQuery/index.html +++ b/docs/dev.inmo.tgbotapi.types.CallbackQuery/index.html @@ -63,7 +63,7 @@
interface DataCallbackQuery : CallbackQuery
-
+

CallbackQuery with data field

@@ -121,7 +121,7 @@
-
data class InlineMessageIdDataCallbackQuery(id: CallbackQueryIdentifier, user: User, chatInstance: String, inlineMessageId: InlineMessageIdentifier, data: String) : DataCallbackQuery, InlineMessageIdCallbackQuery
+
data class InlineMessageIdDataCallbackQuery(id: CallbackQueryIdentifier, from: User, chatInstance: String, inlineMessageId: InlineMessageIdentifier, data: String) : DataCallbackQuery, InlineMessageIdCallbackQuery
@@ -141,7 +141,7 @@
-
data class InlineMessageIdGameShortNameCallbackQuery(id: CallbackQueryIdentifier, user: User, chatInstance: String, inlineMessageId: InlineMessageIdentifier, gameShortName: String) : GameShortNameCallbackQuery, InlineMessageIdCallbackQuery
+
data class InlineMessageIdGameShortNameCallbackQuery(id: CallbackQueryIdentifier, from: User, chatInstance: String, inlineMessageId: InlineMessageIdentifier, gameShortName: String) : GameShortNameCallbackQuery, InlineMessageIdCallbackQuery
@@ -181,7 +181,7 @@
-
data class MessageDataCallbackQuery(id: CallbackQueryIdentifier, user: User, chatInstance: String, message: Message, data: String) : DataCallbackQuery, MessageCallbackQuery
+
data class MessageDataCallbackQuery(id: CallbackQueryIdentifier, from: User, chatInstance: String, message: Message, data: String) : DataCallbackQuery, MessageCallbackQuery
@@ -201,7 +201,7 @@
-
data class MessageGameShortNameCallbackQuery(id: CallbackQueryIdentifier, user: User, chatInstance: String, message: Message, gameShortName: String) : GameShortNameCallbackQuery, MessageCallbackQuery
+
data class MessageGameShortNameCallbackQuery(id: CallbackQueryIdentifier, from: User, chatInstance: String, message: Message, gameShortName: String) : GameShortNameCallbackQuery, MessageCallbackQuery
@@ -221,7 +221,7 @@
-
data class UnknownCallbackQueryType(id: CallbackQueryIdentifier, user: User, chatInstance: String, raw: String) : CallbackQuery
+
data class UnknownCallbackQueryType(id: CallbackQueryIdentifier, from: User, chatInstance: String, raw: String) : CallbackQuery
diff --git a/docs/dev.inmo.tgbotapi.types.ChatMember.abstracts/-administrator-chat-member/index.html b/docs/dev.inmo.tgbotapi.types.ChatMember.abstracts/-administrator-chat-member/index.html index 88334aedcf..a37e993e2e 100644 --- a/docs/dev.inmo.tgbotapi.types.ChatMember.abstracts/-administrator-chat-member/index.html +++ b/docs/dev.inmo.tgbotapi.types.ChatMember.abstracts/-administrator-chat-member/index.html @@ -237,10 +237,10 @@
- +
-
user +
user
Link copied to clipboard
@@ -248,7 +248,7 @@
common
-
abstract val user: User
+
abstract val user: User
diff --git a/docs/dev.inmo.tgbotapi.types.ChatMember.abstracts/-banned-chat-member/index.html b/docs/dev.inmo.tgbotapi.types.ChatMember.abstracts/-banned-chat-member/index.html index 2e5a324099..49fb3433aa 100644 --- a/docs/dev.inmo.tgbotapi.types.ChatMember.abstracts/-banned-chat-member/index.html +++ b/docs/dev.inmo.tgbotapi.types.ChatMember.abstracts/-banned-chat-member/index.html @@ -45,10 +45,10 @@
- +
-
user +
user
Link copied to clipboard
@@ -56,7 +56,7 @@
common
-
abstract val user: User
+
abstract val user: User
diff --git a/docs/dev.inmo.tgbotapi.types.ChatMember.abstracts/-chat-member/index.html b/docs/dev.inmo.tgbotapi.types.ChatMember.abstracts/-chat-member/index.html index c471747050..376f1982f3 100644 --- a/docs/dev.inmo.tgbotapi.types.ChatMember.abstracts/-chat-member/index.html +++ b/docs/dev.inmo.tgbotapi.types.ChatMember.abstracts/-chat-member/index.html @@ -23,16 +23,16 @@

ChatMember

-
interface ChatMember
+
interface ChatMember : WithUser

Properties

-
+
-
user +
user
Link copied to clipboard
@@ -40,7 +40,7 @@
common
-
abstract val user: User
+
abstract val user: User
diff --git a/docs/dev.inmo.tgbotapi.types.ChatMember.abstracts/-left-chat-member/index.html b/docs/dev.inmo.tgbotapi.types.ChatMember.abstracts/-left-chat-member/index.html index c200b1d914..fa9918e18a 100644 --- a/docs/dev.inmo.tgbotapi.types.ChatMember.abstracts/-left-chat-member/index.html +++ b/docs/dev.inmo.tgbotapi.types.ChatMember.abstracts/-left-chat-member/index.html @@ -29,10 +29,10 @@

Properties

-
+
-
user +
user
Link copied to clipboard
@@ -40,7 +40,7 @@
common
-
abstract val user: User
+
abstract val user: User
diff --git a/docs/dev.inmo.tgbotapi.types.ChatMember.abstracts/-member-chat-member/index.html b/docs/dev.inmo.tgbotapi.types.ChatMember.abstracts/-member-chat-member/index.html index d446f1276f..5a9120491a 100644 --- a/docs/dev.inmo.tgbotapi.types.ChatMember.abstracts/-member-chat-member/index.html +++ b/docs/dev.inmo.tgbotapi.types.ChatMember.abstracts/-member-chat-member/index.html @@ -29,10 +29,10 @@

Properties

-
+
-
user +
user
Link copied to clipboard
@@ -40,7 +40,7 @@
common
-
abstract val user: User
+
abstract val user: User
diff --git a/docs/dev.inmo.tgbotapi.types.ChatMember.abstracts/-special-rights-chat-member/index.html b/docs/dev.inmo.tgbotapi.types.ChatMember.abstracts/-special-rights-chat-member/index.html index 117c3c7f9c..d999019f2a 100644 --- a/docs/dev.inmo.tgbotapi.types.ChatMember.abstracts/-special-rights-chat-member/index.html +++ b/docs/dev.inmo.tgbotapi.types.ChatMember.abstracts/-special-rights-chat-member/index.html @@ -77,10 +77,10 @@
- +
-
user +
user
Link copied to clipboard
@@ -88,7 +88,7 @@
common
-
abstract val user: User
+
abstract val user: User
diff --git a/docs/dev.inmo.tgbotapi.types.ChatMember.abstracts/index.html b/docs/dev.inmo.tgbotapi.types.ChatMember.abstracts/index.html index 12df1f322b..90ad6d4540 100644 --- a/docs/dev.inmo.tgbotapi.types.ChatMember.abstracts/index.html +++ b/docs/dev.inmo.tgbotapi.types.ChatMember.abstracts/index.html @@ -101,7 +101,7 @@
-
interface ChatMember
+
interface ChatMember : WithUser
diff --git a/docs/dev.inmo.tgbotapi.types.InlineQueries.ChosenInlineResult/-base-chosen-inline-result/-base-chosen-inline-result.html b/docs/dev.inmo.tgbotapi.types.InlineQueries.ChosenInlineResult/-base-chosen-inline-result/-base-chosen-inline-result.html index 000546e80f..874f2dea5b 100644 --- a/docs/dev.inmo.tgbotapi.types.InlineQueries.ChosenInlineResult/-base-chosen-inline-result/-base-chosen-inline-result.html +++ b/docs/dev.inmo.tgbotapi.types.InlineQueries.ChosenInlineResult/-base-chosen-inline-result/-base-chosen-inline-result.html @@ -27,7 +27,7 @@
-
fun BaseChosenInlineResult(resultId: InlineQueryIdentifier, user: User, inlineMessageId: InlineMessageIdentifier?, query: String)
+
fun BaseChosenInlineResult(resultId: InlineQueryIdentifier, from: User, inlineMessageId: InlineMessageIdentifier?, query: String)
diff --git a/docs/dev.inmo.tgbotapi.types.InlineQueries.ChosenInlineResult/-base-chosen-inline-result/user.html b/docs/dev.inmo.tgbotapi.types.InlineQueries.ChosenInlineResult/-base-chosen-inline-result/from.html similarity index 87% rename from docs/dev.inmo.tgbotapi.types.InlineQueries.ChosenInlineResult/-base-chosen-inline-result/user.html rename to docs/dev.inmo.tgbotapi.types.InlineQueries.ChosenInlineResult/-base-chosen-inline-result/from.html index abe7c849aa..d28a4485eb 100644 --- a/docs/dev.inmo.tgbotapi.types.InlineQueries.ChosenInlineResult/-base-chosen-inline-result/user.html +++ b/docs/dev.inmo.tgbotapi.types.InlineQueries.ChosenInlineResult/-base-chosen-inline-result/from.html @@ -1,7 +1,7 @@ - user + from
@@ -13,23 +13,23 @@
-
+
-

user

+

from

-
open override val user: User
+
open override val from: User
-
+

The source User of this type

diff --git a/docs/dev.inmo.tgbotapi.types.InlineQueries.ChosenInlineResult/-base-chosen-inline-result/index.html b/docs/dev.inmo.tgbotapi.types.InlineQueries.ChosenInlineResult/-base-chosen-inline-result/index.html index 2327671793..767b9e10c4 100644 --- a/docs/dev.inmo.tgbotapi.types.InlineQueries.ChosenInlineResult/-base-chosen-inline-result/index.html +++ b/docs/dev.inmo.tgbotapi.types.InlineQueries.ChosenInlineResult/-base-chosen-inline-result/index.html @@ -23,13 +23,29 @@

BaseChosenInlineResult

-
data class BaseChosenInlineResult(resultId: InlineQueryIdentifier, user: User, inlineMessageId: InlineMessageIdentifier?, query: String) : ChosenInlineResult
+
data class BaseChosenInlineResult(resultId: InlineQueryIdentifier, from: User, inlineMessageId: InlineMessageIdentifier?, query: String) : ChosenInlineResult

Properties

-
+
+
+
+
from +
Link copied to clipboard
+
+
+
+
common
+
+
+
open override val from: User

The source User of this type

+
+
+
+
+
inlineMessageId @@ -77,10 +93,10 @@
- +
-
user +
user
Link copied to clipboard
@@ -88,7 +104,7 @@
common
-
open override val user: User
+
open override val user: User
diff --git a/docs/dev.inmo.tgbotapi.types.InlineQueries.ChosenInlineResult/-chosen-inline-result/index.html b/docs/dev.inmo.tgbotapi.types.InlineQueries.ChosenInlineResult/-chosen-inline-result/index.html index adde90d339..3e749f09e5 100644 --- a/docs/dev.inmo.tgbotapi.types.InlineQueries.ChosenInlineResult/-chosen-inline-result/index.html +++ b/docs/dev.inmo.tgbotapi.types.InlineQueries.ChosenInlineResult/-chosen-inline-result/index.html @@ -29,7 +29,23 @@

Properties

-
+
+
+
+
from +
Link copied to clipboard
+
+
+
+
common
+
+
+
abstract val from: User

The source User of this type

+
+
+
+
+
inlineMessageId @@ -88,7 +104,7 @@
common
-
abstract val user: User
+
open override val user: User
diff --git a/docs/dev.inmo.tgbotapi.types.InlineQueries.ChosenInlineResult/-location-chosen-inline-result/-location-chosen-inline-result.html b/docs/dev.inmo.tgbotapi.types.InlineQueries.ChosenInlineResult/-location-chosen-inline-result/-location-chosen-inline-result.html index fdab512d97..4d04f243ea 100644 --- a/docs/dev.inmo.tgbotapi.types.InlineQueries.ChosenInlineResult/-location-chosen-inline-result/-location-chosen-inline-result.html +++ b/docs/dev.inmo.tgbotapi.types.InlineQueries.ChosenInlineResult/-location-chosen-inline-result/-location-chosen-inline-result.html @@ -27,7 +27,7 @@
-
fun LocationChosenInlineResult(resultId: InlineQueryIdentifier, user: User, location: StaticLocation, inlineMessageId: InlineMessageIdentifier?, query: String)
+
fun LocationChosenInlineResult(resultId: InlineQueryIdentifier, from: User, location: StaticLocation, inlineMessageId: InlineMessageIdentifier?, query: String)
diff --git a/docs/dev.inmo.tgbotapi.types.InlineQueries.ChosenInlineResult/-location-chosen-inline-result/user.html b/docs/dev.inmo.tgbotapi.types.InlineQueries.ChosenInlineResult/-location-chosen-inline-result/from.html similarity index 87% rename from docs/dev.inmo.tgbotapi.types.InlineQueries.ChosenInlineResult/-location-chosen-inline-result/user.html rename to docs/dev.inmo.tgbotapi.types.InlineQueries.ChosenInlineResult/-location-chosen-inline-result/from.html index c047cdfbde..89ac45d4b5 100644 --- a/docs/dev.inmo.tgbotapi.types.InlineQueries.ChosenInlineResult/-location-chosen-inline-result/user.html +++ b/docs/dev.inmo.tgbotapi.types.InlineQueries.ChosenInlineResult/-location-chosen-inline-result/from.html @@ -1,7 +1,7 @@ - user + from
@@ -13,23 +13,23 @@
-
+
-

user

+

from

-
open override val user: User
+
open override val from: User
-
+

The source User of this type

diff --git a/docs/dev.inmo.tgbotapi.types.InlineQueries.ChosenInlineResult/-location-chosen-inline-result/index.html b/docs/dev.inmo.tgbotapi.types.InlineQueries.ChosenInlineResult/-location-chosen-inline-result/index.html index 9a9551496a..1730ea1657 100644 --- a/docs/dev.inmo.tgbotapi.types.InlineQueries.ChosenInlineResult/-location-chosen-inline-result/index.html +++ b/docs/dev.inmo.tgbotapi.types.InlineQueries.ChosenInlineResult/-location-chosen-inline-result/index.html @@ -23,13 +23,29 @@

LocationChosenInlineResult

-
data class LocationChosenInlineResult(resultId: InlineQueryIdentifier, user: User, location: StaticLocation, inlineMessageId: InlineMessageIdentifier?, query: String) : ChosenInlineResult
+
data class LocationChosenInlineResult(resultId: InlineQueryIdentifier, from: User, location: StaticLocation, inlineMessageId: InlineMessageIdentifier?, query: String) : ChosenInlineResult

Properties

-
+
+
+
+
from +
Link copied to clipboard
+
+
+
+
common
+
+
+
open override val from: User

The source User of this type

+
+
+
+
+
inlineMessageId @@ -93,10 +109,10 @@
- +
-
user +
user
Link copied to clipboard
@@ -104,7 +120,7 @@
common
-
open override val user: User
+
open override val user: User
diff --git a/docs/dev.inmo.tgbotapi.types.InlineQueries.ChosenInlineResult/index.html b/docs/dev.inmo.tgbotapi.types.InlineQueries.ChosenInlineResult/index.html index c98f7d6fe5..70ec45e493 100644 --- a/docs/dev.inmo.tgbotapi.types.InlineQueries.ChosenInlineResult/index.html +++ b/docs/dev.inmo.tgbotapi.types.InlineQueries.ChosenInlineResult/index.html @@ -41,7 +41,7 @@
-
data class BaseChosenInlineResult(resultId: InlineQueryIdentifier, user: User, inlineMessageId: InlineMessageIdentifier?, query: String) : ChosenInlineResult
+
data class BaseChosenInlineResult(resultId: InlineQueryIdentifier, from: User, inlineMessageId: InlineMessageIdentifier?, query: String) : ChosenInlineResult
@@ -81,7 +81,7 @@
-
data class LocationChosenInlineResult(resultId: InlineQueryIdentifier, user: User, location: StaticLocation, inlineMessageId: InlineMessageIdentifier?, query: String) : ChosenInlineResult
+
data class LocationChosenInlineResult(resultId: InlineQueryIdentifier, from: User, location: StaticLocation, inlineMessageId: InlineMessageIdentifier?, query: String) : ChosenInlineResult
diff --git a/docs/dev.inmo.tgbotapi.types.InlineQueries.query/-base-inline-query/from.html b/docs/dev.inmo.tgbotapi.types.InlineQueries.query/-base-inline-query/from.html index 3ce4eb57f3..5491969124 100644 --- a/docs/dev.inmo.tgbotapi.types.InlineQueries.query/-base-inline-query/from.html +++ b/docs/dev.inmo.tgbotapi.types.InlineQueries.query/-base-inline-query/from.html @@ -29,7 +29,7 @@
open override val from: User
-
+

The source User of this type

diff --git a/docs/dev.inmo.tgbotapi.types.InlineQueries.query/-base-inline-query/index.html b/docs/dev.inmo.tgbotapi.types.InlineQueries.query/-base-inline-query/index.html index de86f00c95..6cb2cb13db 100644 --- a/docs/dev.inmo.tgbotapi.types.InlineQueries.query/-base-inline-query/index.html +++ b/docs/dev.inmo.tgbotapi.types.InlineQueries.query/-base-inline-query/index.html @@ -56,7 +56,7 @@
common
-
open override val from: User
+
open override val from: User

The source User of this type

@@ -109,6 +109,22 @@
+ +
+
+
user +
Link copied to clipboard
+
+
+
+
common
+
+
+
open override val user: User
+
+
+
+
diff --git a/docs/dev.inmo.tgbotapi.types.InlineQueries.query/-inline-query/index.html b/docs/dev.inmo.tgbotapi.types.InlineQueries.query/-inline-query/index.html index 7cfa3d25a3..9780073a8c 100644 --- a/docs/dev.inmo.tgbotapi.types.InlineQueries.query/-inline-query/index.html +++ b/docs/dev.inmo.tgbotapi.types.InlineQueries.query/-inline-query/index.html @@ -23,7 +23,7 @@

InlineQuery

-
interface InlineQuery
+
interface InlineQuery : FromUser
@@ -45,10 +45,10 @@
- +
-
from +
from
Link copied to clipboard
@@ -56,7 +56,7 @@
common
-
abstract val from: User
+
abstract val from: User

The source User of this type

@@ -109,6 +109,22 @@
+ +
+
+
user +
Link copied to clipboard
+
+
+
+
common
+
+
+
open override val user: User
+
+
+
+

Inheritors

diff --git a/docs/dev.inmo.tgbotapi.types.InlineQueries.query/-location-inline-query/from.html b/docs/dev.inmo.tgbotapi.types.InlineQueries.query/-location-inline-query/from.html index 987eb7b3be..bec85f374b 100644 --- a/docs/dev.inmo.tgbotapi.types.InlineQueries.query/-location-inline-query/from.html +++ b/docs/dev.inmo.tgbotapi.types.InlineQueries.query/-location-inline-query/from.html @@ -29,7 +29,7 @@
open override val from: User
-
+

The source User of this type

diff --git a/docs/dev.inmo.tgbotapi.types.InlineQueries.query/-location-inline-query/index.html b/docs/dev.inmo.tgbotapi.types.InlineQueries.query/-location-inline-query/index.html index 4281d14b78..3287ef0e18 100644 --- a/docs/dev.inmo.tgbotapi.types.InlineQueries.query/-location-inline-query/index.html +++ b/docs/dev.inmo.tgbotapi.types.InlineQueries.query/-location-inline-query/index.html @@ -56,7 +56,7 @@
common
-
open override val from: User
+
open override val from: User

The source User of this type

@@ -125,6 +125,22 @@
+ +
+
+
user +
Link copied to clipboard
+
+
+
+
common
+
+
+
open override val user: User
+
+
+
+
diff --git a/docs/dev.inmo.tgbotapi.types.InlineQueries.query/index.html b/docs/dev.inmo.tgbotapi.types.InlineQueries.query/index.html index ab4e69dfaa..dcd5d21afd 100644 --- a/docs/dev.inmo.tgbotapi.types.InlineQueries.query/index.html +++ b/docs/dev.inmo.tgbotapi.types.InlineQueries.query/index.html @@ -61,7 +61,7 @@
-
interface InlineQuery
+
interface InlineQuery : FromUser
diff --git a/docs/dev.inmo.tgbotapi.types.buttons.InlineKeyboardButtons/-callback-data-inline-keyboard-button/callback-data.html b/docs/dev.inmo.tgbotapi.types.buttons.InlineKeyboardButtons/-callback-data-inline-keyboard-button/callback-data.html index 972803c88f..a8cf19dac3 100644 --- a/docs/dev.inmo.tgbotapi.types.buttons.InlineKeyboardButtons/-callback-data-inline-keyboard-button/callback-data.html +++ b/docs/dev.inmo.tgbotapi.types.buttons.InlineKeyboardButtons/-callback-data-inline-keyboard-button/callback-data.html @@ -29,7 +29,7 @@
val callbackData: String
-
+

You will receive this data in dev.inmo.tgbotapi.types.CallbackQuery.DataCallbackQuery.data field

diff --git a/docs/dev.inmo.tgbotapi.types.buttons.InlineKeyboardButtons/-callback-data-inline-keyboard-button/index.html b/docs/dev.inmo.tgbotapi.types.buttons.InlineKeyboardButtons/-callback-data-inline-keyboard-button/index.html index aaa1e2b050..0f0764f053 100644 --- a/docs/dev.inmo.tgbotapi.types.buttons.InlineKeyboardButtons/-callback-data-inline-keyboard-button/index.html +++ b/docs/dev.inmo.tgbotapi.types.buttons.InlineKeyboardButtons/-callback-data-inline-keyboard-button/index.html @@ -23,11 +23,29 @@

CallbackDataInlineKeyboardButton

-
data class CallbackDataInlineKeyboardButton(text: String, callbackData: String) : InlineKeyboardButton
+
data class CallbackDataInlineKeyboardButton(text: String, callbackData: String) : InlineKeyboardButton

Simple button with callbackData which you are able to catch this type of updates and data using dev.inmo.tgbotapi.extensions.behaviour_builder.triggers_handling.onDataCallbackQuery in case you are using Behaviour Builder OR dev.inmo.tgbotapi.updateshandlers.FlowsUpdatesFilter.callbackQueriesFlow with kotlinx.coroutines.flow.filterIsInstance and filtering by type dev.inmo.tgbotapi.types.CallbackQuery.DataCallbackQuery

-
+
+

Constructors

+
+
+
+
CallbackDataInlineKeyboardButton +
Link copied to clipboard
+
+
+
+
common
+
+
+
fun CallbackDataInlineKeyboardButton(text: String, callbackData: String)
+
+
+
+
+

Properties

@@ -40,7 +58,7 @@
common
-
val callbackData: String
+
val callbackData: String
diff --git a/docs/dev.inmo.tgbotapi.types.buttons.InlineKeyboardButtons/-callback-game-inline-keyboard-button/index.html b/docs/dev.inmo.tgbotapi.types.buttons.InlineKeyboardButtons/-callback-game-inline-keyboard-button/index.html index 591f58d451..d591e736a7 100644 --- a/docs/dev.inmo.tgbotapi.types.buttons.InlineKeyboardButtons/-callback-game-inline-keyboard-button/index.html +++ b/docs/dev.inmo.tgbotapi.types.buttons.InlineKeyboardButtons/-callback-game-inline-keyboard-button/index.html @@ -23,11 +23,29 @@

CallbackGameInlineKeyboardButton

-
data class CallbackGameInlineKeyboardButton(text: String) : InlineKeyboardButton
+
data class CallbackGameInlineKeyboardButton(text: String) : InlineKeyboardButton

Button with callbackGame

-
+
+

Constructors

+
+
+
+
CallbackGameInlineKeyboardButton +
Link copied to clipboard
+
+
+
+
common
+
+
+
fun CallbackGameInlineKeyboardButton(text: String)
+
+
+
+
+

Properties

diff --git a/docs/dev.inmo.tgbotapi.types.buttons.InlineKeyboardButtons/-inline-keyboard-button/index.html b/docs/dev.inmo.tgbotapi.types.buttons.InlineKeyboardButtons/-inline-keyboard-button/index.html index d0f0ccd443..b1404ef753 100644 --- a/docs/dev.inmo.tgbotapi.types.buttons.InlineKeyboardButtons/-inline-keyboard-button/index.html +++ b/docs/dev.inmo.tgbotapi.types.buttons.InlineKeyboardButtons/-inline-keyboard-button/index.html @@ -23,7 +23,7 @@

InlineKeyboardButton

-
interface InlineKeyboardButton
+
interface InlineKeyboardButton

Some button of dev.inmo.tgbotapi.types.buttons.InlineKeyboardMarkup. See inheritors and visit https://core.telegram.org/bots/api#inlinekeyboardbutton for more info

diff --git a/docs/dev.inmo.tgbotapi.types.buttons.InlineKeyboardButtons/-login-u-r-l-inline-keyboard-button/index.html b/docs/dev.inmo.tgbotapi.types.buttons.InlineKeyboardButtons/-login-u-r-l-inline-keyboard-button/index.html index aeb1522e8e..c5bdd3cb53 100644 --- a/docs/dev.inmo.tgbotapi.types.buttons.InlineKeyboardButtons/-login-u-r-l-inline-keyboard-button/index.html +++ b/docs/dev.inmo.tgbotapi.types.buttons.InlineKeyboardButtons/-login-u-r-l-inline-keyboard-button/index.html @@ -23,11 +23,29 @@

LoginURLInlineKeyboardButton

-
data class LoginURLInlineKeyboardButton(text: String, loginUrl: LoginURL) : InlineKeyboardButton
+
data class LoginURLInlineKeyboardButton(text: String, loginUrl: LoginURL) : InlineKeyboardButton

You may use this button to automatically authorize your user on loginUrl

-
+
+

Constructors

+
+
+
+
LoginURLInlineKeyboardButton +
Link copied to clipboard
+
+
+
+
common
+
+
+
fun LoginURLInlineKeyboardButton(text: String, loginUrl: LoginURL)
+
+
+
+
+

Properties

diff --git a/docs/dev.inmo.tgbotapi.types.buttons.InlineKeyboardButtons/-pay-inline-keyboard-button/-pay-inline-keyboard-button.html b/docs/dev.inmo.tgbotapi.types.buttons.InlineKeyboardButtons/-pay-inline-keyboard-button/-pay-inline-keyboard-button.html index b551af7f25..ec9e0b16b1 100644 --- a/docs/dev.inmo.tgbotapi.types.buttons.InlineKeyboardButtons/-pay-inline-keyboard-button/-pay-inline-keyboard-button.html +++ b/docs/dev.inmo.tgbotapi.types.buttons.InlineKeyboardButtons/-pay-inline-keyboard-button/-pay-inline-keyboard-button.html @@ -27,7 +27,7 @@
-
fun PayInlineKeyboardButton(text: String, pay: Boolean)
+
fun PayInlineKeyboardButton(text: String, pay: Boolean = true)
diff --git a/docs/dev.inmo.tgbotapi.types.buttons.InlineKeyboardButtons/-pay-inline-keyboard-button/index.html b/docs/dev.inmo.tgbotapi.types.buttons.InlineKeyboardButtons/-pay-inline-keyboard-button/index.html index d041912c6e..3bd4b1ac16 100644 --- a/docs/dev.inmo.tgbotapi.types.buttons.InlineKeyboardButtons/-pay-inline-keyboard-button/index.html +++ b/docs/dev.inmo.tgbotapi.types.buttons.InlineKeyboardButtons/-pay-inline-keyboard-button/index.html @@ -23,16 +23,16 @@

PayInlineKeyboardButton

-
data class PayInlineKeyboardButton(text: String, pay: Boolean) : InlineKeyboardButton
+
data class PayInlineKeyboardButton(text: String, pay: Boolean) : InlineKeyboardButton

This type of button must always be the first button in the first row. Visit https://core.telegram.org/bots/api#payments for mor info

-
+
-

Properties

-
+

Constructors

+
-
-
pay +
+
PayInlineKeyboardButton
Link copied to clipboard
@@ -40,12 +40,14 @@
common
-
val pay: Boolean
+
fun PayInlineKeyboardButton(text: String, pay: Boolean = true)
- +
+

Properties

+
text diff --git a/docs/dev.inmo.tgbotapi.types.buttons.InlineKeyboardButtons/-switch-inline-query-current-chat-inline-keyboard-button/index.html b/docs/dev.inmo.tgbotapi.types.buttons.InlineKeyboardButtons/-switch-inline-query-current-chat-inline-keyboard-button/index.html index c59729875e..e1e60b382e 100644 --- a/docs/dev.inmo.tgbotapi.types.buttons.InlineKeyboardButtons/-switch-inline-query-current-chat-inline-keyboard-button/index.html +++ b/docs/dev.inmo.tgbotapi.types.buttons.InlineKeyboardButtons/-switch-inline-query-current-chat-inline-keyboard-button/index.html @@ -23,11 +23,29 @@

SwitchInlineQueryCurrentChatInlineKeyboardButton

-
data class SwitchInlineQueryCurrentChatInlineKeyboardButton(text: String, switchInlineQueryCurrentChat: String) : InlineKeyboardButton
+
data class SwitchInlineQueryCurrentChatInlineKeyboardButton(text: String, switchInlineQueryCurrentChat: String) : InlineKeyboardButton

Complex button with switchInlineQueryCurrentChat which will be sent to you in an dev.inmo.tgbotapi.types.InlineQueries.query.InlineQuery which you may catch in dev.inmo.tgbotapi.extensions.behaviour_builder.triggers_handling.onBaseInlineQuery and get from dev.inmo.tgbotapi.types.InlineQueries.query.BaseInlineQuery.query (or changed by user query in case he will be the fastest hand in the wild west). Can be forwarded in any chat with message in case if it is the only one button in message, but will be converted to a SwitchInlineQueryInlineKeyboardButton. Remember that clicking on this button will automatically insert username of this bot in current chat, paste switchInlineQueryCurrentChat as a query and create and inline request to your bot Visit https://core.telegram.org/bots/api#inlinekeyboardbutton for more info

-
+
+

Constructors

+
+
+
+ +
+
+
common
+
+
+
fun SwitchInlineQueryCurrentChatInlineKeyboardButton(text: String, switchInlineQueryCurrentChat: String)
+
+
+
+
+

Properties

diff --git a/docs/dev.inmo.tgbotapi.types.buttons.InlineKeyboardButtons/-switch-inline-query-inline-keyboard-button/index.html b/docs/dev.inmo.tgbotapi.types.buttons.InlineKeyboardButtons/-switch-inline-query-inline-keyboard-button/index.html index dcc4621aac..cc62278bba 100644 --- a/docs/dev.inmo.tgbotapi.types.buttons.InlineKeyboardButtons/-switch-inline-query-inline-keyboard-button/index.html +++ b/docs/dev.inmo.tgbotapi.types.buttons.InlineKeyboardButtons/-switch-inline-query-inline-keyboard-button/index.html @@ -23,11 +23,29 @@

SwitchInlineQueryInlineKeyboardButton

-
data class SwitchInlineQueryInlineKeyboardButton(text: String, switchInlineQuery: String) : InlineKeyboardButton
+
data class SwitchInlineQueryInlineKeyboardButton(text: String, switchInlineQuery: String) : InlineKeyboardButton

Complex button with switchInlineQuery which will be sent to you in an dev.inmo.tgbotapi.types.InlineQueries.query.InlineQuery which you may catch in dev.inmo.tgbotapi.extensions.behaviour_builder.triggers_handling.onBaseInlineQuery and get from dev.inmo.tgbotapi.types.InlineQueries.query.BaseInlineQuery.query (or changed by user query in case he will be the fastest hand in the wild west). Can be forwarded in any chat with message in case if it is the only one button in message. Remember that clicking on this button will automatically insert username of this bot in the chosen by user chat, paste switchInlineQuery as a query and create and inline request to your bot. Visit https://core.telegram.org/bots/api#inlinekeyboardbutton for more info

-
+
+

Constructors

+
+
+
+
SwitchInlineQueryInlineKeyboardButton +
Link copied to clipboard
+
+
+
+
common
+
+
+
fun SwitchInlineQueryInlineKeyboardButton(text: String, switchInlineQuery: String)
+
+
+
+
+

Properties

diff --git a/docs/dev.inmo.tgbotapi.types.buttons.InlineKeyboardButtons/-u-r-l-inline-keyboard-button/index.html b/docs/dev.inmo.tgbotapi.types.buttons.InlineKeyboardButtons/-u-r-l-inline-keyboard-button/index.html index a42f2820bd..bab5ec24f3 100644 --- a/docs/dev.inmo.tgbotapi.types.buttons.InlineKeyboardButtons/-u-r-l-inline-keyboard-button/index.html +++ b/docs/dev.inmo.tgbotapi.types.buttons.InlineKeyboardButtons/-u-r-l-inline-keyboard-button/index.html @@ -23,11 +23,29 @@

URLInlineKeyboardButton

-
data class URLInlineKeyboardButton(text: String, url: String) : InlineKeyboardButton
+
data class URLInlineKeyboardButton(text: String, url: String) : InlineKeyboardButton

Simple url button. Can be forwarded in any chat with message in case if it is the only one button in message

-
+
+

Constructors

+
+
+
+
URLInlineKeyboardButton +
Link copied to clipboard
+
+
+
+
common
+
+
+
fun URLInlineKeyboardButton(text: String, url: String)
+
+
+
+
+

Properties

diff --git a/docs/dev.inmo.tgbotapi.types.buttons.InlineKeyboardButtons/index.html b/docs/dev.inmo.tgbotapi.types.buttons.InlineKeyboardButtons/index.html index a27b9ac0f6..3e93bb7b27 100644 --- a/docs/dev.inmo.tgbotapi.types.buttons.InlineKeyboardButtons/index.html +++ b/docs/dev.inmo.tgbotapi.types.buttons.InlineKeyboardButtons/index.html @@ -43,7 +43,7 @@
data class CallbackDataInlineKeyboardButton(text: String, callbackData: String) : InlineKeyboardButton
-
+

Simple button with callbackData which you are able to catch this type of updates and data using dev.inmo.tgbotapi.extensions.behaviour_builder.triggers_handling.onDataCallbackQuery in case you are using Behaviour Builder OR dev.inmo.tgbotapi.updateshandlers.FlowsUpdatesFilter.callbackQueriesFlow with kotlinx.coroutines.flow.filterIsInstance and filtering by type dev.inmo.tgbotapi.types.CallbackQuery.DataCallbackQuery

@@ -63,7 +63,7 @@
data class CallbackGameInlineKeyboardButton(text: String) : InlineKeyboardButton
-
+

Button with callbackGame

@@ -83,7 +83,7 @@
interface InlineKeyboardButton
-
+

Some button of dev.inmo.tgbotapi.types.buttons.InlineKeyboardMarkup. See inheritors and visit https://core.telegram.org/bots/api#inlinekeyboardbutton for more info

@@ -123,7 +123,7 @@
data class LoginURLInlineKeyboardButton(text: String, loginUrl: LoginURL) : InlineKeyboardButton
-
+

You may use this button to automatically authorize your user on loginUrl

@@ -143,7 +143,7 @@
data class PayInlineKeyboardButton(text: String, pay: Boolean) : InlineKeyboardButton
-
+

This type of button must always be the first button in the first row. Visit https://core.telegram.org/bots/api#payments for mor info

@@ -163,7 +163,7 @@
data class SwitchInlineQueryCurrentChatInlineKeyboardButton(text: String, switchInlineQueryCurrentChat: String) : InlineKeyboardButton
-
+

Complex button with switchInlineQueryCurrentChat which will be sent to you in an dev.inmo.tgbotapi.types.InlineQueries.query.InlineQuery which you may catch in dev.inmo.tgbotapi.extensions.behaviour_builder.triggers_handling.onBaseInlineQuery and get from dev.inmo.tgbotapi.types.InlineQueries.query.BaseInlineQuery.query (or changed by user query in case he will be the fastest hand in the wild west). Can be forwarded in any chat with message in case if it is the only one button in message, but will be converted to a SwitchInlineQueryInlineKeyboardButton. Remember that clicking on this button will automatically insert username of this bot in current chat, paste switchInlineQueryCurrentChat as a query and create and inline request to your bot Visit https://core.telegram.org/bots/api#inlinekeyboardbutton for more info

@@ -183,7 +183,7 @@
data class SwitchInlineQueryInlineKeyboardButton(text: String, switchInlineQuery: String) : InlineKeyboardButton
-
+

Complex button with switchInlineQuery which will be sent to you in an dev.inmo.tgbotapi.types.InlineQueries.query.InlineQuery which you may catch in dev.inmo.tgbotapi.extensions.behaviour_builder.triggers_handling.onBaseInlineQuery and get from dev.inmo.tgbotapi.types.InlineQueries.query.BaseInlineQuery.query (or changed by user query in case he will be the fastest hand in the wild west). Can be forwarded in any chat with message in case if it is the only one button in message. Remember that clicking on this button will automatically insert username of this bot in the chosen by user chat, paste switchInlineQuery as a query and create and inline request to your bot. Visit https://core.telegram.org/bots/api#inlinekeyboardbutton for more info

@@ -223,7 +223,7 @@
data class URLInlineKeyboardButton(text: String, url: String) : InlineKeyboardButton
-
+

Simple url button. Can be forwarded in any chat with message in case if it is the only one button in message

diff --git a/docs/dev.inmo.tgbotapi.types.buttons/-keyboard-button-poll-type/index.html b/docs/dev.inmo.tgbotapi.types.buttons/-keyboard-button-poll-type/index.html index 9d3add7057..159592c341 100644 --- a/docs/dev.inmo.tgbotapi.types.buttons/-keyboard-button-poll-type/index.html +++ b/docs/dev.inmo.tgbotapi.types.buttons/-keyboard-button-poll-type/index.html @@ -23,11 +23,15 @@

KeyboardButtonPollType

-
interface KeyboardButtonPollType
+
interface KeyboardButtonPollType

Poll type for RequestPollKeyboardButton. Visit https://core.telegram.org/bots/api#keyboardbuttonpolltype for more info and see inheritors.

-
+
+

See also

+

Properties

diff --git a/docs/dev.inmo.tgbotapi.types.buttons/-keyboard-button/index.html b/docs/dev.inmo.tgbotapi.types.buttons/-keyboard-button/index.html index 737da0cbbd..7c31f5afe4 100644 --- a/docs/dev.inmo.tgbotapi.types.buttons/-keyboard-button/index.html +++ b/docs/dev.inmo.tgbotapi.types.buttons/-keyboard-button/index.html @@ -23,7 +23,7 @@

KeyboardButton

-
interface KeyboardButton
+
interface KeyboardButton

Representation union of https://core.telegram.org/bots/api#keyboardbutton . See inheritors for more info

diff --git a/docs/dev.inmo.tgbotapi.types.buttons/-keyboard-markup/index.html b/docs/dev.inmo.tgbotapi.types.buttons/-keyboard-markup/index.html index 40a6a5b162..ed2d1e4463 100644 --- a/docs/dev.inmo.tgbotapi.types.buttons/-keyboard-markup/index.html +++ b/docs/dev.inmo.tgbotapi.types.buttons/-keyboard-markup/index.html @@ -80,7 +80,7 @@
-
inline fun KeyboardMarkup.asForceReply(): ForceReply?
+
inline fun KeyboardMarkup.asForceReply(): ReplyForce?
@@ -240,7 +240,7 @@
-
inline fun <T> KeyboardMarkup.whenForceReply(block: (ForceReply) -> T): T?
+
inline fun <T> KeyboardMarkup.whenForceReply(block: (ReplyForce) -> T): T?
diff --git a/docs/dev.inmo.tgbotapi.types.buttons/-quiz-keyboard-button-poll-type/index.html b/docs/dev.inmo.tgbotapi.types.buttons/-quiz-keyboard-button-poll-type/index.html index deef752322..a6f977d85d 100644 --- a/docs/dev.inmo.tgbotapi.types.buttons/-quiz-keyboard-button-poll-type/index.html +++ b/docs/dev.inmo.tgbotapi.types.buttons/-quiz-keyboard-button-poll-type/index.html @@ -23,11 +23,15 @@

QuizKeyboardButtonPollType

-
object QuizKeyboardButtonPollType : KeyboardButtonPollType
+
object QuizKeyboardButtonPollType : KeyboardButtonPollType

Quiz poll type

-
+
+

See also

+

Properties

diff --git a/docs/dev.inmo.tgbotapi.types.buttons/-regular-keyboard-button-poll-type/index.html b/docs/dev.inmo.tgbotapi.types.buttons/-regular-keyboard-button-poll-type/index.html index 36383f6491..b09b4887d9 100644 --- a/docs/dev.inmo.tgbotapi.types.buttons/-regular-keyboard-button-poll-type/index.html +++ b/docs/dev.inmo.tgbotapi.types.buttons/-regular-keyboard-button-poll-type/index.html @@ -23,11 +23,15 @@

RegularKeyboardButtonPollType

-
object RegularKeyboardButtonPollType : KeyboardButtonPollType
+
object RegularKeyboardButtonPollType : KeyboardButtonPollType

Just a regular poll type

-
+
+

See also

+

Properties

diff --git a/docs/dev.inmo.tgbotapi.types.buttons/-request-contact-keyboard-button/index.html b/docs/dev.inmo.tgbotapi.types.buttons/-request-contact-keyboard-button/index.html index 12ef1232b1..7194a64cad 100644 --- a/docs/dev.inmo.tgbotapi.types.buttons/-request-contact-keyboard-button/index.html +++ b/docs/dev.inmo.tgbotapi.types.buttons/-request-contact-keyboard-button/index.html @@ -23,11 +23,29 @@

RequestContactKeyboardButton

-
data class RequestContactKeyboardButton(text: String) : KeyboardButton
+
data class RequestContactKeyboardButton(text: String) : KeyboardButton

Private chats only. When user will tap on this button, his contact (with his number and name) will be sent to the bot. You will be able to catch this contact in updates and data using dev.inmo.tgbotapi.extensions.behaviour_builder.triggers_handling.onContact in case you are using Behaviour Builder OR with dev.inmo.tgbotapi.updateshandlers.FlowsUpdatesFilter.messagesFlow and kotlinx.coroutines.flow.filterIsInstance and filtering by type dev.inmo.tgbotapi.types.message.abstracts.CommonMessage and dev.inmo.tgbotapi.extensions.utils.onlyContactContentMessages

-
+
+

Constructors

+
+
+
+
RequestContactKeyboardButton +
Link copied to clipboard
+
+
+
+
common
+
+
+
fun RequestContactKeyboardButton(text: String)
+
+
+
+
+

Properties

diff --git a/docs/dev.inmo.tgbotapi.types.buttons/-request-location-keyboard-button/index.html b/docs/dev.inmo.tgbotapi.types.buttons/-request-location-keyboard-button/index.html index 3cfb547950..11e02bf54b 100644 --- a/docs/dev.inmo.tgbotapi.types.buttons/-request-location-keyboard-button/index.html +++ b/docs/dev.inmo.tgbotapi.types.buttons/-request-location-keyboard-button/index.html @@ -23,11 +23,29 @@

RequestLocationKeyboardButton

-
data class RequestLocationKeyboardButton(text: String) : KeyboardButton
+
data class RequestLocationKeyboardButton(text: String) : KeyboardButton

Private chats only. When user will tap on this button, his location will be sent to the bot. You will be able to catch this location in updates and data using dev.inmo.tgbotapi.extensions.behaviour_builder.triggers_handling.onLocation in case you are using Behaviour Builder OR with dev.inmo.tgbotapi.updateshandlers.FlowsUpdatesFilter.messagesFlow and kotlinx.coroutines.flow.filterIsInstance and filtering by type dev.inmo.tgbotapi.types.message.abstracts.CommonMessage and dev.inmo.tgbotapi.extensions.utils.onlyLocationContentMessages

-
+
+

Constructors

+
+
+
+
RequestLocationKeyboardButton +
Link copied to clipboard
+
+
+
+
common
+
+
+
fun RequestLocationKeyboardButton(text: String)
+
+
+
+
+

Properties

diff --git a/docs/dev.inmo.tgbotapi.types.buttons/-request-poll-keyboard-button/index.html b/docs/dev.inmo.tgbotapi.types.buttons/-request-poll-keyboard-button/index.html index f6da6c47ac..ca021fe059 100644 --- a/docs/dev.inmo.tgbotapi.types.buttons/-request-poll-keyboard-button/index.html +++ b/docs/dev.inmo.tgbotapi.types.buttons/-request-poll-keyboard-button/index.html @@ -23,11 +23,29 @@

RequestPollKeyboardButton

-
data class RequestPollKeyboardButton(text: String, requestPoll: KeyboardButtonPollType) : KeyboardButton
+
data class RequestPollKeyboardButton(text: String, requestPoll: KeyboardButtonPollType) : KeyboardButton

Private chats only. When user will tap on this button, he will be asked for the poll with requestPoll options. You will be able to catch this poll in updates and data using dev.inmo.tgbotapi.extensions.behaviour_builder.triggers_handling.onPoll in case you are using Behaviour Builder OR with dev.inmo.tgbotapi.updateshandlers.FlowsUpdatesFilter.messagesFlow and kotlinx.coroutines.flow.filterIsInstance and filtering by type dev.inmo.tgbotapi.types.message.abstracts.CommonMessage and dev.inmo.tgbotapi.extensions.utils.onlyPollContentMessages

-
+
+

Constructors

+
+
+
+
RequestPollKeyboardButton +
Link copied to clipboard
+
+
+
+
common
+
+
+
fun RequestPollKeyboardButton(text: String, requestPoll: KeyboardButtonPollType)
+
+
+
+
+

Properties

diff --git a/docs/dev.inmo.tgbotapi.types.buttons/-simple-keyboard-button/index.html b/docs/dev.inmo.tgbotapi.types.buttons/-simple-keyboard-button/index.html index d52727a972..1a8436a540 100644 --- a/docs/dev.inmo.tgbotapi.types.buttons/-simple-keyboard-button/index.html +++ b/docs/dev.inmo.tgbotapi.types.buttons/-simple-keyboard-button/index.html @@ -23,11 +23,29 @@

SimpleKeyboardButton

-
data class SimpleKeyboardButton(text: String) : KeyboardButton
+
data class SimpleKeyboardButton(text: String) : KeyboardButton

Simple button. user will send text of this button. You will be able to catch this text in updates and data using dev.inmo.tgbotapi.extensions.behaviour_builder.triggers_handling.onText in case you are using Behaviour Builder OR with dev.inmo.tgbotapi.updateshandlers.FlowsUpdatesFilter.messagesFlow and kotlinx.coroutines.flow.filterIsInstance and filtering by type dev.inmo.tgbotapi.types.message.abstracts.CommonMessage and dev.inmo.tgbotapi.extensions.utils.onlyTextContentMessages

-
+
+

Constructors

+
+
+
+
SimpleKeyboardButton +
Link copied to clipboard
+
+
+
+
common
+
+
+
fun SimpleKeyboardButton(text: String)
+
+
+
+
+

Properties

diff --git a/docs/dev.inmo.tgbotapi.types.buttons/index.html b/docs/dev.inmo.tgbotapi.types.buttons/index.html index ef451d87aa..268c3028f4 100644 --- a/docs/dev.inmo.tgbotapi.types.buttons/index.html +++ b/docs/dev.inmo.tgbotapi.types.buttons/index.html @@ -63,7 +63,7 @@
interface KeyboardButton
-
+

Representation union of https://core.telegram.org/bots/api#keyboardbutton . See inheritors for more info

@@ -83,7 +83,7 @@
interface KeyboardButtonPollType
-
+

Poll type for RequestPollKeyboardButton. Visit https://core.telegram.org/bots/api#keyboardbuttonpolltype for more info and see inheritors.

@@ -203,7 +203,7 @@
object QuizKeyboardButtonPollType : KeyboardButtonPollType
-
+

Quiz poll type

@@ -223,7 +223,7 @@
object RegularKeyboardButtonPollType : KeyboardButtonPollType
-
+

Just a regular poll type

@@ -303,7 +303,7 @@
data class RequestContactKeyboardButton(text: String) : KeyboardButton
-
+

Private chats only. When user will tap on this button, his contact (with his number and name) will be sent to the bot. You will be able to catch this contact in updates and data using dev.inmo.tgbotapi.extensions.behaviour_builder.triggers_handling.onContact in case you are using Behaviour Builder OR with dev.inmo.tgbotapi.updateshandlers.FlowsUpdatesFilter.messagesFlow and kotlinx.coroutines.flow.filterIsInstance and filtering by type dev.inmo.tgbotapi.types.message.abstracts.CommonMessage and dev.inmo.tgbotapi.extensions.utils.onlyContactContentMessages

@@ -323,7 +323,7 @@
data class RequestLocationKeyboardButton(text: String) : KeyboardButton
-
+

Private chats only. When user will tap on this button, his location will be sent to the bot. You will be able to catch this location in updates and data using dev.inmo.tgbotapi.extensions.behaviour_builder.triggers_handling.onLocation in case you are using Behaviour Builder OR with dev.inmo.tgbotapi.updateshandlers.FlowsUpdatesFilter.messagesFlow and kotlinx.coroutines.flow.filterIsInstance and filtering by type dev.inmo.tgbotapi.types.message.abstracts.CommonMessage and dev.inmo.tgbotapi.extensions.utils.onlyLocationContentMessages

@@ -343,7 +343,7 @@
data class RequestPollKeyboardButton(text: String, requestPoll: KeyboardButtonPollType) : KeyboardButton
-
+

Private chats only. When user will tap on this button, he will be asked for the poll with requestPoll options. You will be able to catch this poll in updates and data using dev.inmo.tgbotapi.extensions.behaviour_builder.triggers_handling.onPoll in case you are using Behaviour Builder OR with dev.inmo.tgbotapi.updateshandlers.FlowsUpdatesFilter.messagesFlow and kotlinx.coroutines.flow.filterIsInstance and filtering by type dev.inmo.tgbotapi.types.message.abstracts.CommonMessage and dev.inmo.tgbotapi.extensions.utils.onlyPollContentMessages

@@ -363,7 +363,7 @@
data class SimpleKeyboardButton(text: String) : KeyboardButton
-
+

Simple button. user will send text of this button. You will be able to catch this text in updates and data using dev.inmo.tgbotapi.extensions.behaviour_builder.triggers_handling.onText in case you are using Behaviour Builder OR with dev.inmo.tgbotapi.updateshandlers.FlowsUpdatesFilter.messagesFlow and kotlinx.coroutines.flow.filterIsInstance and filtering by type dev.inmo.tgbotapi.types.message.abstracts.CommonMessage and dev.inmo.tgbotapi.extensions.utils.onlyTextContentMessages

diff --git a/docs/dev.inmo.tgbotapi.types.message.ChatEvents.abstracts/-channel-event/index.html b/docs/dev.inmo.tgbotapi.types.message.ChatEvents.abstracts/-channel-event/index.html index 453b1ca546..6247f41492 100644 --- a/docs/dev.inmo.tgbotapi.types.message.ChatEvents.abstracts/-channel-event/index.html +++ b/docs/dev.inmo.tgbotapi.types.message.ChatEvents.abstracts/-channel-event/index.html @@ -47,10 +47,10 @@
- +
-
CommonEvent +
PublicChatEvent
Link copied to clipboard
diff --git a/docs/dev.inmo.tgbotapi.types.message.ChatEvents.abstracts/-chat-event/index.html b/docs/dev.inmo.tgbotapi.types.message.ChatEvents.abstracts/-chat-event/index.html index 610fc8cd9d..e36cf11441 100644 --- a/docs/dev.inmo.tgbotapi.types.message.ChatEvents.abstracts/-chat-event/index.html +++ b/docs/dev.inmo.tgbotapi.types.message.ChatEvents.abstracts/-chat-event/index.html @@ -47,6 +47,15 @@
+ +
+
+
PrivateEvent +
Link copied to clipboard
+
+
+
+

Extensions

@@ -305,6 +314,26 @@
inline fun ChatEvent.asProximityAlertTriggered(): ProximityAlertTriggered?
+
+
+
+
+ +
+
+
asPublicChatEvent +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
inline fun ChatEvent.asPublicChatEvent(): PublicChatEvent?
+
+
@@ -685,6 +714,26 @@
inline fun ChatEvent.requireProximityAlertTriggered(): ProximityAlertTriggered
+
+
+
+
+ +
+
+
requirePublicChatEvent +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
inline fun ChatEvent.requirePublicChatEvent(): PublicChatEvent
+
+
@@ -1065,6 +1114,26 @@
inline fun <T> ChatEvent.whenProximityAlertTriggered(block: (ProximityAlertTriggered) -> T): T?
+
+
+
+
+ +
+
+
whenPublicChatEvent +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
inline fun <T> ChatEvent.whenPublicChatEvent(block: (PublicChatEvent) -> T): T?
+
+
diff --git a/docs/dev.inmo.tgbotapi.types.message.ChatEvents.abstracts/-common-event/index.html b/docs/dev.inmo.tgbotapi.types.message.ChatEvents.abstracts/-common-event/index.html index 050f7612a0..4a7b2e9156 100644 --- a/docs/dev.inmo.tgbotapi.types.message.ChatEvents.abstracts/-common-event/index.html +++ b/docs/dev.inmo.tgbotapi.types.message.ChatEvents.abstracts/-common-event/index.html @@ -23,49 +23,13 @@

CommonEvent

-
interface CommonEvent : ChannelEvent, GroupEvent, SupergroupEvent
+
interface CommonEvent : PublicChatEvent, PrivateEvent

Inheritors

-
-
-
-
DeleteChatPhoto -
Link copied to clipboard
-
-
-
-
- -
-
-
LeftChatMember -
Link copied to clipboard
-
-
-
-
- -
-
-
NewChatPhoto -
Link copied to clipboard
-
-
-
-
- -
-
-
NewChatTitle -
Link copied to clipboard
-
-
-
-
- +
PinnedMessage @@ -74,19 +38,10 @@
- +
-
ProximityAlertTriggered -
Link copied to clipboard
-
-
-
-
- -
-
-
VoiceChatEvent +
SuccessfulPaymentEvent
Link copied to clipboard
diff --git a/docs/dev.inmo.tgbotapi.types.message.ChatEvents.abstracts/-group-event/index.html b/docs/dev.inmo.tgbotapi.types.message.ChatEvents.abstracts/-group-event/index.html index 901d660f7e..11dc66ea6c 100644 --- a/docs/dev.inmo.tgbotapi.types.message.ChatEvents.abstracts/-group-event/index.html +++ b/docs/dev.inmo.tgbotapi.types.message.ChatEvents.abstracts/-group-event/index.html @@ -56,10 +56,10 @@
- +
-
CommonEvent +
PublicChatEvent
Link copied to clipboard
diff --git a/docs/dev.inmo.tgbotapi.types.message.ChatEvents.abstracts/-private-event/index.html b/docs/dev.inmo.tgbotapi.types.message.ChatEvents.abstracts/-private-event/index.html new file mode 100644 index 0000000000..5edb0f052a --- /dev/null +++ b/docs/dev.inmo.tgbotapi.types.message.ChatEvents.abstracts/-private-event/index.html @@ -0,0 +1,50 @@ + + + + PrivateEvent + + +
+
+ + +
+
+
+
+
+
+ +
+

PrivateEvent

+
interface PrivateEvent : ChatEvent
+
+
+
+
+

Inheritors

+
+
+
+
CommonEvent +
Link copied to clipboard
+
+
+
+
+
+
+
+
+ +
+
+ + + diff --git a/docs/dev.inmo.tgbotapi.types.message.ChatEvents.abstracts/-public-chat-event/index.html b/docs/dev.inmo.tgbotapi.types.message.ChatEvents.abstracts/-public-chat-event/index.html new file mode 100644 index 0000000000..63e0e69300 --- /dev/null +++ b/docs/dev.inmo.tgbotapi.types.message.ChatEvents.abstracts/-public-chat-event/index.html @@ -0,0 +1,104 @@ + + + + PublicChatEvent + + +
+
+ + +
+
+
+
+
+
+ +
+

PublicChatEvent

+
interface PublicChatEvent : ChannelEvent, GroupEvent, SupergroupEvent
+
+
+
+
+

Inheritors

+
+
+
+
DeleteChatPhoto +
Link copied to clipboard
+
+
+
+
+ +
+
+
LeftChatMember +
Link copied to clipboard
+
+
+
+
+ +
+
+
NewChatPhoto +
Link copied to clipboard
+
+
+
+
+ +
+
+
NewChatTitle +
Link copied to clipboard
+
+
+
+
+ +
+
+
ProximityAlertTriggered +
Link copied to clipboard
+
+
+
+
+ +
+
+
CommonEvent +
Link copied to clipboard
+
+
+
+
+ +
+
+
VoiceChatEvent +
Link copied to clipboard
+
+
+
+
+
+
+
+
+ +
+
+ + + diff --git a/docs/dev.inmo.tgbotapi.types.message.ChatEvents.abstracts/-supergroup-event/index.html b/docs/dev.inmo.tgbotapi.types.message.ChatEvents.abstracts/-supergroup-event/index.html index 77a74261b0..7efa7a8977 100644 --- a/docs/dev.inmo.tgbotapi.types.message.ChatEvents.abstracts/-supergroup-event/index.html +++ b/docs/dev.inmo.tgbotapi.types.message.ChatEvents.abstracts/-supergroup-event/index.html @@ -56,10 +56,10 @@
- +
-
CommonEvent +
PublicChatEvent
Link copied to clipboard
diff --git a/docs/dev.inmo.tgbotapi.types.message.ChatEvents.abstracts/-voice-chat-event/index.html b/docs/dev.inmo.tgbotapi.types.message.ChatEvents.abstracts/-voice-chat-event/index.html index 2d9742bc6b..f6d0390598 100644 --- a/docs/dev.inmo.tgbotapi.types.message.ChatEvents.abstracts/-voice-chat-event/index.html +++ b/docs/dev.inmo.tgbotapi.types.message.ChatEvents.abstracts/-voice-chat-event/index.html @@ -23,7 +23,7 @@

VoiceChatEvent

-
interface VoiceChatEvent : CommonEvent
+
interface VoiceChatEvent : PublicChatEvent
diff --git a/docs/dev.inmo.tgbotapi.types.message.ChatEvents.abstracts/index.html b/docs/dev.inmo.tgbotapi.types.message.ChatEvents.abstracts/index.html index c1e7325ca9..73a7608ef7 100644 --- a/docs/dev.inmo.tgbotapi.types.message.ChatEvents.abstracts/index.html +++ b/docs/dev.inmo.tgbotapi.types.message.ChatEvents.abstracts/index.html @@ -81,7 +81,7 @@
-
interface CommonEvent : ChannelEvent, GroupEvent, SupergroupEvent
+
interface CommonEvent : PublicChatEvent, PrivateEvent
@@ -104,6 +104,46 @@
interface GroupEvent : ChatEvent
+
+
+
+
+ +
+
+
PrivateEvent +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
interface PrivateEvent : ChatEvent
+
+
+
+
+
+
+ +
+
+
PublicChatEvent +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
interface PublicChatEvent : ChannelEvent, GroupEvent, SupergroupEvent
+
+
@@ -141,7 +181,7 @@
-
interface VoiceChatEvent : CommonEvent
+
interface VoiceChatEvent : PublicChatEvent
diff --git a/docs/dev.inmo.tgbotapi.types.message.ChatEvents/-delete-chat-photo/index.html b/docs/dev.inmo.tgbotapi.types.message.ChatEvents/-delete-chat-photo/index.html index ee73a31e3f..d2919e9798 100644 --- a/docs/dev.inmo.tgbotapi.types.message.ChatEvents/-delete-chat-photo/index.html +++ b/docs/dev.inmo.tgbotapi.types.message.ChatEvents/-delete-chat-photo/index.html @@ -23,7 +23,7 @@

DeleteChatPhoto

-
class DeleteChatPhoto : CommonEvent
+
class DeleteChatPhoto : PublicChatEvent
diff --git a/docs/dev.inmo.tgbotapi.types.message.ChatEvents/-left-chat-member/index.html b/docs/dev.inmo.tgbotapi.types.message.ChatEvents/-left-chat-member/index.html index f5b63c6287..232d5405ab 100644 --- a/docs/dev.inmo.tgbotapi.types.message.ChatEvents/-left-chat-member/index.html +++ b/docs/dev.inmo.tgbotapi.types.message.ChatEvents/-left-chat-member/index.html @@ -23,7 +23,7 @@

LeftChatMember

-
data class LeftChatMember(user: User) : CommonEvent
+
data class LeftChatMember(user: User) : PublicChatEvent, WithUser
@@ -40,7 +40,7 @@
common
-
val user: User
+
open override val user: User
diff --git a/docs/dev.inmo.tgbotapi.types.message.ChatEvents/-left-chat-member/user.html b/docs/dev.inmo.tgbotapi.types.message.ChatEvents/-left-chat-member/user.html index 352a70ddad..e97e7d6309 100644 --- a/docs/dev.inmo.tgbotapi.types.message.ChatEvents/-left-chat-member/user.html +++ b/docs/dev.inmo.tgbotapi.types.message.ChatEvents/-left-chat-member/user.html @@ -27,7 +27,7 @@
-
val user: User
+
open override val user: User
diff --git a/docs/dev.inmo.tgbotapi.types.message.ChatEvents/-new-chat-photo/index.html b/docs/dev.inmo.tgbotapi.types.message.ChatEvents/-new-chat-photo/index.html index c2347e48e9..2fe9f88947 100644 --- a/docs/dev.inmo.tgbotapi.types.message.ChatEvents/-new-chat-photo/index.html +++ b/docs/dev.inmo.tgbotapi.types.message.ChatEvents/-new-chat-photo/index.html @@ -23,7 +23,7 @@

NewChatPhoto

-
data class NewChatPhoto(photo: Photo) : CommonEvent
+
data class NewChatPhoto(photo: Photo) : PublicChatEvent
diff --git a/docs/dev.inmo.tgbotapi.types.message.ChatEvents/-new-chat-title/index.html b/docs/dev.inmo.tgbotapi.types.message.ChatEvents/-new-chat-title/index.html index be2ca322d1..9ff05d205f 100644 --- a/docs/dev.inmo.tgbotapi.types.message.ChatEvents/-new-chat-title/index.html +++ b/docs/dev.inmo.tgbotapi.types.message.ChatEvents/-new-chat-title/index.html @@ -23,7 +23,7 @@

NewChatTitle

-
data class NewChatTitle(title: String) : CommonEvent
+
data class NewChatTitle(title: String) : PublicChatEvent
diff --git a/docs/dev.inmo.tgbotapi.types.message.ChatEvents/-proximity-alert-triggered/index.html b/docs/dev.inmo.tgbotapi.types.message.ChatEvents/-proximity-alert-triggered/index.html index 65c349654a..d1b79248ae 100644 --- a/docs/dev.inmo.tgbotapi.types.message.ChatEvents/-proximity-alert-triggered/index.html +++ b/docs/dev.inmo.tgbotapi.types.message.ChatEvents/-proximity-alert-triggered/index.html @@ -23,7 +23,7 @@

ProximityAlertTriggered

-
data class ProximityAlertTriggered(traveler: User, watcher: User, distance: Meters) : CommonEvent

This object represents the content of a service message, sent whenever a user in the chat triggers a proximity alert set by another user.

+
data class ProximityAlertTriggered(traveler: User, watcher: User, distance: Meters) : PublicChatEvent

This object represents the content of a service message, sent whenever a user in the chat triggers a proximity alert set by another user.

diff --git a/docs/dev.inmo.tgbotapi.types.message.ChatEvents/index.html b/docs/dev.inmo.tgbotapi.types.message.ChatEvents/index.html index 983e1fd98b..6448a4f9b2 100644 --- a/docs/dev.inmo.tgbotapi.types.message.ChatEvents/index.html +++ b/docs/dev.inmo.tgbotapi.types.message.ChatEvents/index.html @@ -61,7 +61,7 @@
-
class DeleteChatPhoto : CommonEvent
+
class DeleteChatPhoto : PublicChatEvent
@@ -101,7 +101,7 @@
-
data class LeftChatMember(user: User) : CommonEvent
+
data class LeftChatMember(user: User) : PublicChatEvent, WithUser
@@ -161,7 +161,7 @@
-
data class NewChatPhoto(photo: Photo) : CommonEvent
+
data class NewChatPhoto(photo: Photo) : PublicChatEvent
@@ -181,7 +181,7 @@
-
data class NewChatTitle(title: String) : CommonEvent
+
data class NewChatTitle(title: String) : PublicChatEvent
@@ -221,7 +221,7 @@
-
data class ProximityAlertTriggered(traveler: User, watcher: User, distance: Meters) : CommonEvent
+
data class ProximityAlertTriggered(traveler: User, watcher: User, distance: Meters) : PublicChatEvent

This object represents the content of a service message, sent whenever a user in the chat triggers a proximity alert set by another user.

diff --git a/docs/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html b/docs/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html index 8f78b8bc89..5d014fa61d 100644 --- a/docs/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html +++ b/docs/dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.html @@ -104,6 +104,15 @@
+ +
+
+
PrivateEventMessage +
Link copied to clipboard
+
+
+
+
diff --git a/docs/dev.inmo.tgbotapi.types.message.abstracts/-common-group-content-message/index.html b/docs/dev.inmo.tgbotapi.types.message.abstracts/-common-group-content-message/index.html index d3ce1e2e7b..f53dfb1f1f 100644 --- a/docs/dev.inmo.tgbotapi.types.message.abstracts/-common-group-content-message/index.html +++ b/docs/dev.inmo.tgbotapi.types.message.abstracts/-common-group-content-message/index.html @@ -109,6 +109,22 @@
+ +
+
+
from +
Link copied to clipboard
+
+
+
+
common
+
+
+
abstract val from: User

The source User of this type

+
+
+
+
@@ -184,7 +200,7 @@
common
-
abstract val user: User
+
open override val user: User
diff --git a/docs/dev.inmo.tgbotapi.types.message.abstracts/-from-user-message/index.html b/docs/dev.inmo.tgbotapi.types.message.abstracts/-from-user-message/index.html index fad2d5c091..df32884e03 100644 --- a/docs/dev.inmo.tgbotapi.types.message.abstracts/-from-user-message/index.html +++ b/docs/dev.inmo.tgbotapi.types.message.abstracts/-from-user-message/index.html @@ -61,6 +61,22 @@
+ +
+
+
from +
Link copied to clipboard
+
+
+
+
common
+
+
+
abstract val from: User

The source User of this type

+
+
+
+
@@ -88,7 +104,7 @@
common
-
abstract val user: User
+
open override val user: User
diff --git a/docs/dev.inmo.tgbotapi.types.message.abstracts/-group-event-message/index.html b/docs/dev.inmo.tgbotapi.types.message.abstracts/-group-event-message/index.html index ce7396455d..0c2953a0d3 100644 --- a/docs/dev.inmo.tgbotapi.types.message.abstracts/-group-event-message/index.html +++ b/docs/dev.inmo.tgbotapi.types.message.abstracts/-group-event-message/index.html @@ -77,6 +77,22 @@
+ +
+
+
from +
Link copied to clipboard
+
+
+
+
common
+
+
+
abstract val from: User

The source User of this type

+
+
+
+
@@ -104,7 +120,7 @@
common
-
abstract val user: User
+
open override val user: User
diff --git a/docs/dev.inmo.tgbotapi.types.message.abstracts/-message/index.html b/docs/dev.inmo.tgbotapi.types.message.abstracts/-message/index.html index 220827ab86..d3556a0372 100644 --- a/docs/dev.inmo.tgbotapi.types.message.abstracts/-message/index.html +++ b/docs/dev.inmo.tgbotapi.types.message.abstracts/-message/index.html @@ -627,6 +627,26 @@
inline fun Message.asPossiblyPaymentMessage(): PossiblyPaymentMessage?
+
+
+
+
+ +
+
+
asPossiblyReplyMessage +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
inline fun Message.asPossiblyReplyMessage(): PossiblyReplyMessage?
+
+
@@ -687,6 +707,26 @@
+
+
+
+
+ +
+
+
asPrivateEventMessage +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
inline fun Message.asPrivateEventMessage(): PrivateEventMessage<PrivateEvent>?
+
+
@@ -1267,6 +1307,26 @@
inline fun Message.requirePossiblyPaymentMessage(): PossiblyPaymentMessage
+
+
+
+
+ +
+
+
requirePossiblyReplyMessage +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
inline fun Message.requirePossiblyReplyMessage(): PossiblyReplyMessage
+
+
@@ -1327,6 +1387,26 @@
+
+
+
+
+ +
+
+
requirePrivateEventMessage +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
inline fun Message.requirePrivateEventMessage(): PrivateEventMessage<PrivateEvent>
+
+
@@ -1867,6 +1947,26 @@
inline fun <T> Message.whenPossiblyPaymentMessage(block: (PossiblyPaymentMessage) -> T): T?
+
+
+
+
+ +
+
+
whenPossiblyReplyMessage +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
inline fun <T> Message.whenPossiblyReplyMessage(block: (PossiblyReplyMessage) -> T): T?
+
+
@@ -1927,6 +2027,26 @@
inline fun <T> Message.whenPrivateContentMessageImpl(block: (PrivateContentMessageImpl<MessageContent>) -> T): T?
+
+
+
+
+ +
+
+
whenPrivateEventMessage +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
inline fun <T> Message.whenPrivateEventMessage(block: (PrivateEventMessage<PrivateEvent>) -> T): T?
+
+
diff --git a/docs/dev.inmo.tgbotapi.types.message.abstracts/-private-content-message/index.html b/docs/dev.inmo.tgbotapi.types.message.abstracts/-private-content-message/index.html index f0ee31d183..0f05bfbf25 100644 --- a/docs/dev.inmo.tgbotapi.types.message.abstracts/-private-content-message/index.html +++ b/docs/dev.inmo.tgbotapi.types.message.abstracts/-private-content-message/index.html @@ -109,6 +109,22 @@
+ +
+
+
from +
Link copied to clipboard
+
+
+
+
common
+
+
+
abstract val from: User

The source User of this type

+
+
+
+
@@ -184,7 +200,7 @@
common
-
abstract val user: User
+
open override val user: User
diff --git a/docs/dev.inmo.tgbotapi.types.message.abstracts/-supergroup-event-message/index.html b/docs/dev.inmo.tgbotapi.types.message.abstracts/-supergroup-event-message/index.html index d8edc48d8e..38eabdc425 100644 --- a/docs/dev.inmo.tgbotapi.types.message.abstracts/-supergroup-event-message/index.html +++ b/docs/dev.inmo.tgbotapi.types.message.abstracts/-supergroup-event-message/index.html @@ -77,6 +77,22 @@
+ +
+
+
from +
Link copied to clipboard
+
+
+
+
common
+
+
+
abstract val from: User

The source User of this type

+
+
+
+
@@ -104,7 +120,7 @@
common
-
abstract val user: User
+
open override val user: User
diff --git a/docs/dev.inmo.tgbotapi.types.message.payments.abstracts/-payment-info/index.html b/docs/dev.inmo.tgbotapi.types.message.payments.abstracts/-payment-info/index.html index 2bde48eaed..c53b97fdc8 100644 --- a/docs/dev.inmo.tgbotapi.types.message.payments.abstracts/-payment-info/index.html +++ b/docs/dev.inmo.tgbotapi.types.message.payments.abstracts/-payment-info/index.html @@ -29,10 +29,10 @@

Inheritors

-
+
-
SuccessfulPaymentInfo +
SuccessfulPaymentEvent
Link copied to clipboard
diff --git a/docs/dev.inmo.tgbotapi.types.message.payments/-successful-payment-info/-successful-payment-info.html b/docs/dev.inmo.tgbotapi.types.message.payments/-successful-payment-event/-successful-payment-event.html similarity index 76% rename from docs/dev.inmo.tgbotapi.types.message.payments/-successful-payment-info/-successful-payment-info.html rename to docs/dev.inmo.tgbotapi.types.message.payments/-successful-payment-event/-successful-payment-event.html index 3bb1129865..50feda0069 100644 --- a/docs/dev.inmo.tgbotapi.types.message.payments/-successful-payment-info/-successful-payment-info.html +++ b/docs/dev.inmo.tgbotapi.types.message.payments/-successful-payment-event/-successful-payment-event.html @@ -1,7 +1,7 @@ - SuccessfulPaymentInfo + SuccessfulPaymentEvent
@@ -13,21 +13,21 @@
-
+
-

SuccessfulPaymentInfo

+

SuccessfulPaymentEvent

-
fun SuccessfulPaymentInfo(payment: SuccessfulPayment)
+
fun SuccessfulPaymentEvent(payment: SuccessfulPayment)
diff --git a/docs/dev.inmo.tgbotapi.types.message.payments/-successful-payment-info/index.html b/docs/dev.inmo.tgbotapi.types.message.payments/-successful-payment-event/index.html similarity index 70% rename from docs/dev.inmo.tgbotapi.types.message.payments/-successful-payment-info/index.html rename to docs/dev.inmo.tgbotapi.types.message.payments/-successful-payment-event/index.html index 5f0f437a18..29dd0b0502 100644 --- a/docs/dev.inmo.tgbotapi.types.message.payments/-successful-payment-info/index.html +++ b/docs/dev.inmo.tgbotapi.types.message.payments/-successful-payment-event/index.html @@ -1,7 +1,7 @@ - SuccessfulPaymentInfo + SuccessfulPaymentEvent
@@ -13,26 +13,26 @@
-
+
-

SuccessfulPaymentInfo

-
data class SuccessfulPaymentInfo(payment: SuccessfulPayment) : PaymentInfo
+

SuccessfulPaymentEvent

+
data class SuccessfulPaymentEvent(payment: SuccessfulPayment) : PaymentInfo, CommonEvent

Properties

-
+
-
payment +
payment
Link copied to clipboard
@@ -40,7 +40,7 @@
common
-
val payment: SuccessfulPayment
+
val payment: SuccessfulPayment
diff --git a/docs/dev.inmo.tgbotapi.types.message.payments/-successful-payment-info/payment.html b/docs/dev.inmo.tgbotapi.types.message.payments/-successful-payment-event/payment.html similarity index 93% rename from docs/dev.inmo.tgbotapi.types.message.payments/-successful-payment-info/payment.html rename to docs/dev.inmo.tgbotapi.types.message.payments/-successful-payment-event/payment.html index cbce382b28..9a98103f39 100644 --- a/docs/dev.inmo.tgbotapi.types.message.payments/-successful-payment-info/payment.html +++ b/docs/dev.inmo.tgbotapi.types.message.payments/-successful-payment-event/payment.html @@ -13,9 +13,9 @@
-
+
- +
-
SuccessfulPaymentInfo +
SuccessfulPaymentEvent
Link copied to clipboard
@@ -61,7 +61,7 @@
-
data class SuccessfulPaymentInfo(payment: SuccessfulPayment) : PaymentInfo
+
data class SuccessfulPaymentEvent(payment: SuccessfulPayment) : PaymentInfo, CommonEvent
diff --git a/docs/dev.inmo.tgbotapi.types.message/-common-group-content-message-impl/-common-group-content-message-impl.html b/docs/dev.inmo.tgbotapi.types.message/-common-group-content-message-impl/-common-group-content-message-impl.html index a49efe870d..a219bcf138 100644 --- a/docs/dev.inmo.tgbotapi.types.message/-common-group-content-message-impl/-common-group-content-message-impl.html +++ b/docs/dev.inmo.tgbotapi.types.message/-common-group-content-message-impl/-common-group-content-message-impl.html @@ -27,7 +27,7 @@
-
fun <T : MessageContent> CommonGroupContentMessageImpl(chat: GroupChat, messageId: MessageIdentifier, user: User, date: DateTime, forwardInfo: ForwardInfo?, editDate: DateTime?, replyTo: Message?, replyMarkup: InlineKeyboardMarkup?, content: T, senderBot: CommonBot?)
+
fun <T : MessageContent> CommonGroupContentMessageImpl(chat: GroupChat, messageId: MessageIdentifier, from: User, date: DateTime, forwardInfo: ForwardInfo?, editDate: DateTime?, replyTo: Message?, replyMarkup: InlineKeyboardMarkup?, content: T, senderBot: CommonBot?)
diff --git a/docs/dev.inmo.tgbotapi.types.message/-common-group-content-message-impl/user.html b/docs/dev.inmo.tgbotapi.types.message/-common-group-content-message-impl/from.html similarity index 87% rename from docs/dev.inmo.tgbotapi.types.message/-common-group-content-message-impl/user.html rename to docs/dev.inmo.tgbotapi.types.message/-common-group-content-message-impl/from.html index 75c0c2af08..e639890693 100644 --- a/docs/dev.inmo.tgbotapi.types.message/-common-group-content-message-impl/user.html +++ b/docs/dev.inmo.tgbotapi.types.message/-common-group-content-message-impl/from.html @@ -1,7 +1,7 @@ - user + from
@@ -13,23 +13,23 @@
-
+
-

user

+

from

-
open override val user: User
+
open override val from: User
-
+

The source User of this type

diff --git a/docs/dev.inmo.tgbotapi.types.message/-common-group-content-message-impl/index.html b/docs/dev.inmo.tgbotapi.types.message/-common-group-content-message-impl/index.html index b75d1fd527..f3d4d43492 100644 --- a/docs/dev.inmo.tgbotapi.types.message/-common-group-content-message-impl/index.html +++ b/docs/dev.inmo.tgbotapi.types.message/-common-group-content-message-impl/index.html @@ -23,7 +23,7 @@

CommonGroupContentMessageImpl

-
data class CommonGroupContentMessageImpl<T : MessageContent>(chat: GroupChat, messageId: MessageIdentifier, user: User, date: DateTime, forwardInfo: ForwardInfo?, editDate: DateTime?, replyTo: Message?, replyMarkup: InlineKeyboardMarkup?, content: T, senderBot: CommonBot?) : CommonGroupContentMessage<T>
+
data class CommonGroupContentMessageImpl<T : MessageContent>(chat: GroupChat, messageId: MessageIdentifier, from: User, date: DateTime, forwardInfo: ForwardInfo?, editDate: DateTime?, replyTo: Message?, replyMarkup: InlineKeyboardMarkup?, content: T, senderBot: CommonBot?) : CommonGroupContentMessage<T>
@@ -109,6 +109,22 @@
+ +
+
+
from +
Link copied to clipboard
+
+
+
+
common
+
+
+
open override val from: User

The source User of this type

+
+
+
+
@@ -173,10 +189,10 @@
- +
-
user +
user
Link copied to clipboard
@@ -184,7 +200,7 @@
common
-
open override val user: User
+
open override val user: User
diff --git a/docs/dev.inmo.tgbotapi.types.message/-common-group-event-message/-common-group-event-message.html b/docs/dev.inmo.tgbotapi.types.message/-common-group-event-message/-common-group-event-message.html index b8c95c0d0a..4252fb2e37 100644 --- a/docs/dev.inmo.tgbotapi.types.message/-common-group-event-message/-common-group-event-message.html +++ b/docs/dev.inmo.tgbotapi.types.message/-common-group-event-message/-common-group-event-message.html @@ -27,7 +27,7 @@
-
fun <T : GroupEvent> CommonGroupEventMessage(messageId: MessageIdentifier, user: User, chat: GroupChat, chatEvent: T, date: DateTime)
+
fun <T : GroupEvent> CommonGroupEventMessage(messageId: MessageIdentifier, from: User, chat: GroupChat, chatEvent: T, date: DateTime)
diff --git a/docs/dev.inmo.tgbotapi.types.message/-common-group-event-message/user.html b/docs/dev.inmo.tgbotapi.types.message/-common-group-event-message/from.html similarity index 86% rename from docs/dev.inmo.tgbotapi.types.message/-common-group-event-message/user.html rename to docs/dev.inmo.tgbotapi.types.message/-common-group-event-message/from.html index 76ff77e64f..b485e3b21f 100644 --- a/docs/dev.inmo.tgbotapi.types.message/-common-group-event-message/user.html +++ b/docs/dev.inmo.tgbotapi.types.message/-common-group-event-message/from.html @@ -1,7 +1,7 @@ - user + from
@@ -13,23 +13,23 @@
-
+
-

user

+

from

-
open override val user: User
+
open override val from: User
-
+

The source User of this type

diff --git a/docs/dev.inmo.tgbotapi.types.message/-common-group-event-message/index.html b/docs/dev.inmo.tgbotapi.types.message/-common-group-event-message/index.html index f917e582a0..1a86addb28 100644 --- a/docs/dev.inmo.tgbotapi.types.message/-common-group-event-message/index.html +++ b/docs/dev.inmo.tgbotapi.types.message/-common-group-event-message/index.html @@ -23,7 +23,7 @@

CommonGroupEventMessage

-
data class CommonGroupEventMessage<T : GroupEvent>(messageId: MessageIdentifier, user: User, chat: GroupChat, chatEvent: T, date: DateTime) : GroupEventMessage<T>
+
data class CommonGroupEventMessage<T : GroupEvent>(messageId: MessageIdentifier, from: User, chat: GroupChat, chatEvent: T, date: DateTime) : GroupEventMessage<T>
@@ -77,6 +77,22 @@
+ +
+
+
from +
Link copied to clipboard
+
+
+
+
common
+
+
+
open override val from: User

The source User of this type

+
+
+
+
@@ -93,10 +109,10 @@
- +
-
user +
user
Link copied to clipboard
@@ -104,7 +120,7 @@
common
-
open override val user: User
+
open override val user: User
diff --git a/docs/dev.inmo.tgbotapi.types.message/-common-media-group-message/-common-media-group-message.html b/docs/dev.inmo.tgbotapi.types.message/-common-media-group-message/-common-media-group-message.html index fcdf332b0f..78f67c255f 100644 --- a/docs/dev.inmo.tgbotapi.types.message/-common-media-group-message/-common-media-group-message.html +++ b/docs/dev.inmo.tgbotapi.types.message/-common-media-group-message/-common-media-group-message.html @@ -27,7 +27,7 @@
-
fun <T : MediaGroupContent> CommonMediaGroupMessage(messageId: MessageIdentifier, user: User, chat: Chat, date: DateTime, mediaGroupId: MediaGroupIdentifier, content: T, editDate: DateTime?, forwardInfo: ForwardInfo?, replyTo: Message?, replyMarkup: InlineKeyboardMarkup?)
+
fun <T : MediaGroupContent> CommonMediaGroupMessage(messageId: MessageIdentifier, from: User, chat: Chat, date: DateTime, mediaGroupId: MediaGroupIdentifier, content: T, editDate: DateTime?, forwardInfo: ForwardInfo?, replyTo: Message?, replyMarkup: InlineKeyboardMarkup?)
diff --git a/docs/dev.inmo.tgbotapi.types.message/-common-media-group-message/user.html b/docs/dev.inmo.tgbotapi.types.message/-common-media-group-message/from.html similarity index 86% rename from docs/dev.inmo.tgbotapi.types.message/-common-media-group-message/user.html rename to docs/dev.inmo.tgbotapi.types.message/-common-media-group-message/from.html index ba1f769c6d..90199c538f 100644 --- a/docs/dev.inmo.tgbotapi.types.message/-common-media-group-message/user.html +++ b/docs/dev.inmo.tgbotapi.types.message/-common-media-group-message/from.html @@ -1,7 +1,7 @@ - user + from
@@ -13,23 +13,23 @@
-
+
-

user

+

from

-
open override val user: User
+
open override val from: User
-
+

The source User of this type

diff --git a/docs/dev.inmo.tgbotapi.types.message/-common-media-group-message/index.html b/docs/dev.inmo.tgbotapi.types.message/-common-media-group-message/index.html index 5ef1b99013..485b11aa90 100644 --- a/docs/dev.inmo.tgbotapi.types.message/-common-media-group-message/index.html +++ b/docs/dev.inmo.tgbotapi.types.message/-common-media-group-message/index.html @@ -23,7 +23,7 @@

CommonMediaGroupMessage

-
data class CommonMediaGroupMessage<T : MediaGroupContent>(messageId: MessageIdentifier, user: User, chat: Chat, date: DateTime, mediaGroupId: MediaGroupIdentifier, content: T, editDate: DateTime?, forwardInfo: ForwardInfo?, replyTo: Message?, replyMarkup: InlineKeyboardMarkup?) : MediaGroupMessage<T> , FromUserMessage
+
data class CommonMediaGroupMessage<T : MediaGroupContent>(messageId: MessageIdentifier, from: User, chat: Chat, date: DateTime, mediaGroupId: MediaGroupIdentifier, content: T, editDate: DateTime?, forwardInfo: ForwardInfo?, replyTo: Message?, replyMarkup: InlineKeyboardMarkup?) : MediaGroupMessage<T> , FromUserMessage
@@ -109,6 +109,22 @@
+ +
+
+
from +
Link copied to clipboard
+
+
+
+
common
+
+
+
open override val from: User

The source User of this type

+
+
+
+
@@ -173,10 +189,10 @@
- +
-
user +
user
Link copied to clipboard
@@ -184,7 +200,7 @@
common
-
open override val user: User
+
open override val user: User
diff --git a/docs/dev.inmo.tgbotapi.types.message/-common-supergroup-event-message/-common-supergroup-event-message.html b/docs/dev.inmo.tgbotapi.types.message/-common-supergroup-event-message/-common-supergroup-event-message.html index 7bc18ffe9a..08e3203bab 100644 --- a/docs/dev.inmo.tgbotapi.types.message/-common-supergroup-event-message/-common-supergroup-event-message.html +++ b/docs/dev.inmo.tgbotapi.types.message/-common-supergroup-event-message/-common-supergroup-event-message.html @@ -27,7 +27,7 @@
-
fun <T : SupergroupEvent> CommonSupergroupEventMessage(messageId: MessageIdentifier, user: User, chat: SupergroupChat, chatEvent: T, date: DateTime)
+
fun <T : SupergroupEvent> CommonSupergroupEventMessage(messageId: MessageIdentifier, from: User, chat: SupergroupChat, chatEvent: T, date: DateTime)
diff --git a/docs/dev.inmo.tgbotapi.types.message/-common-supergroup-event-message/user.html b/docs/dev.inmo.tgbotapi.types.message/-common-supergroup-event-message/from.html similarity index 88% rename from docs/dev.inmo.tgbotapi.types.message/-common-supergroup-event-message/user.html rename to docs/dev.inmo.tgbotapi.types.message/-common-supergroup-event-message/from.html index 4c0a096b72..6f488959a7 100644 --- a/docs/dev.inmo.tgbotapi.types.message/-common-supergroup-event-message/user.html +++ b/docs/dev.inmo.tgbotapi.types.message/-common-supergroup-event-message/from.html @@ -1,7 +1,7 @@ - user + from
@@ -13,23 +13,23 @@
-
+
-

user

+

from

-
open override val user: User
+
open override val from: User
-
+

The source User of this type

diff --git a/docs/dev.inmo.tgbotapi.types.message/-common-supergroup-event-message/index.html b/docs/dev.inmo.tgbotapi.types.message/-common-supergroup-event-message/index.html index 023b5f0a76..6175ec76f6 100644 --- a/docs/dev.inmo.tgbotapi.types.message/-common-supergroup-event-message/index.html +++ b/docs/dev.inmo.tgbotapi.types.message/-common-supergroup-event-message/index.html @@ -23,7 +23,7 @@

CommonSupergroupEventMessage

-
data class CommonSupergroupEventMessage<T : SupergroupEvent>(messageId: MessageIdentifier, user: User, chat: SupergroupChat, chatEvent: T, date: DateTime) : SupergroupEventMessage<T>
+
data class CommonSupergroupEventMessage<T : SupergroupEvent>(messageId: MessageIdentifier, from: User, chat: SupergroupChat, chatEvent: T, date: DateTime) : SupergroupEventMessage<T>
@@ -77,6 +77,22 @@
+ +
+
+
from +
Link copied to clipboard
+
+
+
+
common
+
+
+
open override val from: User

The source User of this type

+
+
+
+
@@ -93,10 +109,10 @@
- +
-
user +
user
Link copied to clipboard
@@ -104,7 +120,7 @@
common
-
open override val user: User
+
open override val user: User
diff --git a/docs/dev.inmo.tgbotapi.types.message/-passport-message/-passport-message.html b/docs/dev.inmo.tgbotapi.types.message/-passport-message/-passport-message.html index c5a2a39f64..b279dfb218 100644 --- a/docs/dev.inmo.tgbotapi.types.message/-passport-message/-passport-message.html +++ b/docs/dev.inmo.tgbotapi.types.message/-passport-message/-passport-message.html @@ -27,7 +27,7 @@
-
fun PassportMessage(messageId: MessageIdentifier, chat: Chat, user: User, date: DateTime, passportData: PassportData)
+
fun PassportMessage(messageId: MessageIdentifier, chat: Chat, from: User, date: DateTime, passportData: PassportData)
diff --git a/docs/dev.inmo.tgbotapi.types.message/-passport-message/user.html b/docs/dev.inmo.tgbotapi.types.message/-passport-message/from.html similarity index 85% rename from docs/dev.inmo.tgbotapi.types.message/-passport-message/user.html rename to docs/dev.inmo.tgbotapi.types.message/-passport-message/from.html index 4cd7650616..39a07ef7b8 100644 --- a/docs/dev.inmo.tgbotapi.types.message/-passport-message/user.html +++ b/docs/dev.inmo.tgbotapi.types.message/-passport-message/from.html @@ -1,7 +1,7 @@ - user + from
@@ -13,23 +13,23 @@
-
+
-

user

+

from

-
open override val user: User
+
open override val from: User
-
+

The source User of this type

diff --git a/docs/dev.inmo.tgbotapi.types.message/-passport-message/index.html b/docs/dev.inmo.tgbotapi.types.message/-passport-message/index.html index 765156aa3f..51900e8e3e 100644 --- a/docs/dev.inmo.tgbotapi.types.message/-passport-message/index.html +++ b/docs/dev.inmo.tgbotapi.types.message/-passport-message/index.html @@ -23,7 +23,7 @@

PassportMessage

-
data class PassportMessage(messageId: MessageIdentifier, chat: Chat, user: User, date: DateTime, passportData: PassportData) : Message, FromUserMessage
+
data class PassportMessage(messageId: MessageIdentifier, chat: Chat, from: User, date: DateTime, passportData: PassportData) : Message, FromUserMessage
@@ -61,6 +61,22 @@
+ +
+
+
from +
Link copied to clipboard
+
+
+
+
common
+
+
+
open override val from: User

The source User of this type

+
+
+
+
@@ -93,10 +109,10 @@
- +
-
user +
user
Link copied to clipboard
@@ -104,7 +120,7 @@
common
-
open override val user: User
+
open override val user: User
diff --git a/docs/dev.inmo.tgbotapi.types.message/-private-content-message-impl/-private-content-message-impl.html b/docs/dev.inmo.tgbotapi.types.message/-private-content-message-impl/-private-content-message-impl.html index 18df8accc6..db9d4bd77a 100644 --- a/docs/dev.inmo.tgbotapi.types.message/-private-content-message-impl/-private-content-message-impl.html +++ b/docs/dev.inmo.tgbotapi.types.message/-private-content-message-impl/-private-content-message-impl.html @@ -13,7 +13,7 @@
-
+

PrivateContentMessageImpl

-
data class PrivateContentMessageImpl<T : MessageContent>(messageId: MessageIdentifier, user: User, chat: Chat, content: T, date: DateTime, editDate: DateTime?, forwardInfo: ForwardInfo?, replyTo: Message?, replyMarkup: InlineKeyboardMarkup?, senderBot: CommonBot?, paymentInfo: SuccessfulPaymentInfo?) : PrivateContentMessage<T>
+
data class PrivateContentMessageImpl<T : MessageContent>(messageId: MessageIdentifier, from: User, chat: Chat, content: T, date: DateTime, editDate: DateTime?, forwardInfo: ForwardInfo?, replyTo: Message?, replyMarkup: InlineKeyboardMarkup?, senderBot: CommonBot?) : PrivateContentMessage<T>
@@ -109,6 +109,22 @@
+ +
+
+
from +
Link copied to clipboard
+
+
+
+
common
+
+
+
open override val from: User

The source User of this type

+
+
+
+
@@ -125,22 +141,6 @@
- -
-
-
paymentInfo -
Link copied to clipboard
-
-
-
-
common
-
-
-
val paymentInfo: SuccessfulPaymentInfo?
-
-
-
-
@@ -189,10 +189,10 @@
- +
-
user +
user
Link copied to clipboard
@@ -200,7 +200,7 @@
common
-
open override val user: User
+
open override val user: User
diff --git a/docs/dev.inmo.tgbotapi.types.message/-private-event-message/-private-event-message.html b/docs/dev.inmo.tgbotapi.types.message/-private-event-message/-private-event-message.html new file mode 100644 index 0000000000..2637163aa6 --- /dev/null +++ b/docs/dev.inmo.tgbotapi.types.message/-private-event-message/-private-event-message.html @@ -0,0 +1,39 @@ + + + + PrivateEventMessage + + +
+
+ + +
+
+
+
+
+
+ +
+

PrivateEventMessage

+
+
+ +
+
fun <T : PrivateEvent> PrivateEventMessage(messageId: MessageIdentifier, chat: PrivateChat, chatEvent: T, date: DateTime)
+
+
+
+ +
+
+ + + diff --git a/docs/dev.inmo.tgbotapi.types.message/-private-event-message/chat-event.html b/docs/dev.inmo.tgbotapi.types.message/-private-event-message/chat-event.html new file mode 100644 index 0000000000..7f9635a80b --- /dev/null +++ b/docs/dev.inmo.tgbotapi.types.message/-private-event-message/chat-event.html @@ -0,0 +1,39 @@ + + + + chatEvent + + +
+
+ + +
+
+
+
+
+
+ +
+

chatEvent

+
+
+ +
+
open override val chatEvent: T
+
+
+
+ +
+
+ + + diff --git a/docs/dev.inmo.tgbotapi.types.message/-private-event-message/chat.html b/docs/dev.inmo.tgbotapi.types.message/-private-event-message/chat.html new file mode 100644 index 0000000000..23c1c9462a --- /dev/null +++ b/docs/dev.inmo.tgbotapi.types.message/-private-event-message/chat.html @@ -0,0 +1,39 @@ + + + + chat + + +
+
+ + +
+
+
+
+
+
+ +
+

chat

+
+
+ +
+
open override val chat: PrivateChat
+
+
+
+ +
+
+ + + diff --git a/docs/dev.inmo.tgbotapi.types.message/-private-event-message/date.html b/docs/dev.inmo.tgbotapi.types.message/-private-event-message/date.html new file mode 100644 index 0000000000..59af5db51e --- /dev/null +++ b/docs/dev.inmo.tgbotapi.types.message/-private-event-message/date.html @@ -0,0 +1,39 @@ + + + + date + + +
+
+ + +
+
+
+
+
+
+ +
+

date

+
+
+ +
+
open override val date: DateTime
+
+
+
+ +
+
+ + + diff --git a/docs/dev.inmo.tgbotapi.types.message/-private-event-message/index.html b/docs/dev.inmo.tgbotapi.types.message/-private-event-message/index.html new file mode 100644 index 0000000000..a45808e9cd --- /dev/null +++ b/docs/dev.inmo.tgbotapi.types.message/-private-event-message/index.html @@ -0,0 +1,105 @@ + + + + PrivateEventMessage + + +
+
+ + +
+
+
+
+
+
+ +
+

PrivateEventMessage

+
data class PrivateEventMessage<T : PrivateEvent>(messageId: MessageIdentifier, chat: PrivateChat, chatEvent: T, date: DateTime) : ChatEventMessage<T>
+
+
+
+
+

Properties

+
+
+
+
chat +
Link copied to clipboard
+
+
+
+
common
+
+
+
open override val chat: PrivateChat
+
+
+
+
+ +
+
+
chatEvent +
Link copied to clipboard
+
+
+
+
common
+
+
+
open override val chatEvent: T
+
+
+
+
+ +
+
+
date +
Link copied to clipboard
+
+
+
+
common
+
+
+
open override val date: DateTime
+
+
+
+
+ +
+
+
messageId +
Link copied to clipboard
+
+
+
+
common
+
+
+
open override val messageId: MessageIdentifier
+
+
+
+
+
+
+
+
+ +
+
+ + + diff --git a/docs/dev.inmo.tgbotapi.types.message/-private-content-message-impl/payment-info.html b/docs/dev.inmo.tgbotapi.types.message/-private-event-message/message-id.html similarity index 84% rename from docs/dev.inmo.tgbotapi.types.message/-private-content-message-impl/payment-info.html rename to docs/dev.inmo.tgbotapi.types.message/-private-event-message/message-id.html index cea8b0878c..f2548ef945 100644 --- a/docs/dev.inmo.tgbotapi.types.message/-private-content-message-impl/payment-info.html +++ b/docs/dev.inmo.tgbotapi.types.message/-private-event-message/message-id.html @@ -1,7 +1,7 @@ - paymentInfo + messageId
@@ -13,21 +13,21 @@
-
+
-

paymentInfo

+

messageId

-
val paymentInfo: SuccessfulPaymentInfo?
+
open override val messageId: MessageIdentifier
diff --git a/docs/dev.inmo.tgbotapi.types.message/-user-forward-info/from.html b/docs/dev.inmo.tgbotapi.types.message/-user-forward-info/from.html index dc5d66cb38..d01816419f 100644 --- a/docs/dev.inmo.tgbotapi.types.message/-user-forward-info/from.html +++ b/docs/dev.inmo.tgbotapi.types.message/-user-forward-info/from.html @@ -27,9 +27,9 @@
-
val from: User
+
open override val from: User
-
+

The source User of this type

diff --git a/docs/dev.inmo.tgbotapi.types.message/-user-forward-info/index.html b/docs/dev.inmo.tgbotapi.types.message/-user-forward-info/index.html index 7bb660f3b8..8633841f38 100644 --- a/docs/dev.inmo.tgbotapi.types.message/-user-forward-info/index.html +++ b/docs/dev.inmo.tgbotapi.types.message/-user-forward-info/index.html @@ -23,7 +23,7 @@

UserForwardInfo

-
data class UserForwardInfo(dateOfOriginal: TelegramDate, from: User) : ForwardInfo
+
data class UserForwardInfo(dateOfOriginal: TelegramDate, from: User) : ForwardInfo, FromUser
@@ -56,7 +56,23 @@
common
-
val from: User
+
open override val from: User

The source User of this type

+
+
+
+
+ +
+
+
user +
Link copied to clipboard
+
+
+
+
common
+
+
+
open override val user: User
diff --git a/docs/dev.inmo.tgbotapi.types.message/index.html b/docs/dev.inmo.tgbotapi.types.message/index.html index 06fce21936..dc4362bfa9 100644 --- a/docs/dev.inmo.tgbotapi.types.message/index.html +++ b/docs/dev.inmo.tgbotapi.types.message/index.html @@ -141,7 +141,7 @@
-
data class CommonGroupContentMessageImpl<T : MessageContent>(chat: GroupChat, messageId: MessageIdentifier, user: User, date: DateTime, forwardInfo: ForwardInfo?, editDate: DateTime?, replyTo: Message?, replyMarkup: InlineKeyboardMarkup?, content: T, senderBot: CommonBot?) : CommonGroupContentMessage<T>
+
data class CommonGroupContentMessageImpl<T : MessageContent>(chat: GroupChat, messageId: MessageIdentifier, from: User, date: DateTime, forwardInfo: ForwardInfo?, editDate: DateTime?, replyTo: Message?, replyMarkup: InlineKeyboardMarkup?, content: T, senderBot: CommonBot?) : CommonGroupContentMessage<T>
@@ -161,7 +161,7 @@
-
data class CommonGroupEventMessage<T : GroupEvent>(messageId: MessageIdentifier, user: User, chat: GroupChat, chatEvent: T, date: DateTime) : GroupEventMessage<T>
+
data class CommonGroupEventMessage<T : GroupEvent>(messageId: MessageIdentifier, from: User, chat: GroupChat, chatEvent: T, date: DateTime) : GroupEventMessage<T>
@@ -181,7 +181,7 @@
-
data class CommonMediaGroupMessage<T : MediaGroupContent>(messageId: MessageIdentifier, user: User, chat: Chat, date: DateTime, mediaGroupId: MediaGroupIdentifier, content: T, editDate: DateTime?, forwardInfo: ForwardInfo?, replyTo: Message?, replyMarkup: InlineKeyboardMarkup?) : MediaGroupMessage<T> , FromUserMessage
+
data class CommonMediaGroupMessage<T : MediaGroupContent>(messageId: MessageIdentifier, from: User, chat: Chat, date: DateTime, mediaGroupId: MediaGroupIdentifier, content: T, editDate: DateTime?, forwardInfo: ForwardInfo?, replyTo: Message?, replyMarkup: InlineKeyboardMarkup?) : MediaGroupMessage<T> , FromUserMessage
@@ -201,7 +201,7 @@
-
data class CommonSupergroupEventMessage<T : SupergroupEvent>(messageId: MessageIdentifier, user: User, chat: SupergroupChat, chatEvent: T, date: DateTime) : SupergroupEventMessage<T>
+
data class CommonSupergroupEventMessage<T : SupergroupEvent>(messageId: MessageIdentifier, from: User, chat: SupergroupChat, chatEvent: T, date: DateTime) : SupergroupEventMessage<T>
@@ -301,7 +301,7 @@
-
data class PassportMessage(messageId: MessageIdentifier, chat: Chat, user: User, date: DateTime, passportData: PassportData) : Message, FromUserMessage
+
data class PassportMessage(messageId: MessageIdentifier, chat: Chat, from: User, date: DateTime, passportData: PassportData) : Message, FromUserMessage
@@ -321,7 +321,27 @@
-
data class PrivateContentMessageImpl<T : MessageContent>(messageId: MessageIdentifier, user: User, chat: Chat, content: T, date: DateTime, editDate: DateTime?, forwardInfo: ForwardInfo?, replyTo: Message?, replyMarkup: InlineKeyboardMarkup?, senderBot: CommonBot?, paymentInfo: SuccessfulPaymentInfo?) : PrivateContentMessage<T>
+
data class PrivateContentMessageImpl<T : MessageContent>(messageId: MessageIdentifier, from: User, chat: Chat, content: T, date: DateTime, editDate: DateTime?, forwardInfo: ForwardInfo?, replyTo: Message?, replyMarkup: InlineKeyboardMarkup?, senderBot: CommonBot?) : PrivateContentMessage<T>
+
+
+
+
+
+
+ +
+
+
PrivateEventMessage +
Link copied to clipboard
+
+
+
+
common
+
+
+ +
+
data class PrivateEventMessage<T : PrivateEvent>(messageId: MessageIdentifier, chat: PrivateChat, chatEvent: T, date: DateTime) : ChatEventMessage<T>
@@ -341,7 +361,7 @@
-
data class UserForwardInfo(dateOfOriginal: TelegramDate, from: User) : ForwardInfo
+
data class UserForwardInfo(dateOfOriginal: TelegramDate, from: User) : ForwardInfo, FromUser
diff --git a/docs/dev.inmo.tgbotapi.types.payments/-pre-checkout-query/-pre-checkout-query.html b/docs/dev.inmo.tgbotapi.types.payments/-pre-checkout-query/-pre-checkout-query.html index 7bcce97d86..7048a21950 100644 --- a/docs/dev.inmo.tgbotapi.types.payments/-pre-checkout-query/-pre-checkout-query.html +++ b/docs/dev.inmo.tgbotapi.types.payments/-pre-checkout-query/-pre-checkout-query.html @@ -27,7 +27,7 @@
-
fun PreCheckoutQuery(id: PreCheckoutQueryId, user: User, currency: Currency, amount: Long, invoicePayload: InvoicePayload, shippingOptionId: ShippingOptionIdentifier? = null, orderInfo: OrderInfo? = null)
+
fun PreCheckoutQuery(id: PreCheckoutQueryId, from: User, currency: Currency, amount: Long, invoicePayload: InvoicePayload, shippingOptionId: ShippingOptionIdentifier? = null, orderInfo: OrderInfo? = null)
diff --git a/docs/dev.inmo.tgbotapi.types.payments/-pre-checkout-query/user.html b/docs/dev.inmo.tgbotapi.types.payments/-pre-checkout-query/from.html similarity index 85% rename from docs/dev.inmo.tgbotapi.types.payments/-pre-checkout-query/user.html rename to docs/dev.inmo.tgbotapi.types.payments/-pre-checkout-query/from.html index 26777504d9..9424131a56 100644 --- a/docs/dev.inmo.tgbotapi.types.payments/-pre-checkout-query/user.html +++ b/docs/dev.inmo.tgbotapi.types.payments/-pre-checkout-query/from.html @@ -1,7 +1,7 @@ - user + from
@@ -13,23 +13,23 @@
-
+
-

user

+

from

-
open override val user: User
+
open override val from: User
-
+

The source User of this type

diff --git a/docs/dev.inmo.tgbotapi.types.payments/-pre-checkout-query/index.html b/docs/dev.inmo.tgbotapi.types.payments/-pre-checkout-query/index.html index 7b5b29488b..f4a5344ff6 100644 --- a/docs/dev.inmo.tgbotapi.types.payments/-pre-checkout-query/index.html +++ b/docs/dev.inmo.tgbotapi.types.payments/-pre-checkout-query/index.html @@ -23,7 +23,7 @@

PreCheckoutQuery

-
data class PreCheckoutQuery(id: PreCheckoutQueryId, user: User, currency: Currency, amount: Long, invoicePayload: InvoicePayload, shippingOptionId: ShippingOptionIdentifier?, orderInfo: OrderInfo?) : Currencied, Amounted, FromUser
+
data class PreCheckoutQuery(id: PreCheckoutQueryId, from: User, currency: Currency, amount: Long, invoicePayload: InvoicePayload, shippingOptionId: ShippingOptionIdentifier?, orderInfo: OrderInfo?) : Currencied, Amounted, FromUser
@@ -77,6 +77,22 @@
+ +
+
+
from +
Link copied to clipboard
+
+
+
+
common
+
+
+
open override val from: User

The source User of this type

+
+
+
+
@@ -141,10 +157,10 @@
- +
-
user +
user
Link copied to clipboard
@@ -152,7 +168,7 @@
common
-
open override val user: User
+
open override val user: User
diff --git a/docs/dev.inmo.tgbotapi.types.payments/-shipping-query/-shipping-query.html b/docs/dev.inmo.tgbotapi.types.payments/-shipping-query/-shipping-query.html index 28f7b7c18e..91e6104dc9 100644 --- a/docs/dev.inmo.tgbotapi.types.payments/-shipping-query/-shipping-query.html +++ b/docs/dev.inmo.tgbotapi.types.payments/-shipping-query/-shipping-query.html @@ -27,7 +27,7 @@
-
fun ShippingQuery(id: ShippingQueryIdentifier, user: User, invoicePayload: InvoicePayload, shippingAddress: ShippingAddress)
+
fun ShippingQuery(id: ShippingQueryIdentifier, from: User, invoicePayload: InvoicePayload, shippingAddress: ShippingAddress)
diff --git a/docs/dev.inmo.tgbotapi.types.payments/-shipping-query/user.html b/docs/dev.inmo.tgbotapi.types.payments/-shipping-query/from.html similarity index 85% rename from docs/dev.inmo.tgbotapi.types.payments/-shipping-query/user.html rename to docs/dev.inmo.tgbotapi.types.payments/-shipping-query/from.html index fccec764a2..7950bfb39b 100644 --- a/docs/dev.inmo.tgbotapi.types.payments/-shipping-query/user.html +++ b/docs/dev.inmo.tgbotapi.types.payments/-shipping-query/from.html @@ -1,7 +1,7 @@ - user + from
@@ -13,23 +13,23 @@
-
+
-

user

+

from

-
open override val user: User
+
open override val from: User
-
+

The source User of this type

diff --git a/docs/dev.inmo.tgbotapi.types.payments/-shipping-query/index.html b/docs/dev.inmo.tgbotapi.types.payments/-shipping-query/index.html index c1013acb99..4c73ed53e8 100644 --- a/docs/dev.inmo.tgbotapi.types.payments/-shipping-query/index.html +++ b/docs/dev.inmo.tgbotapi.types.payments/-shipping-query/index.html @@ -23,13 +23,29 @@

ShippingQuery

-
data class ShippingQuery(id: ShippingQueryIdentifier, user: User, invoicePayload: InvoicePayload, shippingAddress: ShippingAddress) : FromUser
+
data class ShippingQuery(id: ShippingQueryIdentifier, from: User, invoicePayload: InvoicePayload, shippingAddress: ShippingAddress) : FromUser

Properties

-
+
+
+
+
from +
Link copied to clipboard
+
+
+
+
common
+
+
+
open override val from: User

The source User of this type

+
+
+
+
+
id @@ -77,10 +93,10 @@
- +
-
user +
user
Link copied to clipboard
@@ -88,7 +104,7 @@
common
-
open override val user: User
+
open override val user: User
diff --git a/docs/dev.inmo.tgbotapi.types.payments/index.html b/docs/dev.inmo.tgbotapi.types.payments/index.html index 46f4a2d2bb..ef13d64694 100644 --- a/docs/dev.inmo.tgbotapi.types.payments/index.html +++ b/docs/dev.inmo.tgbotapi.types.payments/index.html @@ -121,7 +121,7 @@
-
data class PreCheckoutQuery(id: PreCheckoutQueryId, user: User, currency: Currency, amount: Long, invoicePayload: InvoicePayload, shippingOptionId: ShippingOptionIdentifier?, orderInfo: OrderInfo?) : Currencied, Amounted, FromUser
+
data class PreCheckoutQuery(id: PreCheckoutQueryId, from: User, currency: Currency, amount: Long, invoicePayload: InvoicePayload, shippingOptionId: ShippingOptionIdentifier?, orderInfo: OrderInfo?) : Currencied, Amounted, FromUser
@@ -181,7 +181,7 @@
-
data class ShippingQuery(id: ShippingQueryIdentifier, user: User, invoicePayload: InvoicePayload, shippingAddress: ShippingAddress) : FromUser
+
data class ShippingQuery(id: ShippingQueryIdentifier, from: User, invoicePayload: InvoicePayload, shippingAddress: ShippingAddress) : FromUser
diff --git a/docs/dev.inmo.tgbotapi.types.polls/-poll-answer/from.html b/docs/dev.inmo.tgbotapi.types.polls/-poll-answer/from.html new file mode 100644 index 0000000000..ed8971460e --- /dev/null +++ b/docs/dev.inmo.tgbotapi.types.polls/-poll-answer/from.html @@ -0,0 +1,39 @@ + + + + from + + +
+
+ + +
+
+
+
+
+
+ +
+

from

+
+
+ +
+
open override val from: User
+
+

The source User of this type

+
+ +
+
+ + + diff --git a/docs/dev.inmo.tgbotapi.types.polls/-poll-answer/index.html b/docs/dev.inmo.tgbotapi.types.polls/-poll-answer/index.html index 7fa12a9a2a..ba16503bf4 100644 --- a/docs/dev.inmo.tgbotapi.types.polls/-poll-answer/index.html +++ b/docs/dev.inmo.tgbotapi.types.polls/-poll-answer/index.html @@ -45,6 +45,22 @@
+ +
+
+
from +
Link copied to clipboard
+
+
+
+
common
+
+
+
open override val from: User

The source User of this type

+
+
+
+
diff --git a/docs/dev.inmo.tgbotapi.updateshandlers/-abstract-flows-updates-filter/-abstract-flows-updates-filter.html b/docs/dev.inmo.tgbotapi.updateshandlers/-abstract-flows-updates-filter/-abstract-flows-updates-filter.html new file mode 100644 index 0000000000..62a03e4173 --- /dev/null +++ b/docs/dev.inmo.tgbotapi.updateshandlers/-abstract-flows-updates-filter/-abstract-flows-updates-filter.html @@ -0,0 +1,39 @@ + + + + AbstractFlowsUpdatesFilter + + +
+
+ + +
+
+
+
+
+
+ +
+

AbstractFlowsUpdatesFilter

+
+
+ +
+
fun AbstractFlowsUpdatesFilter()
+
+
+
+ +
+
+ + + diff --git a/docs/dev.inmo.tgbotapi.updateshandlers/-abstract-flows-updates-filter/all-updates-without-media-groups-grouping-flow.html b/docs/dev.inmo.tgbotapi.updateshandlers/-abstract-flows-updates-filter/all-updates-without-media-groups-grouping-flow.html new file mode 100644 index 0000000000..958d565e96 --- /dev/null +++ b/docs/dev.inmo.tgbotapi.updateshandlers/-abstract-flows-updates-filter/all-updates-without-media-groups-grouping-flow.html @@ -0,0 +1,39 @@ + + + + allUpdatesWithoutMediaGroupsGroupingFlow + + +
+
+ + +
+
+
+
+
+
+ +
+

allUpdatesWithoutMediaGroupsGroupingFlow

+
+
+ +
+
open override val allUpdatesWithoutMediaGroupsGroupingFlow: Flow<Update>
+
+
+
+ +
+
+ + + diff --git a/docs/dev.inmo.tgbotapi.updateshandlers/-default-flows-updates-filter/callback-queries-flow.html b/docs/dev.inmo.tgbotapi.updateshandlers/-abstract-flows-updates-filter/callback-queries-flow.html similarity index 93% rename from docs/dev.inmo.tgbotapi.updateshandlers/-default-flows-updates-filter/callback-queries-flow.html rename to docs/dev.inmo.tgbotapi.updateshandlers/-abstract-flows-updates-filter/callback-queries-flow.html index 1399d5a41f..950c175dd2 100644 --- a/docs/dev.inmo.tgbotapi.updateshandlers/-default-flows-updates-filter/callback-queries-flow.html +++ b/docs/dev.inmo.tgbotapi.updateshandlers/-abstract-flows-updates-filter/callback-queries-flow.html @@ -13,9 +13,9 @@
-
+