keyboardButtonCopy #
Clipboard button¶
Available only in inline keyboards.¶
When pressed, clients must copy copy_text to the clipboard.¶
Layer 223
keyboardButtonCopy#bcc4af10 flags:# style:flags.10?KeyboardButtonStyle text:string copy_text:string = KeyboardButton; Parameters #
| 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 |
Type #
Related pages #
Bot buttons #
Users can interact with your bot via buttons or even inline buttons, straight from inline messages in any chat.¶
replyInlineMarkup #
Represents an inline keyboard¶