refuseGroupApplication method

Future<V2TimCallback> refuseGroupApplication({
  1. required String groupID,
  2. String? reason,
  3. required String fromUser,
  4. required String toUser,
  5. required int addTime,
  6. required int type,
})

拒绝某一条加群申请

Implementation

Future<V2TimCallback> refuseGroupApplication({
  required String groupID,
  String? reason,
  required String fromUser,
  required String toUser,
  required int addTime,
  required int type,
}) async {
  return V2TimCallback.fromJson(
    formatJson(
      await _channel.invokeMethod(
        "refuseGroupApplication",
        buildParam(
          {
            "groupID": groupID,
            "reason": reason,
            "fromUser": fromUser,
            "toUser": toUser,
            "addTime": addTime,
            "type": type,
          },
        ),
      ),
    ),
  );
}