REST Resource: spaces.messages.reactions
Recurso: reação
Representação JSON |
{
"name": string,
"user": {
object (User )
},
"emoji": {
object (Emoji )
}
} |
Campos |
name |
string
Identificador. O nome do recurso da reação. Formato: spaces/{space}/messages/{message}/reactions/{reaction}
|
user |
object (User )
Apenas saída. O usuário que criou a reação.
|
emoji |
object (Emoji )
Obrigatório. O emoji usado na reação.
|
Métodos |
|
Cria uma reação e a adiciona a uma mensagem. |
|
Exclui uma reação a uma mensagem. |
|
Lista as reações a uma mensagem. |
Exceto em caso de indicação contrária, o conteúdo desta página é licenciado de acordo com a Licença de atribuição 4.0 do Creative Commons, e as amostras de código são licenciadas de acordo com a Licença Apache 2.0. Para mais detalhes, consulte as políticas do site do Google Developers. Java é uma marca registrada da Oracle e/ou afiliadas.
Última atualização 2024-11-05 UTC.
[null,null,["Última atualização 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"]]