Skip to main content

Emoji element

This is a rich text element, compatible only with the rich_text block. It must be used within the rich_text_list, rich_text_quote, or rich_text_section block element within the rich_text block's elements array.

Fields

FieldTypeDescriptionRequired?
typeStringThe type of object; in this case, "emoji".Required
nameStringThe name of the emoji; i.e. "wave" or "wave::skin-tone-2".Required
unicodeStringRepresents the unicode code point of the emoji, where applicable.Optional

Example

{
"blocks": [
{
"type": "rich_text",
"elements": [
{
"type": "rich_text_section",
"elements": [
{
"type": "emoji",
"name": "basketball"
},
{
"type": "text",
"text": " "
},
{
"type": "emoji",
"name": "snowboarder"
},
{
"type": "text",
"text": " "
},
{
"type": "emoji",
"name": "checkered_flag"
}
]
}
]
}
]
}

View in Block Kit Builder