Skip to main content
Module

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

Interactive menus for grammY
Latest
method Keyboard.prototype.text
import { Keyboard } from "https://deno.land/x/grammy_menu@v1.2.1/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