updateFriendAttributes abstract method

Future<ZIMFriendAttributesUpdatedResult> updateFriendAttributes(
  1. Map<String, String> friendAttributes,
  2. String userID
)

Update friend attributes.

Available since: 2.14.0 or above. Description: Through this interface, the specified userID user can update the attributes. When to call: It is available only after calling create to create the instance and then calling login to login.

  • friendAttributes The friend attributes to update, in key-value pairs.
  • userID The user ID of the friend to update attributes for.

Implementation

Future<ZIMFriendAttributesUpdatedResult> updateFriendAttributes(
  Map<String, String> friendAttributes,
  String userID,
);