Package dev. inmo. tgbotapi. extensions. utils. updates
Functions
Will map incoming BaseSentMessageUpdates to CommonMessage from BaseSentMessageUpdate.data
Will map incoming BaseSentMessageUpdates to ContentMessage from BaseSentMessageUpdate.data
Will map incoming BaseSentMessageUpdates to UnknownMessageType from BaseSentMessageUpdate.data
Will convert incoming list of updates to list with MediaGroupUpdates
Flow.filter incoming BaseMessageUpdates by their ChatId using Chat.id of chat
Flow.filter incoming BaseMessageUpdates by their ChatId
Convert incoming dev.inmo.tgbotapi.types.message.abstracts.ContentMessage.content of messages with fullEntitiesList and check that incoming message contains BotCommandTextSource. Besides, it is checking that BotCommandTextSource.command with incoming commandRegex
Convert incoming dev.inmo.tgbotapi.types.message.abstracts.ContentMessage.content of messages with fullEntitiesList and check that incoming message contains first TextSource as BotCommandTextSource. Besides, it is checking that BotCommandTextSource.command with incoming commandRegex and for other TextSource objects used next rules: all incoming text sources will be passed as is, RegularTextSource will be split by " " for several RegularTextSource which will contains not empty args without spaces.
Convert incoming dev.inmo.tgbotapi.types.message.abstracts.ContentMessage.content of messages with fullEntitiesList and check that incoming message contains ONLY ONE TextSource and that is BotCommandTextSource. Besides, it is checking that BotCommandTextSource.command with incoming commandRegex
Flow.filter incoming SentMediaGroupUpdates by their ChatId using Chat.id of chat
Flow.filter incoming SentMediaGroupUpdates by their ChatId
Non-suspendable function for easy-to-use creating of FlowsUpdatesFilter and applying the block to it
Converts flow to Flow of EditMediaGroupUpdate
Converts flow to Flow of BaseSentMessageUpdate
Converts flow to Flow of MediaGroupUpdate. Please, remember that it could be either EditMediaGroupUpdate or SentMediaGroupUpdate
Converts flow to Flow of SentMediaGroupUpdate
Converts flow to Flow of BaseSentMessageUpdate