{
"id": 6779974,
"created": 1449993141,
"user": {
...
},
"read": false,
"replied": false,
"clicked": false,
"unsubscribed": false,
"closed": false,
"message": 6592,
"type": "email",
"reply_type": "text",
"part_last": {
"id": 7493777,
"created": 1449993141,
"first": true,
"conversation": 6779974,
"body": "<p>Some message</p>",
"read": false,
"type": "reply_admin",
"sent_via": "message_auto",
"from": {
"avatar": "https:\/\/files.dashly.app\/avatars\/1418112360347-00000100.jpg",
"type": "default_admin",
"name": "Dmitriy"
}
},
"parts_count": 1,
"assignee": null,
"unread_parts_count": 1,
"last_admin": {
"avatar": "https:\/\/files.dashly.app\/avatars\/1418112360347-00000100.jpg",
"type": "default_admin",
"name": "Dmitriy"
},
"last_update": 1449993141,
"tags": []
}
This channel receives messages, when a user starts new conversations. Message contains Conversation object.
New conversation can be initiated by a visitor to the site (user) or by administrator (manual or auto-message).
In case the conversation is initiated by administrator (field message != null
),
it will appear in the dialogs section only after the visitor replies it.
In order to get notifications only on user-initiated conversations, subscribe to separate channel conversation_started_user.{app_id}.