getUniqueGroupTitle
Given a title, construct a group title that is unique in the user's org. Given a title of "Medical Team", if a group with that title exists this fn will add a number on the end, and increment until an available group title is found - i.e. "Medical Team 3"
Parameters
Parameter | Type | Default | Notes |
---|---|---|---|
title Required | string |
Group Title to ensure if unique |
|
hubRequestOptions Required | IHubRequestOptions | ||
step Optional | number | 0 |
Number to increment. Defaults to 0 |
Returns
Promise<string>
Function defined in teams/src/utils/get-unique-group-title.ts:14