REST Resource: spaces.messages.reactions
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Materiały: Reakcje
Zapis JSON |
{
"name": string,
"user": {
object (User )
},
"emoji": {
object (Emoji )
}
} |
Pola |
name |
string
Identyfikator. Nazwa zasobu reakcji. Format: spaces/{space}/messages/{message}/reactions/{reaction}
|
user |
object (User )
Tylko dane wyjściowe. Użytkownik, który utworzył reakcję.
|
emoji |
object (Emoji )
Wymagane. Emotikon użyty w reakcji.
|
Metody |
|
Tworzy reakcję i dodaje ją do wiadomości. |
|
Usuwa reakcję na wiadomość. |
|
Wyświetla listę reakcji na wiadomość. |
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-25 UTC.
[null,null,["Ostatnia aktualizacja: 2025-07-25 UTC."],[],["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"],null,[]]