Messages

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. 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 and scroll down for a visual example.

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](/content/site-root.html) Assembly

Properties

idstring

The unique identifier for this item.

createdAtstring

The date this item was created in RFC3339 format.

objectstring

The object type of this resource.

senderIdstring

The ID of the user that sent this message.

channelIdstring

The ID of the channel this message was sent in.

textstring

The contents of the message exactly as it was input.

isAttachmentIncludedboolean

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.

Example Message Object

{
  "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](/content/site-root.html). \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"
}