Skip to content

GramIO API Reference / @gramio/keyboards/dist

@gramio/keyboards/dist ​

Classes ​

ClassDescription
BaseKeyboardConstructorBase-class for construct keyboard with useful helpers
ForceReplyKeyboardForceReply builder
InlineKeyboardInlineKeyboardMarkup builder
InlineQueryResultResult of InlineQuery builder.
InputMessageContentThis object represents the content of a message to be sent as a result of an inline query.
KeyboardReplyKeyboardMarkup builder
RemoveKeyboardReplyKeyboardRemove builder

Interfaces ​

InterfaceDescription
ButtonOptions-
KeyboardFeatureFlags-
KeyboardHelperColumns-
KeyboardHelperFilter-
KeyboardHelperPattern-
KeyboardHelperWrap-

Type Aliases ​

Type AliasDescription
ButtonsIterator-
CreateButtonIterator-
KeyboardHelpers-

Variables ​

keyboardsFeatureFlagsMap ​

const keyboardsFeatureFlagsMap: KeyboardFeatureFlags

Defined in: keyboards/index.d.ts:10

Functions ​

chunk() ​

chunk<T>(array, size): T[][]

Defined in: keyboards/index.d.ts:38

Type Parameters ​

Type Parameter
T

Parameters ​

ParameterType
arrayT[][]
sizenumber

Returns ​

T[][]


customWrap() ​

customWrap<T>(array, fn): T[][]

Defined in: keyboards/index.d.ts:39

Type Parameters ​

Type Parameter
T

Parameters ​

ParameterType
arrayT[][]
fnButtonsIterator<T>

Returns ​

T[][]


filter() ​

filter<T>(array, fn): T[][]

Defined in: keyboards/index.d.ts:41

Type Parameters ​

Type Parameter
T

Parameters ​

ParameterType
arrayT[][]
fnButtonsIterator<T>

Returns ​

T[][]


pattern() ​

pattern<T>(array, pattern): T[][]

Defined in: keyboards/index.d.ts:40

Type Parameters ​

Type Parameter
T

Parameters ​

ParameterType
arrayT[][]
patternnumber[]

Returns ​

T[][]