Package dev. inmo. tgbotapi. extensions. behaviour_builder. expectations
Types
Functions
Use flattenCommandsWithParams and filter out the commands which do not matches to commandRegex
Map the commands with their arguments and source messages
Flat commandsWithParams. Each Pair of BotCommandTextSource and its Array of arg text sources will be associated with its source message
Subsequent Flow will retrieve only messages without TextContent.textSources which are not BotCommandTextSource
Subsequent Flow will retrieve only messages with ONE BotCommandTextSource. It does not guarantee that this BotCommandTextSource will be at the start of the message
Will filter all the messages and include required commands with commandRegex.
This wait will be triggered only for stopped polls and polls, which are sent by the bot
This wait will be triggered only for stopped polls and polls, which are sent by the bot
This wait will be triggered only for stopped polls and polls, which are sent by the bot