For developers, you can communicate with your chatbot using 2 different methods:
-
API - REST, Use this method if low-latency communication isn't important for the application you are working on.
-
API - Websocket, Use this method if low-latency communication is important especially for client to server messages which requires persistent stateful connection.