The unique identifier of the WhatsApp chat (format: {phone_number}@c.us for individual chats or {group_id}@g.us for groups).
The display name of the chat. For groups, this is the group name. For individual chats, this is the contact’s name.
A map of label identifiers associated with the chat, where keys are label IDs and values are booleans.
A map of custom properties associated with the chat. Values depend on the property type: dropdown, text, date.
A map of user access permissions, where keys are email addresses and values are booleans. Absent when no per-chat overrides exist.
A map of members in the chat, keyed by WhatsApp ID (format: {phone_number}@c.us). Only returned when fetching a single chat by id — list results omit it.
A map of flagged messages, where keys are phone numbers and values are flagged messages count.
The timestamp when the chat was closed, if applicable, as an epoch timestamp in milliseconds. Absent while the chat is open.