Method: spaces.messages.reactions.delete
Yêu cầu HTTP
DELETE https://chat.googleapis.com/v1/{name=spaces/*/messages/*/reactions/*}
URL sử dụng cú pháp Chuyển mã gRPC.
Tham số đường dẫn
Thông số |
name |
string
Bắt buộc. Tên của lượt thể hiện cảm xúc cần xoá. Định dạng spaces/{space}/messages/{message}/reactions/{reaction}
|
Nội dung yêu cầu
Nội dung yêu cầu phải trống.
Nội dung phản hồi
Nếu thành công, nội dung phản hồi sẽ là một đối tượng JSON trống.
Phạm vi uỷ quyền
Yêu cầu một trong các phạm vi OAuth sau:
https://www.googleapis.com/auth/chat.import
https://www.googleapis.com/auth/chat.messages
https://www.googleapis.com/auth/chat.messages.reactions
Để biết thêm thông tin, hãy xem Hướng dẫn uỷ quyền.
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-01-22 UTC.
[null,null,["Cập nhật lần gần đây nhất: 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"]]