removeMemberFromDiscussion

public abstract void removeMemberFromDiscussion(String discussionId, String userId, RongIMClient.OperationCallback callback)

Removes a user from a discussion group.

If the currently logged-in user is not the creator of the discussion group and the group does not have open join permissions, an error will be returned. This interface cannot be used to remove oneself; otherwise, an error will be returned. If you need to exit the discussion group, you can use the quitDiscussion method.

Deprecated

This method is deprecated.

Parameters

discussionId

The ID of the discussion group.

userId

The ID of the user.

callback

The operation callback OperationCallback.