Optional. The maximum number of reactions returned. The service can return fewer reactions than this value. If unspecified, the default value is 25. The maximum value is 200; values above 200 are changed to 200.
pageToken
string
Optional. (If resuming from a previous query.)
A page token received from a previous list reactions call. Provide this to retrieve the subsequent page.
When paginating, the filter value should match the call that provided the page token. Passing a different value might lead to unexpected results.
filter
string
Optional. A query filter.
You can filter reactions by emoji (either emoji.unicode or emoji.custom_emoji.uid) and user (user.name).
To filter reactions for multiple emojis or users, join similar fields with the OR operator, such as emoji.unicode = "🙂" OR emoji.unicode =
"👍" and user.name = "users/AAAAAA" OR user.name = "users/BBBBBB".
To filter reactions by emoji and user, use the AND operator, such as emoji.unicode = "🙂" AND user.name = "users/AAAAAA".
If your query uses both AND and OR, group them with parentheses.
For example, the following queries are valid:
user.name = "users/{user}"
emoji.unicode = "🙂"
emoji.custom_emoji.uid = "{uid}"
emoji.unicode = "🙂" OR emoji.unicode = "👍"
emoji.unicode = "🙂" OR emoji.custom_emoji.uid = "{uid}"
emoji.unicode = "🙂" AND user.name = "users/{user}"
(emoji.unicode = "🙂" OR emoji.custom_emoji.uid = "{uid}")
AND user.name = "users/{user}"
The following queries are invalid:
emoji.unicode = "🙂" AND emoji.unicode = "👍"
emoji.unicode = "🙂" AND emoji.custom_emoji.uid = "{uid}"
emoji.unicode = "🙂" OR user.name = "users/{user}"
emoji.unicode = "🙂" OR emoji.custom_emoji.uid = "{uid}" OR
user.name = "users/{user}"
emoji.unicode = "🙂" OR emoji.custom_emoji.uid = "{uid}"
AND user.name = "users/{user}"
Invalid queries are rejected with an INVALID_ARGUMENT error.
Request body
The request body must be empty.
Response body
Response to a list reactions request.
If successful, the response body contains data with the following structure:
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-05-07 UTC."],[[["\u003cp\u003eLists reactions for a specific message within a Google Chat space.\u003c/p\u003e\n"],["\u003cp\u003eAllows filtering reactions by emoji (unicode or custom) and user, using operators like \u003ccode\u003eAND\u003c/code\u003e and \u003ccode\u003eOR\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eSupports pagination to retrieve large result sets with \u003ccode\u003epageSize\u003c/code\u003e and \u003ccode\u003epageToken\u003c/code\u003e parameters.\u003c/p\u003e\n"],["\u003cp\u003eRequires specific authorization scopes related to message and reaction access.\u003c/p\u003e\n"],["\u003cp\u003eReturns a list of reactions with details like user and emoji, along with a token for fetching further pages.\u003c/p\u003e\n"]]],["This describes how to list reactions to a message using a `GET` request to `https://chat.googleapis.com/v1/{parent=spaces/*/messages/*}/reactions`. The `parent` path parameter specifies the message. Optional query parameters include `pageSize` (max reactions returned), `pageToken` (for pagination), and `filter` (to filter by emoji or user). The request body must be empty. The response body contains a list of `reactions` and an optional `nextPageToken` for pagination. User authentication and specific authorization scopes are required.\n"],null,[]]