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

Function createGroup

client/shared/model/group.ts:73–83  ·  view source on GitHub ↗
(
  name: string,
  panels: GroupPanel[]
)

Source from the content-addressed store, hash-verified

71 * @param panels 初始面板
72 */
73export async function createGroup(
74 name: string,
75 panels: GroupPanel[]
76): Promise<GroupInfo> {
77 const { data } = await request.post('/api/group/createGroup', {
78 name,
79 panels,
80 });
81
82 return data;
83}
84
85/**
86 * 获取群组基本信息

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected