Answer the question
In order to leave comments, you need to log in
How to include HTML in SendPhoto?
In the message, the tags are not visible, but they do not work either. In sendMessage everything works fine. I 'm using node-telegram-bot-api
What's wrong?
const html = `<b>какойто текст</b>`
bot.sendPhoto(chatId, picture, {
caption: html,
parse_mode: 'HTML'
})
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question