// Admin is typing
{
"admin": {
"id": 24450,
"name": "\u041c\u0430\u043a\u0441",
"avatar": "https://files.dashly.app/avatars/1446185805093-d6o6rtiq.jpg",
"type": "admin"
},
"conversation": 6778871,
"body": "Some text"
}
// Visitor is typing
{
"user": 3181982,
"conversation": 6778871,
"body": "Some text"
}
This channel receives messages "administrator is typing" and "user is typing"
conversation
field contains ID of conversation, in which a message is being typed.
body
contains text being typed.
In case administrator is typing the message, admin
field contains Admin.
n case a visitor types the message, user
field contains this visitor’s ID.
"Visitor Х is typing ..." should be shown for 10 seconds after receiving this message.