chat_message_new
Example
{
"id": "demo5678-9101-1121-3141-516171819203",
"type": "chat:message:new",
"company": "demo_company_12345",
"time": 1719844426953,
"integrationId": "demo_integration_06",
"data": {
"channel": {
"channelId": "demo_channel_006",
"channelType": "group",
"memberCount": 3,
"subject": "Demo New Subject",
"description": "This is a demo updated description.",
"access": "private",
"company": "demo_company_12345",
"service": "demo_service",
"serviceTitle": "Demo Service Title",
"broadcast": false,
"external": true,
"createdAt": "2024-07-01T14:06:43.386258Z",
"updatedAt": "2024-07-01T14:27:33.375099Z"
},
"members": [
{
"id": "demo_member_01",
"createdAt": "2024-07-01T14:06:43.389522Z",
"role": "member"
},
{
"id": "demo_member_02",
"createdAt": "2024-07-01T14:06:43.389522Z",
"role": "owner"
},
{
"id": "demo_member_03",
"createdAt": "2024-07-01T14:29:41.919174Z",
"role": "member"
}
],
"users": [
{
"id": "demo_user_01",
"name": "John Doe",
"email": "john.doe@example.com",
"picture": "https://example.com/avatar1.png",
"company": "demo_company_12345",
"bot": false,
"pbxExtension": "1001",
"pbxSerial": "demo_serial_001",
"pbxUserId": "user_001",
"createdAt": "2022-12-27T22:58:32.370401Z",
"updatedAt": "2022-12-27T22:58:32.370401Z"
},
{
"id": "demo_user_02",
"name": "Alice Johnson",
"email": "alice.johnson@example.com",
"locale": "en",
"timeZone": "Europe/Berlin",
"company": "demo_company_12345",
"bot": false,
"pbxDomain": "example.com",
"pbxPort": "443",
"pbxExtension": "1003",
"pbxSerial": "demo_serial_003",
"pbxUserId": "user_003",
"createdAt": "2022-05-23T12:38:10.574336Z",
"updatedAt": "2024-06-29T10:09:39.101619Z"
},
{
"id": "demo_user_03",
"email": "john.travolta@example.com",
"bot": false,
"createdAt": "2022-12-27T19:00:22.677386Z",
"updatedAt": "2022-12-27T19:00:22.677386Z"
}
],
"message": {
"messageId": "demo_message_001",
"channelId": "demo_channel_006",
"type": "regular",
"text": "Hi",
"attachments": [],
"mentions": [],
"giphy": null,
"latestReactions": [],
"reactionCounts": {},
"createdAt": "2024-07-01T14:33:46.794077Z",
"user": {
"id": "demo_user_02",
"name": "Alice Johnson",
"email": "alice.johnson@example.com",
"locale": "en",
"timeZone": "Europe/Berlin",
"company": "demo_company_12345",
"bot": false,
"pbxDomain": "example.com",
"pbxPort": "443",
"pbxExtension": "1003",
"pbxSerial": "demo_serial_003",
"pbxUserId": "user_003",
"createdAt": "2022-05-23T12:38:10.574336Z",
"updatedAt": "2024-06-29T10:09:39.101619Z"
},
"quote": null,
"forward": null,
"sms": false,
"silent": false,
"event": null
}
}
}