1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2025-09-04 15:49:41 +00:00

Update README.md

This commit is contained in:
2021-02-11 13:38:55 +06:00
committed by GitHub
parent 67ddf8d809
commit f77f010e66

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