AI-generated Key Takeaways
-
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 theemoji
field is required and specifies the emoji used.
Resource: Reaction
A reaction to a message.
JSON representation |
---|
{ "name": string, "user": { object ( |
Fields | |
---|---|
name |
Identifier. The resource name of the reaction. Format: |
user |
Output only. The user who created the reaction. |
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. |