MCPcopy Create free account
hub / github.com/msgbyte/tailchat / appendUserDMConverse

Function appendUserDMConverse

client/shared/model/user.ts:340–351  ·  view source on GitHub ↗
(
  converseId: string
)

Source from the content-addressed store, hash-verified

338 * 如果已添加则后端忽略
339 */
340export async function appendUserDMConverse(
341 converseId: string
342): Promise<UserDMList> {
343 const { data } = await request.post<UserDMList>(
344 '/api/user/dmlist/addConverse',
345 {
346 converseId,
347 }
348 );
349
350 return data;
351}
352
353/**
354 * 移除会话列表

Callers 2

listenNotifyFunction · 0.90
ensureDMConverseFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected