Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • ILivechatRead

Index

Methods

_fetchLivechatRoomMessages

  • _fetchLivechatRoomMessages(roomId: string): Promise<IMessage[]>

getDepartmentsEnabledWithAgents

  • getDepartmentsEnabledWithAgents(): Promise<IDepartment[]>

getLivechatDepartmentByIdOrName

  • getLivechatDepartmentByIdOrName(value: string): Promise<IDepartment>

getLivechatRooms

getLivechatVisitorByEmail

  • getLivechatVisitorByEmail(email: string): Promise<IVisitor>

getLivechatVisitorById

  • getLivechatVisitorById(id: string): Promise<IVisitor>

getLivechatVisitorByPhoneNumber

  • getLivechatVisitorByPhoneNumber(phoneNumber: string): Promise<IVisitor>

getLivechatVisitorByToken

  • getLivechatVisitorByToken(token: string): Promise<IVisitor>

getLivechatVisitors

  • getLivechatVisitors(query: object): Promise<IVisitor[]>
  • deprecated

    This method does not adhere to the conversion practices applied elsewhere in the Apps-Engine and will be removed in the next major version. Prefer the alternative methods to fetch visitors.

    Parameters

    • query: object

    Returns Promise<IVisitor[]>

isOnline

  • isOnline(departmentId?: string): boolean
  • Gets online status of the livechat.

    deprecated

    use isOnlineAsync instead

    Parameters

    • Optional departmentId: string

      (optional) the id of the livechat department

    Returns boolean

isOnlineAsync

  • isOnlineAsync(departmentId?: string): Promise<boolean>

Generated using TypeDoc