Group
Available only on Teamwork
and WhatsApp
.
Member is an object that contains all the information about the group. This is a property available only in live chat. Whenever there are some incoming or outgoing messages need to be processed by the bot or tree during live chat, this property will be added into the this
object, which can be accessed by this.group
.
Example
this.group.admin
// => "TEXT"
Property | Type | Description |
---|---|---|
_id | BSON | Primary key of the field |
_version | number | Version of the group |
active | boolean | Status of the group is active |
admin | string | Group admin ID |
adminExternalId | string | Group admin ID in 3rd party database |
app | string | The App's / Organizations ID |
assignment | string | _id of the assignment after the admin has been assigned to the live chat |
botId | string | Group bot ID |
createdAt | number | The timestamp of creation of this data |
externalId | string | Group ID in 3rd party database |
inlet | string | ID of the channel that initiates live chat request |
name | string | Group name |
meta | object | Allow the storage of data |
member | string | Member that requests live chat |
outlet | string | ID of the channel that receive live chat request |
type | string | Group channel |
updatedAt | number | The timestamp of the last update of this data |
valid | boolean | Status of the group is valid or not |