---
url: https://talkjs.com/docs/UI_Components/React_Native/Object_Types/ConversationData/
title: "ConversationData | React Native | TalkJS Docs"
---

For AI agents: Find a documentation index at https://talkjs.com/llms.txt (full content at https://talkjs.com/llms-full.txt). Get a markdown version of any page by appending .md to its URL path.

# ConversationData

Represent conversation data and participant access.

This object represents data associated with a conversation.

The `subject`, `photoUrl`, `custom` and `welcomeMessages` properties can be set through [`ConversationBuilder.setAttributes`](https://talkjs.com/docs/UI_Components/React_Native/Object_Types/ConversationBuilder/#setattributes).

## Example

```typescript
{
    "id": "alice_self",
    "custom": {},
    "subject": null,
    "welcomeMessages": null,
    "photoUrl": null,
    "participants": {
      "650d5ed0cae49": {
        "access": "ReadWrite"
      }
    }
}
```

## Properties

#### Properties

| Name | Type | Description |
| --- | --- | --- |
| **id** | `string` | The ID of the conversation |
| **custom** | [`CustomData`](https://talkjs.com/docs/UI_Components/React_Native/Object_Types/CustomData/) | Contains custom metadata for the conversation |
| **subject** | `string` \| `null` | Contains the conversation subject |
| **photoUrl** | `string` \| `null` | Contains the URL of a photo |
| **welcomeMessages** | `string[]` \| `null` | One or more welcome messages displayed to the user as `SystemMessage` |
| **participants** | `Record<string, { access: "Read" \| "ReadWrite" }>` | A map of the access rights for the participants in this conversation.  <br>  <br>This property is not guaranteed to be complete.  <br>It always includes the current user, but does not always list other participants. |

## Used by

-   [`getCurrentConversation`](https://talkjs.com/docs/UI_Components/React_Native/Components/Chatbox/#getcurrentconversation)
-   [`TranslationToggledEvent`](https://talkjs.com/docs/UI_Components/React_Native/Components/Chatbox/#translationtoggledevent)
-   [`SendMessageEvent`](https://talkjs.com/docs/UI_Components/React_Native/Components/Chatbox/#sendmessageevent)
-   [`LeaveConversationEvent`](https://talkjs.com/docs/UI_Components/React_Native/Components/Chatbox/#leaveconversationevent)
-   [`ConversationActionEvent`](https://talkjs.com/docs/UI_Components/React_Native/Components/Chatbox/#conversationactionevent)
-   [`SelectConversationEvent`](https://talkjs.com/docs/UI_Components/React_Native/Components/ConversationList/#selectconversationevent)
-   [`UnreadConversation`](https://talkjs.com/docs/UI_Components/React_Native/Components/Session/#unreadconversation)
