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 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 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"]]