yagop / node-telegram-bot-api

Telegram Bot API for NodeJS
MIT License
8.13k stars 1.49k forks source link

added _fixCaptionEntities #1122

Closed Sp3rick closed 8 months ago

Sp3rick commented 10 months ago

Sent caption_entities messages are not stringified by default, this function will do that

I implemented it ONLY in: sendVoice sendAnimation sendVideo sendDocument sendAudio and sendPhoto

May be missing copyMessage and all edit functions

Description

References

kamikazechaser commented 9 months ago

caption_entities are an optional parameter. It is up to the user to handle it.

danielperez9430 commented 8 months ago

Yep, optional params need to handle manual by the user in their code