REST Resource: spaces.messages.reactions
Kaynak: Tepki
JSON gösterimi |
{
"name": string,
"user": {
object (User )
},
"emoji": {
object (Emoji )
}
} |
Alanlar |
name |
string
Tanımlayıcı. Tepkinin kaynak adı. Biçim: spaces/{space}/messages/{message}/reactions/{reaction}
|
user |
object (User )
Yalnızca çıkış. Tepkiyi oluşturan kullanıcı.
|
emoji |
object (Emoji )
Zorunlu. Tepkide kullanılan emoji.
|
Yöntemler |
|
Tepki oluşturur ve bir mesaja ekler. |
|
Bir mesaja verilen tepkiyi siler. |
|
Bir mesaja verilen tepkileri listeler. |
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2024-11-05 UTC.
[null,null,["Son güncelleme tarihi: 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"]]