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

Function modifyGroupPanel

client/shared/model/group.ts:321–338  ·  view source on GitHub ↗
(
  groupId: string,
  panelId: string,
  options: {
    name: string;
    type: number;
    parentId?: string;
    provider?: string;
    pluginPanelName?: string;
    meta?: Record<string, unknown>;
  }
)

Source from the content-addressed store, hash-verified

319 * 创建群组面板
320 */
321export async function modifyGroupPanel(
322 groupId: string,
323 panelId: string,
324 options: {
325 name: string;
326 type: number;
327 parentId?: string;
328 provider?: string;
329 pluginPanelName?: string;
330 meta?: Record<string, unknown>;
331 }
332) {
333 await request.post('/api/group/modifyGroupPanel', {
334 ...options,
335 groupId,
336 panelId,
337 });
338}
339
340/**
341 * 删除群组面板

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected