Issue
Some docs show an invalid Teams channel ID in their examples (00:[email protected]).
When you check the channel ID validation method, you can see that a channel id must start with 19:. However some examples show an ID starting with 00:.
Validation method:
|
isValidTeamsChannelId(guid: string): boolean { |
|
const guidRegEx: RegExp = new RegExp(/^19:[0-9a-zA-Z-_]+@thread\.(skype|tacv2)$/i); |
|
|
|
return guidRegEx.test(guid); |
|
}, |
Docs to update:
Issue
Some docs show an invalid Teams channel ID in their examples (00:[email protected]).
When you check the channel ID validation method, you can see that a channel id must start with
19:. However some examples show an ID starting with00:.Validation method:
cli-microsoft365/src/utils/validation.ts
Lines 14 to 18 in c04ad6e
Docs to update: