---
title: wasSentBySelf
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uimessageconversationcontext/messageentry/wassentbyself
---

# wasSentBySelf

A Boolean value that indicates whether the current user sent the message.

## Declaration

```swift
var wasSentBySelf: Bool { get set }
```

## See Also

### Categorizing the entry

- [dataKind](uikit/uimessageconversationcontext/messageentry/datakind-swift.property.md)
- [UIMessageConversationContext.MessageEntry.DataKind](uikit/uimessageconversationcontext/messageentry/datakind-swift.enum.md)
