Skip to content

export Function

CopyText ​

Constructor ​

ts
 KeyboardButton.CopyText( text, copy_text )
ParameterTypeDescription
textstringLabel text on the button.
copy_textCopyTextDescription of the button that copies the specified text to the clipboard.

Return: KeyboardButtonPayload

A modern, powerful library for building your Telegram bots, with seamless support for both JavaScript and Typescript.