i m using a chat service in my page and my requirement is to create a canned messages for that chat service.
Thanks
i m using a chat service in my page and my requirement is to create a canned messages for that chat service.
Thanks
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Shakti Singh DulawatPosted Apr 24, 2017, 3:09 AM
http://www.asp.net/signalr[^]
The process will be such as:
1. Create a SignalR server, (I prefer self hosted console application).
http://www.asp.net/signalr/overview/signalr-20/getting-started-with-signalr-20/tutorial-signalr-20-self-host[^]
2. Create two web page or html page one for customer and another for operator. both will have own chat window.
3. Operator can have queued customer list and active customer list.
4. Create two separate js for both customer and operator.
5. Both js will be start his own hub using SignalR server.
6. Define method for write message, canned message and add user.
http://www.asp.net/signalr/overview/signalr-20/hubs-api/hubs-api-guide-javascript-client[^]
Another option is togather js it is open source and use node js for server. Togather js also support co-browsing but has some limitations.
https://togetherjs.com/[^]