ClientEventTypes
Constants
AuthResult
Parameters
code:
number
Auth result error code
displayName:
string
Authorized user's display name
key:
string
This parameter is used to calculate hash parameter for [Client.loginWithOneTimeKey method. AuthResult with the key dispatched after Client.requestOneTimeLoginKey method was called.
name:
string
Name of the event
result:
boolean
True in case of success, false - otherwise
tokens:
New tokens structure
ConnectionClosed
Parameters
name:
string
Name of the event
ConnectionEstablished
Parameters
name:
string
Name of the event
ConnectionFailed
Parameters
message:
string
Failure reason description
name:
string
Name of the event
IncomingCall
Reconnected
Parameters
name:
string
Name of the event
Reconnecting
Parameters
name:
string
Name of the event
RefreshTokenResult
Parameters
code:
number
Auth result error code
name:
string
Name of the event
result:
boolean
True in case of success, false - otherwise
tokens:
New tokens structure