Emoji
An emoji that is used as a reaction to a message.
JSON representation |
{
// 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 .
} |
Fields |
Union field content . Required. The content of the emoji. content can be only one of the following: |
unicode |
string
Optional. A basic emoji represented by a unicode string.
|
customEmoji |
object (CustomEmoji )
Output only. A custom emoji.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-02-27 UTC.
[null,null,["Last updated 2025-02-27 UTC."],[[["ReactionEmoji resource represents an emoji used as a reaction to a message."],["Emoji content can be represented either by a unicode string for basic emojis or a CustomEmoji object for custom emojis."],["The content field is required and determines the type of emoji being used."]]],["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"]]