result :
file_path: 'photos/file_7.jpg'
put i did not see any new folder named photos in the path !
where can get the downloaded media ?
getFile() returns a link to file. And then yourself download that (e.g. with axios)
https://api.telegram.org/file/bot[BOTTOKEN]/photos/file_27.jpg
Обсуждают сегодня