Module

x/grammy/mod.ts>Keyboard.text

The Telegram Bot Framework.
Very Popular
Latest
method Keyboard.text
import { Keyboard } from "https://dotland.deno.dev/x/grammy@v1.31.0/mod.ts";

Creates 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

Returns

KeyboardButton.CommonButton