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

Feature Request - Choose channel by ID

Open tissole opened this issue 4 years ago • 4 comments

Now uploading to a private channel is possible only by indicating the invite link, is not working with channel ID. But this method triggers some wait messages from TG after some time and the script stops.

Please add an option to use channels IDs

tissole avatar May 23 '21 18:05 tissole

It will be investigated. Can you put an example id?

Nekmo avatar Jun 01 '21 23:06 Nekmo

This is a channel ID.

Channel ID

Many unofficial Telegram clients show channel and group IDs when a user clicks on the channel name. There are also numerous bots that show this info, like @userinfobot for example. The error I got is similar to that posted on #111. Channel usernames can be used only for public channels and groups, but private channels and groups don't have usernames and the only option is to use their IDs.

Using channel invite triggers flood errors because Telegram confuses files uploaded with users added to a channel/group. I made my channel public and I used the username and the error was not encountered anymore.

tissole avatar Jun 03 '21 11:06 tissole

@tissole Maybe this can help you https://github.com/muyangren907/telegram-upload @Nekmo Because I am not very familiar with GitHub operation, I can only fork a copy and submit it in my own warehouse

muyangren907 avatar Jun 13 '21 17:06 muyangren907

@muyangren907 Thanks a lot! I tested and is working! No more flood messages :)

tissole avatar Jun 14 '21 09:06 tissole

Fixed in telegram-upload v0.6.0.

Nekmo avatar Jun 14 '23 17:06 Nekmo