diff --git a/datasources/telegram/search_telegram.py b/datasources/telegram/search_telegram.py index d655e73a2..a45a772ef 100644 --- a/datasources/telegram/search_telegram.py +++ b/datasources/telegram/search_telegram.py @@ -407,6 +407,7 @@ async def resolve_groups(self, client, message): self.details_cache[value["user_id"]] = SearchTelegram.serialize_obj(user) resolved_message[key] = self.details_cache[value["user_id"]] + resolved_message[key]["user_id"] = value["user_id"] else: resolved_message[key] = await self.resolve_groups(client, value)