Fix
Browse files
Detection/UserBot/api_raw.py
CHANGED
@@ -58,7 +58,7 @@ async def send_log(client, text):
|
|
58 |
|
59 |
@Client.on_raw_update()
|
60 |
async def check_raw(client: Client, update, users, chats):
|
61 |
-
|
62 |
if not update:
|
63 |
return
|
64 |
peer = update.peer
|
|
|
58 |
|
59 |
@Client.on_raw_update()
|
60 |
async def check_raw(client: Client, update, users, chats):
|
61 |
+
if isinstance(update, UpdatePinnedMessages):
|
62 |
if not update:
|
63 |
return
|
64 |
peer = update.peer
|