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(
|
2022-01-15 14:02:42 +00:00
|
|
|
":veez:",
|
2021-10-30 22:53:27 +00:00
|
|
|
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-11-23 14:18:39 +00:00
|
|
|
call_py = PyTgCalls(user, overload_quiet_mode=True)
|