Table of Contents

Class ConversationEvent

public class ConversationEvent
Inheritance
object
ConversationEvent

Constructors

ConversationEvent(ConversationEventType, string, Conversation, Conversation[], ConversationItem[], string, bool)

public ConversationEvent(ConversationEventType type, string conversationId, Conversation conversation = null, Conversation[] conversations = null, ConversationItem[] conversationItems = null, string args = null, bool success = true)

Parameters

type ConversationEventType
conversationId string
conversation Conversation
conversations Conversation[]
conversationItems ConversationItem[]
args string
success bool

Properties

Args

public string Args { get; }

Property Value

string

Conversation

public Conversation Conversation { get; }

Property Value

Conversation

ConversationId

public string ConversationId { get; }

Property Value

string

ConversationItems

public ConversationItem[] ConversationItems { get; }

Property Value

ConversationItem[]

Conversations

public Conversation[] Conversations { get; }

Property Value

Conversation[]

Success

public bool Success { get; }

Property Value

bool

Type

public ConversationEventType Type { get; }

Property Value

ConversationEventType

Methods

Created(Conversation)

public static ConversationEvent Created(Conversation conversation)

Parameters

conversation Conversation

Returns

ConversationEvent

Deleted(string, bool)

public static ConversationEvent Deleted(string conversationId, bool success)

Parameters

conversationId string
success bool

Returns

ConversationEvent

ItemsLoaded(string, ConversationItem[])

public static ConversationEvent ItemsLoaded(string conversationId, ConversationItem[] items)

Parameters

conversationId string
items ConversationItem[]

Returns

ConversationEvent

ListLoaded(Conversation[])

public static ConversationEvent ListLoaded(Conversation[] conversations)

Parameters

conversations Conversation[]

Returns

ConversationEvent

Loaded(Conversation)

public static ConversationEvent Loaded(Conversation conversation)

Parameters

conversation Conversation

Returns

ConversationEvent

SummaryUpdated(string, string)

public static ConversationEvent SummaryUpdated(string conversationId, string newSummary)

Parameters

conversationId string
newSummary string

Returns

ConversationEvent

TitleUpdated(string, string)

public static ConversationEvent TitleUpdated(string conversationId, string newTitle)

Parameters

conversationId string
newTitle string

Returns

ConversationEvent