List reactions for a message (original) (raw)

This guide explains how to use thelist()method on the Reaction resource of the Google Chat API to list reactions for a messageโ€”like ๐Ÿ‘, ๐Ÿšฒ, and ๐ŸŒž.

TheReaction resourcerepresents an emoji that people can use to react to a message, such as ๐Ÿ‘, ๐Ÿšฒ, and ๐ŸŒž.

Prerequisites

Node.js

#set-up-environment).

To list the reactions for a message, pass the following in your request:

The following example lists reactions for a specified message:

Node.js

To run this sample, replace the following:

The Chat API returns apaginated list of reactions.