Stella Platform Documentation

Stella Platform Documentation

  • Docs
  • API
  • FAQ
  • Languages iconEnglish
    • 中文

›Context Reference

Get Started

  • Introduction

Context Reference

  • Message Event
  • Member
  • Channel
  • Integrations
  • Agenda Meta
  • Group
  • Methods

REST API

  • Introduction and Prerequisite
  • Errors
  • Meta Object
  • API Methods

Member

Member is an object that exists in our database, which contains the information about the chat bot member, which can be accessed by this.member.

Example

this.member.firstName
// => "TEXT"
PropertyTypeDescription
_idBSONPrimary key of the field
appstringThe App's / Organizations ID
adminstringOptional Admin ID. Only available in live chat (outlet channel)
botIdstring(Facebook) Page ID
(Whatsapp) Business Account Phone Number
botMetaobjectAllow the temporary storage of Data
channelstringChannel's ID
createdAtnumberThe timestamp of creation of this data
emailstringOptional Member's email
etagstringThe timestamp that is used to match the data version
externalIdstringMember's ID in 3rd party database
firstNamestringOptional Member's first name
fbIdstringOptional (Facebook only) Members' Facebook ID
genderstringOptional (Facebook only) Member's gender
groupstringOptional (Whatsapp only) Member's group ID
lastNamestringOptional Member's last name
metaobjectAllow the storage of data
platformstringChannel that the member is in
profileobjectMember's personal information
profilePicstringOptional URL of a member's profile picture
profilePicStringstringOptional A string of member's profile picture
tagsarray<string>The labels that classify the members
updatedAtnumberThe timestamp of the last update of this data

botMeta object

PropertyTypeDescription
liveChatbooleanStatus of the live chat
nodeCompositeIdstringOptional Location of the member in the bot flow
subscribedbooleanStatus of the member is subscribed to push notification
tempDataobjectOptional Allow the temporary storage of Data
treestringOptional Tree that the member is located at

Facebook profile object

First name, last name, profile picture, locale, gender, and timezone are the fields that we get the user profile from Facebook. Please see the Facebook documentation for further reference.

Slack profile object

Please see the Slack documentation for further reference.

Teamwork profile object

PropertyTypeDescription
displayNamestringMember's full name
firstNamestringOptional Member's first name
lastNamestringOptional Member's last name
profilePicstringOptional URL of member's profile picture
tbIdnumberTeamwork bot's ID
usernamestringMember's email

Wechat profile object

Please see the Wechat documentation for further reference.

Whatsapp profile object

Coming soon...

← Message EventChannel →
  • Facebook profile object
  • Slack profile object
  • Teamwork profile object
  • Wechat profile object
  • Whatsapp profile object
Stella Platform Documentation
Docs
Get StartedBest PracticesAPI Reference
Community
FAQUser ShowcaseChat with Us
Copyright © 2020 Sanuker Inc. Limited