Module

x/grammy/mod.ts>InlineKeyboard#add

The Telegram Bot Framework.
Very Popular
Latest
method InlineKeyboard.prototype.add
import { InlineKeyboard } from "https://dotland.deno.dev/x/grammy@v1.31.0/mod.ts";

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

Parameters

...buttons: InlineKeyboardButton[]

The buttons to add