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

Function createMessage

packages/integration-linear/src/helpers/linear.ts:51–65  ·  view source on GitHub ↗
({
  accessToken,
  issueId,
  body,
  createAsUser,
  displayIconUrl,
}: createMessageType)

Source from the content-addressed store, hash-verified

49};
50
51export async function createMessage({
52 accessToken,
53 issueId,
54 body,
55 createAsUser,
56 displayIconUrl,
57}: createMessageType) {
58 const linearClient = new LinearClient({ accessToken });
59 return await linearClient.createComment({
60 issueId,
61 body,
62 createAsUser,
63 displayIconUrl,
64 });
65}
66
67type createThreadType = {
68 accessToken: string;

Callers 1

processNewMessageFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected