Closed Ynjxsjmh closed 2 years ago
Same here
@tapatianbeast I think this is a more telethon bug than telegram-upload bug after using telethon to post message to private channel. I bypass this error by changing the private channel to public temporarily because I only need to upload files to private channel one time.
easy fix that can be implemented :
if forward.isdigit():
forward = PeerChannel(int(forward))
forward is called entity in telegram upload with this you can use the id for a private channel without make it public
@doublep21 Which file is this fixed in?
I tried to upload all files in folder to a private channel, but failed:
<to>
values I tried are:+
and https likehttps://t.me/+1234
+
but without https like+1234
-100
but all these commands failed with
ValueError: Cannot find any entity
If I didn't specify the
--to <to>
part, it works fine.