PaulSonOfLars / gotgbot

Autogenerated Go wrapper for the telegram API. Inspired by the python-telegram-bot library.
MIT License
469 stars 107 forks source link

Add new emoji conversion bits to the HTML/MDv2 parsers #96

Closed PaulSonOfLars closed 1 year ago

PaulSonOfLars commented 1 year ago

What

Just noticed that the markdown and HTML syntaxes were updated to support custom emoji ids. This makes the required changes to correctly convert those premium emoji to string.

See https://core.telegram.org/bots/api#markdownv2-style

Impact