WA-AKG icon

WA-AKG

Interact with WA-AKG WhatsApp Gateway API

Session → Update Bot Config

AI-generated

Summary

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"

Links

Discussion