Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

179
Views
Deshabilitar notificaciones de Telegraf

No puedo encontrar en los documentos cómo deshabilitar las notificaciones en mi bot de Telegraf. ¿Alguien sabe cómo?

 ctx.replyWithHTML("Text", { disable_notification: true });
about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Si miramos la fuente de replyWithHTML veremos:

 replyWithHTML(this: Context, html: string, extra?: tt.ExtraReplyMessage) { return this.reply(html, { parse_mode: 'HTML', ...extra }) }

Aquí el objeto extra se distribuye a la reply que luego se pasa a sendMessage


Entonces, su forma de pasar un objeto adicional, con disable_notification como lo define el método telegram /sendMessage , es la forma deseada.

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!