---
title: senders
framework: intents
role: symbol
role_heading: Instance Property
path: intents/insearchformessagesintent/senders
---

# senders

The senders to include or exclude when you search for messages.

## Declaration

```swift
var senders: [INPerson]? { get }
```

## Discussion

Discussion When this property contains one or more INPerson objects, your search should return only messages sent by the specified users. Use the sendersOperator property to determine whether to search for messages sent by any of the users, or not sent by any of the users.

## See Also

### Getting the Senders and Recipients

- [recipients](intents/insearchformessagesintent/recipients.md)
- [recipientsOperator](intents/insearchformessagesintent/recipientsoperator.md)
- [sendersOperator](intents/insearchformessagesintent/sendersoperator.md)
- [speakableGroupNames](intents/insearchformessagesintent/speakablegroupnames.md)
- [speakableGroupNamesOperator](intents/insearchformessagesintent/speakablegroupnamesoperator.md)
