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

x/grammy_menu/deps.deno.ts>Keyboard#text

Interactive menus for grammY.
Go to Latest
method Keyboard.prototype.text
import { Keyboard } from "https://deno.land/x/grammy_menu@v1.2.2/deps.deno.ts";

Adds a new text button. This button will simply send the given text as a text message back to your bot if a user clicks on it.

Parameters

text: string

The text to display