feat(backend): read time of my messages from the archive, exact dates and group readers asked from telegram on demand

This commit is contained in:
hh committed 2026-10-19 02:40:49 +00:00
1 parent f27943aae6
commit d8dd08d7de
10 files changed
+497 -9

No files matched your search

+2
View File
@@ -1,6 +1,7 @@
import asyncio
import json
import logging
from datetime import UTC, datetime
from typing import Any
import asyncpg
@@ -114,6 +115,7 @@ class EventHub:
"type": "receipt",
"chat_id": event["chat_id"],
"read_up_to": event["message_id"],
"read_at": datetime.now(UTC).isoformat(),
}
return None