Note: The following fields are mutually exclusive:custom_emoji,unicode. If a field in that set is populated, all other fields in the set will automatically be cleared.
Note: The following fields are mutually exclusive:custom_emoji,unicode. If a field in that set is populated, all other fields in the set will automatically be cleared.
Note: The following fields are mutually exclusive:custom_emoji,unicode. If a field in that set is populated, all other fields in the set will automatically be cleared.
#unicode
defunicode()->::String
Returns
(::String) — Optional. A basic emoji represented by a unicode string.
Note: The following fields are mutually exclusive:unicode,custom_emoji. If a field in that set is populated, all other fields in the set will automatically be cleared.
#unicode=
defunicode=(value)->::String
Parameter
value(::String) — Optional. A basic emoji represented by a unicode string.
Note: The following fields are mutually exclusive:unicode,custom_emoji. If a field in that set is populated, all other fields in the set will automatically be cleared.
Returns
(::String) — Optional. A basic emoji represented by a unicode string.
Note: The following fields are mutually exclusive:unicode,custom_emoji. If a field in that set is populated, all other fields in the set will automatically be cleared.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Chat V1 API - Class Google::Apps::Chat::V1::Emoji (v0.14.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.14.0 (latest)](/ruby/docs/reference/google-apps-chat-v1/latest/Google-Apps-Chat-V1-Emoji)\n- [0.13.0](/ruby/docs/reference/google-apps-chat-v1/0.13.0/Google-Apps-Chat-V1-Emoji)\n- [0.12.0](/ruby/docs/reference/google-apps-chat-v1/0.12.0/Google-Apps-Chat-V1-Emoji)\n- [0.11.1](/ruby/docs/reference/google-apps-chat-v1/0.11.1/Google-Apps-Chat-V1-Emoji)\n- [0.10.0](/ruby/docs/reference/google-apps-chat-v1/0.10.0/Google-Apps-Chat-V1-Emoji)\n- [0.9.1](/ruby/docs/reference/google-apps-chat-v1/0.9.1/Google-Apps-Chat-V1-Emoji)\n- [0.8.0](/ruby/docs/reference/google-apps-chat-v1/0.8.0/Google-Apps-Chat-V1-Emoji)\n- [0.7.0](/ruby/docs/reference/google-apps-chat-v1/0.7.0/Google-Apps-Chat-V1-Emoji)\n- [0.6.0](/ruby/docs/reference/google-apps-chat-v1/0.6.0/Google-Apps-Chat-V1-Emoji)\n- [0.5.1](/ruby/docs/reference/google-apps-chat-v1/0.5.1/Google-Apps-Chat-V1-Emoji)\n- [0.4.0](/ruby/docs/reference/google-apps-chat-v1/0.4.0/Google-Apps-Chat-V1-Emoji)\n- [0.3.1](/ruby/docs/reference/google-apps-chat-v1/0.3.1/Google-Apps-Chat-V1-Emoji)\n- [0.2.0](/ruby/docs/reference/google-apps-chat-v1/0.2.0/Google-Apps-Chat-V1-Emoji)\n- [0.1.2](/ruby/docs/reference/google-apps-chat-v1/0.1.2/Google-Apps-Chat-V1-Emoji) \nReference documentation and code samples for the Google Chat V1 API class Google::Apps::Chat::V1::Emoji.\n\nAn emoji that is used as a reaction to a message. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #custom_emoji\n\n def custom_emoji() -\u003e ::Google::Apps::Chat::V1::CustomEmoji\n\n**Returns**\n\n- ([::Google::Apps::Chat::V1::CustomEmoji](./Google-Apps-Chat-V1-CustomEmoji)) --- A custom emoji.\n\n\n Note: The following fields are mutually exclusive: `custom_emoji`, `unicode`. If a field in that set is populated, all other fields in the set will automatically be cleared.\n\n### #custom_emoji=\n\n def custom_emoji=(value) -\u003e ::Google::Apps::Chat::V1::CustomEmoji\n\n**Parameter**\n\n- **value** ([::Google::Apps::Chat::V1::CustomEmoji](./Google-Apps-Chat-V1-CustomEmoji)) --- A custom emoji.\n\n\nNote: The following fields are mutually exclusive: `custom_emoji`, `unicode`. If a field in that set is populated, all other fields in the set will automatically be cleared. \n**Returns**\n\n- ([::Google::Apps::Chat::V1::CustomEmoji](./Google-Apps-Chat-V1-CustomEmoji)) --- A custom emoji.\n\n\n Note: The following fields are mutually exclusive: `custom_emoji`, `unicode`. If a field in that set is populated, all other fields in the set will automatically be cleared.\n\n### #unicode\n\n def unicode() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Optional. A basic emoji represented by a unicode string.\n\n Note: The following fields are mutually exclusive: `unicode`, `custom_emoji`. If a field in that set is populated, all other fields in the set will automatically be cleared.\n\n### #unicode=\n\n def unicode=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Optional. A basic emoji represented by a unicode string.\n\n\nNote: The following fields are mutually exclusive: `unicode`, `custom_emoji`. If a field in that set is populated, all other fields in the set will automatically be cleared. \n**Returns**\n\n- (::String) --- Optional. A basic emoji represented by a unicode string.\n\n Note: The following fields are mutually exclusive: `unicode`, `custom_emoji`. If a field in that set is populated, all other fields in the set will automatically be cleared."]]