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. A reaction on a message
received in a group addresses the group, so a group this workspace no
longer holds returns a 404 WhatsAppGroupNotFound and one that is not
active a 409 WhatsAppGroupNotActive, the same as placing one does.
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.
Parameter
message_id
string
ID of the message to take your reaction off, as returned in the id field of the message.
Verwandte Ressourcen
Weiter mit der Dokumentation, Anleitungen und Beispielen zu diesem Thema. Die Ressourcen sind auf Englisch.
Das Konzept verstehenShould I use a Bird SDK or call the API directly?Dem Lernpfad folgenBuild your first integrationImplementierungsleitfadenSend your first email
Implementierungs-Briefing erhalten