setGroupMemberInfo method

  1. @override
Future<V2TimCallback> setGroupMemberInfo({
  1. required String groupID,
  2. required String userID,
  3. String? nameCard,
  4. Map<String, String>? customInfo,
})
override

修改指定的群成员资料

Implementation

@override
Future<V2TimCallback> setGroupMemberInfo({
  required String groupID,
  required String userID,
  String? nameCard,
  Map<String, String>? customInfo,
}) async {
  return V2TimCallback.fromJson(
    formatJson(
      await _channel.invokeMethod(
        "setGroupMemberInfo",
        buildGroupManagerParam(
          {
            "userID": userID,
            "groupID": groupID,
            "nameCard": nameCard ?? "",
            "customInfo": customInfo,
          },
        ),
      ),
    ),
  );
}