SDKsWASM
Update a group member’s avatar
Update a specified member’s avatar within one group.
faceURL is the avatar URL in a group member profile and applies only to the specified group.
await openimsdk.setGroupMemberInfo({
groupID,
userID: targetUserID,
faceURL: avatarURL,
});A member's group avatar and account avatar are separate values. To change the current user's account avatar, use Update the current user profile.
After the Promise resolves, merge the subsequent OnGroupMemberInfoChanged update by groupID:userID. For the complete listener implementation, see List group members.
Was this page helpful?