Actions98
- Auto Reply Actions
- Chat Actions
- Contact Actions
- Group Actions
- Label Actions
- Message Actions
- Media Actions
- Notification Actions
- Profile Actions
- Scheduler Actions
- Session Actions
- Status Update Actions
- System Actions
- User Actions
- Webhook Actions
Session → Update Bot Config
AI-generatedSummary
Updates bot configuration key-value pairs for a specified session.
Inputs
- targetSessionId (required) — ID of the session whose bot configuration to update.
- botConfig — Key-Value pairs defining the bot configuration to set.
- sessionSettings — Key-Value pairs for session settings (optional for this operation).
- additionalFields — Generic container for extra fields such as custom session ID.
Output shape
a single object representing the updated bot configuration
The response contains the updated configuration; errors are propagated as exceptions.
Examples
Example 1: Modify the bot's command prefix
Set botConfig property name: "prefix", value: "!"
Example 2: Add a new configuration property
Add botConfig property name: "responseMode", value: "quickReply"