This commit is contained in:
levina 2022-02-10 16:52:05 +07:00 committed by GitHub
parent 652def66a7
commit 3faf6423b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,7 @@
from config import API_HASH, API_ID, BOT_TOKEN, SESSION_NAME
from pyrogram import Client from pyrogram import Client
from pytgcalls import PyTgCalls from pytgcalls import PyTgCalls
from aiohttp import ClientSession
from config import API_HASH, API_ID, BOT_TOKEN, SESSION_NAME
bot = Client( bot = Client(
@ -18,3 +19,6 @@ user = Client(
) )
calls = PyTgCalls(user, overload_quiet_mode=True) calls = PyTgCalls(user, overload_quiet_mode=True)
aiohttpsession = ClientSession()