אופציונלי. המספר המקסימלי של התגובות שיתקבלו. השירות יכול להחזיר פחות תגובות מהערך הזה. אם לא מציינים ערך, ערך ברירת המחדל הוא 25. הערך המקסימלי הוא 200. ערכים מעל 200 משתנים ל-200.
pageToken
string
אופציונלי. (אם ממשיכים משאילתה קודמת).
אסימון דף שהתקבל מבקשת 'רשימת התגובות' קודמת. צריך לספק אותו כדי לאחזר את הדף הבא.
כשמחלקים לדפים, ערך המסנן צריך להתאים לקריאה שסיפקה את אסימון הדף. העברת ערך שונה עלולה להוביל לתוצאות בלתי צפויות.
filter
string
אופציונלי. מסנן שאילתות.
אפשר לסנן את התגובות לפי אמוג'י (emoji.unicode או emoji.custom_emoji.uid) ומשתמש (user.name).
כדי לסנן תגובות של כמה אמוג'י או משתמשים, משלבים שדות דומים באמצעות האופרטור OR, כמו emoji.unicode = "🙂" OR emoji.unicode =
"👍" ו-user.name = "users/AAAAAA" OR user.name = "users/BBBBBB".
כדי לסנן תגובות לפי אמוג'י ומשתמש, משתמשים באופרטור AND, למשל emoji.unicode = "🙂" AND user.name = "users/AAAAAA".
אם בשאילתה נעשה שימוש גם ב-AND וגם ב-OR, צריך לקבץ אותם בסוגריים.
לדוגמה, השאילתות הבאות תקינות:
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}"
השאילתות הבאות לא תקינות:
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_ARGUMENT.
גוף הבקשה
גוף הבקשה חייב להיות ריק.
גוף התשובה
תגובה לבקשה להציג רשימה של תגובות.
אם הפעולה מצליחה, גוף התגובה מכיל נתונים במבנה הבא:
[[["התוכן קל להבנה","easyToUnderstand","thumb-up"],["התוכן עזר לי לפתור בעיה","solvedMyProblem","thumb-up"],["סיבה אחרת","otherUp","thumb-up"]],[["חסרים לי מידע או פרטים","missingTheInformationINeed","thumb-down"],["התוכן מורכב מדי או עם יותר מדי שלבים","tooComplicatedTooManySteps","thumb-down"],["התוכן לא עדכני","outOfDate","thumb-down"],["בעיה בתרגום","translationIssue","thumb-down"],["בעיה בדוגמאות/בקוד","samplesCodeIssue","thumb-down"],["סיבה אחרת","otherDown","thumb-down"]],["עדכון אחרון: 2025-07-25 (שעון 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,[]]