Chatbot Emoji

75 views
Skip to first unread message

Ryuya

unread,
Mar 28, 2023, 4:39:31 AM3/28/23
to Google Apps Script Community
Hi there,

I would like to have chatbot send a message with emoji (:smile:) and wrote the scripting below but it did not work out. Can you please let me know why it it?

let text = 'Thank you for the service :smile:';

Thank you.

Hussein Osseily

unread,
Mar 28, 2023, 5:05:45 AM3/28/23
to google-apps-sc...@googlegroups.com
You need to use the unicode value of the smile 


let text = 'Thank you for the service \ud83d\ude03';

Try this approach 

--
You received this message because you are subscribed to the Google Groups "Google Apps Script Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-script-c...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-script-community/a2c957c8-fbf8-4e25-8acc-7e03bf559cben%40googlegroups.com.
Reply all
Reply to author
Forward
Message has been deleted
0 new messages