Skip to main content
Module

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

Easily create interactive menus with grammY.
Go to Latest
method Keyboard.prototype.text
import { Keyboard } from "https://deno.land/x/grammy_menu@v1.1.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