@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) • 735 B
text/typescript
import { MembershipSourceTypes } from './membership-source-types.mjs';
import { MembershipTypes } from './membership-types.mjs';
/**
* 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 };