---
title: senderParticipantIdentifier
framework: messages
role: symbol
role_heading: Instance Property
path: messages/msmessage/senderparticipantidentifier
---

# senderParticipantIdentifier

A UUID identifying the participant that sent the message.

## Declaration

```swift
var senderParticipantIdentifier: UUID { get }
```

## Discussion

Discussion The value of this UUID is scoped to the current device. Each device participating in the conversation will have a different UUID for the message’s sender. By default, the senderParticipantIdentifier property is set to nil when a new message is first instantiated. It is set to the participant’s UUID as soon as the message is inserted into the conversation.

## See Also

### Message Properties

- [accessibilityLabel](messages/msmessage/accessibilitylabel.md)
- [error](messages/msmessage/error.md)
- [isPending](messages/msmessage/ispending.md)
- [layout](messages/msmessage/layout.md)
- [session](messages/msmessage/session.md)
- [shouldExpire](messages/msmessage/shouldexpire.md)
- [summaryText](messages/msmessage/summarytext.md)
- [url](messages/msmessage/url.md)
