Skip to main content
Deno 2 is finally here 🎉️
Learn more
Very Popular
Go to Latest
method InlineKeyboard.prototype.add
import { InlineKeyboard } from "https://deno.land/x/grammy@v1.30.0/convenience/keyboard.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