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

Function findGroupInviteByCode

client/shared/model/group.ts:263–273  ·  view source on GitHub ↗
(
  inviteCode: string
)

Source from the content-addressed store, hash-verified

261 * @param inviteCode 邀请码
262 */
263export async function findGroupInviteByCode(
264 inviteCode: string
265): Promise<GroupInvite | null> {
266 const { data } = await request.get('/api/group/invite/findInviteByCode', {
267 params: {
268 code: inviteCode,
269 },
270 });
271
272 return data;
273}
274
275/**
276 * 使用群组邀请

Callers 1

getCachedGroupInviteInfoFunction · 0.90

Calls 1

getMethod · 0.45

Tested by

no test coverage detected