REST Resource: spaces.messages.reactions
Ressource: Reaktion
Eine Reaktion auf eine Nachricht.
JSON-Darstellung |
{
"name": string,
"user": {
object (User )
},
"emoji": {
object (Emoji )
}
} |
Felder |
name |
string
Kennung. Der Ressourcenname der Reaktion. Format: spaces/{space}/messages/{message}/reactions/{reaction}
|
user |
object (User )
Nur Ausgabe. Der Nutzer, der die Reaktion erstellt hat.
|
emoji |
object (Emoji )
Erforderlich. Das in der Reaktion verwendete Emoji.
|
Methoden |
|
Erstellt eine Reaktion und fügt sie einer Nachricht hinzu. |
|
Löscht eine Reaktion auf eine Nachricht. |
|
Listet Reaktionen auf eine Nachricht auf. |
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2024-11-05 (UTC).
[null,null,["Zuletzt aktualisiert: 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"]]