Language

TurnStateOptions.KeyPrefix Property

Definition

Gets or sets the prefix for cache keys. Defaults to "ts". Change this to isolate state when multiple bots share the same cache. Keys are formatted as {KeyPrefix}:conv:{conversationId} and {KeyPrefix}:user:{conversationId}:{userId}.

public string KeyPrefix { get; set; }
member this.KeyPrefix : string with get, set
Public Property KeyPrefix As String

Property Value

Applies to