TransactionPartnerChat
Describes a transaction with a chat
Describes a transaction with a chat.
Fields
| Field | Type | Required | Description |
|---|---|---|---|
type | String | Always | Type of the transaction partner, always "chat" |
chat | Chat | Always | Information about the chat |
gift | Gift | Optional | The gift sent to the chat by the bot |
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.