aaroh_chat library

Classes

AarohChatWidget
AarohChatWidget
AarohConfig
Configuration for the Aaroh Chat SDK.
KnowledgeItem
A single structured knowledge entry for the Aaroh SDK.
MessageAction
An optional action attached to a bot reply — rendered as a tappable button under the message bubble. Supports three ways to handle the tap so the SDK user (the app embedding this widget) can pick whichever fits — set any combination, they all fire if set:
SupportConfig
Configures how the bot responds when a user seems to need human support and no TopicRule or KnowledgeItem matched their message.
TopicRule
A rule the SDK consumer defines: "when the user asks about X, reply with Y" — optionally with a tappable action (deep link or callback).

Functions

pushAarohChat(BuildContext context, {required AarohConfig config, void onAction(String actionId)?}) Future<void>
Convenience function to push the Aaroh chat screen onto an existing navigator.