IMicrosoftTeams interface

Provides access to the Teams SDK and Teams context. Only provided when the web part is loaded in Teams.

Properties

context

Microsoft Teams' Context.

teamsJs

Microsoft Teams SDK.

Property Details

context

Microsoft Teams' Context.

context: microsoftTeams.Context;

Property Value

microsoftTeams.Context

Remarks

For more information, please see: https://docs.microsoft.com/en-us/javascript/api/@microsoft/teams-js/microsoftteams.context?view=msteams-client-js-latest

teamsJs

Microsoft Teams SDK.

teamsJs: typeof microsoftTeams;

Property Value

typeof microsoftTeams