parseCommandsWithParams

fun List<TextSource>.parseCommandsWithParams(argsSeparator: Regex = TelegramBotCommandsDefaults.defaultArgsSeparatorRegex): MutableMap<String, Array<String>>
fun TextedWithTextSources.parseCommandsWithParams(argsSeparator: Regex = TelegramBotCommandsDefaults.defaultArgsSeparatorRegex): Map<String, Array<String>>
fun ContentMessage<TextContent>.parseCommandsWithParams(argsSeparator: Regex = TelegramBotCommandsDefaults.defaultArgsSeparatorRegex): Map<String, Array<String>>

Deprecated

Renamed

Replace with

import dev.inmo.tgbotapi.extensions.utils.extensions.parseCommandsWithArgs
parseCommandsWithArgs(argsSeparator)

Parse commands and their args. Logic will find command, get all subsequent data as args until new command