MCPcopy Index your code
hub / github.com/triggerdotdev/trigger.dev / joinConversation

Method joinConversation

integrations/slack/src/index.ts:151–172  ·  view source on GitHub ↗
(
    key: IntegrationTaskKey,
    params: { channel: string }
  )

Source from the content-addressed store, hash-verified

149 }
150
151 joinConversation(
152 key: IntegrationTaskKey,
153 params: { channel: string }
154 ): Promise<ConversationsJoinResponse> {
155 return this.runTask(
156 key,
157 async (client) => {
158 return client.conversations.join(params);
159 },
160 {
161 name: "Join Channel",
162 params,
163 icon: "slack",
164 properties: [
165 {
166 label: "Channel ID",
167 text: params.channel,
168 },
169 ],
170 }
171 );
172 }
173}
174
175function isPlatformError(error: unknown): error is WebAPIPlatformError {

Callers 1

postMessageMethod · 0.95

Calls 1

runTaskMethod · 0.95

Tested by

no test coverage detected