Download a video sent in a Telegram chat

Hey everyone,

I researched for abit but couldn’t find anything useful about this issue.
hope to find the solution with you.

Describe the problem/error/question

I managed to download files, and images sent to the bot, using Telegram Trigger node and a read/write files from disk node

What is the error message (if any)?

it doesn’t download the file and put it inside DATA object so the write node can execute.
it shows data info about the video, but not the video itself
https://i.imgur.com/XP9AnMh.png

Please share your workflow

Share the output returned by the last node

Information on your n8n setup

  • n8n version:
    1.45.1
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
    docker
  • Operating system:
    ubuntu

Welcome to the community @Moataz_Abosdera :tada: and thanks for posting!

This seems to have been a bug related to the Telegram Trigger node and there’s now a PR to fix this: fix(Telegram Trigger Node): Fix issue with videos not being downloaded by Joffcom · Pull Request #10007 · n8n-io/n8n · GitHub which once reviewed should be merged and available in the future release soon.

In the meantime, you can use the HTTP request node as a workaround. Thanks again for bringing this issue to our attention :slight_smile:

2 Likes

Thank you @aya for the prompt solution.
I hope it gets released soon.
if not I’ll build the image myself.

1 Like

@Moataz_Abosdera should be available in the next release :slight_smile:

1 Like

thanks alot @aya I’m looking forward to that release.
Any ETA? Since I wasn’t successful in building the image on arm64

Hi @Moataz_Abosdera

We will notify about the release in this thread. Probably gonna happen next week.

1 Like

thank you very much.

while I’m waiting for this I was testing around with the bot, now I found out the bot does not pick up messages from other bots, only from human accounts.
Is this intended or a bug too?

Hi @Moataz_Abosdera

this is a Telegram limitation that bots cannot pick up messages from other bots:

New version [email protected] got released which includes the GitHub PR 10007.

Great news. thank you very much.