REST Resource: spaces.messages.reactions
リソース: Reaction
JSON 表現 |
{
"name": string,
"user": {
object (User )
},
"emoji": {
object (Emoji )
}
} |
フィールド |
name |
string
ID。リアクションのリソース名。 形式: 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"]]