Properties
emitter
emitter: EventEmitter2
Methods
createChat
- createChat(name?, subject?): Promise<Chat>
Parameters
Optional
name: stringOptional
subject: string
Returns Promise<Chat>
createSupportChat
- createSupportChat(context?): Promise<Chat>
Parameters
Optional
context: Record<string, string>
Returns Promise<Chat>
disablePushNotifications
- disablePushNotifications(): Promise<void>
Returns Promise<void>
enablePushNotifications
- enablePushNotifications(): Promise<void>
Returns Promise<void>
getChats
- getChats(): List<Chat>
Returns List<Chat>
getConferenceChats
- getConferenceChats(): List<Chat>
Returns List<Chat>
getGroupChat
- getGroupChat(id): undefined | Chat
Returns undefined | Chat
getIndividualChat
- getIndividualChat(participant): Chat
getSupportChats
- getSupportChats(): List<Chat>
Returns List<Chat>
setPushConfig
- setPushConfig(config): void
Returns void
sync
- sync(): Promise<void>
Returns Promise<void>