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

x/grammy/types.web.ts>KeyboardButton

The Telegram Bot Framework.
Very Popular
Latest
type alias KeyboardButton
import { type KeyboardButton } from "https://deno.land/x/grammy@v1.32.0/types.web.ts";

This object represents one button of the reply keyboard. At most one of the optional fields must be used to specify type of the button. For simple text buttons, String can be used instead of this object to specify the button text.