feat: add SST

This commit is contained in:
hh committed 2026-05-29 20:45:02 +02:00
1 parent 51093da660
commit bfd16ab02c
11 files changed
+196 -4

No files matched your search

@@ -3,11 +3,17 @@ from collections.abc import Awaitable, Callable
from pyrogram import raw
from userbot import PyroClient
from userbot.handlers.raw import contacts, dialog_filters, reactions
from userbot.handlers.raw import (
contacts,
dialog_filters,
reactions,
read_contents,
transcribed,
)
RawHandler = Callable[..., Awaitable[None]]
_MODULES = (contacts, dialog_filters, reactions)
_MODULES = (contacts, dialog_filters, reactions, read_contents, transcribed)
_REGISTRY: dict[type, RawHandler] = {
update_type: module.handle for module in _MODULES for update_type in module.HANDLES
}