Remove your reaction from a WhatsApp message
DELETE
/v1/whatsapp/messages/{message_id}/reaction
await bird.whatsapp.reaction.remove("wam_01krdgeqcxet5s7t44vh8rt9mg");client.whatsapp.reaction.remove("wam_01krdgeqcxet5s7t44vh8rt9mg")if err := client.Whatsapp.Reaction.Remove(context.Background(), "wam_01krdgeqcxet5s7t44vh8rt9mg"); err != nil {
log.Fatal(err)
}$bird->whatsapp->reaction->remove('wam_01krdgeqcxet5s7t44vh8rt9mg');bird whatsapp reaction remove <message-id> --yescurl -X DELETE "https://us1.platform.bird.com/v1/whatsapp/messages/{message_id}/reaction" \
-H "Authorization: Bearer $TOKEN"Takes back the reaction this workspace placed on a message, the same way
tapping your own reaction in WhatsApp does. Only your own reaction can be
removed; one the contact placed is theirs to take back.
Removing a reaction from a message you have not reacted to changes nothing
and still answers 202, so a repeated call is safe.
A removal travels the same path as placing a reaction, so it is refused on
the same grounds. A message this workspace sent returns a 422: it could
never have carried a reaction of ours to remove, since placing one there is
not supported either.
A message Bird can no longer resolve returns a 404 instead, on the same
15-day retention a placement is bounded by.
The 202 is the removal accepted rather than applied. The reaction stays in
the message's reactions until WhatsApp confirms the removal and then drops
out, so one on its way off reads as still standing rather than disappearing
before it is gone.
Parámetros
message_id
string
ID of the message to take your reaction off, as returned in the id field of the message.
Recursos relacionados
Continúa con la documentación, guías y ejemplos sobre este tema. Los recursos están en inglés.
Comprender el conceptoShould I use a Bird SDK or call the API directly?Seguir la ruta de aprendizajeBuild your first integrationGuía de implementaciónSend your first email
Obtener un resumen de implementación