acceptGroupApplication method
Future<V2TimCallback>
acceptGroupApplication({
- required String groupID,
- String? reason,
- required String fromUser,
- required String toUser,
- int? addTime,
- int? type,
- String? webMessageInstance,
override
同意某一条加群申请
Implementation
@override
Future<V2TimCallback> acceptGroupApplication({
required String groupID,
String? reason,
required String fromUser,
required String toUser,
int? addTime,
int? type,
String? webMessageInstance,
}) async {
Map<String, dynamic> param = {"groupID": groupID, "reason": reason, "fromUser": fromUser, "toUser": toUser, "addTime": addTime, "type": type, "webMessageInstance": webMessageInstance};
var resp = V2TimCallback.fromJson(
formatJson(
await _channel.invokeMethod(
"acceptGroupApplication",
buildGroupManagerParam(
param,
),
),
),
);
log("acceptGroupApplication", param, resp.toLogString());
return resp;
}