alexander-akhmetov / python-telegram

Python client for the Telegram's tdlib
MIT License
610 stars 123 forks source link

How to emoji reaction to message? #485

Closed arose26 closed 2 months ago

arose26 commented 2 months ago

tg.call_method('addMessageReaction') takes a param 'reaction_type' which is of class reactionTypeEmoji. However, just using a string emoji there doesn't work. Presumably one must create a reactionTypeEmoji object, but is this possible in this library?

arose26 commented 2 months ago

closing as a regular dictionary works for this