Method: spaces.messages.reactions.delete
刪除訊息的回應。系統僅支援 Unicode 表情符號。如需範例,請參閱「刪除回應」。
需要使用者驗證。
HTTP 要求
DELETE https://chat.googleapis.com/v1/{name=spaces/*/messages/*/reactions/*}
這個網址使用 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
詳情請參閱授權指南。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-01-22 (世界標準時間)。
[null,null,["上次更新時間:2025-01-22 (世界標準時間)。"],[[["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"]]