ReplyKeyboardBuilder

class ReplyKeyboardBuilder : MatrixBuilder<KeyboardButton>

Core DSL part of Keyboard DSL. Can accept only KeyboardButton and returns ready to use ReplyKeyboardMarkup via build method

See also

Constructors

ReplyKeyboardBuilder
Link copied to clipboard
common
fun ReplyKeyboardBuilder()

Functions

add
Link copied to clipboard
common
fun add(t: List<KeyboardButton>): Boolean
build
Link copied to clipboard
common
fun build(resizeKeyboard: Boolean? = null, oneTimeKeyboard: Boolean? = null, inputFieldPlaceholder: String? = null, selective: Boolean? = null): ReplyKeyboardMarkup

Creates InlineKeyboardMarkup using internal matrix

plus
Link copied to clipboard
common
operator fun plus(t: List<KeyboardButton>): Boolean
unaryPlus
Link copied to clipboard
common
operator fun KeyboardButton.unaryPlus(): Boolean

Properties

matrix
Link copied to clipboard
common
val matrix: Matrix<KeyboardButton>

Extensions

row
Link copied to clipboard
common
inline fun ReplyKeyboardBuilder.row(crossinline block: ReplyKeyboardRowBuilder.() -> Unit): Boolean

Creates an ReplyKeyboardRowBuilder and apply with this builder