Last active
May 31, 2022 10:52
-
-
Save yashoswalyo/3d6b7843cb282deebf6bd19e4cf35946 to your computer and use it in GitHub Desktop.
A program based on pyrogram to create user session, download the file and run it with python
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from pyrogram import Client | |
app = Client( | |
name='my-user-session', | |
api_hash=input("Enter Api Hash: "), | |
api_id=input("Enter Api id: ") | |
) | |
with app: | |
print(app.export_session_string()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment