mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI-examples.git
synced 2026-11-23 20:02:57 +00:00
start migration onto 9.0.0
This commit is contained in:
1 parent
ea08bac6e8
commit
0d9e295baa
4 files changed
+12
-7
No files matched your search
@@ -28,7 +28,7 @@ suspend fun main(vararg args: String) {
|
||||
|
||||
telegramBotWithBehaviourAndLongPolling(botToken, CoroutineScope(Dispatchers.IO)) {
|
||||
val me = getMe()
|
||||
onMentionWithAnyContent(me.username) { message ->
|
||||
onMentionWithAnyContent(me) { message ->
|
||||
val chat = message.chat
|
||||
|
||||
val answerText = when (val chat = message.chat) {
|
||||
|
||||
Reference in new issue
Block a user