diff --git a/README.md b/README.md index 66ef735786..fb3798d01a 100644 --- a/README.md +++ b/README.md @@ -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" }