Method: spaces.messages.reactions.delete
HTTP-Anfrage
DELETE https://chat.googleapis.com/v1/{name=spaces/*/messages/*/reactions/*}
Die URL verwendet die Syntax der gRPC-Transcodierung.
Pfadparameter
Parameter |
name |
string
Erforderlich. Name der Reaktion, die gelöscht werden soll. Format: spaces/{space}/messages/{message}/reactions/{reaction}
|
Anfragetext
Der Anfragetext muss leer sein.
Antworttext
Wenn der Vorgang erfolgreich abgeschlossen wurde, ist der Antworttext ein leeres JSON-Objekt.
Autorisierungsbereiche
Erfordert einen der folgenden OAuth-Bereiche:
https://www.googleapis.com/auth/chat.import
https://www.googleapis.com/auth/chat.messages
https://www.googleapis.com/auth/chat.messages.reactions
Weitere Informationen finden Sie im Leitfaden zur Autorisierung.
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2025-01-22 (UTC).
[null,null,["Zuletzt aktualisiert: 2025-01-22 (UTC)."],[[["Deletes a reaction, specifically unicode emojis, from a message within Google Chat spaces."],["Requires user authentication and utilizes a DELETE HTTP request with specific path parameters to target the reaction."],["The request body should be empty, and a successful deletion results in an empty response body."],["Authorization is necessary, using one of the specified OAuth scopes for chat import, messages, or message reactions."]]],["This document outlines the process for deleting a reaction to a message using the Google Chat API. The process involves sending a `DELETE` HTTP request to a specific URL, structured using gRPC Transcoding syntax. The URL includes a required `name` path parameter specifying the reaction to delete. The request body must be empty. A successful operation returns an empty JSON object. Authorization requires one of three listed OAuth scopes. The action only supports unicode emojis.\n"]]