Skip to content

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

Class: InlineKeyboardMarkup

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

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:2045

Parameters

ParameterType
payloadTelegramInlineKeyboardMarkup

Returns

InlineKeyboardMarkup

Properties

PropertyTypeDefined in
payloadTelegramInlineKeyboardMarkupcontexts/index.d.ts:2044

Accessors

[toStringTag]

Get Signature

get [toStringTag](): string

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

MDN

Returns

string


inlineKeyboard

Get Signature

get inlineKeyboard(): InlineKeyboardButton[][]

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

Array of button rows

Returns

InlineKeyboardButton[][]