@openpromo/chat-adapter-core
v0.13.0
Published
Platform-neutral shared machinery for OpenPromo first-party Chat SDK adapters — thread identity, webhook ingress, normalization, and capability tables
Readme
@openpromo/chat-adapter-core
Shared normalization for OpenPromo first-party Chat SDK adapters.
- Thread identity — account-scoped DM thread ids for multi-account Inbox
runtimes (
messenger:{pageId}:{userId}andinstagram:{accountId}:{userId}), plus OpenPromo's own comment-thread scheme ({platform}:{accountId}:comment:{parentCommentId}). - Comments-as-threads — verb → message-state mapping and post/media context types for the comment surfaces no official adapter covers.
- Capability tables — per-platform capability declarations used by the adapters to state what they support.
Used by @openpromo/chat-adapter-meta and future platform adapter packages.
