Constructor: keyboardButtonCopy
Clipboard button: when clicked, the attached text must be copied to the clipboard.
Attributes:
Name | Type | Required | Description |
---|---|---|---|
text | string | Yes | Title of the button |
copy_text | string | Yes | The text that will be copied to the clipboard |
Type: KeyboardButton
Example:
$keyboardButtonCopy = ['_' => 'keyboardButtonCopy', 'text' => 'string', 'copy_text' => 'string'];