Skip to main content

Cross-Platform Emoji Support

The Chat SDK provides a unified emoji system that works seamlessly across platforms. Emoji are automatically converted between platform-specific formats:
  • Slack: :emoji_name: format (e.g., :thumbs_up:)
  • Google Chat: Unicode emoji (e.g., 👍)
  • Discord: Unicode emoji
  • Microsoft Teams: Unicode emoji

Using Emoji in Messages

Simple template string interpolation:

Emoji Object

The emoji object provides type-safe access to 100+ well-known emoji:

EmojiValue Type

Each emoji is an immutable EmojiValue object:
Key features:
  • Object identity: Same emoji name always returns the same object instance
  • String conversion: Works in template literals via toString()
  • Singleton pattern: Enables === comparison

Custom Emoji

Define your own emoji mappings:

Emoji in Reactions

Use emoji for message reactions:

Reaction Event Handling

Listen for specific emoji reactions:

EmojiResolver

Low-level API for platform conversion:

Well-Known Emoji

Complete list organized by category:

Reactions & Gestures

Emotions & Faces

Status & Symbols

Status Indicators (Colored Circles)

Objects & Tools

Arrows & Directions

Emoji in Cards

Emoji work in card text elements:

Placeholder Format

Internally, emoji use the placeholder format {{emoji:name}} which gets converted to platform-specific format when posting:

Matching Emoji

Check if a raw emoji matches a normalized emoji:

Complete Example

Approval workflow with emoji reactions:

Next Steps

Cards

Use emoji in card components

Actions

Add emoji to button labels