richblockpreformatted

Raw MD
A preformatted text block, corresponding to the nested HTML tags <pre> and <code>

A preformatted text block, corresponding to the nested HTML tags <pre> and <code>.

Fields

FieldTypeRequiredDescription
typeStringAlwaysType of the block, always "pre"
textRichTextAlwaysText of the block
languageStringOptionalThe programming language of the text
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.