1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2025-09-02 14:49:47 +00:00

hotfix for command actual calling methods

This commit is contained in:
2019-03-31 11:28:28 +08:00
parent c4a3e2cf3d
commit d668da0e76

View File

@@ -133,4 +133,7 @@ infix fun String.phone(parseMode: ParseMode): String = when (parseMode) {
is Markdown -> phoneMarkdown()
}
infix fun String.command(parseMode: ParseMode): String = command()
infix fun String.command(parseMode: ParseMode): String = when (parseMode) {
is HTML -> commandHTML()
is Markdown -> commandMarkdown()
}