video-stream/driver/veez.py

20 lines
343 B
Python
Raw Normal View History

2021-10-30 22:53:27 +00:00
from config import API_HASH, API_ID, BOT_TOKEN, SESSION_NAME
2021-10-26 06:37:52 +00:00
from pyrogram import Client
2021-10-25 08:28:36 +00:00
from pytgcalls import PyTgCalls
bot = Client(
2021-10-30 22:53:27 +00:00
":memory:",
API_ID,
API_HASH,
bot_token=BOT_TOKEN,
plugins={"root": "program"},
2021-10-25 08:28:36 +00:00
)
2021-10-30 22:53:27 +00:00
user = Client(
SESSION_NAME,
api_id=API_ID,
api_hash=API_HASH,
)
2021-10-26 12:45:51 +00:00
call_py = PyTgCalls(user)