Interface EndChatInfo<TPayloadType>

Additional info that may be provided when a chat is ended.

interface EndChatInfo<TPayloadType = unknown> {
    endedByAgent: boolean;
    preEndChatPayload: TPayloadType;
}

Type Parameters

  • TPayloadType = unknown

Properties

endedByAgent: boolean

Indicates if the chat was ended by the agent (or by the service desk integration). If false, indicates the chat was ended by the user or by web chat.

preEndChatPayload: TPayloadType

Before a chat is ended, a BusEventType.AGENT_PRE_END_CHAT is fired. The payload value assigned to this event by a listener is provided here.

MMNEPVFCICPMFPCPTTAAATR