Update main.py
Browse files
main.py
CHANGED
@@ -83,7 +83,7 @@ async def get_chat_raw(username: str = None):
|
|
83 |
ok = await user_client.get_chat(username)
|
84 |
response = await js.get_creation_date(
|
85 |
api_key="akeno_OSrXhljIomunACd5JY18jFIeIuuB6Pdx",
|
86 |
-
user_id=ok.pinned_message.from_user.id
|
87 |
)
|
88 |
except Exception:
|
89 |
return {"error": "Error try again invalid"}
|
|
|
83 |
ok = await user_client.get_chat(username)
|
84 |
response = await js.get_creation_date(
|
85 |
api_key="akeno_OSrXhljIomunACd5JY18jFIeIuuB6Pdx",
|
86 |
+
user_id=ok.pinned_message.from_user.id
|
87 |
)
|
88 |
except Exception:
|
89 |
return {"error": "Error try again invalid"}
|