video-stream/driver/veez.py
2022-01-31 18:51:30 +07:00

20 lines
367 B
Python

from config import API_HASH, API_ID, BOT_TOKEN, SESSION_NAME
from pyrogram import Client
from pytgcalls import PyTgCalls
bot = Client(
":veez:",
API_ID,
API_HASH,
bot_token=BOT_TOKEN,
plugins={"root": "program"},
)
user = Client(
SESSION_NAME,
api_id=API_ID,
api_hash=API_HASH,
)
call_py = PyTgCalls(user, overload_quiet_mode=True)