MCPcopy Index your code
hub / github.com/CopilotKit/CopilotKit / onReaction

Method onReaction

packages/bot/src/create-bot.ts:230–230  ·  view source on GitHub ↗

React to emoji reactions. Pass emoji name(s) for a specific match, or omit for a catch-all.

(handler: ReactionHandler)

Source from the content-addressed store, hash-verified

228 ): void;
229 /** React to emoji reactions. Pass emoji name(s) for a specific match, or omit for a catch-all. */
230 onReaction(handler: ReactionHandler): void;
231 onReaction(emoji: EmojiValue | EmojiValue[], handler: ReactionHandler): void;
232 /** Handle a modal submission for `callbackId`. Return `{ errors }` to keep it open. */
233 onModalSubmit(callbackId: string, handler: ModalSubmitHandler): void;

Callers 4

attachTelegramListenerFunction · 0.65
startMethod · 0.65
reactions.test.tsFile · 0.65
emitReactionMethod · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected