fixes
This commit is contained in:
parent
5e2758572c
commit
a272f2be11
@ -1,12 +1,13 @@
|
|||||||
from pyrogram import Client
|
from pyrogram import Client
|
||||||
from pytgcalls import PyTgCalls
|
from pytgcalls import PyTgCalls
|
||||||
from config import SESSION_NAME, API_ID, API_HASH
|
from config import SESSION_NAME, API_ID, API_HASH, BOT_TOKEN
|
||||||
|
|
||||||
bot = Client(
|
bot = Client(
|
||||||
SESSION_NAME,
|
":memory:",
|
||||||
API_ID,
|
API_ID,
|
||||||
API_HASH,
|
API_HASH,
|
||||||
|
bot_token=BOT_TOKEN,
|
||||||
plugins=dict(root="program")
|
plugins=dict(root="program")
|
||||||
)
|
)
|
||||||
|
user = Client(SESSION_NAME, API_ID, API_HASH)
|
||||||
call_py = PyTgCalls(bot)
|
call_py = PyTgCalls(user)
|
||||||
|
Loading…
Reference in New Issue
Block a user