feat(gateway): route Slack events through external chat

This commit is contained in:
Anish Sarkar 2026-06-01 12:36:53 +05:30
parent 61a3586caf
commit f305a2e67d
4 changed files with 136 additions and 15 deletions

View file

@ -12,6 +12,10 @@ def telegram_event_dedupe_key(update_id: int | str) -> str:
return f"update:{update_id}"
def slack_event_dedupe_key(event_id: int | str) -> str:
return f"slack_event:{event_id}"
async def persist_inbound_event(
session: AsyncSession,
*,