SDKsFlutter
Update friend information
Update friend remarks, pin state, or extension data with the OpenIM Flutter SDK.
await OpenIM.iMManager.friendshipManager.updateFriends(
UpdateFriendsReq(
friendUserIDs: [friendUserID],
remark: remark.trim(),
),
);One call applies the same field value to every target friend. ex is a complete string value; make separate calls when different friends need different values. Handle successful completion of the Future and onFriendInfoChanged as separate stages.
Was this page helpful?