Home > Software engineering >  How to add disable_web_page_preview telegram bot node.js
How to add disable_web_page_preview telegram bot node.js

Time:08-30

Good evening friends, first of all apologies for my English.

I am coding in nodejs and I would like to add the disable_web_page_preview in the code, but I can't and I don't know where to add it.

Telegram.prototype.sendIn = async function(color, clientId, protection = false, gale = false){ if(!color || !clientId) return { status: "error", message: "cor e id do chat são argumentos obrigatorios" }

let message = [];

if(gale)
    message.push(`⚠️ <b>Aviso de Gale ${gale}:</b>\n`);
else
    message.push(`           
  • Related