Module

x/grammy/convenience/keyboard.ts>Keyboard#text

The Telegram Bot Framework.
Very Popular
Go to Latest
method Keyboard.prototype.text
import { Keyboard } from "https://dotland.deno.dev/x/grammy@v1.12.0/convenience/keyboard.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