KeyboardButtonCopy

class pyrogram.raw.types.KeyboardButtonCopy

Clipboard button: when clicked, the attached text must be copied to the clipboard.

Constructor of KeyboardButton.

Details:
  • Layer: 222

  • ID: BCC4AF10

Parameters:
  • text (str) – Title of the button

  • copy_text (str) – The text that will be copied to the clipboard

  • style (KeyboardButtonStyle, optional) – N/A