Hierarchy (view full)

Constructors

Properties

chatService: SupportChatService
emitter: EventEmitter2
firstUnreadMessage: ChatMessage
messages: List<ChatMessage>
supportChatId: string

Methods

  • Leaves the current Support Chat

    If leaving participant is the chat's agent, the support chat is finished.

    Returns Promise<void>

  • Transfers the current Support Chat to another agent

    Changes the agent who is assigned to this support chat. The backend will generate an XMPP invitation to that destination agent.

    Parameters

    Returns Promise<void>