Share via


ChatHistory.AddRange(IEnumerable<ChatMessageContent>) Method

Definition

Adds the messages to the history.

public void AddRange (System.Collections.Generic.IEnumerable<Microsoft.SemanticKernel.ChatMessageContent> items);
member this.AddRange : seq<Microsoft.SemanticKernel.ChatMessageContent> -> unit
Public Sub AddRange (items As IEnumerable(Of ChatMessageContent))

Parameters

items
IEnumerable<ChatMessageContent>

The collection whose messages should be added to the history.

Exceptions

items is null.

Applies to