acceptGroupApplication method

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

同意某一条加群申请

Implementation

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