AgentforceChatView

Type alias providing a more intuitive name for the main chat interface component. AgentforceChatView is the primary SwiftUI view for displaying and interacting with Agentforce conversations. It provides a complete chat interface including message history, input controls, voice interaction, and rich content rendering capabilities.

PropertyTypeDescription
bodysome ViewThe main view content of the chat interface
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
View ImplementationsView-ImplementationsDefault SwiftUI view implementations