Module

x/grammy/mod.ts>InlineKeyboard.from

The Telegram Bot Framework.
Very Popular
Latest
method InlineKeyboard.from
import { InlineKeyboard } from "https://dotland.deno.dev/x/grammy@v1.31.0/mod.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