REST Resource: spaces.messages.reactions
แหล่งข้อมูล: รีแอ็กชัน
การแสดง JSON |
{
"name": string,
"user": {
object (User )
},
"emoji": {
object (Emoji )
}
} |
ช่อง |
name |
string
ตัวระบุ ชื่อทรัพยากรของรีแอ็กชัน รูปแบบ: spaces/{space}/messages/{message}/reactions/{reaction}
|
user |
object (User )
เอาต์พุตเท่านั้น ผู้ใช้ที่สร้างความรู้สึก
|
emoji |
object (Emoji )
ต้องระบุ อีโมจิที่ใช้ในการแสดงความรู้สึก
|
เมธอด |
|
สร้างความรู้สึกและเพิ่มลงในข้อความ |
|
ลบรีแอ็กชันต่อข้อความ |
|
แสดงรายการความรู้สึกที่มีต่อข้อความ |
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2024-11-05 UTC
[null,null,["อัปเดตล่าสุด 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"]]