openclaw
Version:
Multi-channel AI gateway with extensible messaging integrations
38 lines (37 loc) • 945 B
JavaScript
//#region src/channels/plugins/bluebubbles-actions.ts
const BLUEBUBBLES_ACTIONS = {
react: { gate: "reactions" },
edit: {
gate: "edit",
unsupportedOnMacOS26: true
},
unsend: { gate: "unsend" },
reply: { gate: "reply" },
sendWithEffect: { gate: "sendWithEffect" },
renameGroup: {
gate: "renameGroup",
groupOnly: true
},
setGroupIcon: {
gate: "setGroupIcon",
groupOnly: true
},
addParticipant: {
gate: "addParticipant",
groupOnly: true
},
removeParticipant: {
gate: "removeParticipant",
groupOnly: true
},
leaveGroup: {
gate: "leaveGroup",
groupOnly: true
},
sendAttachment: { gate: "sendAttachment" }
};
const BLUEBUBBLES_ACTION_SPECS = BLUEBUBBLES_ACTIONS;
const BLUEBUBBLES_ACTION_NAMES = Object.keys(BLUEBUBBLES_ACTIONS);
new Set(BLUEBUBBLES_ACTION_NAMES.filter((action) => BLUEBUBBLES_ACTION_SPECS[action]?.groupOnly));
//#endregion
export { BLUEBUBBLES_ACTION_NAMES as n, BLUEBUBBLES_ACTIONS as t };