setGroupInfo method
修改群资料
Implementation
Future<V2TimCallback> setGroupInfo({
required String groupID,
String? groupType,
String? groupName,
String? notification,
String? introduction,
String? faceUrl,
bool? isAllMuted,
int? addOpt,
Map<String, String>? customInfo,
}) async {
return V2TimCallback.fromJson(
formatJson(
await _channel.invokeMethod(
"setGroupInfo",
buildParam(
{
"groupID": groupID,
"groupType": groupType,
"groupName": groupName,
"notification": notification,
"introduction": introduction,
"faceUrl": faceUrl,
"isAllMuted": isAllMuted,
"addOpt": addOpt,
"customInfo": customInfo
},
),
),
),
);
}