uploading files to private channel [Solution] #187
j123456780
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Surely many of us have wanted to upload a backup file to a private channel and when doing something like this
telegram-upload --to "Private_channel" file.rar
we got the message
My solution is the following, you just have to look for the file
/.local/lib/[YOU PYTHON VERSION]/site-packages/telegram_upload/management.py
and add the following lines to the upload function
Ideally, the developer will add a similar piece of code, we just need to iterate over the list of our channels for this option to work well.
Beta Was this translation helpful? Give feedback.
All reactions