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
1 changed files with 1 additions and 7 deletions

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" }