Sign inGet started

bird whatsapp groups update

Usage

Exemple de code
bird whatsapp groups update <group-id> [flags]

Description

Update a WhatsApp group
Change a group's subject, description or picture. Fields you omit are left alone. WhatsApp applies each field separately, so one can be refused while the others take effect. Only an active group can be changed.
Build the request from flags, a JSON WhatsAppGroupUpdate body via --body-file ("-" reads stdin), or both — a flag overrides the matching body field. Run --example to print a ready-to-edit body, or --dry-run to print the resolved request without sending it.

Examples

Exemple de code
# print the body shape (no credentials needed)
bird whatsapp groups update --example

# the body it prints:
Exemple de code
{
  "description": "Discuss the latest timepieces and share reviews.",
  "profile_picture_url": "https://media.example.com/whatsapp/groups/square.jpg",
  "subject": "Watch Enthusiasts"
}

Options

Request

NameDescription
--body-fileRead the JSON request body from this file; "-" reads stdin
--examplePrint a complete example request body, then exit
--dry-runPrint the resolved request without sending it, then exit
--idempotency-keyDeduplication key; a retry with the same key won't act twice

Options

NameDescription
--subjectA new name for the group. Participants see the change in the group's chat.
--descriptionA new description for the group. Send null to clear it; an empty string is a 422 rather than a second way to clear.
--profile-picture-urlA new picture for the group, naming a file in your workspace's media library. WhatsApp takes a square JPEG of at least 192 by 192 pixels and up to 5 MB; anything else returns a 422. Sending null clears the picture Bird stores, and an empty string is a 422 rather than a second way to clear it; WhatsApp has no operation for removing a group's photo, so the one participants see stays until another picture replaces it.
--response-schemaPrint the fields this command returns, then exit
NameDescription
bird whatsapp groups createCreate a WhatsApp group
bird whatsapp groups deleteDelete a WhatsApp group
bird whatsapp groups getGet a WhatsApp group
bird whatsapp groups listList WhatsApp groups