One can add an emoji to a recipe through adding the emoji character, that is for example ๐. A recipe containing an emoji character will be exported containing the emoji character and will not be converted to unicode.Adding the unicode representation of an emoji in the recipe builder will not convert it to an emoji character.
Importing a cookbook containing the unicode representation of an emoji will convert it to an emoji character on import. Example of a cookbook containing unicode representation of an emoji
"actions": [
{
"type": "SendMessageAction",
"data": {
"messageText": "Hello World \uD83D\uDC4B\uD83D\uDC4B",
"connectionName": "routing.rules",
"sendAsBulkMessage": false,
"recipients": {
"contacts": [],
"groups": [],
"smartGroups": [],
"expressions": [
"${trigger.sourceNumber}"
],
"addresses": [],
"contacts_missing_mobile": []
}
}
}
],
An emoji character can also be added to the cookbook and it will be imported correctly.
0 Comments