@override Map<String, dynamic> toJson() => {'type': 'auto', if (fileIds != null) 'file_ids': fileIds};