Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/grammy/mod.ts>Keyboard.from

The Telegram Bot Framework.
Go to Latest
method Keyboard.from
import { Keyboard } from "https://deno.land/x/grammy@v1.19.1/mod.ts";

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

Parameters

source: KeyboardSource

A two-dimensional button array