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
userfield is output-only and indicates who created the reaction, while theemojifield 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. |