<!--
{
  "availability" : [
    "iOS: 11.0.0 -",
    "iPadOS: 11.0.0 -",
    "macCatalyst: 13.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "IdentityLookup",
  "identifier" : "/documentation/IdentityLookup/ILMessageFilterQueryRequest",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "SMS and Call Reporting"
    ],
    "preciseIdentifier" : "c:objc(cs)ILMessageFilterQueryRequest"
  },
  "title" : "ILMessageFilterQueryRequest"
}
-->

# ILMessageFilterQueryRequest

A request for a Message Filter app extension to determine the status of a message received from an unknown sender.

```
class ILMessageFilterQueryRequest
```

## Topics

### Getting Information About a Message

[`var sender: String?`](/documentation/IdentityLookup/ILMessageFilterQueryRequest/sender)

The sender of the message.

[`var messageBody: String?`](/documentation/IdentityLookup/ILMessageFilterQueryRequest/messageBody)

The body of a message received from an unknown sender.

[`var receiverISOCountryCode: String?`](/documentation/IdentityLookup/ILMessageFilterQueryRequest/receiverISOCountryCode)

The ISO Country Code of the receiving phone number, in format specified by the ISO 3166-2 standard.

### Initializers

[`init?(coder: NSCoder)`](/documentation/IdentityLookup/ILMessageFilterQueryRequest/init(coder:))

## Relationships

### Conforms To

[`CVarArg`](/documentation/Swift/CVarArg)

[`NSCoding`](/documentation/Foundation/NSCoding)

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`Equatable`](/documentation/Swift/Equatable)

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

[`Hashable`](/documentation/Swift/Hashable)

[`NSSecureCoding`](/documentation/Foundation/NSSecureCoding)

### Inherits From

[`NSObject-swift.class`](/documentation/ObjectiveC/NSObject-swift.class)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)