Request body for chat.postEphemeral. One of text, blocks, attachments or markdown_text is required.
| Property | Type | Description |
|---|---|---|
| as_user | Boolean |
(Legacy) Pass true to post the message as the authed user. |
| attachments |
A JSON-based array of structured (legacy) attachments. |
|
| blocks |
A JSON-based array of structured Block Kit blocks. |
|
| channel | String |
Required. Channel, private group, or IM channel to send the message to. |
| icon_emoji | String |
Emoji to use as the icon for this message. |
| icon_url | String |
URL to an image to use as the icon for this message. |
| link_names | Boolean |
Find and link channel names and usernames. |
| markdown_text | String |
Message text formatted in markdown (max 12,000 characters). |
| parse | String |
Change how messages are treated ( |
| text | String |
Message body, or fallback text when |
| thread_ts | String |
Provide another message's |
| user | String |
Required. ID of the user who will receive the ephemeral message. The user must be in the channel. |
| username | String |
Set your bot's user name. |