M Dmitry
Results
2
comments of
M Dmitry
If you want convert entities `[]tgbotapi.MessageEntity` to Markdown text, [here is an example](https://github.com/ratpoison4/entities/blob/master/entities.go) for Telebot library. And [here is](https://github.com/shtrih/go-telegram-to-discord-reposter/blob/master/tgapi/entities.go) an example for the `telegram-bot-api` that converts entities to Discord markdown...
If you use latest version it requires golang >=v1.16 https://github.com/go-telegram-bot-api/telegram-bot-api/blob/4fe428c77a68a9903ab5bfcaecb978003ce0424b/go.mod#L3