From 1b88881c6216d53e09a9dfa2455e7adc9c7e70e0 Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Mon, 14 Mar 2022 02:50:38 +0600 Subject: [PATCH] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 2ca059ceff..7265e2141d 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ Other configuration examples: suspend fun main() { val bot = telegramBot(TOKEN) - bot.buildBehaviour { + bot.buildBehaviourWithLongPolling { println(getMe()) onCommand("start") { @@ -69,7 +69,7 @@ and maybe some updates it got after launch) suspend fun main() { val bot = telegramBot(TOKEN) - bot.buildBehaviour { + bot.buildBehaviourWithLongPolling { println(getMe()) val nameReplyMarkup = ReplyKeyboardMarkup(