From c8047a6308b2e05ddd4de393258f2b6da3f25c54 Mon Sep 17 00:00:00 2001 From: levina <82658782+levina-lab@users.noreply.github.com> Date: Tue, 26 Oct 2021 13:37:52 +0700 Subject: [PATCH] no need --- driver/veez.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/driver/veez.py b/driver/veez.py index c2a7485..e10e817 100644 --- a/driver/veez.py +++ b/driver/veez.py @@ -1,16 +1,12 @@ +from pyrogram import Client from pytgcalls import PyTgCalls -from pyrogram import Client, filters from config import SESSION_NAME, API_ID, API_HASH -contact_filter = filters.create( - lambda _, __, message: - (message.from_user and message.from_user.is_contact) or message.outgoing -) - bot = Client( SESSION_NAME, API_ID, API_HASH, plugins=dict(root="program") ) + call_py = PyTgCalls(bot)