video-stream/driver/veez.py

14 lines
300 B
Python
Raw Normal View History

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