MCPcopy Create free account
hub / github.com/CreminiAI/skillpack / getTeamId

Method getTeamId

src/runtime/adapters/slack.ts:749–757  ·  view source on GitHub ↗
(payload: any, context: any)

Source from the content-addressed store, hash-verified

747 return null;
748 }
749
750 private getTeamId(payload: any, context: any): string {
751 return (
752 context?.teamId ||
753 payload?.team_id ||
754 payload?.team?.id ||
755 payload?.authorizations?.[0]?.team_id ||
756 "unknown"
757 );
758 }
759
760 private getChannelKey(teamId: string, channelId: string): string {

Callers 3

handleDirectMessageMethod · 0.95
handleMentionMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected