InlineKeyboardMarkupBuilder

Builder which is used to assemble the inline markup buttons. InlineKeyboardButton API

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
fun br()

Same as newLine.

Link copied to clipboard

Callback button infix method

Link copied to clipboard

CallbackData button

Link copied to clipboard

Callback game button

Link copied to clipboard

CopyText button infix method

fun copyText(name: String, copyText: () -> String): InlineKeyboardMarkupBuilder

CopyText button

Link copied to clipboard

Login url button infix method

Login url button

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
@JvmName(name = "stringPay")
inline fun String.pay(): InlineKeyboardMarkupBuilder

Pay button infix method

Pay button

Link copied to clipboard

Switch inline query button infix method

Switch inline query button

Link copied to clipboard

Switch inline query for chosen chat button infix method

Switch inline query button for chosen chat

Link copied to clipboard

Switch inline query for current chat button infix method

Switch inline query button for current chat

Link copied to clipboard
infix inline fun String.url(value: String): InlineKeyboardMarkupBuilder

Url button infix method

fun url(name: String, value: () -> String): InlineKeyboardMarkupBuilder

Url button

Link copied to clipboard

Web app info button infix method

Web app info button