MCPcopy
hub / github.com/CopilotKit/CopilotKit / onMessage

Method onMessage

packages/bot/src/create-bot.ts:198–198  ·  view source on GitHub ↗
(h: BotHandler<TState>)

Source from the content-addressed store, hash-verified

196export interface Bot<TState = unknown> {
197 onMention(h: BotHandler<TState>): void;
198 onMessage(h: BotHandler<TState>): void;
199 /**
200 * A conversation surface opened (e.g. the Slack assistant pane). Greet, set
201 * suggested prompts, set a title, or run the agent. Adapters without the

Callers 4

reactions.test.tsFile · 0.65
runOnMessageFunction · 0.65
index.tsxFile · 0.65

Calls

no outgoing calls

Tested by 1

runOnMessageFunction · 0.52