Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/grammy_types/markup.ts>KeyboardButton

Type declarations of the Telegram Bot API.
Very Popular
Go to Latest
type alias KeyboardButton
import { type KeyboardButton } from "https://deno.land/x/grammy_types@v3.6.2/markup.ts";

This object represents one button of the reply keyboard. For simple text buttons, String can be used instead of this object to specify the button text. The optional fields web_app, request_users, request_chat, request_contact, request_location, and request_poll are mutually exclusive.