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