Microsoft Teams JavaScript client SDK

In your tab pages, include the library hosted at https://statics.teams.microsoft.com/sdk/v1.2/js/MicrosoftTeams.min.js.

For more information on specific kinds of tab pages, see the following:

Tip

For developers using TypeScript, Microsoft Teams provides a definition file at https://statics.teams.microsoft.com/sdk/v1.2/types/MicrosoftTeams.d.ts. Use this to enable IntelliSense or similar support from your code editor as well as compile-type type checking as part of your build.

Note

The source code for this library is available in the OfficeDev/microsoft-teams-library-js repo on GitHub.

Reference

Go to the package reference