Overview
The Chat Management module provides functionality to retrieve, view, archive, and manage chats within your communication channels. These methods allow you to efficiently organize conversations and access chat history.Available Methods
All Chat
Retrieve a list of all chats with pagination support.The
allChat
method returns chats sorted by most recent activity by default.Chat Details
Retrieve detailed information about a specific chat with a contact.Archive Chat
Archive a chat to organize your chat list and hide less active conversations.Archiving a chat doesn’t delete any messages. It simply moves the chat to the archived section.
Unarchive Chat
Restore a previously archived chat to your active chat list.Common Use Cases
Managing Active Conversations
Managing Active Conversations
Use the archive and unarchive features to keep your active chat list clean and focused on current conversations.
Implementing Chat History
Implementing Chat History
Use the chat details method to display complete conversation history with a specific contact.
Building a Chat Interface
Building a Chat Interface
Combine these methods to create a full-featured chat interface with pagination, archiving, and detailed views.