You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The error is in the library's code, and not in my own.
I have searched for this issue before posting it and there isn't a duplicate.
I ran pip install telethon
Code that causes the issue
fromtelethonimportTelegramClient, events, sync# These example values won't work. You must get your own api_id and# api_hash from https://my.telegram.org, under API Development.api_id=api_hash=client=TelegramClient('session_name', api_id, api_hash)
client.start()
By simply logging into account by using this example code provided in the Readme, I have lost access to my personal account and was logged out everywhere and at the moment can not regain access to it.
Looks like you know about this possibility from numerous incidents #4051#824
I urge you to put highly visible warning about very high possibility of losing access to account. Only briefly mentioning this in FAQ is simply not enough and does not provide adequate visibility for end users that could only read Readme and use provided example code.
Please put warning about this in:
Readme
In example files
In interactive routine start()
I hope you understand my concern.
Update:
I regained access by logging in from phone and receiving SMS code, but this was scary experience
SpamBot does not report anything
The text was updated successfully, but these errors were encountered:
Damn that's kinda extreme, don't you think? "Go away, this library will just ban your account" is not good advertising.
I've added a reminder that breaking the ToS can lead to account bans. That really should be obvious to anyone using third-party services, though. But hopefully more people will be aware of this reality with that change.
very high possibility of losing access to account
I'm also not sure where this number is coming from. I've been using the library for years (hell, even developing it, and doing a lot of unintended things), and have never experienced it myself. Sure, a lot of people complain about bans. But we don't see people complaining about it working just fine. There is selection bias here.
Jisan09
added a commit
to TgCatUB/Telethon
that referenced
this issue
May 28, 2023
* except and propagate TypeNotFoundError during update handling
* Better document breaking ToS will lead to bans
ClosesLonamiWebs#4102.
* Fix KeyError when ID is in cache but queried without mark
ClosesLonamiWebs#4084.
* Fix asyncio.CancelledError was being swallowed by inner except
ClosesLonamiWebs#4104.
* Add check for asyncio event loop to remain the same
* Update FAQ with more common questions
---------
Co-authored-by: Lonami Exo <totufals@hotmail.com>
pip install telethon
Code that causes the issue
Hello @Lonami
By simply logging into account by using this example code provided in the Readme, I have lost access to my personal account and was logged out everywhere and at the moment can not regain access to it.
Looks like you know about this possibility from numerous incidents #4051 #824
I urge you to put highly visible warning about very high possibility of losing access to account. Only briefly mentioning this in FAQ is simply not enough and does not provide adequate visibility for end users that could only read Readme and use provided example code.
Please put warning about this in:
I hope you understand my concern.
Update:
The text was updated successfully, but these errors were encountered: