Stella Platform Documentation

Stella Platform Documentation

  • Docs
  • Procedures
  • Reference
  • FAQ
  • Bot API
  • API
  • Languages iconEnglish
    • 中文

›Slack

Overview

  • Documentation Guide

Get Started

  • Introduction
  • Recent Updates
  • Best Practices
  • Chatbot Template

Bot Builder

  • Workspace
  • Node
  • Attachment ID

Node Inspector

  • Tree ID & Composite ID
  • Basic Information
  • Triggers
  • Responses
  • Actions
  • Redirect
  • Member Tagging
  • Analytics
  • NLP
  • Advance

Facebook

  • Message Types
  • Button Types
  • Persistent Menu
  • Access Token
  • One-Time Notification
  • N-Time Notification (Beta)

Instagram

  • Message Types

WhatsApp

  • Overview
  • Setup Procedure
  • Message Types

Web Chat

  • Overview
  • Message Types
  • Button Types

WeChat

  • Message Types

Slack

  • Message Types

Telegram

  • Message Types

Integrations

  • Dialogflow
  • Stripe
  • LUIS
  • Custom Inbox Integration

Data Source

  • Data Source

Media Library

  • Media Library

Channels

  • Overview
  • Webhooks
  • Channel-wide Metadata
  • Business Availability
  • Facebook
  • Instagram
  • Web Chat
  • WhatsApp
  • WeChat
  • Slack (Public App)
  • Slack (Custom App)
  • Teamwork
  • Zendesk
  • Custom Platform

Analytics

  • Members
  • Dashboard
  • PSID

Settings

  • Overview
  • Locale
  • Pairing Channels
  • Role-based Access Control
  • Access Token
  • Audit Trail

Push Panel

  • Push Content
  • Audience
  • Analytics

Log

  • Log

Slack Message Types

There are various types of message content that can be sent to your users:

  • Text
  • Image
  • Audio
  • Video
  • File
  • Button
  • Attachment

Text

{
  type: "TEXT",
  text: "Hello World!",
  ephemeral: "ephemeral",
  replaceOriginal: true
}
PropertyDescriptionRequired
typeTEXTY
textStringY
ephemeralSet “in_channel” or “ephemeral”; Defaults to “in_channel”N
replaceOriginalSet "true" or "false" ; Defaults to "false"N

Image

{
  type: "IMAGE",
  url: "http://image.png",
  text: "Some title",
  ephemeral: "ephemeral",
  replaceOriginal: true
}
PropertyDescriptionRequired
typeIMAGEY
urlURL of the image fileY
textStringN
ephemeralSet “in_channel” or “ephemeral”; Defaults to “in_channel”N
replaceOriginalSet "true" or "false" ; Defaults to "false"N

Tips:

  • Image must be a valid image file format, including .jpg, .jpeg, .png and .gif
  • Maximum file size is 25MB

Audio

{
  type: "AUDIO",
  url: "http://audio.mp3",
  ephemeral: "ephemeral",
  replaceOriginal: true
}
PropertyDescriptionRequired
typeAUDIOY
urlURL of the audio fileY
ephemeralSet “in_channel” or “ephemeral”; Defaults to “in_channel”N
replaceOriginalSet "true" or "false" ; Defaults to "false"N

Tips:

  • Audio must be a valid audio file format, including .aac, .flac, .m4a, .m4p, .mp3, .wav, .wma
  • Maximum file size is 25MB

Video

{
  type: "VIDEO",
  url: "http://video.mp4",
  ephemeral: "ephemeral",
  replaceOriginal: true
}
PropertyDescriptionRequired
typeVIDEOY
urlURL of the video fileY
ephemeralSet “in_channel” or “ephemeral”; Defaults to “in_channel”N
replaceOriginalSet "true" or "false" ; Defaults to "false"N

Tips:

  • Video must be a valid video file format, including .mkv, .gif, .avi, .wmv, .rmvb, .mp4, .m4v, .mpg, .mpeg, .3gp
  • Maximum file size is 25MB

File

{
  type: "FILE",
  url: "http://file.pdf",
  ephemeral: "ephemeral",
  replaceOriginal: true
}
PropertyDescriptionRequired
typeFILEY
urlURL of the file attachmentY
ephemeralSet “in_channel” or “ephemeral”; Defaults to “in_channel”N
replaceOriginalSet "true" or "false" ; Defaults to "false"N

Tips:

  • File must be a valid file format, including .pdf
  • Maximum file size is 25MB

Button

{
  type: "BUTTON",
  text: "What can I do to help?",
  buttons: [{
    type: "postback",
    title: "some title",
    payload: "a long payload here"
  }],
  ephemeral: "ephemeral",
  replaceOriginal: true
}

Response Object

PropertyDescriptionRequired
typeBUTTONY
textStringY
buttonsArray of buttons; only "postback" can be set as button typeY
ephemeralSet “in_channel” or “ephemeral”; Defaults to “in_channel”N
replaceOriginalSet "true" or "false" ; Defaults to "false"N

buttons Object

PropertyDescriptionRequired
typepostbackY
titleStringY
payloadCustom defined payload triggersY

Attachment

Attachment is a type of secondary content that can be added under primary content to provide further information to your users.

{
  type: "ATTACHMENT",
  text: "some text",
  attachments: [Array of attachments objects],
  ephemeral: "ephemeral",
  replaceOriginal: true
}
PropertyDescriptionRequired
typeATTACHMENTY
textStringN
attachmentsArray of raw attachment JSON (Advanced implementation only)N
ephemeralSet “in_channel” or “ephemeral”; Defaults to “in_channel”N
replaceOriginalSet "true" or "false" ; Defaults to "false"N
← Message TypesMessage Types →
  • Text
  • Image
  • Audio
  • Video
  • File
  • Button
  • Attachment
Stella Platform Documentation
Docs
Get StartedBot API ReferenceAPI ReferenceStandard Procedures
Community
FAQUser ShowcaseChat with Us
Copyright © 2023 Sanuker Inc. Limited