keyboardButtonCopy
Clipboard button: when clicked, the attached text must be copied to the clipboard.
type tg.KeyboardButtonCopy struct { /* ... */ }
Implements KeyboardButton.
Fieldsโ
| Name | Type | Required | Description |
|---|---|---|---|
Style | KeyboardButtonStyle | โ | Button style, see here ยป for more info on button styles. |
Text | string | yes | Title of the button |
CopyText | string | yes | The text that will be copied to the clipboard |
Referencesโ
- Official documentation
- Generated Go reference
- TL definition:
keyboardButtonCopy#bcc4af10