Method: livechat:registerGuest
DDP message
{"msg":"method","method":"livechat:registerGuest","params":[{"token":"TF5rZ7BZ9mZCSq3xN","name":"Guest Name","email":"guest@pimenta.chat","department":"3jMKjTQJxCDxwxxtx"}],"id":"5"}
Response
{
userId: 'G3DukvFBhDkDnw6uS',
visitor: {
name: 'Guest Name',
token: 'TF5rZ7BZ9mZCSq3xN',
username: 'guest-1',
visitorEmails: [{
address: 'guest@pimenta.chat'
}]
}
}