UNPKG

@microsoft/teams.api

Version:

<p> <a href="https://www.npmjs.com/package/@microsoft/teams.api" target="_blank"> <img src="https://img.shields.io/npm/v/@microsoft/teams.api/latest" /> </a> <a href="https://www.npmjs.com/package/@microsoft/teams.api?activeTab=code" t

31 lines (28 loc) • 733 B
import { MembershipSourceTypes } from './membership-source-types.js'; import { MembershipTypes } from './membership-types.js'; /** * Interface representing a membership source. */ type MembershipSource = { /** * The type of roster the user is a member of. */ sourceType: MembershipSourceTypes; /** * The unique identifier of the membership source. */ id: string; /** * The users relationship to the current channel. */ membershipType: MembershipTypes; /** * The group ID of the team associated with this membership source. */ teamGroupId: string; /** * The tenant ID for the user. */ tenantId: string; }; export type { MembershipSource };