ConversationUIContainer

The main conversation interface container for the Agentforce SDK. A SwiftUI view that provides a complete conversational AI interface with message display, user input, voice interaction, and multi-modal content.

PropertyTypeDescription
bodysome ViewThe main view content (inherited from View)
alternateTitleString?Optional custom title to display in the conversation header
MethodSignatureDescription
updateSession(session:)func updateSession(session: AgentConversation) throwsUpdates the conversation session with a new session instance
sendUtterance(_:) ⚠️func sendUtterance(_ utterance: String) ⚠️Deprecated: Messages should be sent using AgentforceConversation.sendUtterance
resetChat() ⚠️func resetChat() ⚠️Deprecated: The chat should be cleared using AgentforceConversation.reset
Inherited from ViewAll View protocol methodsInherits all standard SwiftUI View methods and modifiers. See View (Apple Developer)