I can not understand what the problem is, I try to send a document after the start, but I bot.start((ctx) => { bot.telegram.sendDocument(ctx.chat.id, './table.pdf'); }); error bot.start((ctx) => { bot.telegram.sendDocument(ctx.chat.id, './table.pdf'); }); Mistake

 (node:14312) UnhandledPromiseRejectionWarning: Error: 400: Bad Request: wrong HTTP URL specified at buildConfig.then.then.then.then (C:\xampp\htdocs\Chatvot\chatbot_member\telegram\node_modules\telegraf\core\network\client.js:263:17) at process._tickCallback (internal/process/next_tick.js:68:7) 

I am writing a chat bot on node.js using Telegraf, someone faced this problem? Thanks in advance

    0