UserHistoryApiImpl, ThreadHistoryApiImpl, and
ChannelHistoryApiImpl into the HistoryApi facade.
Constructor receives a single config object so Chat can pass everything
cleanly without positional-argument confusion:
HistoryApi
Constructor
Parameters
Returns
HistoryApiImpl
Properties
Per-channel history operations.
Individual methods throw when the adapter does not implement them.
Per-thread message history.
Always available — delegates to the adapter’s
fetchMessages.