0
887
How to use Emoji in Telegram.mqh
- Check the code of Emoji from official site https://unicode.org/emoji/charts/full-emoji-list.html
- For example we need to create a "info" emoji
- Need to get only the number, after U+
- It's 2139
int emoji_info = 0x2139;
string emoj_symb = "";
SetEmojiToMsg(emoj_symb, emoji_info);
void SetEmojiToMsg(string &text, int emoji)
{
StringSetCharacter(text, 0, emoji);
}
Example: