Module

x/grammy/convenience/keyboard.ts>Keyboard#add

The Telegram Bot Framework.
Very Popular
Go to Latest
method Keyboard.prototype.add
import { Keyboard } from "https://dotland.deno.dev/x/grammy@v1.11.1/convenience/keyboard.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