---
schema_version: "1"
id: 169a4021d4698e62b86d84994aea3d896536e199e20e97406a1883b4d90dc076
title: InAppMessageDetails
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/marketing-cloud-mobilepush/engagement_sdk/references/ios-sdk-v11/sfmc-sdk/protocols/inappmessagedetails.md
canonical_url: https://developer.salesforce.com/docs/marketing/mobile-unified-sdk/references/engagement-mobile-sdk-reference/inappmessagedetails.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: c57b7fb7bb0572371fdf505c15acbc33b5a57a4c8ee1ccd8daa119444ed618d2
products:
  - Salesforce Engagement SDK
---
# InAppMessageDetails

`Protocol`

## Declaration

```swift
@objc(SFMCSdkInAppMessageDetails)
public protocol InAppMessageDetails

var id: String { get }

var type: InAppMessageType { get }

var layoutOrder: InAppMessageLayoutOrder { get }

var buttonConfiguration: InAppMessageButtonConfiguration { get }

var title: InAppMessageText? { get }

var body: InAppMessageText? { get }

var tertiaryText: InAppMessageTertiaryText? { get }

var media: InAppMessageMedia? { get }

var buttons: [InAppMessageButton]? { get }

var closeButton: InAppMessageCloseButton? { get }

var backgroundColor: String? { get }

var windowColor: String? { get }

var cornerRadius: InAppMessageSize { get }

var shadow: InAppMessageShadow? { get }

var additionalMargin: InAppMessageSpacing? { get }

var border: InAppMessageBorder? { get }

var animation: InAppMessageAnimation? { get }

var source: String? { get }

var displayCount: Int { get }

var displayLimit: Int { get }

var displayLimitOverride: Bool { get }

var startDateUtc: Date? { get }

var endDateUtc: Date? { get }

var modifiedDateUtc: Date? { get }

var displayDuration: Int { get }

var messageDelaySec: Int { get }

var priority: Int { get }

var displaySuppressionAction: [String]? { get }
```

## Cases

### `id`

```swift
var id: String { get }
```

---

### `type`

```swift
var type: InAppMessageType { get }
```

---

### `layoutOrder`

```swift
var layoutOrder: InAppMessageLayoutOrder { get }
```

---

### `buttonConfiguration`

```swift
var buttonConfiguration: InAppMessageButtonConfiguration { get }
```

---

### `title`

```swift
var title: InAppMessageText? { get }
```

---

### `body`

```swift
var body: InAppMessageText? { get }
```

---

### `tertiaryText`

```swift
var tertiaryText: InAppMessageTertiaryText? { get }
```

---

### `media`

```swift
var media: InAppMessageMedia? { get }
```

---

### `buttons`

```swift
var buttons: [InAppMessageButton]? { get }
```

---

### `closeButton`

```swift
var closeButton: InAppMessageCloseButton? { get }
```

---

### `backgroundColor`

```swift
var backgroundColor: String? { get }
```

---

### `windowColor`

```swift
var windowColor: String? { get }
```

---

### `cornerRadius`

```swift
var cornerRadius: InAppMessageSize { get }
```

---

### `shadow`

```swift
var shadow: InAppMessageShadow? { get }
```

---

### `additionalMargin`

```swift
var additionalMargin: InAppMessageSpacing? { get }
```

---

### `border`

```swift
var border: InAppMessageBorder? { get }
```

---

### `animation`

```swift
var animation: InAppMessageAnimation? { get }
```

---

### `source`

The SDK module that originated this in-app message. See ModuleName for possible values.

```swift
var source: String? { get }
```

---

### `displayCount`

```swift
var displayCount: Int { get }
```

---

### `displayLimit`

```swift
var displayLimit: Int { get }
```

---

### `displayLimitOverride`

```swift
var displayLimitOverride: Bool { get }
```

---

### `startDateUtc`

```swift
var startDateUtc: Date? { get }
```

---

### `endDateUtc`

```swift
var endDateUtc: Date? { get }
```

---

### `modifiedDateUtc`

```swift
var modifiedDateUtc: Date? { get }
```

---

### `displayDuration`

```swift
var displayDuration: Int { get }
```

---

### `messageDelaySec`

```swift
var messageDelaySec: Int { get }
```

---

### `priority`

```swift
var priority: Int { get }
```

---

### `displaySuppressionAction`

```swift
var displaySuppressionAction: [String]? { get }
```

---
