I can not find in the docs how to disable the annoying link preview. Anyone knows how to?
Try following:
const { Extra} = require('telegraf')
bot.reply('Hello http://github.com', Extra.webPreview(false))
@dotcypress Unfortunately this solution doesn't work with replyWithHTML()
Do you know any alternative solution for this 馃憞
ctx.replyWithHTML(welcomeMSG, inlineButton, Extra.webPreview(false));
Extra.webPreview(false) returns an Extra, so you can chain it.
`
let markup = Extra.webPreview(false).HTML().markup((m) => {
return m.inlineKeyboard(m.callbackButton("text",action`));
});
ctx.reply("msg", markup);
```
Most helpful comment
Try following: