Skip to main content
Module

x/grammy_menu/deps.deno.ts>Keyboard#add

Easily create interactive menus with grammY.
Go to Latest
method Keyboard.prototype.add
import { Keyboard } from "https://deno.land/x/grammy_menu@v1.1.2/deps.deno.ts";

Allows you to add your own KeyboardButton objects if you already have them for some reason. You most likely want to call one of the other methods.

Parameters

...buttons: KeyboardButton[]

The buttons to add