peyk.platforms.telegram.types.copy_text_button¶
Classes
|
This object represents an inline keyboard button that copies specified text to the clipboard. |
- class peyk.platforms.telegram.types.copy_text_button.CopyTextButton(text: str = '')[source]¶
Bases:
objectThis object represents an inline keyboard button that copies specified text to the clipboard.
- Variables:
text (str) – The text to be copied to the clipboard; 1-256 characters
- text: str = ''¶
- classmethod from_dict(data: dict | None) → CopyTextButton | None[source]¶
Provides the from dict operation for the Telegram integration.
- Parameters:
data – Value used by this operation.
- Returns:
Result produced by the operation.