refuseGroupApplication method
Future<V2TimCallback>
refuseGroupApplication({
- required String groupID,
- String? reason,
- required String fromUser,
- required String toUser,
- required int addTime,
- required int type,
- String? webMessageInstance,
override
拒绝某一条加群申请
web 端使用时必须传入webMessageInstance 字段。 对应【群系统通知】的消息实例
Implementation
@override
Future<V2TimCallback> refuseGroupApplication({
required String groupID,
String? reason,
required String fromUser,
required String toUser,
required int addTime,
required int type,
String? webMessageInstance,
}) async {
return V2TimCallback.fromJson(
formatJson(
await _channel.invokeMethod(
"refuseGroupApplication",
buildGroupManagerParam(
{"groupID": groupID, "reason": reason, "fromUser": fromUser, "toUser": toUser, "addTime": addTime, "type": type, "webMessageInstance": webMessageInstance},
),
),
),
);
}