InlineKeyboardMarkup

data class InlineKeyboardMarkup(inlineKeyboard: List<List<InlineKeyboardButton>>) : ReplyMarkup

This object represents an inline keyboard that appears right next to the message it belongs to. Note: This will only work in Telegram versions released after 9 April, 2016. Older clients will display unsupported message.

Parameters

inlineKeyboard

Array of button rows, each represented by an Array of InlineKeyboardButton objects

Constructors

InlineKeyboardMarkup
Link copied to clipboard
common
fun InlineKeyboardMarkup(inlineKeyboard: List<List<InlineKeyboardButton>> = emptyList())
Array of button rows, each represented by an Array of InlineKeyboardButton objects

Functions

component1
Link copied to clipboard
common
operator fun component1(): List<List<InlineKeyboardButton>>
copy
Link copied to clipboard
common
fun copy(inlineKeyboard: List<List<InlineKeyboardButton>> = emptyList()): InlineKeyboardMarkup
equals
Link copied to clipboard
common
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
common
open override fun hashCode(): Int
toString
Link copied to clipboard
common
open override fun toString(): String

Properties

inlineKeyboard
Link copied to clipboard
common
val inlineKeyboard: List<List<InlineKeyboardButton>>
Array of button rows, each represented by an Array of InlineKeyboardButton objects