<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -",
    "macCatalyst: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CarPlay",
  "identifier" : "/documentation/CarPlay/CPMessageGridItemConfiguration/init(conversationIdentifier:unread:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "CarPlay"
    ],
    "preciseIdentifier" : "c:objc(cs)CPMessageGridItemConfiguration(im)initWithConversationIdentifier:unread:"
  },
  "title" : "init(conversationIdentifier:unread:)"
}
-->

# init(conversationIdentifier:unread:)

Initialize a @c CPMessageGridItemConfiguration for use in a @c CPListTemplate.

```
init(conversationIdentifier: String, unread: Bool)
```

## Parameters

`conversationIdentifier`

A value meaningful to your app to identify this conversation.
This identifier is not directly displayed to the user; rather, when the user selects this grid item,
SiriKit will pass this identifier back to your app for your own use.

`unread`

A Boolean value indicating whether the item shows an unread indicator. The default value of this property is @c NO.

---

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)