yagop / node-telegram-bot-api

Telegram Bot API for NodeJS
MIT License
8.3k stars 1.5k forks source link

Parse entities when sending request #1013

Closed toniop99 closed 1 year ago

toniop99 commented 1 year ago

Description

Is needed to stringify some options related with send arrays of messageEntities as specified in the doc of Telegram. Using same method as for replyMarkup with _fixReplyMarkup

There are three possible options fields wich need to be stringified. (entities, caption_entities and explanation_entities)

References