Hi, i would like to request to add the getFile method (Resource) to the Telegram node.
Use-Case:
Whenever a file is uploaded and received via Telegram Trigger, the received data contains only the file_id.
Now, to get the download link for the file, one only needs to call: https://api.telegram.org/bot<token>/getFile?file_id=<file_id>
which returns the file_path property.
The file is then available to be downloaded from: https://api.telegram.org/file/bot<token>/<file_path>
This can be done via a HTTP node, as a workaround, but that’s certainly not ideal as the bot token (which is already available in the Telegram Credential) also needs to be set again.
If you go to additional fields you are gonna find a field called Download Images. Set it to true and the trigger will automatically download the files.