openclaw/extensions/msteams/src/setup-core.ts

16 lines
383 B
TypeScript
Raw Normal View History

2026-03-16 20:17:03 -07:00
import { DEFAULT_ACCOUNT_ID, type ChannelSetupAdapter } from "openclaw/plugin-sdk/setup";
2026-03-15 19:32:48 -07:00
export const msteamsSetupAdapter: ChannelSetupAdapter = {
resolveAccountId: () => DEFAULT_ACCOUNT_ID,
applyAccountConfig: ({ cfg }) => ({
...cfg,
channels: {
...cfg.channels,
msteams: {
...cfg.channels?.msteams,
enabled: true,
},
},
}),
};