Post_Ephemeral_Request

struct

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
ArrayAny

A JSON-based array of structured (legacy) attachments.

blocks
ArrayAny

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 (none or full).

text String

Message body, or fallback text when blocks are used.

thread_ts String

Provide another message's ts value to post this message in a thread.

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.

part of the Apioo-Project