-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
cannot add buttons to keyboard with emoji as bytes #265
Comments
Have you tried copy-pasting emojis into your IDE directly? Works fine for me, since emoji = Unicode character |
Actually this idea didn't come to my mind. Tried it, and yes, it worked, thank you! Before trying to represent them as bytes, I tried to past emoji's with unicode, but i didn't copy the emoji itself, i copied the code from there http://apps.timwhitlock.info/emoji/tables/unicode, and every emoji looked like this |
Is your problem solved? |
Yes, thank you! |
Please answer these questions before submitting your issue. Thanks!
What version of pyTelegramBotAPI are you using?
2.2.3
What version of python are you using?
3.5.2
I have a message_handler:
Which tries to make a custom keyboard with emoji's. I represent them as bytes and it works well, when i just send them with send_message.
But when i try to add a button to keyboard, i get an error:
I think, it's a bug, cuz if i add to 'add' function something like this:
It works well, and buttons add successfully to keyboard.
Is it going to be fixed?
Thank you!
The text was updated successfully, but these errors were encountered: