Reputation: 1143
Is there a way to check if session is in use?
I want to make sure that I do not use a session if it is already in use on a different IP address.
I am currently using telethon-session-sqlalchemy
Upvotes: 0
Views: 1100
Reputation: 26
I think you can use this to get active session:
GetAuthorizationsRequest()
Upvotes: 1