REST Resource: spaces.messages.reactions
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
資源:Reaction
JSON 表示法 |
{
"name": string,
"user": {
object (User )
},
"emoji": {
object (Emoji )
}
} |
欄位 |
name |
string
ID。反應的資源名稱。 格式:spaces/{space}/messages/{message}/reactions/{reaction}
|
user |
object (User )
僅供輸出。建立回應的使用者。
|
emoji |
object (Emoji )
必要欄位。回應中使用的表情符號。
|
方法 |
|
建立回應並新增至訊息。 |
|
刪除對訊息的回應。 |
|
列出回應訊息的回應。 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-25 (世界標準時間)。
[null,null,["上次更新時間:2025-07-25 (世界標準時間)。"],[],["Reactions to messages are identified by a string name and include the user who created them and the emoji used. JSON format represents reactions with these fields. Core actions include: creating a reaction, which adds it to a message; deleting a reaction; and listing all reactions associated with a specific message. The identifier of a reaction follows a specific string pattern, specifying the space, message, and reaction involved.\n"],null,[]]