← Chat operations · All schemas
Sends a message to a channel — response body — message
| Field | Type | Presence | Description and constraints |
|---|
$ | object | Root | |
attachments | array | Optional | |
attachments[] | object | Each item | |
attachments[].fallback | string | Optional | |
attachments[].id | JSON | Optional | |
attachments[].id (anyOf 1) | integer | Alternative | |
attachments[].id (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$ |
attachments[].image_bytes | JSON | Optional | |
attachments[].image_bytes (anyOf 1) | integer | Alternative | |
attachments[].image_bytes (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$ |
attachments[].image_height | JSON | Optional | |
attachments[].image_height (anyOf 1) | integer | Alternative | |
attachments[].image_height (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$ |
attachments[].image_url | string | Optional | |
attachments[].image_width | JSON | Optional | |
attachments[].image_width (anyOf 1) | integer | Alternative | |
attachments[].image_width (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$ |
blocks | Model | Optional | Expand Sends a message to a channel — response body — message blocks |
bot_id | JSON | Optional | |
bot_id (anyOf 1) | string | Alternative | |
bot_id (anyOf 2) | null | Alternative | |
bot_profile | Model | Optional | Expand Sends a message to a channel — response body — message bot profile |
client_msg_id | string | Optional | |
comment | Model | Optional | Expand Sends a message to a channel — response body — message comment |
display_as_bot | boolean | Optional | |
file | Model | Optional | Expand Gets information about a file — response body — file |
files | array | Optional | |
files[] | Model | Each item | Expand Gets information about a file — response body — file |
icons | object | Optional | |
icons.emoji | string | Optional | |
icons.image_64 | string | Optional | Format: uri |
inviter | string | Optional | |
is_delayed_message | boolean | Optional | |
is_intro | boolean | Optional | |
is_starred | boolean | Optional | |
last_read | string | Optional | |
latest_reply | string | Optional | |
name | string | Optional | |
old_name | string | Optional | |
parent_user_id | string | Optional | |
permalink | string | Optional | Format: uri |
pinned_to | array | Optional | |
pinned_to[] | string | Each item | |
purpose | string | Optional | |
reactions | array | Optional | |
reactions[] | Model | Each item | Expand Gets information about a file — response body — file reactions item |
reply_count | JSON | Optional | |
reply_count (anyOf 1) | integer | Alternative | |
reply_count (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$ |
reply_users | array | Optional | |
reply_users[] | string | Each item | |
reply_users_count | JSON | Optional | |
reply_users_count (anyOf 1) | integer | Alternative | |
reply_users_count (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$ |
source_team | string | Optional | |
subscribed | boolean | Optional | |
subtype | string | Optional | |
team | string | Optional | |
text | string | Optional | |
thread_ts | string | Optional | |
topic | string | Optional | |
ts | string | Optional | |
type | string | Optional | |
unread_count | JSON | Optional | |
unread_count (anyOf 1) | integer | Alternative | |
unread_count (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$ |
upload | boolean | Optional | |
user | string | Optional | |
user_profile | Model | Optional | Expand Sends a message to a channel — response body — message user profile |
user_team | string | Optional | |
username | string | Optional | |
Referenced models: Sends a message to a channel — response body — message blocks, Sends a message to a channel — response body — message bot profile, Sends a message to a channel — response body — message comment, Gets information about a file — response body — file, Gets information about a file — response body — file reactions item, Sends a message to a channel — response body — message user profile
Sends a message to a channel — response body — message blocks
| Field | Type | Presence | Description and constraints |
|---|
$ | array | Root | This is a very loose definition, in the future, we'll populate this with deeper schema in this definition namespace. |
$[] | object | Each item | Additional keys: allowed |
$[].type | string | Optional | |
Sends a message to a channel — response body — message bot profile
| Field | Type | Presence | Description and constraints |
|---|
$ | object | Root | |
app_id | string | Optional | |
deleted | boolean | Optional | |
icons | object | Optional | |
icons.image_36 | string | Optional | Format: uri |
icons.image_48 | string | Optional | Format: uri |
icons.image_72 | string | Optional | Format: uri |
id | string | Optional | |
name | string | Optional | |
team_id | string | Optional | |
updated | JSON | Optional | |
updated (anyOf 1) | integer | Alternative | |
updated (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$ |
Sends a message to a channel — response body — message comment
| Field | Type | Presence | Description and constraints |
|---|
$ | object | Root | |
comment | string | Optional | |
created | JSON | Optional | |
created (anyOf 1) | integer | Alternative | |
created (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$ |
id | string | Optional | |
is_intro | boolean | Optional | |
is_starred | boolean | Optional | |
num_stars | JSON | Optional | |
num_stars (anyOf 1) | integer | Alternative | |
num_stars (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$ |
pinned_info | Model | Optional | Expand Gets information about a file — response body — file pinned info |
pinned_to | array | Optional | |
pinned_to[] | string | Each item | |
reactions | array | Optional | |
reactions[] | Model | Each item | Expand Gets information about a file — response body — file reactions item |
timestamp | JSON | Optional | |
timestamp (anyOf 1) | integer | Alternative | |
timestamp (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$ |
user | string | Optional | |
Referenced models: Gets information about a file — response body — file pinned info, Gets information about a file — response body — file reactions item
Sends a message to a channel — response body — message user profile
| Field | Type | Presence | Description and constraints |
|---|
$ | object | Root | |
avatar_hash | string | Optional | |
display_name | string | Optional | |
display_name_normalized | string | Optional | |
first_name | JSON | Optional | |
first_name (anyOf 1) | string | Alternative | |
first_name (anyOf 2) | null | Alternative | |
image_72 | string | Optional | Format: uri |
is_restricted | boolean | Optional | |
is_ultra_restricted | boolean | Optional | |
name | string | Optional | |
real_name | string | Optional | |
real_name_normalized | string | Optional | |
team | string | Optional | |