REST Resource: spaces.messages.reactions
Recurso: Reaction
Una reacción a un mensaje.
Representación JSON |
{
"name": string,
"user": {
object (User )
},
"emoji": {
object (Emoji )
}
} |
Campos |
name |
string
Identificador. Es el nombre del recurso de la reacción. Formato: spaces/{space}/messages/{message}/reactions/{reaction}
|
user |
object (User )
Solo salida. El usuario que creó la reacción
|
emoji |
object (Emoji )
Obligatorio. Es el emoji que se usó en la reacción.
|
Métodos |
|
Crea una reacción y la agrega a un mensaje. |
|
Borra una reacción a un mensaje. |
|
Muestra una lista de las reacciones a un mensaje. |
Salvo que se indique lo contrario, el contenido de esta página está sujeto a la licencia Atribución 4.0 de Creative Commons, y los ejemplos de código están sujetos a la licencia Apache 2.0. Para obtener más información, consulta las políticas del sitio de Google Developers. Java es una marca registrada de Oracle o sus afiliados.
Última actualización: 2024-11-05 (UTC)
[null,null,["Última actualización: 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"]]