public class HangoutsChat.Spaces.Messages.Reactions extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
HangoutsChat.Spaces.Messages.Reactions.Create |
class |
HangoutsChat.Spaces.Messages.Reactions.Delete |
class |
HangoutsChat.Spaces.Messages.Reactions.List |
| Constructor and Description |
|---|
Reactions() |
| Modifier and Type | Method and Description |
|---|---|
HangoutsChat.Spaces.Messages.Reactions.Create |
create(String parent,
Reaction content)
[Developer Preview](https://developers.google.com/workspace/preview): Creates a reaction and adds
it to a message.
|
HangoutsChat.Spaces.Messages.Reactions.Delete |
delete(String name)
[Developer Preview](https://developers.google.com/workspace/preview): Deletes a reaction to a
message.
|
HangoutsChat.Spaces.Messages.Reactions.List |
list(String parent)
[Developer Preview](https://developers.google.com/workspace/preview): Lists reactions to a
message.
|
public HangoutsChat.Spaces.Messages.Reactions.Create create(String parent, Reaction content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.parent - Required. The message where the reaction is created. Format: spaces/{space}/messages/{message}content - the ReactionIOExceptionpublic HangoutsChat.Spaces.Messages.Reactions.Delete delete(String name) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Required. Name of the reaction to delete. Format:
spaces/{space}/messages/{message}/reactions/{reaction}IOExceptionpublic HangoutsChat.Spaces.Messages.Reactions.List list(String parent) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.parent - Required. The message users reacted to. Format: spaces/{space}/messages/{message}IOExceptionCopyright © 2011–2023 Google. All rights reserved.