AssistantApiKeyConfig constructor
const
AssistantApiKeyConfig({
- bool showCloseButtons = true,
- bool showNewConversationButton = true,
- bool forceFullMode = false,
- String privacyPolicyURL = '',
- String termsOfServiceURL = '',
- int maxMessagePerConversation = 20,
- String tooManyMessageErrorText = '',
- int webComponentOpenerSize = 70,
- String position = 'right',
- int marginBottom = 10,
- required List<
String> chatEngagementPrompts, - ApiKeyEngagementPromptMode chatEngagementPromptMode = ApiKeyEngagementPromptMode.rotate,
- int chatEngagementPromptRotateTime = 5,
- bool engagementSound = true,
- bool hidePupauBranding = false,
- String headerColor = '#15559d',
Implementation
const AssistantApiKeyConfig({
this.showCloseButtons = true,
this.showNewConversationButton = true,
this.forceFullMode = false,
this.privacyPolicyURL = '',
this.termsOfServiceURL = '',
this.maxMessagePerConversation = 20,
this.tooManyMessageErrorText = '',
this.webComponentOpenerSize = 70,
this.position = 'right',
this.marginBottom = 10,
required this.chatEngagementPrompts,
this.chatEngagementPromptMode = ApiKeyEngagementPromptMode.rotate,
this.chatEngagementPromptRotateTime = 5,
this.engagementSound = true,
this.hidePupauBranding = false,
this.headerColor = '#15559d',
});