acceptGroupApplication method

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

同意某一条加群申请

Implementation

//web 端使用时必须传入webMessageInstance 字段。 对应【群系统通知】的消息实例
///
Future<V2TimCallback> acceptGroupApplication({
  required String groupID,
  String? reason,
  required String fromUser,
  required String toUser,
  int? addTime,
  GroupApplicationTypeEnum? type,
  String? webMessageInstance,
}) async {
  return ImFlutterPlatform.instance.acceptGroupApplication(
    groupID: groupID,
    reason: reason,
    fromUser: fromUser,
    toUser: toUser,
    addTime: addTime,
    type: type?.index,
    webMessageInstance: webMessageInstance,
  );
}