Method: spaces.messages.reactions.delete
HTTP-запрос
DELETE https://chat.googleapis.com/v1/{name=spaces/*/messages/*/reactions/*}
URL-адрес использует синтаксис транскодирования gRPC .
Параметры пути
Параметры |
---|
name | string Необходимый. Название реакции, которую нужно удалить. Формат: spaces/{space}/messages/{message}/reactions/{reaction} |
Тело запроса
Тело запроса должно быть пустым.
Тело ответа
В случае успеха тело ответа представляет собой пустой объект JSON.
Области авторизации
Требуется одна из следующих областей OAuth:
-
https://www.googleapis.com/auth/chat.import
-
https://www.googleapis.com/auth/chat.messages
-
https://www.googleapis.com/auth/chat.messages.reactions
Дополнительную информацию см. в руководстве по авторизации .
Если не указано иное, контент на этой странице предоставляется по лицензии Creative Commons "С указанием авторства 4.0", а примеры кода – по лицензии Apache 2.0. Подробнее об этом написано в правилах сайта. Java – это зарегистрированный товарный знак корпорации Oracle и ее аффилированных лиц.
Последнее обновление: 2025-01-22 UTC.
[null,null,["Последнее обновление: 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"]]