hello my code : bot.start((ctx) => { try { ctx.replyWithMarkdown("") } catch (err) { // no thing here } }); i want hide the errors when i got erro...
hello if i have this files : main.js main1.js main2.js main3.js main4.js main5.js and all files have same thing inside it : console.log("welcome") is there is anyway if c...
@dotcypress hi, how are you ? you said Telegraf better than node-telegram-bot-api one of the reasons this But your personal opinion far from you the developer of Telegraf w...
command('test', ctx => { ctx.replyWithPhoto('https://telegra.ph/file/bae66b5477c7898688dc7.jpg', { caption: "THIS IS A PHOTO", reply_markup...
Best Editor ? public poll VS Code – 13 👍👍👍👍👍👍👍 68% @botmakeruz, @dotcypress, @Sardorkhuja, @LyoSU, @lgtnng, @ratinsky_a, @kaboomdev, @ejnshtein, @eezee, @olehcambel, @Pro100A...
TypeError: Cannot read property 'enter' of undefined the code : const Stage = require('telegraf/stage') const Scene = require('telegraf/scenes/base') const scene = new Scene(...
what the best database with nodejs bots ? public poll MongoDB – 9 👍👍👍👍👍👍👍 75% @Loskir, @Kylmakalle, @letitcode, @ejnshtein, @Eugene_Myhed, @nalek7, @yo_dima, @max_filippov, @...
hello i have this code : bot.on('inline_query', async ({ inlineQuery }) => { const newMessage = inlineQuery.message.text console.log(newMessage) }) whene i write : @myb...
bro this working only with: ctx.replyWithMarkdown("") .catch(() => {}) how if i want it for all the function ? like this function : bot.on('text', (ctx) => { if(ctx.me...
hello i have 2 files app.js & databasefile.js database.js = https://del.dog/uxedokejow.json app.js = https://del.dog/asajimusok.json the output of var seeApp = database.i...
now if i have folder named "commands" in this folder have 2 files : start.js help.js how i can add it to index.js file in 1 time ? index.js have a code run the bot like plu...
when i use method getFile to download media i got in result : file_path: 'photos/file_7.jpg' put i did not see any new folder named photos in the path ! where can get the ...
how i send m4a audio by telegraf ? i try with replyWithAudio and replyWithVideo in both i got error : (node:7664) UnhandledPromiseRejectionWarning: Error: 400: Bad Request: w...
hi is there is something like this in telegraf? send command to the bot like /name bot send : whats is your name ? and bot wait until get text from the user then the bot se...
i am done with this i do it but how if i want canscel ? i try : stage.command('cancel', async ctx => { getCommand.leave((ctx) => ctx.reply('*Done Cancel*', Extra.markdown...
hello what is this error ? https://del.dog/volujumuxa.coffeescript
what method i cam use it to send it ?
is always there photo[3] "3 arrary" in all photos ?
is telegram on ios support play mp3?
why better ?