PassportData
Describes Telegram Passport data shared with the bot by the user
Describes Telegram Passport data shared with the bot by the user.
Fields
| Field | Type | Required | Description |
|---|---|---|---|
data | Array of EncryptedPassportElement | Always | Array with information about documents and other Telegram Passport elements that was shared with the bot |
credentials | EncryptedCredentials | Always | Encrypted credentials required to decrypt the data |
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.