mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI-examples.git
synced 2025-09-01 06:09:34 +00:00
upgrade to support new ktgbotapi
This commit is contained in:
@@ -56,6 +56,10 @@ suspend fun main(vararg args: String) {
|
||||
} ?: chat.title
|
||||
}
|
||||
}
|
||||
is PreviewBusinessChat -> {
|
||||
reply(message, "Hi, " + "${chat.original.firstName} ${chat.original.lastName} (as business chat :) )".textMentionMarkdownV2(chat.original.id), MarkdownV2)
|
||||
return@onMentionWithAnyContent
|
||||
}
|
||||
is UnknownChatType -> "Unknown :(".escapeMarkdownV2Common()
|
||||
}
|
||||
reply(
|
||||
|
Reference in New Issue
Block a user