CopyTextButton

Raw MD
This object represents an inline keyboard button that copies specified text to the clipboard

This object represents an inline keyboard button that copies specified text to the clipboard.

Fields

FieldTypeRequiredDescription
textStringAlwaysThe text to be copied to the clipboard; 1-256 characters
Botlify Cloud Runtime
Credentials are auto-injected in .env — always load them with getenv(): BOT_TOKEN, ADMIN_CHAT_ID, BOT_USERNAME. Main database: database.db (SQLite, WAL mode). Runtime errors: error.log. Quick test: send to $ADMIN_CHAT_ID. Full details: Runtime Reference.