Emoji element
Displays an emoji.
| Available in | Messages, Modals, Home tab |
| Used in | Rich text section element, Rich text list element, Rich text quote element |
Fields
Section titled “Fields”| Field | Type | Description | Required? |
|---|---|---|---|
type |
String | The type of object; in this case, emoji. |
Required |
name |
String | The name of the emoji, e.g. white_check_mark or wave::skin-tone-2. |
Required |
unicode |
String | The emoji’s Unicode code points in hex, joined with - (e.g. 1f389), where applicable. |
Optional |
Examples
Section titled “Examples”Status emoji
Section titled “Status emoji”
{ "blocks": [ { "type": "rich_text", "elements": [ { "type": "rich_text_section", "elements": [ { "type": "emoji", "name": "white_check_mark" }, { "type": "text", "text": " Payment received " }, { "type": "emoji", "name": "tada", "unicode": "1f389" }, { "type": "text", "text": " Deal closed" } ] } ] } ]}