> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mightynetworks.com/llms.txt
> Use this file to discover all available pages before exploring further.

# PrivateMessage

> A message within a private direct-message conversation or thread

**Required scopes:** `read:chats`, `write:chats` (any one)



**Kind**: `object`

## Implements

- `DatabaseRecord`
- `Message`
- `Node`
- `Reactable`

## Fields

**`actorType`**: `ChatActorType!`

Who authored the message

---

**`artifact`**: `Artifact`

Attached artifact (e.g. a Cohost-generated HTML page), when present

---

**`assets`**: `[Asset!]`

File attachments (images, documents, audio, video)

---

**`conversation`**: `PrivateConversation`

The conversation this message belongs to

---

**`createdAt`**: `ISO8601DateTime!`

---

**`embeddedLink`**: `EmbeddedLink`

Link-preview metadata when the message contains a link

---

**`id`**: `ID!`

ID of the object.

---

**`lastReplyAt`**: `ISO8601DateTime`

When the most recent reply was sent, or null when the message has no replies

---

**`member`**: `Member`

The member who sent the message; null when the author no longer resolves

---

**`reactions`**: `[ReactionGroup!]!`

Emoji reaction counts grouped by base emoji (skin-tone modifiers are stripped server-side).

---

**`replyCount`**: `Int!`

Number of replies in the thread rooted at this message

---

**`replyTo`**: `PrivateMessage`

Parent message (null for root messages)

---

**`resourceId`**: `ID!`

Resource ID for this object, for interop with the Admin API.

---

**`textHtml`**: `String`

HTML content; internal classes and attributes are stripped on external API surfaces

---

**`textText`**: `String`

Plain text content with HTML stripped

---

**`threadTitle`**: `String`

Title of the thread rooted at this message, or null when the message has no thread

---

**`updatedAt`**: `ISO8601DateTime!`

---

**`user`**: `Member`

Deprecated alias for member.

> Deprecated: Use member.



This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.