Files
nanobot/nanobot/channels/msteams/webui/index.ts
T

22 lines
860 B
TypeScript
Raw Normal View History

import type { ChannelUiContribution } from "@/channel-plugins/types";
import { chatAppGuideUrl } from "@/channel-plugins/catalog";
export default {
presentation: {
logoUrl: "https://teams.public.onecdn.static.microsoft/evergreen-assets/icons/microsoft_teams_logo_refresh_v2025.ico",
displayName: "Microsoft Teams",
initials: "MS",
color: "#6264A7",
setup: {
mode: "credentials",
docsUrl: chatAppGuideUrl("msteams"),
fields: [
{ key: "channels.msteams.appId", section: "credentials" },
{ key: "channels.msteams.appPassword", section: "credentials" },
{ key: "channels.msteams.tenantId", section: "account" },
{ key: "channels.msteams.path", section: "connection" },
{ key: "channels.msteams.allowFrom", section: "access" },
],
},
},
} satisfies ChannelUiContribution;