Interface ChatService

interface ChatService {
    onActiveSessionChanged: Event<ActiveSessionChangedEvent>;
    createSession(location?, options?): ChatSession;
    deleteSession(sessionId): void;
    getSession(id): undefined | ChatSession;
    getSessions(): ChatSession[];
    sendRequest(sessionId, request): Promise<undefined | ChatRequestInvocation>;
    setActiveSession(sessionId, options?): void;
}

Implemented by

Properties

onActiveSessionChanged: Event<ActiveSessionChangedEvent>

Methods