Skip to content

Messages Object ​



id
string
REQUIRED · 

Unique identifier for the message.

body
object

Body of the message.

format
string

Format of the message body.

content
string

Content of the message body.

attachments
object[]

Attachments of the message.

id
string

Unique identifier for the attachment.

name
string

Name of the attachment.

type
string

Type of the attachment.

url
string

URL of the attachment.

author
object

Author of the message. Is a member object.

id
string

Unique identifier for the author.

name
string

Name of the author.

channel
object

Channel to which the message belongs.

id
string

Unique identifier for the channel.

name
string

Name of the channel.

type
string

Type of the channel.

parent
object

Parent entity of the message.

id
string

Unique identifier for the parent entity.

type
string

Type of the parent entity.

All possible enum values:
  • message
has_children
boolean

Whether the message has children.

created_at
string · date-time

Date and time when the message was created.

updated_at
string · date-time

Date and time when the message was last updated.

remote_data
object

Raw data returned from the remote API call.