| InputFileByBuffer | InputFileByURL... 
                  
                  
                  
                  
                  
                  корректно будет {url: '' || source:''}
                  
                  
                  
                  
                  
                  ctx.replyWithPhoto({url: http://localhost:80/bot/image?random=63}) 
                  
                  
                  
                  
                  
                  или через буфер
                  
                  
                  const response = await fetch(http://localhost:80/bot/image?random=63)
                  
                  
                  const buffer = await response.buffer();
                  
                  
                  return ctx.replyWithPhoto({source: buffer})
                  
                  
                  
                  
                  
                  спасибо за помощь!
                  
                  
                
Круто телега кавычки хавает
Обсуждают сегодня