mirror of
https://github.com/openclaw/openclaw.git
synced 2026-03-23 07:51:33 +00:00
16 lines
383 B
TypeScript
16 lines
383 B
TypeScript
import { DEFAULT_ACCOUNT_ID, type ChannelSetupAdapter } from "openclaw/plugin-sdk/setup";
|
|
|
|
export const msteamsSetupAdapter: ChannelSetupAdapter = {
|
|
resolveAccountId: () => DEFAULT_ACCOUNT_ID,
|
|
applyAccountConfig: ({ cfg }) => ({
|
|
...cfg,
|
|
channels: {
|
|
...cfg.channels,
|
|
msteams: {
|
|
...cfg.channels?.msteams,
|
|
enabled: true,
|
|
},
|
|
},
|
|
}),
|
|
};
|