Returns the Metabot conversation API.
Returns null until the SDK bundle has loaded and <MetabaseProvider> has mounted its internal subscriber. Guard before use:
null
<MetabaseProvider>
const metabot = useMetabot();if (!metabot) { return <Spinner />;}metabot.submitMessage("Show me orders");@function Copy
const metabot = useMetabot();if (!metabot) { return <Spinner />;}metabot.submitMessage("Show me orders");@function
Returns the Metabot conversation API.
Returns
nulluntil the SDK bundle has loaded and<MetabaseProvider>has mounted its internal subscriber. Guard before use: