1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2025-12-17 19:55:49 +00:00

deprecate Explained

This commit is contained in:
2021-04-29 11:52:38 +06:00
parent f447be02dc
commit ab060d02ea
39 changed files with 77 additions and 61 deletions

View File

@@ -47,7 +47,7 @@ fun TextedInput.parseCommandsWithParams(
*/
fun TextedOutput.parseCommandsWithParams(
argsSeparator: Regex = defaultArgsSeparator
) = entities ?.parseCommandsWithParams(argsSeparator) ?: emptyMap()
) = textSources ?.parseCommandsWithParams(argsSeparator) ?: emptyMap()
/**
* Parse commands and their args. Logic will find command, get all subsequent data as args until new command