The unique identifier of the organization that owns the WhatsApp account.
The unique identifier of the WhatsApp chat (format:
{phone_number}@c.us
for individual chats or {group_id}@g.us
for groups).A map of members in the chat, keyed by WhatsApp ID (format:
{phone_number}@c.us
).The display name of the chat. For groups, this is the group name. For individual chats, this is the contact’s name.
The type of chat. Can be
group
, user
, or business
.The organization phone that the chat belongs to(in the format
{phone_number}@c.us
)The URL of the chat’s profile image.
The ISO 8601 formatted timestamp when the chat was created.
The ISO 8601 formatted timestamp when the chat was last updated.
An object containing details about the latest message sent in the chat.
The invite link of the chat.
Indicates if notifications for this chat are muted.
Indicates if the chat has been archived.
A map of custom properties associated with the chat. Values depend on the property type:
dropdown
: Selected option from predefined choicestext
: Text string valuedate
: Date value
The description text for group chats.
The number of unread messages in the chat.
The ISO 8601 formatted timestamp when the chat was closed, if applicable.
Indicates if the organization has left this chat.
A map of label identifiers associated with the chat, where keys are label IDs and values are booleans.
An array of labels associated with the chat.
The email address of the user assigned to this chat.
A map of user access permissions, where keys are email addresses and values are booleans.
The total number of participants in the chat.
A map of flagged messages, where keys are phone numbers and values are flagged messages count.
Indicates if only admins can modify group info.
Indicates if only admins can send messages in the group.
Indicates if only admins can add new members to the group.
Indicates the id of the parent community for the group.