Get a chat
get_chatFetch a single WhatsApp chat by account ID and chat ID to view its name, full latest message, and unread, pinned, archived, or muted state.
Instructions
One conversation of an account: its name, its latest message in full, and WhatsApp's unread, pinned, archived and muted state (a field that is missing is not known yet, which is not the same as false). A chat wuapi stored no message of answers not_found.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chatId | Yes | The chat: a contact as E.164 with + (`+584241112233`) or `lid:<digits>`, or a group id (`...@g.us`). | |
| accountId | Yes | The wuapi account id of the linked number to act as (from list_accounts). |