-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reemplace :emoji: codes as theirs unicode representation #38
Comments
There is no such feature on this module, but I think you can use emoji as its UTF8 code. Just copy and paste the emoji. I also think you can use the UTF8 code like: console.log("\u{1F604}"); |
I solved using: $ npm install node-emoji var emoji = require('node-emoji').emoji;
bot.sendMessage(chatId, 'HI! ' + emoji.heart); |
@jacopocappelli1989 This library is mostly focused on interacting with the Bot API i.e. providing low-level access to the API. This seems like a high-level feature that is better suited in a high-level library, or in your application code as @lenny76 suggests above. Side note: you may be interested with tgfancy, as soon as I add emoji support (issue GochoMugo/tgfancy#3). |
lenny76 - it work ) thanks/ |
Hi,
i try to use emoticon/emoji in sendMessage i try ":name:" format and this format: http://pythonhosted.org/python-telegram-bot/telegram.emoji.html
But not work, can you help me? We need to develop some components?
Thanks,
J
The text was updated successfully, but these errors were encountered: