REST Resource: spaces.messages.reactions
Risorsa: reazione
Una reazione a un messaggio.
Rappresentazione JSON |
{
"name": string,
"user": {
object (User )
},
"emoji": {
object (Emoji )
}
} |
Campi |
name |
string
Identificatore. Il nome risorsa della reazione. Formato: spaces/{space}/messages/{message}/reactions/{reaction}
|
user |
object (User )
Solo output. L'utente che ha creato la reazione.
|
emoji |
object (Emoji )
Obbligatorio. L'emoji utilizzata nella reazione.
|
Metodi |
|
Crea una reazione e la aggiunge a un messaggio. |
|
Consente di eliminare una reazione a un messaggio. |
|
Elenca le reazioni a un messaggio. |
Salvo quando diversamente specificato, i contenuti di questa pagina sono concessi in base alla licenza Creative Commons Attribution 4.0, mentre gli esempi di codice sono concessi in base alla licenza Apache 2.0. Per ulteriori dettagli, consulta le norme del sito di Google Developers. Java è un marchio registrato di Oracle e/o delle sue consociate.
Ultimo aggiornamento 2024-11-05 UTC.
[null,null,["Ultimo aggiornamento 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"]]