Closed C0deL0ver closed 5 years ago
Not an issue with the library, it's an error from Telegram.
Umm... It is clearly saying UserIdInvalidError
. I've also read some other discussions here. Do you think it has anything to do with the access.hash
?
Is there a way other than InviteToChannelRequest to add members to a super group?
@Lonami could you please answer my last questions?
@C0deL0ver would you find out the answer? Because I'm facing the same problem while adding a user from a different account. @Lonami If you solve this error so please tell me about how to solve it.
No help will be given by me in the issues section. Nor will most people help others try to spam (inviting to channel is nearly always spam and there are better alternatives). Hence the lack of a response.
user_to_add = InputPeerUser(user['id'], user['access_hash'])
is the culprit, seems this is not supported method, though document says supported. or its bug in telethon
user_to_add = InputPeerUser(user['id'], user['access_hash'])
is the culprit, seems this is not supported method, though document says supported. or its bug in telethon
@jpatk123 did you find a solution to this problem. I am having the same problem.
Has anyone a solution for this problem?
Locking since there is nothing to fix here. Access hash is unique per account and adding users is spam. That's all.
Hi. I get this error and no matter how hard I try it won’t fade away. It appears when I select add by user id (the original code is on the bottom). How can I solve it? I managed to use it once and it worked, but now I want to use it on another account of mine, but it shows this error. I also checked with my friends' accounts and still the same error.
The code: