Skip to main content

Chat Controller

The Chat Controller is responsible for managing all operations related to conversations between users and instances connected to WhatsApp. It offers a comprehensive interface to create, update, retrieve and manage messages and interactions within conversations, ensuring a smooth and effective communication experience.

Example of use:

  1. Message Recovery: To view the message history, the client application requests messages from the conversation using the message retrieval endpoint.

  2. Chat Status Update: Conversation state can be updated based on user interaction or system logic. This is done using the state update endpoint.

  3. Getting Conversation Information: When viewing conversation details, the client application retrieves relevant information using the Conversation Insights endpoint.