Emoji
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
메시지에 대한 반응으로 사용되는 이모티콘입니다.
JSON 표현 |
{
// Union field content can be only one of the following:
"unicode": string,
"customEmoji": {
object (CustomEmoji )
}
// End of list of possible types for union field content .
} |
필드 |
통합 필드 content . 필수 항목입니다. 이모티콘의 콘텐츠입니다. content 은 다음 중 하나여야 합니다. |
unicode |
string
선택사항입니다. 유니코드 문자열로 표현되는 기본 이모티콘입니다.
|
customEmoji |
object (CustomEmoji )
맞춤 이모티콘
|
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-07-25(UTC)
[null,null,["최종 업데이트: 2025-07-25(UTC)"],[[["\u003cp\u003eReactionEmoji resource represents an emoji used as a reaction to a message.\u003c/p\u003e\n"],["\u003cp\u003eEmoji content can be represented either by a unicode string for basic emojis or a CustomEmoji object for custom emojis.\u003c/p\u003e\n"],["\u003cp\u003eThe content field is required and determines the type of emoji being used.\u003c/p\u003e\n"]]],["The core content defines a message reaction emoji, which can be represented in JSON. The `content` field is mandatory and can be either a `unicode` string for basic emojis or a `customEmoji` object for custom emojis. `unicode` is optional and represents a standard emoji, while `customEmoji` is output-only and links to a separate definition of custom emojis. Only one of the content type is accepted.\n"],null,["# Emoji\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nAn emoji that is used as a reaction to a message.\n\n| JSON representation |\n|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { // Union field `content` can be only one of the following: \"unicode\": string, \"customEmoji\": { object (/workspace/chat/api/reference/rest/v1/customEmojis#CustomEmoji) } // End of list of possible types for union field `content`. } ``` |\n\n| Fields ||\n|---------------|------------------------------------------------------------------------------------------------------------|\n| Union field `content`. Required. The content of the emoji. `content` can be only one of the following: ||\n| `unicode` | `string` Optional. A basic emoji represented by a unicode string. |\n| `customEmoji` | `object (`[CustomEmoji](/workspace/chat/api/reference/rest/v1/customEmojis#CustomEmoji)`)` A custom emoji. |"]]