ReplyKeyboardMarkupBuilder

Builder which is used to assemble the reply keyboard markup buttons.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
fun br()

Same as newLine.

Link copied to clipboard
fun newLine()

Adds a line break, so that the following buttons will be on a new line.

Link copied to clipboard

Configure optional markup parameters. See ReplyKeyboardMarkupOptions.

Link copied to clipboard

Button for requesting chat.

Link copied to clipboard
infix fun String.requestContact(value: Boolean)

Button for requesting contact from user.

Link copied to clipboard
infix fun String.requestLocation(value: Boolean)

Button for requesting location from user.

Link copied to clipboard

Button for requesting sending new poll from user.

Link copied to clipboard

Button for requesting user.

Link copied to clipboard
operator fun String.unaryPlus()

Use this function to add buttons without parameters, e.g. +"Button name".

Link copied to clipboard
infix fun String.webApp(url: String)

Button for opening webapp for user.