Skip to content

GramIO API Reference / @gramio/contexts/dist / InlineKeyboardMarkup

Class: InlineKeyboardMarkup

Defined in: contexts/index.d.ts:2340

This object represents an inline keyboard that appears right next to the message it belongs to.

Constructors

Constructor

new InlineKeyboardMarkup(payload): InlineKeyboardMarkup

Defined in: contexts/index.d.ts:2342

Parameters

ParameterType
payloadTelegramInlineKeyboardMarkup

Returns

InlineKeyboardMarkup

Properties

PropertyTypeDefined in
payloadTelegramInlineKeyboardMarkupcontexts/index.d.ts:2341

Accessors

[toStringTag]

Get Signature

get [toStringTag](): string

Defined in: contexts/index.d.ts:2344

MDN

Returns

string


inlineKeyboard

Get Signature

get inlineKeyboard(): InlineKeyboardButton[][]

Defined in: contexts/index.d.ts:2346

Array of button rows

Returns

InlineKeyboardButton[][]