KeyboardButtonCopy#

class pyrogram.raw.types.KeyboardButtonCopy#

Clipboard button Available only in inline keyboards. When pressed, clients must copy copy_text to the clipboard.

Constructor of KeyboardButton.

Details:
  • Layer: 227

  • ID: BCC4AF10

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

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

  • style (KeyboardButtonStyle, optional) – Button style, see here » for more info on button styles.

Functions:

This object can be returned by 1 function.

bots.GetRequestedWebViewButton

Fetch the peer request button a bot prepared for a Mini App with bots.requestWebViewButton, invoked when the Mini App emits a web_app_request_chat event, see here for more info.