# OnGroupAndUserEventListener

public interface OnGroupAndUserEventListener

群组和用户信息事件监听

#### Since

5.12.2

## Functions

setFriendInfo
Link copied to clipboard
public abstract void setFriendInfo(String userId, String remark, Map<String, String> extProfile, CoreErrorCode errorCode)
设置好友信息
setGroupMemberInfo
Link copied to clipboard
public abstract void setGroupMemberInfo(String groupId, String userId, String nickname, String extra, CoreErrorCode errorCode)
更新群组成员信息
setGroupRemark
Link copied to clipboard
public abstract void setGroupRemark(String groupId, String remark, CoreErrorCode errorCode)
设置群组备注
updateGroupInfo
Link copied to clipboard
public abstract void updateGroupInfo(GroupInfo groupInfo, CoreErrorCode errorCode)
更新群组信息
updateMyUserProfile
Link copied to clipboard
public abstract void updateMyUserProfile(UserProfile userProfile, CoreErrorCode errorCode)
更新用户信息