RedisChatMessageHistoryInput: {
    sessionId: string;
    client?: Redis;
    config?: RedisOptions;
    sessionTTL?: number;
    url?: string;
}

Type for the input parameter of the RedisChatMessageHistory constructor. It includes fields for the session ID, session TTL, Redis URL, Redis configuration, and Redis client.

Type declaration

  • sessionId: string
  • Optional client?: Redis
  • Optional config?: RedisOptions
  • Optional sessionTTL?: number
  • Optional url?: string

Generated using TypeDoc