AI-generated Key Takeaways
- 
          Creates a reaction and adds it to a Google Chat message using unicode emojis. 
- 
          Requires user authentication and authorization with specific scopes for accessing and modifying chat messages. 
- 
          The API endpoint uses a POST request to https://chat.googleapis.com/v1/{parent=spaces/*/messages/*}/reactionswith path and request body parameters to specify the message and reaction.
- 
          A successful response returns the newly created reaction object. 
Creates a reaction and adds it to a message. For an example, see Add a reaction to a message.
Requires user authentication with one of the following authorization scopes:
- https://www.googleapis.com/auth/chat.messages.reactions.create
- https://www.googleapis.com/auth/chat.messages.reactions
- https://www.googleapis.com/auth/chat.messages
- https://www.googleapis.com/auth/chat.import(import mode spaces only)
HTTP request
POST https://chat.googleapis.com/v1/{parent=spaces/*/messages/*}/reactions
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
| parent | 
 Required. The message where the reaction is created. Format:  | 
Request body
The request body contains an instance of Reaction.
Response body
If successful, the response body contains a newly created instance of Reaction.
Authorization scopes
Requires one of the following OAuth scopes:
- https://www.googleapis.com/auth/chat.import
- https://www.googleapis.com/auth/chat.messages
- https://www.googleapis.com/auth/chat.messages.reactions
- https://www.googleapis.com/auth/chat.messages.reactions.create
For more information, see the Authorization guide.