getChats
Retrieve a list of chat conversations with optional filtering and pagination.Parameters
Returns
Array of chat objects
Database row ID
Unique identifier for the chat
Chat identifier string
Display name of the chat
Chat style (0 = individual, 43 = group)
Whether the chat is archived
Whether the chat is filtered
Group identifier for group chats
Array of participant handles (if requested)
Array of messages (if requested)
Most recent message in the chat (if withLastMessage is true)
Last addressed handle in the chat
Additional chat properties
Example
getChatCount
Get the total count of chats with optional breakdown.Parameters
Optional configuration for counting chats
Include archived chats in the count