set Group User Info Provider
Sets the GroupUserInfo provider for RongIM to retrieve GroupUserInfo.
This method can be used to modify the nickname of a user in a group.
After setting, when the SDK UI displays user information, it will callback getGroupUserInfo. The user only needs to provide the corresponding user information GroupUserInfo based on the groupId and userId. If asynchronous retrieval of user information from the server is required, the user can initiate an asynchronous request within this method and return null. After the asynchronous request returns, the user can call refreshGroupUserInfoCache to refresh the information based on the returned result.
Parameters
The GroupUserInfo provider.
Specifies whether IMKit should cache GroupUserInfo.If the GroupUserInfoProvider provided by the App requires network requests each time instead of caching data locally, it may affect the loading speed of information;In this case, it is recommended to set this parameter to true, allowing IMKit to cache the information.