tranny / App /__init__.py
Mbonea's picture
embedding?
f5b43ca
raw
history blame
305 Bytes
from telethon import TelegramClient
from telethon.sessions import StringSession
import os
TELEGRAM_SESSION = os.environ.get("TELEGRAM_SESSION")
bot: TelegramClient = TelegramClient(
StringSession(
TELEGRAM_SESSION
),
api_id=870972,
api_hash="ce2efaca02dfcd110941be6025e9ac0d",
)