Replymessage unavailable
from pyrogram import Client
proxy = {
"scheme": "socks5", # or "http"
"hostname": "127.0.0.1",
"port": 1080, # change if needed
# "username": "your_user", # optional
# "password": "your_pass" # optional
}
app = Client(
"my_session",
api_id=123456, # your API ID
api_hash="your_api_hash", # your API Hash
proxy=proxy # <-- passing the proxy dict here
)
with app:
print(app.get_me())