MCPcopy Index your code
hub / github.com/Linen-dev/linen.dev / getThread

Method getThread

packages/sdk/src/index.ts:69–81  ·  view source on GitHub ↗
({
    externalThreadId,
    channelId,
    threadId,
  }: LinenTypes.threadFindType)

Source from the content-addressed store, hash-verified

67 // threads -----
68
69 getThread({
70 externalThreadId,
71 channelId,
72 threadId,
73 }: LinenTypes.threadFindType): Promise<LinenTypes.threadFindResponseType> {
74 return this.get(
75 `/api/integrations/threads?${qs({
76 externalThreadId,
77 channelId,
78 threadId,
79 })}`
80 );
81 }
82
83 createNewThread(thread: LinenTypes.threadPostType) {
84 return this.post(`/api/integrations/threads`, thread);

Callers 11

onMessageCreateFunction · 0.80
processNewMessageFunction · 0.80
inbound.tsFile · 0.80
processNewMessageFunction · 0.80
processNewThreadFunction · 0.80
processThreadUpdateFunction · 0.80
processNewMessageFunction · 0.80
processNewThreadFunction · 0.80
processThreadUpdateFunction · 0.80
createMessageFunction · 0.80

Calls 2

qsFunction · 0.90
getMethod · 0.45

Tested by

no test coverage detected