telegram-upload icon indicating copy to clipboard operation
telegram-upload copied to clipboard

Support Chatid Sending?

Open BlueSkyXN opened this issue 3 years ago • 2 comments

For example, -1001461731582 / 1461731582 (used in other tg bot/api) When I try to use id instead of username/link, system error

ValueError: Cannot find any entity corresponding to "XXXXXXXXX"

Like this

I tried -f / --to , same problem

In addition, if the channel/group link is not public, the link format is https://t.me/+XXXXX, the same error is reported

BlueSkyXN avatar Jun 20 '22 06:06 BlueSkyXN

There's a pull request that adds support for sending files to chat ID. Only missing now is downloading from chat ID.

tissole avatar Jun 20 '22 10:06 tissole

Yes. I just run a test with "telegram-upload --to chatID "D:\Backup\New" --directories recursive --large-files split" The file is 7 GB and I see that is uploading with no errors.

On Thursday, June 23, 2022 at 05:23:32 PM GMT+3, xd003 ***@***.***> wrote:  

There's a pull request that adds support for sending files to chat ID. Only missing now is downloading from chat ID.

are you sure that it works ? telegram-upload --to CHAT_ID --directories recursive --large-files split 100MB.bin gives me the following error TypeError: argument of type 'int' is not iterable

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

tissole avatar Jun 25 '22 13:06 tissole

Duplicate of #118.

Nekmo avatar Jun 14 '23 18:06 Nekmo