Feature Request
I have:
In Telegram you can style text like this **bold text** or __italic text__.
The node-telegram-bot-api seems not to support this.
On the other hand, Emojis are working.
Use parse_mode: 'Markdown', 馃憤
As it mention in telegram documentation, you just need to add parse_mode to options. As in the example below:
bot.onText(/\/start/, function onStart(msg) {
const opts = {
reply_markup:{
keyboard: [
['FAQ'],
['Buy']
]
},
parse_mode: 'Markdown'
};
bot.sendMessage(msg.from.id, "*You are welcome!*\nWe would like to introduce you our new [product](https://xxx.yyy/zzz)", opts);
});
Perfect! Will try this today. Thank you!
Most helpful comment
As it mention in telegram documentation, you just need to add
parse_modeto options. As in the example below: