Layer 220
KeyboardButtonCopy
Clipboard button: when clicked, the attached text must be copied to the clipboard.
constructor
keyboardButtonCopy#75d2698e text:string copy_text:string = KeyboardButton;
Parameters
| Name | Type | Description |
|---|---|---|
| Text | string | Title of the button |
| CopyText | string | The text that will be copied to the clipboard |
Returns
KeyboardButtonGogram Example
// Creating KeyboardButtonCopy constructor obj := &tg.KeyboardButtonCopy{ Text: "...", CopyText: "...", }