setGroupMemberInfo method

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

修改指定的群成员资料

Implementation

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