Set chat agent policy
set_chat_agent_policyChoose which agents may be in this company's chats — the company's owner only (PM-1247). 'all': every agent switched on; 'none': no agent anywhere — none may be put in or called, and those already in chats answer nobody; 'chosen': only the agents named in 'roles' (the whole list — one not named is barred). Takes effect at once, a call already waiting included. A line in the company's journal says from what to what.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | 'all', 'none' or 'chosen'. | |
| roles | No | With 'chosen': the agents let in, by key or handle. |