---
title: messages
framework: intents
role: symbol
role_heading: Instance Property
path: intents/insearchformessagesintentresponse/messages
---

# messages

The array of messages matching the search parameters.

## Declaration

```swift
var messages: [INMessage]? { get set }
```

## Discussion

Discussion For successful searches, use this property to return messages matching the search parameters. Provide as much information in each INMessage object as you can. Siri may present or read the message details to the user, depending on the messages and how Siri is communicating with the user.
