bird whatsapp mark-read
Usage
Exemple de code
bird whatsapp mark-read <message-id> [flags]Description
Mark a WhatsApp message as read
Mark one inbound WhatsApp message as read, optionally showing a typing indicator at the same time. Accepted asynchronously (202); there is no status to poll and no webhook.
Build the request from flags, a JSON WhatsAppReadReceiptRequest 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 mark-read --example
# the body it prints:Exemple de code
{
"typing_indicator": true
}Options
Request
| Name | Description |
|---|---|
| --body-file | Read the JSON request body from this file; "-" reads stdin |
| --example | Print a complete example request body, then exit |
| --dry-run | Print the resolved request without sending it, then exit |
| --idempotency-key | Deduplication key; a retry with the same key won't act twice |
Options
| Name | Description |
|---|---|
| --typing-indicator | Show a typing indicator to the contact as well as marking the message read. WhatsApp clears it when you send your next message, or after 25 seconds, whichever comes first. Only ask for one if you are about to reply. |
| --response-schema | Print the fields this command returns, then exit |
Related
| Name | Description |
|---|---|
| bird whatsapp get | Get a WhatsApp message |
| bird whatsapp list | List WhatsApp messages |
| bird whatsapp list-events | List events for a WhatsApp message |
| bird whatsapp media | Download a received WhatsApp message's media |
| bird whatsapp preview | Preview a WhatsApp message in the public builder |
| bird whatsapp send | Send a WhatsApp message to one recipient or one group |
Ressources associées
Poursuivez avec la documentation, les guides et les exemples sur ce sujet. Les ressources sont en anglais.
Comprendre le conceptShould I use a Bird SDK or call the API directly?Suivre le parcours d'apprentissageBuild your first integrationGuide d'implémentationSend your first email
Obtenir un guide d'implémentation