in telegram bot api you can use getFile and it returns then you can use it like https://api.telegram.org/file/bot<token>/<file_path> to get the file direct link .
limitation : Maximum file size to download is 20 MB
in working with files, section upload.getFile() it said it return all data, how can we use that data to make a direct link ....?
or any other way to bypass 20mb limitation and make direct link for files ?
in telegram bot api you can use getFile and it returns then you can use it like
https://api.telegram.org/file/bot<token>/<file_path>
to get the file direct link .in working with files, section upload.getFile() it said it return all data, how can we use that data to make a direct link ....?
or any other way to bypass 20mb limitation and make direct link for files ?
doc : getFile -> here