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

x/grammy/mod.ts>InlineKeyboard.copyText

The Telegram Bot Framework.
Very Popular
Latest
method InlineKeyboard.copyText
import { InlineKeyboard } from "https://deno.land/x/grammy@v1.32.0/mod.ts";

Creates a new copy text button. When clicked, the specified text will be copied to the clipboard.

Parameters

text: string

The text to display

copyText: string | CopyTextButton

The text to be copied to the clipboard

Returns

InlineKeyboardButton.CopyTextButtonButton