mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-11-22 16:23:48 +00:00
Update README.md
This commit is contained in:
parent
67ddf8d809
commit
f77f010e66
@ -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" }
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user