Stella Platform Documentation

Stella Platform Documentation

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

›Telegram

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

Telegram Message Types

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

  • Text
  • Image
  • Audio
  • Video
  • File
  • Animation
  • Button
  • Keyboards

Text

{
  type: "TEXT",
  text: "Hello World!",
}
PropertyDescriptionRequired
typeTEXTY
textStringY

Image

{
  type: "IMAGE",
  url: "http://image.png",
  text: "Some title",
}
PropertyDescriptionRequired
typeIMAGEY
urlURL of the image fileY
textStringN

Tips:

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

Audio

{
  type: "AUDIO",
  url: "http://audio.mp3",
}
PropertyDescriptionRequired
typeAUDIOY
urlURL of the audio fileY

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",
  text: "Some title",
}
PropertyDescriptionRequired
typeVIDEOY
urlURL of the video fileY
textStringN

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",
}
PropertyDescriptionRequired
typeFILEY
urlURL of the file attachmentY

Tips:

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

Animation

Animation is image file in GIF.

{
  type: "ANIMATION",
  url: "https://img.gif",
  text: "Some title",
  attachmentId: "SomeStringID"
}
PropertyDescriptionRequired
typeANIMATIONY
urlURL of the image fileY
textStringN
attachmentIdString; ID of your uploaded imageN

Tips:

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

Button

{
  type: "Any Message Type",
  url: "https://img.png",
  text: "What can I do to help?",
  buttons: [{
    type: "postback",
    title: "some title",
    payload: "a long payload here"
  }],
}

Response Object

PropertyDescriptionRequired
typeAny message type specified aboveY
urlURL of the message content if message type is IMAGE, AUDIO, VIDEO, FILE or ANIMATIONN
textString; applicable only if message type is TEXTN
buttonsArray of buttons; only "postback" can be set as button typeY

buttons Object

PropertyDescriptionRequired
typepostbackY
titleStringY
payloadCustom defined payload triggersY

Keyboards

{
  type: "Any Message Type",
  url: "https://img.png",
  text: "What can I do to help?",
  keyboards: [
    [
      { text: "Keyboard 1" },
      { text: "Keyboard 2" },
      { text: "Keyboard 3" }
    ]
  ]
}

Response Object

PropertyDescriptionRequired
typeAny message type specified aboveY
urlURL of the message content if message type is IMAGE, AUDIO, VIDEO, FILE or ANIMATIONN
textString; applicable only if message type is TEXTN
keyboardsArray of keyboard buttons; only set keywords as triggersY

keyboards Object

PropertyDescriptionRequired
textString; title of keyboard buttonsY
← Message TypesDialogflow →
  • Text
  • Image
  • Audio
  • Video
  • File
  • Animation
  • Button
  • Keyboards
Stella Platform Documentation
Docs
Get StartedBot API ReferenceAPI ReferenceStandard Procedures
Community
FAQUser ShowcaseChat with Us
Copyright © 2023 Sanuker Inc. Limited