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 和/或其關聯企業的註冊商標。
上次更新時間:2024-11-05 (世界標準時間)。
[null,null,["上次更新時間:2024-11-05 (世界標準時間)。"],[[["A Reaction represents a response to a message, containing information about the user, the emoji used, and a unique identifier."],["Reactions can be created, deleted, and listed using the provided API methods."],["The `user` field is output-only and indicates who created the reaction, while the `emoji` field is required and specifies the emoji used."]]],["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"]]