Clipboard button: when clicked, the attached text must be copied to the clipboard.
keyboardButtonCopy#bcc4af10 flags:# style:flags.10?KeyboardButtonStyle text:string copy_text:string = KeyboardButton;
| Name | Type | Description |
|---|---|---|
| flags | # | Flags, see TL conditional fields |
| style | flags.10?KeyboardButtonStyle | Button style, see here ยป for more info on button styles. |
| text | string | Title of the button |
| copy_text | string | The text that will be copied to the clipboard |
Users can interact with your bot via buttons or even inline buttons, straight from inline messages in any chat.