1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2024-06-03 00:15:27 +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( SendTextMessage(
it.chat.id, it.chat.id,
"Send me your name or choose \"nope\"", "Send me your name or choose \"nope\"",
replyMarkup = ReplyKeyboardMarkup( replyMarkup = nameReplyMarkup
matrix {
row {
+SimpleKeyboardButton("nope")
}
}
)
) )
).first().text.takeIf { it != "nope" } ).first().text.takeIf { it != "nope" }