UserHistoryApiImpl, ThreadHistoryApiImpl, and
ChannelHistoryApiImpl into the HistoryApi facade.
Constructor receives a single config object so Chat can pass everything
cleanly without positional-argument confusion:
Constructor
Parameters
HistoryApiImplConfig
required
Returns
HistoryApiImpl
Properties
required
Per-channel history operations.
Individual methods throw when the adapter does not implement them.
required
Per-thread message history.
Always available — delegates to the adapter’s
fetchMessages.required
Cross-platform per-user transcript store.
Throws if
history.user (or legacy transcripts) is not configured.