SDKsiOS
Update a group member’s avatar
Update a specified member’s avatar within a group with OpenIM iOS SDK.
NSDictionary *updates = @{
@"groupID": groupID,
@"userID": targetUserID,
@"faceURL": avatarURL
};
[[OIMManager manager] setGroupMemberInfo:updates
onSuccess:nil
onFailure:nil];A group-specific member avatar is distinct from the user's account avatar. A successful callback means that the request has completed. Reconcile the profile through onGroupMemberInfoChanged: or a new query, merging by groupID:userID.
Was this page helpful?