Answer the question
In order to leave comments, you need to log in
How to check if a value exists in Markdown markup when sending a Telegram bot message?
Hello!
Forming the body of the message to be sent by the bot
let md = `
game #_${data.game}_
Раунд: ${body.event.roundInfo.name} (${body.event.roundInfo.round})
`;
bot.sendMessage(chat_id, md, {parse_mode: 'Markdown'});
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