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

x/grammy/mod.ts>Keyboard#text

The Telegram Bot Framework.
Very Popular
Latest
method Keyboard.prototype.text
import { Keyboard } from "https://deno.land/x/grammy@v1.30.1/mod.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