1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2024-12-22 16:47:13 +00:00

Update README.md

This commit is contained in:
InsanusMokrassar 2021-02-11 13:38:55 +06:00 committed by GitHub
parent 67ddf8d809
commit f77f010e66
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -81,13 +81,7 @@ suspend fun main() {
SendTextMessage(
it.chat.id,
"Send me your name or choose \"nope\"",
replyMarkup = ReplyKeyboardMarkup(
matrix {
row {
+SimpleKeyboardButton("nope")
}
}
)
replyMarkup = nameReplyMarkup
)
).first().text.takeIf { it != "nope" }