UserProfilePhotos
This object represent a user's profile pictures
This object represent a user's profile pictures.
Fields
| Field | Type | Required | Description |
|---|---|---|---|
total_count | Integer | Always | Total number of profile pictures the target user has |
photos | Array of Array of PhotoSize | Always | Requested profile pictures (in up to 4 sizes each) |
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.