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

# Messages

> Represents a message sent by an Internal User or Client in the Messages App of your portal, inside a Message Channel.

This resource represents a message. A message is sent by an Internal User or Client in the Messages App of your portal. Every message is sent inside of a [Message Channel](/docs/api-reference/resources/message-channels). This API resource describes the metadata of the message object.

The Messages App supports basic markdown-style formatting. Review the table below to see what exactly is supported.

Note that we don't yet support sending or retrieving files attached to messages.

| Style | Input Example | Rendered Text |
| - | - | - |
| Bold | `Hi **there**` | Hi **there** |
| Italics | `Hey _friend_` | Hey *friend* |
| Strikethrough | `Hi ~~enemy~~ friend` | Hi ~~enemy~~ friend |
| Newline | `Hi\n friend` | Hi friend |
| Blockquote | `> I think therefore I am` | *"* *I think therefore I am* |
| Ordered List | `1. Apples \n1. Bananas \n 1. Oranges` | 1. Apples 2. Bananas 3. Oranges |
| Unordered List | `* Apples \n* Bananas \n* Oranges` | • Apples • Bananas • Oranges |
| Link | `[Assembly](https://assembly.com)` | [Assembly](https://assembly.com) |

## Properties

**id** `string`
The unique identifier for this item.

**createdAt** `string`
The date this item was created in RFC3339 format.

**object** `string`
The object type of this resource.

**senderId** `string`
The ID of the user that sent this message.

**channelId** `string`
The ID of the channel this message was sent in.

**text** `string`
The contents of the message exactly as it was input.

**isAttachmentIncluded** `boolean`
Indicates whether the message contains attachments. If a message has a link that is expanded as a preview in the UI, that is also considered an attachment.

```json Example Message Object theme={null}
{
  "id": "fbd5a90b-5216-4230-bcd2-0d6a746aeb65",
  "object": "message",
  "senderId": "1dbb3e36-af70-4f41-89e6-6ddf9e2c62b5",
  "createdAt": "2023-08-07T15:11:13.549092588Z",
  "updatedAt": "2023-08-07T15:11:13.549092588Z",
  "channelId": "602f5afd-2a42-47a4-a5e0-c3db0adf966a",
  "isAttachmentIncluded": true,
  "text": "**Urgent**!\n My favorite portal is [Assembly](https://assembly.com). \n> Client portals are the way \n\n Because: \n* They are clean \n* They are easy to setup \n* They are a one stop shop"
}
```


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