AIAssistBotConfiguration constructor

AIAssistBotConfiguration({
  1. AIAssistBotStyle? aiAssistBotStyle,
  2. String? title,
  3. Future<Map<String, dynamic>> apiConfiguration(
    1. User aiBot,
    2. User? user,
    3. Group? group
    )?,
  4. int? unreadMessageThreshold = 30,
  5. CometChatTheme? theme,
  6. String? loadingStateText,
  7. String? errorStateText,
  8. String? emptyStateText,
  9. String? loadingIconUrl,
  10. WidgetBuilder? loadingStateView,
  11. String? errorIconUrl,
  12. WidgetBuilder? errorStateView,
  13. WidgetBuilder? emptyStateView,
  14. String? emptyIconUrl,
  15. dynamic onCloseIconTap()?,
})

Implementation

AIAssistBotConfiguration(
    {this.aiAssistBotStyle,
    this.title,
    this.apiConfiguration,
    this.unreadMessageThreshold = 30,
    this.theme,
    this.loadingStateText,
    this.errorStateText,
    this.emptyStateText,
    this.loadingIconUrl,
    this.loadingStateView,
    this.errorIconUrl,
    this.errorStateView,
    this.emptyStateView,
    this.emptyIconUrl,
    this.onCloseIconTap});