@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
40 lines (38 loc) • 1.01 kB
text/typescript
/**
*
* An interface representing TeamDetails.
* Details related to a team
*/
type TeamDetails = {
/**
* @member {string} [id] Unique identifier representing a team
*/
id: string;
/**
* @member {string} [name] Name of team.
*/
name?: string;
/**
* @member {string} [type] The type of the team. Valid values are standard, sharedChannel and privateChannel.
*/
type?: 'standard' | 'sharedChannel' | 'privateChannel';
/**
* @member {string} [aadGroupId] Azure Active Directory (AAD) Group Id for
* the team.
*/
aadGroupId?: string;
/**
* @member {number} [channelCount] Count of channels in the team.
*/
channelCount?: number;
/**
* @member {number} [memberCount] Count of members in the team.
* the team.
*/
memberCount?: number;
/**
* @member {string} [tenantId] Azure Active Directory (AAD) tenant ID for the team.
*/
tenantId?: string;
};
export type { TeamDetails };