Skip to content

Invalid Teams channel ID in channel member docs #3278

@milanholemans

Description

@milanholemans

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:

  • channel member list
  • channel member remove
  • channel member set

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions