REST Resource: spaces.messages.reactions
Stay organized with collections
Save and categorize content based on your preferences.
Resource: Reaction
JSON representation |
{
"name": string,
"user": {
object (User )
},
"emoji": {
object (Emoji )
}
} |
Fields |
name |
string
Identifier. The resource name of the reaction. Format: spaces/{space}/messages/{message}/reactions/{reaction}
|
user |
object (User )
Output only. The user who created the reaction.
|
emoji |
object (Emoji )
Required. The emoji used in the reaction.
|
Methods |
|
Creates a reaction and adds it to a message. |
|
Deletes a reaction to a message. |
|
Lists reactions to a message. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-11-14 UTC.
[null,null,["Last updated 2024-11-14 UTC."],[],["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,[]]