<!--
{
  "availability" : [
    "iOS: 18.4.0 -",
    "iPadOS: 18.4.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIMessageConversationContext/MessageEntry",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UIMessageConversationEntry"
  },
  "title" : "UIMessageConversationContext.MessageEntry"
}
-->

# UIMessageConversationContext.MessageEntry

A class that represents a message in a message conversation.

```
class MessageEntry
```

## Topics

### Categorizing the entry

[`var dataKind: UIMessageConversationContext.MessageEntry.DataKind`](/documentation/UIKit/UIMessageConversationContext/MessageEntry/dataKind-swift.property)

An item that represents the kind of data the message contains.

[`enum DataKind`](/documentation/UIKit/UIMessageConversationContext/MessageEntry/DataKind-swift.enum)

A list of options that represent the kinds of data a message can contain.

[`var wasSentBySelf: Bool`](/documentation/UIKit/UIMessageConversationContext/MessageEntry/wasSentBySelf)

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

## Relationships

### Conforms To

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

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

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

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

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

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

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

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

### Inherits From

[`Entry`](/documentation/UIKit/UIConversationContext/Entry)

---

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)