Answer the question
In order to leave comments, you need to log in
Is there any self-hosted service that provides a web interface for chatting with any messenger?
There is already a working telegram bot. Executes any user commands.
I would like to connect the /support command to it in order to switch to communication with a live operator. Plus, in general, I want to see how the bot and users interact in a simple familiar web-ui, and not just through logs / metrics.
As I see it so far:
1. Raise some kind of service in the virtual machine, which is such a "messenger web interface". This service has an api where you can send messages, it will put them in a local database and display them through the interface. And the service can be configured to send its messages to a specific address.
2. Well, connect two handlers to the bot:
* the first handler sends all messages from the user and all bot responses via api to this service (which we raised),
* the second handler receives messages from this service and directly sends them to the user (such a pad).
3. Implement some kind of alarm using the /support command so that the operator receives a notification "a client is waiting there." The operator logs in to the service (since personal data and business secret) and communicates with the user.
I think that many people have already faced this problem. But somehow it turned out to be difficult to find the right query, and an hour of googling did not give clear results.
ps not necessarily such a general service, you can also have something narrowly tailored for tg
p.p.s. aware of the availability of services that provide the ability to create bots and communicate with customers on several sites at once (tg, whatsapp, viber, etc.) But they all only know how to do this through a new bot, but the ability to suck on an already working bot and just provide an interface for chat - I couldn't find it anywhere.
Answer the question
In order to leave comments, you need to log in
google: js chat api
https://chatra.com/
https://developers.livechat.com/docs/getting-started
https://getstream.io/chat/
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question