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 ) ایموجی مورد استفاده در واکنش. |
روش ها |
---|
| یک واکنش ایجاد می کند و آن را به یک پیام اضافه می کند. |
| واکنش به یک پیام را حذف می کند. |
| واکنش ها به یک پیام را فهرست می کند. |
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-01-18 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-01-18 بهوقت ساعت هماهنگ جهانی."],[[["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"]]