Slack

SLACKBOT_SEND_EPHEMERAL_MESSAGE

Sends an ephemeral message to a user in a channel.

Remote slackbot

Other tools also called SLACKBOT_SEND_EPHEMERAL_MESSAGE? See providers with this name

Input Schema


            {
  "type": "object",
  "properties": {
    "text": {
      "type": "string",
      "title": "Text",
      "default": null,
      "examples": [
        "Hello world"
      ],
      "nullable": true,
      "description": "How this field works and whether it is required depends on other fields you use in your API call. See below for more detail."
    },
    "user": {
      "type": "string",
      "title": "User",
      "examples": [
        "U0BPQUNTA"
      ],
      "description": "User ID of the user to send the ephemeral message to."
    },
    "parse": {
      "type": "string",
      "title": "Parse",
      "default": null,
      "examples": [
        "full"
      ],
      "nullable": true,
      "description": "Change how messages are treated. Defaults to none. See below."
    },
    "blocks": {
      "type": "string",
      "title": "Blocks",
      "default": null,
      "examples": [
        "[{\"type\": \"section\", \"text\": {\"type\": \"plain_text\", \"text\": \"Hello world\"}}]"
      ],
      "nullable": true,
      "description": "A JSON-based array of structured blocks, presented as a URL-encoded string."
    },
    "as_user": {
      "type": "boolean",
      "title": "As User",
      "default": null,
      "examples": [
        true
      ],
      "nullable": true,
      "description": "Pass true to post the message as the authed user, instead of as a bot. Defaults to false. See authorship below."
    },
    "channel": {
      "type": "string",
      "title": "Channel",
      "examples": [
        "C1234567890"
      ],
      "description": "Channel, private group, or DM channel to send message to. Can be an encoded ID, or a name."
    },
    "icon_url": {
      "type": "string",
      "title": "Icon Url",
      "default": null,
      "examples": [
        "http://lorempixel.com/48/48"
      ],
      "nullable": true,
      "description": "URL to an image to use as the icon for this message. Must be used in conjunction with as_user set to false, otherwise ignored. See authorship below."
    },
    "username": {
      "type": "string",
      "title": "Username",
      "default": null,
      "examples": [
        "My Bot"
      ],
      "nullable": true,
      "description": "Set your bot's user name. Must be used in conjunction with as_user set to false, otherwise ignored. See authorship below."
    },
    "thread_ts": {
      "type": "string",
      "title": "Thread Ts",
      "default": null,
      "examples": [
        "1234567890.123456"
      ],
      "nullable": true,
      "description": "Provide another message's ts value to make this message a reply. Avoid using a reply's ts value; use its parent instead."
    },
    "icon_emoji": {
      "type": "string",
      "title": "Icon Emoji",
      "default": null,
      "examples": [
        ":chart_with_upwards_trend:"
      ],
      "nullable": true,
      "description": "Emoji to use as the icon for this message. Overrides icon_url. Must be used in conjunction with as_user set to false, otherwise ignored. See authorship below."
    },
    "link_names": {
      "type": "boolean",
      "title": "Link Names",
      "default": null,
      "examples": [
        true
      ],
      "nullable": true,
      "description": "Find and link channel names and usernames."
    },
    "attachments": {
      "type": "string",
      "title": "Attachments",
      "default": null,
      "examples": [
        "[{\"pretext\": \"pre-hello\", \"text\": \"text-world\"}]"
      ],
      "nullable": true,
      "description": "A JSON-based array of structured attachments, presented as a URL-encoded string."
    }
  }
}
          

Provider

Slack →