PassportElementErrorFiles
Represents an issue with a list of scans
Represents an issue with a list of scans. The error is considered resolved when the list of files containing the scans changes.
Fields
| Field | Type | Required | Description |
|---|---|---|---|
source | String | Always | Error source, must be files |
type | String | Always | The section of the user's Telegram Passport which has the issue, one of "utility_bill", "bank_statement", "rental_agreement", "passport_registration", "temporary_registration" |
file_hashes | Array of String | Always | List of base64-encoded file hashes |
message | String | Always | Error message |
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.