Я уже пробовал этот файл console.log (photo.file_path);но я получаю file_path
var picture = (context)ctx.message.photo[0].file_id; var photo = `https://api.telegram.org/bot1234-ABCD/getFile?file_id=${picture}`; console.log(photo.file_path);
npm insatll needle
`var needle = require ('needle');
needle.get (https://api.telegram.org/bot1234:ABCD/getFile?file_id=${picture}, function (error, response) {if (! Error && response).statusCode == 200) console.log (response.body.resuolt);}); `
https://api.telegram.org/bot1234:ABCD/getFile?file_id=${picture}