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:
227ID:
BCC4AF10
- Parameters:
text (
str) – Title of the buttoncopy_text (
str) – The text that will be copied to the clipboardstyle (
KeyboardButtonStyle, optional) – Button style, see here » for more info on button styles.
- Functions:
This object can be returned by 1 function.
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.