BackgroundTypePattern

Raw MD
The background is a .PNG or .TGV (gzipped subset of SVG with MIME type "application/x-tgwallpattern") pattern to be combined with the backgr

The background is a .PNG or .TGV (gzipped subset of SVG with MIME type "application/x-tgwallpattern") pattern to be combined with the background fill chosen by the user.

Fields

FieldTypeRequiredDescription
typeStringAlwaysType of the background, always "pattern"
documentDocumentAlwaysDocument with the pattern
fillBackgroundFillAlwaysThe background fill that is combined with the pattern
intensityIntegerAlwaysIntensity of the pattern when it is shown above the filled background; 0-100
is_invertedTrueOptionalTrue, if the background fill must be applied only to the pattern itself. All other pixels are black in this case. For dark themes only.
is_movingTrueOptionalTrue, if the background moves slightly when the device is tilted
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.