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:
@@ -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()
|
||||
}
|
||||
|
Reference in New Issue
Block a user