Group
仅适用于Teamwork和WhatsApp。
Member 是一个对象,包含有关组的所有信息。 这是仅在实时聊天中可用的属性。 在实时聊天期间,每当有一些传入或传出消息需要由机器人或树处理时,此属性将添加到this对象中,该对象可以通过this.group访问。
例子:
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 |
