setFriendInfo method
设置指定好友资料
Implementation
Future<V2TimCallback> setFriendInfo({
required String userID,
String? friendRemark,
Map<String, String>? friendCustomInfo,
}) async {
return V2TimCallback.fromJson(
formatJson(
await _channel.invokeMethod(
"setFriendInfo",
buildParam(
{
"userID": userID,
"friendRemark": friendRemark,
"friendCustomInfo": friendCustomInfo,
},
),
),
),
);
}