Files
vercel__chat/packages/adapter-teams
github-actions[bot] 7fb3248a31 Version Packages (#89)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-02-23 19:12:59 -08:00
..
2026-02-23 19:12:59 -08:00
2026-02-23 19:12:59 -08:00
2026-02-20 13:25:09 -08:00
2026-02-20 13:25:09 -08:00
2025-12-21 20:48:14 -08:00
2026-02-20 13:25:09 -08:00

@chat-adapter/teams

npm version npm downloads

Microsoft Teams adapter for Chat SDK. Uses Azure Bot Service for webhook handling and message delivery.

Installation

npm install chat @chat-adapter/teams

Usage

import { Chat } from "chat";
import { createTeamsAdapter } from "@chat-adapter/teams";

const bot = new Chat({
  userName: "mybot",
  adapters: {
    teams: createTeamsAdapter({
      appId: process.env.TEAMS_APP_ID!,
      appPassword: process.env.TEAMS_APP_PASSWORD!,
      appType: "SingleTenant",
      appTenantId: process.env.TEAMS_APP_TENANT_ID!,
    }),
  },
});

bot.onNewMention(async (thread, message) => {
  await thread.post("Hello from Teams!");
});

Documentation

Full setup instructions, configuration reference, and features at chat-sdk.dev/docs/adapters/teams.

License

MIT