MCPcopy Create free account
hub / github.com/Linen-dev/linen.dev / fetchReplies

Function fetchReplies

apps/web/services/slack/api/fetch_all_conversations.ts:123–130  ·  view source on GitHub ↗
(
  threadTs: string,
  channel: string,
  token: string
)

Source from the content-addressed store, hash-verified

121};
122
123export const fetchReplies = async (
124 threadTs: string,
125 channel: string,
126 token: string
127) => {
128 const url = `https://slack.com/api/conversations.replies?channel=${channel}&ts=${threadTs}`;
129 return callApi<FetchRepliesResponseType>(url, token);
130};
131
132export const fetchFile = async (fileUrl: string, token: string) => {
133 if (!token) return await request.get(fileUrl);

Callers 1

fetchAndPersistFunction · 0.85

Calls 1

callApiFunction · 0.70

Tested by

no test coverage detected