Detection/UserBot/api_raw.py
CHANGED
@@ -29,7 +29,6 @@ from pyrogram.types import InlineKeyboardMarkup, InlineKeyboardButton
|
|
29 |
|
30 |
from pyrogram.raw.types import (
|
31 |
UpdateNewMessage,
|
32 |
-
UpdateGroupInvitePrivacyForbidden,
|
33 |
UpdatePrivacy,
|
34 |
UpdateUserName,
|
35 |
UpdatePinnedMessages,
|
@@ -59,9 +58,6 @@ async def send_log(client, text):
|
|
59 |
|
60 |
@Client.on_raw_update()
|
61 |
async def check_raw(client: Client, update, users, chats):
|
62 |
-
if isinstance(update, UpdateGroupInvitePrivacyForbidden):
|
63 |
-
LOGS.info(f"Update Invite: {update}")
|
64 |
-
|
65 |
elif isinstance(update, UpdatePinnedMessages):
|
66 |
if not update:
|
67 |
return
|
|
|
29 |
|
30 |
from pyrogram.raw.types import (
|
31 |
UpdateNewMessage,
|
|
|
32 |
UpdatePrivacy,
|
33 |
UpdateUserName,
|
34 |
UpdatePinnedMessages,
|
|
|
58 |
|
59 |
@Client.on_raw_update()
|
60 |
async def check_raw(client: Client, update, users, chats):
|
|
|
|
|
|
|
61 |
elif isinstance(update, UpdatePinnedMessages):
|
62 |
if not update:
|
63 |
return
|