Introduction

Completed

The Microsoft Teams JavaScript client library is a collection of APIs that are accessed through JavaScript functions. The library can help you integrate native and custom Teams features into Teams applications. In this module, you'll learn how to integrate the Teams chat capability in an app by using the Teams JavaScript client library.

By using the library's ready-made functions, you can:

  • Access Teams APIs to create or manage teams, channels, and other objects within the Teams environment.
  • Allow users to interact with third-party services.
  • Allow users to access your app securely by using the authentication API.

Scenario

Suppose your company would like to optimize the employee support process by creating a more structured way to handle employee support tickets. By centralizing this ticketing process on Microsoft Teams, the company can enable effective collaboration and communication between employees and support engineers where they work. The need for employees to open different apps and tools to get work done will be eliminated.

For example, your app might provide a shared inbox for incoming employee support tickets or a shared calendar to manage support engineers' availability and to assign tasks. These features can streamline the support process and make it easier for engineers to manage and respond to employee support tickets in a timely manner.

In this ticketing scenario, your apps can provide access to open a direct chat to available support engineers on their ticket details page. This feature in your app will in turn reduce the time it takes to find the right person and help increase employee satisfaction.

A diagram showing an employee starting a 1:1 chat with a support engineer in Teams.

Using the Teams JavaScript client library, you can easily integrate chat capability into your application so that it feels like a native Microsoft Teams feature. You won't have to develop the capability from scratch, and it will match the function and appearance of Teams.

Prerequisites

Learning objectives

In this module, you'll:

  • Learn about the features and capabilities of the Teams JavaScript client library.
  • Learn how to seamlessly integrate teams chat capability into an application by using the Teams JavaScript client library.