Share via


VoiceLiveModelFactory.SessionUpdateConversationItemDeleted Method

Definition

Returned when an item in the conversation is deleted by the client with a conversation.item.delete event. This event is used to synchronize the server's understanding of the conversation history with the client's view.

public static Azure.AI.VoiceLive.SessionUpdateConversationItemDeleted SessionUpdateConversationItemDeleted(string itemId = default, string eventId = default);
static member SessionUpdateConversationItemDeleted : string * string -> Azure.AI.VoiceLive.SessionUpdateConversationItemDeleted
Public Shared Function SessionUpdateConversationItemDeleted (Optional itemId As String = Nothing, Optional eventId As String = Nothing) As SessionUpdateConversationItemDeleted

Parameters

itemId
String

The ID of the item that was deleted.

eventId
String

Returns

A new SessionUpdateConversationItemDeleted instance for mocking.

Applies to