2026-07-19 23:30:49 +08:00
|
|
|
import type { ChannelUiContribution } from "@/channel-plugins/types";
|
2026-10-13 13:56:28 +08:00
|
|
|
import { chatAppGuideUrl } from "@/channel-plugins/catalog";
|
2026-07-19 23:30:49 +08:00
|
|
|
|
|
|
|
|
export default {
|
|
|
|
|
presentation: {
|
2026-09-11 15:22:14 +08:00
|
|
|
logoUrl: "https://teams.public.onecdn.static.microsoft/evergreen-assets/icons/microsoft_teams_logo_refresh_v2025.ico",
|
2026-07-19 23:30:49 +08:00
|
|
|
displayName: "Microsoft Teams",
|
|
|
|
|
initials: "MS",
|
|
|
|
|
color: "#6264A7",
|
|
|
|
|
setup: {
|
|
|
|
|
mode: "credentials",
|
|
|
|
|
docsUrl: chatAppGuideUrl("msteams"),
|
|
|
|
|
fields: [
|
2026-09-11 15:22:14 +08:00
|
|
|
{ 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" },
|
2026-07-19 23:30:49 +08:00
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
} satisfies ChannelUiContribution;
|