Telegram extension file limit?

Hello,
At the moment I’ve configured an automatic full backup on drive and on a local server, but I’d like to see if it’s possible to upload the backup on the telegram channel I’m using with home assistant.

At the moment I’ve set a manual backup on a custom path /config/SMB.

If I try to run the service with:

service: telegram_bot.send_document
data:
  file: /config/SMB/Backup.tar

Nothing is uploaded to the channel, but if I try with other files like a txt or a mp4 (small size):

service: telegram_bot.send_document
data:
  file: /config/SMB/New File.txt
 

The file is automatically uploaded to the channel.
My backup file is around 250MB and telegram accepts files under 2GB so I don’t think that is an issue with Telegram but with the HA extension.
Is there something I’m missing or is there a limit on the size of a document on the telegram extension?

2GB limit is for users only
sadly bots can only send up to 50MB (https://core.telegram.org/bots/faq#how-do-i-upload-a-large-file).

having the same problem now :confused:

1 Like