acceptGroupApplication method Null safety

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}
)

Approve a group joining request

Implementation

//When using on the web side, the webMessageInstance field must be passed in. Message instance corresponding to [Group System Notification]
///
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,
  );
}