You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I hope you're doing well. I have some trouble downloading some files. I get this error.
I've got the file from a Telegram Bot.
Events handler error: 'NoneType' object has no attribute 'id'
File "/usr/src/telegram-download-daemon-ng/src/telegram_download_daemon_ng/__init__.py", line 132, in handler
channel=channel_msg.chat.id,
I think you use the chat id to create a folder to put the downloaded file there, right?
Best Regards, Shahram
The text was updated successfully, but these errors were encountered:
sorry for the late response, GitHub doesn't notify me about this issue
I think you use the chat id to create a folder to put the downloaded file there, right?
That id is used to identify the message, as the daemon needs to store id to be able to download from the downloads queue.
The folder creation only applies when the link is to a channel directly, creating a folder with the channel name, and all media in that channel being stored in that folder. On single messages or attachment, there is no folder creation involved.
Can you explain how did you get that error? A reproducible example would be useful.
Hello Luis,
I hope you're doing well. I have some trouble downloading some files. I get this error.
I've got the file from a Telegram Bot.
I think you use the chat id to create a folder to put the downloaded file there, right?
Best Regards, Shahram
The text was updated successfully, but these errors were encountered: