File size: 192 Bytes
1c1e321
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
from pyrogram import Client
import os

TELEGRAM_SESSION = os.environ.get("TELEGRAM_SESSION")


bot: Client = Client(
    "Editor", session_string=TELEGRAM_SESSION, workdir="/srv", workers=9
)