User Module
User feature module.
Provides user-related features including subscription event management, online status queries, user profile management, friend management, and friend applications.
This is a singleton class. Obtain the instance via ai.nexconn.chat.NCEngine.userModule.
Functions
Accepts a friend request.
Sends a friend request.
Adds a user to the block list.
Checks whether a specified user is in the block list.
Checks friend relationships with specified users.
Creates a paginated query object for friend applications.
Creates a paginated query object for subscription events.
Deletes friends in batch.
Gets the current user's block list.
Gets the current friend request permission setting.
Gets the friend list.
Batch retrieves friend info.
Gets the current user's profile.
Gets the current user's profile visibility setting.
Queries current subscription event status.
Batch queries the online status of subscribed users.
Batch retrieves user profiles.
Rejects a friend request.
Removes a user from the block list.
Searches for friends by name.
Sets the friend request permission.
Sets friend info (e.g., remark name, extended profile).
Subscribes to user status events.
Unsubscribes from user status events.
Updates the current user's profile.
Updates the current user's profile visibility.