Module

x/grammy/platform.deno.ts

The Telegram Bot Framework.
Go to Latest
interface KeyboardButton.CommonButton
import { type KeyboardButton } from "https://deno.land/x/grammy@v1.10.1/platform.deno.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