The Chat Notification object represents a chat update notification in WhatsApp.
{phone_number}@c.us
).["{phone_number}@c.us"]
).add
, remove
, promote
, demote
, leave
,
announce_true
, announce_false
, restrict_true
, restrict_false
, memberaddmode_true
,
memberaddmode_false
, subject
, desc
, call
add
: A member was added to the group. If author is present, it indicates who added them; otherwise, they joined via an invite link.remove
: A member was removed from the group.promote
: A member was promoted to an admin role.demote
: Admin privileges were removed from a member.leave
: A user left the group.announce_true
: The group settings were changed to allow only admins to send messages.announce_false
: The group settings were changed to allow all members to send messages.restrict_true
: The group settings were changed to allow only admins to update group info (subject, description, icon).restrict_false
: The group settings were changed to allow all members to update group info.memberaddmode_true
: The group settings were changed to allow all members to add new members.memberaddmode_false
: The group settings were changed to allow only admins to add new members.subject
: The group subject was changed.desc
: The group description was changed.call
: Represents a call notification. See the metadata
field for more details about the call{phone_number}@c.us
)id.id
field.