---
title: ILMessageFilterQueryHandling
framework: SMS and Call Reporting
role: symbol
role_heading: Protocol
platforms: [iOS 11.0+, iPadOS 11.0+, Mac Catalyst 13.0+, visionOS 1.0+]
path: identitylookup/ilmessagefilterqueryhandling
---

# ILMessageFilterQueryHandling

A set of methods implemented by a Message Filter app extension to handle query requests.

## Declaration

```swift
protocol ILMessageFilterQueryHandling : NSObjectProtocol
```

## Mentioned in

Creating a Message Filter App Extension

## Overview

Overview A Message Filter app extension that adopts this protocol forms a response about the message described in the query, based on information that it either stores locally or receives from an associated network service. When the app extension defers a query request to a server, the system handles all network communication, passing the request to the server and passing the server’s response back to the app extension.

## Topics

### Handling a Query Request

- [handle(_:context:completion:)](identitylookup/ilmessagefilterqueryhandling/handle(_:context:completion:).md)

## Relationships

### Inherits From

- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

## See Also

### Queries

- [ILMessageFilterQueryRequest](identitylookup/ilmessagefilterqueryrequest.md)
