How to use emojis in api chat message

I am trying to post a chat message containing an emoji to a channel using the space API., ChatMessage.Text("Hello :smiley:"))

The emoji doesn't appear and all I get is plain text. 
How do I make sure the emoji shortcode actually gets converted to an emoji


Kraulain - hi,

Thank you for your question!
We really have an issue with that, so you can subscribe to the ticket to follow the updates.
For now, I can offer you a workaround - please try to add zero-width space symbols so that emoji text representation will follow this template:

: + zwsp + emojiName + zwsp + :

Please let me know if any additional help is needed.

Margarita Kolotilova
The Drive to Develop


The workaround worked well.
Thank you.


Please sign in to leave a comment.