mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-11-22 08:13:47 +00:00
hotfix for command actual calling methods
This commit is contained in:
parent
c4a3e2cf3d
commit
d668da0e76
@ -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()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user