Skip to main content
{
	"content": "Hey, are you available for a **quick call**?",
	"created_at": "2023-12-01T05:00:00.401Z",
	"id": "<string>",
	"is_edited": true,
	"is_pinned": true,
	"mentions": ["<string>"],
	"mentions_everyone": true,
	"message_type": "regular",
	"poll": {
		"options": [
			{
				"id": "<string>",
				"text": "<string>"
			}
		]
	},
	"poll_votes": [
		{
			"count": 42,
			"option_id": "<string>"
		}
	],
	"reaction_counts": [
		{
			"count": 42,
			"emoji": "<string>"
		}
	],
	"replying_to_message_id": "<string>",
	"updated_at": "2023-12-01T05:00:00.401Z",
	"user": {
		"id": "user_xxxxxxxxxxxxx",
		"name": "John Doe",
		"username": "johndoe42"
	},
	"view_count": 42
}
content
string | null
required
The message content formatted as Markdown. Null if the message has no text content.Example: Hey, are you available for a **quick call**?
created_at
string<date-time>
required
The timestamp when this message was originally created.Example: 2023-12-01T05:00:00.401Z
id
string
required
Represents a unique identifier that is Base64 obfuscated. It is often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as "VXNlci0xMA==") or integer (such as 4) input value will be accepted as an ID.
is_edited
boolean
required
Whether the message content has been edited after it was originally sent.
is_pinned
boolean
required
Whether this message is pinned to the top of the channel for easy access.
mentions
array<string>
required
A list of user IDs that are explicitly mentioned in this message.
mentions_everyone
boolean
required
Whether the message includes an @everyone mention that notifies all channel members.
message_type
DmsPostTypes
required
The classification of this message: regular, system, or automated.Available options: regular, system, automated
poll
object | null
required
A poll attached to this message. Null if the message does not contain a poll.
poll_votes
array<object>
required
Aggregated reaction counts on this message, filtered to a specific reaction type.
reaction_counts
array<object>
required
Aggregated reaction counts on this message, filtered to a specific reaction type.
replying_to_message_id
string | null
required
The unique identifier of the message this post is replying to. Null if this is not a reply.
updated_at
string<date-time>
required
The timestamp when this message was last modified.Example: 2023-12-01T05:00:00.401Z
user
object
required
The user who authored this message.
view_count
integer | null
required
The number of unique views this message has received. Null if view tracking is not enabled for this channel.Example: 42