User

User

Class User represents conversation member (visitor or manager).

Constructor

new User()

Source:
See:
  • Visitor for detailed information about visitor
  • Manager for detailed information about manager
Properties:
Name Type Description
uuid string

UUID is unique identifier for user. UUID for visitor sets automatically on starting. Managers have UUID in their account.

name string
email string

Methods

getEmail() → {string|*}

Source:

Getter for email

Returns:
Type
string | *

getIsOnline() → {boolean}

Source:

Getter for isOnline

Returns:
Type
boolean

getName() → {string}

Source:

Getter for name

Returns:
Type
string

getUuid() → {string|*}

Source:

Getter for UUID

Returns:
Type
string | *

setEmail(email)

Source:

Setter for email

Parameters:
Name Type Description
email string

setIsOnline(isOnline)

Source:

Setter for isOnline

Parameters:
Name Type Description
isOnline boolean

setName(name)

Source:

Setter for name

Parameters:
Name Type Description
name string

setUuid(uuid)

Source:

Setter for UUID

Parameters:
Name Type Description
uuid string