feat: log presence, read receipts, group leaves, links, profiles, stories
This commit is contained in:
1 parent
bfd16ab02c
commit
bcb94b6474
31 files changed
+1298
-19
No files matched your search
@@ -6,14 +6,24 @@ from userbot import PyroClient
|
||||
from userbot.handlers.raw import (
|
||||
contacts,
|
||||
dialog_filters,
|
||||
profiles,
|
||||
reactions,
|
||||
read_contents,
|
||||
read_receipts,
|
||||
transcribed,
|
||||
)
|
||||
|
||||
RawHandler = Callable[..., Awaitable[None]]
|
||||
|
||||
_MODULES = (contacts, dialog_filters, reactions, read_contents, transcribed)
|
||||
_MODULES = (
|
||||
contacts,
|
||||
dialog_filters,
|
||||
profiles,
|
||||
reactions,
|
||||
read_contents,
|
||||
read_receipts,
|
||||
transcribed,
|
||||
)
|
||||
_REGISTRY: dict[type, RawHandler] = {
|
||||
update_type: module.handle for module in _MODULES for update_type in module.HANDLES
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user