Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/grammy/mod.ts>Keyboard#add

The Telegram Bot Framework.
Very Popular
Latest
method Keyboard.prototype.add
import { Keyboard } from "https://deno.land/x/grammy@v1.32.0/mod.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