Files
github-actions[bot] 6ef8816a55 Version Packages (#100)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-02-26 15:07:23 -08:00
..
2026-02-25 08:05:30 -08:00
2026-02-26 15:07:23 -08:00
2026-02-26 15:07:23 -08:00
2026-02-20 13:25:09 -08:00
2026-02-20 13:25:09 -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