Interface AgentAppConfig

When web chat is being used as the view for the human agent.

interface AgentAppConfig {
    auth_code?: string;
    is_on: boolean;
}

Properties

Properties

auth_code?: string

The auth_code passed from the connect_to_agent response type used to authenticate the session. This can be used to embed a web chat into an agent application as an iframe and load the conversation history for the agent to see.

is_on: boolean

Sets chat to be in "agent app" mode. This means no user input is allowed and an "auth_code" will be included in the request to fetch the conversation history.

MMNEPVFCICPMFPCPTTAAATR