transcripts, threadHistory, and messageHistory fields on ChatConfig.
Properties
{ maxMessages: number; ttlMs: number }
Per-thread message history backfill.
Used by adapters that set
persistThreadHistory: true (e.g. Telegram, WhatsApp).
Replaces the top-level threadHistory / messageHistory config fields.Cross-platform per-user message persistence.
Replaces the top-level
transcripts config field.
Requires an identity resolver via UserHistoryConfig.identity
(preferred) or the deprecated top-level ChatConfig.identity.