Methods
_fetchLivechatRoomMessages
_fetchLivechatRoomMessages( roomId: string ) : Promise < IMessage [] >
getDepartmentsEnabledWithAgents
getDepartmentsEnabledWithAgents( ) : Promise < IDepartment [] >
getLivechatDepartmentByIdOrName
getLivechatDepartmentByIdOrName( value: string ) : Promise < IDepartment >
getLivechatRooms
Parameters
Optional departmentId: string
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 [] >
isOnline
isOnline( departmentId?: string ) : boolean
Parameters
Optional departmentId: string
Returns boolean
isOnlineAsync
isOnlineAsync( departmentId?: string ) : Promise < boolean >
Parameters
Optional departmentId: string
Returns Promise < boolean >
Legend
Variable
Function
Type alias
we do not encourage the wider usage of this method, as we're evaluating its performance and fit for the API.