Module

x/grammy/mod.ts>InlineKeyboard#copyText

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

Adds 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