ManagedBotCreated
This object contains information about the bot that was created to be managed by the current bot
This object contains information about the bot that was created to be managed by the current bot.
Fields
| Field | Type | Required | Description |
|---|---|---|---|
bot | User | Always | Information about the bot. The bot's token can be fetched using the method getManagedBotToken. |
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.