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 #

NameTypeDescription
flags#Flags, see TL conditional fields
styleflags.10?KeyboardButtonStyleButton style, see here » for more info on button styles.
textstringTitle of the button
copy_textstringThe text that will be copied to the clipboard

Type #

KeyboardButton

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