Method: spaces.messages.reactions.delete
Żądanie HTTP
DELETE https://chat.googleapis.com/v1/{name=spaces/*/messages/*/reactions/*}
Adres URL używa składni transkodowania gRPC.
Parametry ścieżki
Parametry |
name |
string
Wymagane. Nazwa reakcji, którą chcesz usunąć. Format: spaces/{space}/messages/{message}/reactions/{reaction}
|
Treść żądania
Treść żądania musi być pusta.
Treść odpowiedzi
W przypadku powodzenia treść odpowiedzi to pusty obiekt JSON.
Zakresy autoryzacji
Wymaga jednego z tych zakresów OAuth:
https://www.googleapis.com/auth/chat.import
https://www.googleapis.com/auth/chat.messages
https://www.googleapis.com/auth/chat.messages.reactions
Więcej informacji znajdziesz w przewodniku dotyczącym autoryzacji.
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-01-22 UTC.
[null,null,["Ostatnia aktualizacja: 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"]]