KeyboardButtonCopy#

class pyrogram.raw.types.KeyboardButtonCopy[source]#

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

Constructor of KeyboardButton.

Details:
  • Layer: 224

  • ID: BCC4AF10

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

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

  • style (KeyboardButtonStyle, optional)

Functions:

This object can be returned by 1 function.