User-related operations module (subscriptions, profiles, friends)
Translation operations module
Initializes the NexConn Chat SDK. Must be called before any other operations.
Initialization parameters
Connects to the NexConn server with the provided token.
Connection parameters including user token
A promise resolving to the connection result containing the user ID
Returns the current do-not-disturb quiet hours configuration, if any.
Clears the do-not-disturb quiet hours configuration.
Disconnects from the NexConn server.
If true, disables push notifications after disconnecting
A promise that resolves when disconnected
Gets the current connected user's ID.
The user ID, or an empty string if not connected
Registers a connection status handler.
A unique identifier for this handler
The connection status handler instance
Removes a previously registered connection status handler.
The unique identifier of the handler to remove
Gets the current connection status.
The current connection status
Sets the do-not-disturb quiet hours period.
The quiet hours configuration
A promise resolving to the operation result
Registers a channel event handler.
A unique identifier for this handler
The channel handler instance
Removes a previously registered channel event handler.
The unique identifier of the handler to remove
Registers a message event handler.
A unique identifier for this handler
The message handler instance
Removes a previously registered message event handler.
The unique identifier of the handler to remove
Registers a user event handler.
A unique identifier for this handler
The user handler instance
Removes a previously registered user event handler.
The unique identifier of the handler to remove
Registers a user settings sync handler.
A unique identifier for this handler
The user settings handler instance
Removes a previously registered user settings sync handler.
The unique identifier of the handler to remove
Registers a translation event handler.
A unique identifier for this handler
The translate handler instance
Removes a previously registered translation event handler.
The unique identifier of the handler to remove
Registers an open channel event handler.
A unique identifier for this handler
The open channel handler instance
Removes a previously registered open channel event handler.
The unique identifier of the handler to remove
Registers a tag event handler.
A unique identifier for this handler
The tag handler instance
Registers a group channel event handler (group operations, applications, membership).
A unique identifier for this handler
The group channel handler instance
Removes a previously registered group channel event handler.
The unique identifier of the handler to remove
Removes a previously registered tag event handler.
The unique identifier of the handler to remove
Registers custom message types with the SDK. Must be called after initialization and before receiving messages of these types.
Array of custom message type registration parameters
Gets the application settings from the server configuration.
The application settings or an error result
The main entry point for the NexConn Chat SDK. Provides static methods for initialization, connection, handler registration, and access to functional modules.