Skip to main content
Deno 2 is finally here 🎉️
Learn more
Very Popular
Latest
method InlineKeyboard.from
import { InlineKeyboard } from "https://deno.land/x/grammy@v1.30.1/convenience/keyboard.ts";

Turns a two-dimensional inline button array into an inline keyboard instance. You can use the static button builder methods to create inline button objects.

Parameters

source: InlineKeyboardSource

A two-dimensional inline button array