SpacesMessagesReactions
class SpacesMessagesReactions extends Resource (View source)
The "reactions" collection of methods.
Typical usage is:
$chatService = new Google\Service\HangoutsChat(...);
$reactions = $chatService->spaces_messages_reactions;
Methods
Creates a reaction and adds it to a message. Only unicode emojis are supported. For an example, see Add a reaction to a message.
Deletes a reaction to a message. Only unicode emojis are supported. For an example, see Delete a reaction.
Lists reactions to a message. For an example, see List reactions for a message.
Details
Reaction
create(string $parent, Reaction $postBody, array $optParams = [])
Creates a reaction and adds it to a message. Only unicode emojis are supported. For an example, see Add a reaction to a message.
Requires user authentication. (reactions.create)
ChatEmpty
delete(string $name, array $optParams = [])
Deletes a reaction to a message. Only unicode emojis are supported. For an example, see Delete a reaction.
Requires user authentication. (reactions.delete)
ListReactionsResponse
listSpacesMessagesReactions(string $parent, array $optParams = [])
Lists reactions to a message. For an example, see List reactions for a message.
Requires user authentication. (reactions.listSpacesMessagesReactions)