BackgroundTypePattern
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
| Field | Type | Required | Description |
|---|---|---|---|
type | String | Always | Type of the background, always "pattern" |
document | Document | Always | Document with the pattern |
fill | BackgroundFill | Always | The background fill that is combined with the pattern |
intensity | Integer | Always | Intensity of the pattern when it is shown above the filled background; 0-100 |
is_inverted | True | Optional | True, 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_moving | True | Optional | True, if the background moves slightly when the device is tilted |
Botlify Cloud Runtime
Credentials are auto-injected in
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.