Class SupportChat

Hierarchy

Constructors

Properties

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

Methods

  • Parameters

    • Optional minimum: number

    Returns Promise<void>

  • Leaves the current Support Chat

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

    Returns

    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.

    Returns

    Parameters

    Returns Promise<void>

Generated using TypeDoc