setGroupMemberInfo method
修改指定的群成员资料
Implementation
@override
Future<V2TimCallback> setGroupMemberInfo({
required String groupID,
required String userID,
String? nameCard,
Map<String, String>? customInfo,
}) async {
Map<String, dynamic> param = {
"userID": userID,
"groupID": groupID,
"nameCard": nameCard ?? "",
"customInfo": customInfo,
};
var resp = V2TimCallback.fromJson(
formatJson(
await _channel.invokeMethod(
"setGroupMemberInfo",
buildGroupManagerParam(
param,
),
),
),
);
log("setGroupMemberInfo", param, resp.toLogString());
return resp;
}