> ## 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.

# CreateDirectMessageInput

> Autogenerated input type of CreateDirectMessage



**Kind**: `input`

## Fields

**`assetIds`**: `[ID!]`

IDs of previously uploaded assets (images, files) to attach to the message

---

**`clientMutationId`**: `String`

A unique identifier for the client performing the mutation.

---

**`conversationId`**: `ID!` (required)

GlobalID of the direct message or thread to post to. With replyToId, the
GlobalID of the conversation containing the message being replied to.

---

**`embeddedLinkId`**: `ID`

ID of an embedded link (link preview) to attach to the message

---

**`replyToId`**: `ID`

ID of a message in the conversation to reply to — resource ID or GlobalID.
Finds or creates the thread rooted at that message and posts there. Omit to
post to the conversation itself.

---

**`text`**: `String!` (required)

Message text (HTML is sanitized server-side)



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