Skip to content

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

Class: InlineKeyboardMarkup

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

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

Parameters

ParameterType
payloadTelegramInlineKeyboardMarkup

Returns

InlineKeyboardMarkup

Properties

PropertyTypeDefined in
payloadTelegramInlineKeyboardMarkupcontexts/index.d.ts:2548

Accessors

[toStringTag]

Get Signature

get [toStringTag](): string

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

MDN

Returns

string


forceReply

Get Signature

get forceReply(): boolean

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

Whether the reply interface must be shown for this inline keyboard.

Returns

boolean


inlineKeyboard

Get Signature

get inlineKeyboard(): InlineKeyboardButton[][]

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

Array of button rows

Returns

InlineKeyboardButton[][]