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

x/grammy_types/mod.ts>KeyboardButton.CommonButton

Type declarations of the Telegram Bot API.
Go to Latest
interface KeyboardButton.CommonButton
import { type KeyboardButton } from "https://deno.land/x/grammy_types@v3.6.1/mod.ts";
const { CommonButton } = KeyboardButton;

Properties

text: string

Text of the button. If none of the optional fields are used, it will be sent as a message when the button is pressed