WebAppData
Describes data sent from a Web App to the bot
Describes data sent from a Web App to the bot.
Fields
| Field | Type | Required | Description |
|---|---|---|---|
data | String | Always | The data. Be aware that a bad client can send arbitrary data in this field. |
button_text | String | Always | Text of the web_app keyboard button from which the Web App was opened. Be aware that a bad client can send arbitrary data in this field. |
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.