Stella Platform Documentation

Stella Platform Documentation

  • 文档
  • 标准设置程序
  • 参考
  • 常见问题
  • Bot API
  • 接口
  • Languages icon中文
    • English

›Instagram

概览

  • 文档指南

开始使用

  • 介绍
  • 更新历程
  • 最佳实践
  • 聊天机器人范本

聊天机器人制作平台

  • 工作区域
  • 对话点
  • 附件ID

对话点资讯区

  • Tree ID和Composite ID
  • 基本资讯
  • 触发点
  • 响应
  • 执行动作
  • 重定向
  • 会员标记
  • 数据分析
  • 自然语言处理
  • 进阶

脸书

  • 消息类型
  • 按钮类型
  • 固定菜单
  • 访问令牌
  • 一次性通知
  • 多次通知 (测试版)

Instagram

  • 消息类型

WhatsApp

  • 概览
  • 设定步骤
  • 消息类型

网站聊天室插件

  • 概览
  • 消息类型
  • 按钮类型

微信

  • 消息类型

Slack

  • 消息类型

Telegram

  • 消息类型

集成

  • Dialogflow
  • Stripe
  • LUIS
  • 自定义收件箱集成

数据库

  • 数据库

媒体库

  • 媒体库

频道

  • 概览
  • 网络钩子
  • 频道元数据
  • 營業時間
  • 脸书
  • Instagram
  • 网站聊天室插件
  • WhatsApp
  • 微信
  • Slack(公共应用程式)
  • Slack(自定义应用程式)
  • Teamwork
  • Zendesk
  • 自定义平台

数据分析

  • 会员
  • 分析报表版
  • PSID

设定

  • 概览
  • 语言
  • 配对频道
  • 设置访问控制
  • 访问令牌
  • 追踪设置记录

聊天机器人推送平台

  • 推送内容
  • 目标受众
  • 数据分析

Log

  • 后台记录

Instagram消息类型

有各种类型的信息内容可以发送给你的用户。

  • 文本
  • 图片
  • 贴纸
  • 快速回复
  • 反应
  • 取消反应
  • 媒体分享
  • 破冰问题

文本

{
  "type": "TEXT",
  "text": "Hello World!"
}
PropertyDescriptionRequired
typeTEXTY
textString; Limited to 2,000 charactersY

图片

{
  "type": "IMAGE",
  "url": "http://image.png",
  "attachment_id": "SomeStringID"
}
PropertyDescriptionRequired
typeIMAGEY
urlURL of the image fileY
attachment_idString; ID of your uploaded imageN

提示。

  • 图像必须是有效的图像文件格式,包括 .jpg、.png、.ico和.bmp
  • 最大文件大小为8MB

贴纸

{
  "type": "STICKER",
  "sticker": "like_heart"
}
PropertyDescriptionRequired
typeSTICKERY
stickerlike_heartY

快速回复

快速回复目前只支持在 Instagram 的应用程式,并未支持于网页版上显示。

{
  "type": "TEXT",
  "quickReplies": [
    {
      "id": "6fTdrR8Y",
      "content_type": "text",
      "title": "test",
      "payload": "payload1"
    }
  ],
  "text": "quick replies test"
}

Response Object

PropertyDescriptionRequired
typeTEXTY
textString; Limited to 2,000 charactersY
quickRepliesArray of quick reply buttons; Maximum of 13 buttonsY

quickReplies Object

PropertyDescriptionRequired
idAuto-generated by StellaY
content_typeSet "text"Y
titleString; caption of button; Limited to 20 charactersOnly if content_type is text
payloadCustom defined payload trigger; Limited to 1,000 charactersOnly if content_type is text

反应

return new Promise((resolve) => {
  resolve({
    "type": "REACT",
    "message_id": this.messageEvent.messageId,
    "reaction": "love"
  })
})
PropertyDescriptionRequired
typeREACTY
message_idString; ID of the messageY
reactioinloveY

取消反应

{
  "type": "UNREACT",
  "message_id": "aWdfZAG1faXRlbToxOklHTWVzc2FnZAUlEOjE3ODQxNDQ5MDM4NzIzNTgzOjM0MDI4MjM2Njg0MTcxMDMwMDk0OTEyODE4NjAzMzE4NDEyNjI3MzozMDAxMzAxODAxNTM4MTQ3NjkxMTEwMzkyOTg5NjQwMjk0NAZDZD"
}
PropertyDescriptionRequired
typeUNREACTY
message_idString; ID of the messageY

媒体分享

{
  "type": "MEDIA_SHARE",
  "attachment_id": "17906680357995984"
}
PropertyDescriptionRequired
typeMEDIA_SHAREY
attachment_idString; ID of postY

破冰问题

破冰问题目前只支持在 Instagram 的应用程式,并未支持于网页版上显示。

{
  "ice_breakers": [
    {
      "question": "Talk to me",
      "payload": "TALK"
    },
    {
      "question": "Ask a question",
      "payload": "ASK"
    }
  ]
}
PropertyDescriptionRequired
questionTEXTY
payloadStringY
← 多次通知 (测试版)概览 →
  • 文本
  • 图片
  • 贴纸
  • 快速回复
  • 反应
  • 取消反应
  • 媒体分享
  • 破冰问题
Stella Platform Documentation
Docs
Get StartedBot API ReferenceAPI ReferenceStandard Procedures
Community
FAQUser ShowcaseChat with Us
Copyright © 2023 Sanuker Inc. Limited