Features and message formats
Workplace Chat is very, very similar to Messenger (except that it's grey). Please refer to Messenger's CSML documentation:

Broadcasts

Broadcasts can be sent without any limitation to any of your Workplace Chat users, with either their valid Workplace email address or ID as the user_id.

Event Metadata

A sample _metadata for an incoming event will be similar to the following object:
1
{
2
"_channel": {
3
"app_id": "10067197168686",
4
"name": "test-22032021",
5
"type": "workchat"
6
},
7
"email": "[email protected]",
8
"first_name": "John",
9
"id": "581595168271418",
10
"last_name": "Doe",
11
"link": "https://work.facebook.com/app_scoped_user_id/HASH",
12
"name": "John Doe",
13
"name_format": "{first} {last}",
14
"picture": {
15
"data": {
16
"height": 1016,
17
"is_silhouette": false,
18
"url": "https://platform-lookaside.fbsbx.com/platform/profilepic/?asid=581595189176358&height=1200&width=1200&ext=NUMBER&hash=HASH",
19
"width": 1016
20
}
21
}
22
}
Copied!
Export as PDF
Copy link