MCPcopy Create free account
hub / github.com/dailydotdev/apps / openCompanySupportChat

Function openCompanySupportChat

packages/shared/src/features/messages/graphql.ts:448–456  ·  view source on GitHub ↗
(
  sourceId: string,
)

Source from the content-addressed store, hash-verified

446};
447
448export const openCompanySupportChat = async (
449 sourceId: string,
450): Promise<CompanySupportChat> => {
451 const res = await gqlClient.request<{
452 openCompanySupportChat: CompanySupportChat;
453 }>(OPEN_COMPANY_SUPPORT_CHAT_MUTATION, { sourceId });
454
455 return res.openCompanySupportChat;
456};
457
458// The group counterpart of markDirectMessageSent: bumps every other member's
459// unread count and pushes them.

Callers 1

useOpenSupportChatFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected