REST Resource: spaces.messages.reactions
משאב: Reaction
ייצוג ב-JSON |
{
"name": string,
"user": {
object (User )
},
"emoji": {
object (Emoji )
}
} |
שדות |
name |
string
מזהה. שם המשאב של התגובה. פורמט: spaces/{space}/messages/{message}/reactions/{reaction}
|
user |
object (User )
פלט בלבד. המשתמש שיצר את התגובה.
|
emoji |
object (Emoji )
חובה. האמוג'י ששימש בתגובה.
|
שיטות |
|
יוצרים תגובה ומוסיפים אותה להודעה. |
|
מחיקת תגובה להודעה. |
|
רשימת התגובות להודעה. |
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2024-11-05 (שעון UTC).
[null,null,["עדכון אחרון: 2024-11-05 (שעון UTC)."],[[["A Reaction represents a response to a message, containing information about the user, the emoji used, and a unique identifier."],["Reactions can be created, deleted, and listed using the provided API methods."],["The `user` field is output-only and indicates who created the reaction, while the `emoji` field is required and specifies the emoji used."]]],["Reactions to messages are identified by a string name and include the user who created them and the emoji used. JSON format represents reactions with these fields. Core actions include: creating a reaction, which adds it to a message; deleting a reaction; and listing all reactions associated with a specific message. The identifier of a reaction follows a specific string pattern, specifying the space, message, and reaction involved.\n"]]