A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://api.slack.com/reference/functions/send_ephemeral_message below:

send_ephemeral_message Function | Slack

Send an ephemeral message (one that only the recipient can see)

Facts Schema ID

Schema.slack.functions.SendEphemeralMessage

Schema reference

slack#/functions/send_ephemeral_message

Input parameters Required parameters

The ID of the user to show the ephemeral message to

The conversation ID for the channel you are sending the message to

The textual message to send to ephemerally (previously accepted as text)

Optional parameters

The

ts

identifier of an

existing

message to

send this message to as a reply

.

Output parameters Required parameters

The channel-specific unique identifier for this message, also serves as a confirmation that the message was sent.

Usage guide

Sends an ephemeral message to a specific channel. This lets a user see what your workflow has to say without everyone in the conversation having to see it or it becoming part of the conversation's record.

Example workflow step
const sendEphemeralMessageStep = ExampleWorkflow.addStep(
  Schema.slack.functions.SendEphemeralMessage,
  {
    channel_id: "C082T4F6S1N",
    user_id: "U0J46F228L0",
    message: "Someone in this conversation is not accurately representing reality. Converse further with care.",
  },
);

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4