function i(n) {
  function t(e) {
    n("action", { messageId: String(e.messageId), type: "reaction.toggle", key: e.key });
  }
  function o(e) {
    n("action", { messageId: String(e.messageId), type: "reaction.add", key: e.key });
  }
  function c(e) {
    n("action", { messageId: String(e.messageId), type: "reaction.remove", key: e.key });
  }
  return {
    onToggleReaction: t,
    onAddReaction: o,
    onRemoveReaction: c
  };
}
export {
  i as createReactionHandlers
};
