diff --git a/anjani/plugins/users.py b/anjani/plugins/users.py index 1fe04b442..4b8ba702c 100644 --- a/anjani/plugins/users.py +++ b/anjani/plugins/users.py @@ -251,7 +251,7 @@ async def _chat_info( text += f"**ID:** `{chat.id}`\n" if chat.dc_id: text += f"**DC ID:** `{chat.dc_id}`\n" - text += f"**Chat Type:** `{chat.type}`\n" + text += f"**Chat Type:** `{chat.type.__dict__['_name_']}`\n" text += f"**Title:** `{chat.title}`\n" if chat.username: text += f"**Chat Username:** @{chat.username}\n"