splid-js-googlesheet-updater/node_modules/splid-js/dist/cjs/methods/joinGroupWithAnyCode.d.ts
2025-05-27 21:06:02 +02:00

15 lines
566 B
TypeScript

import { RequestConfig } from '../requestConfig';
import { SplidError } from '../splidErrors';
export type JoinGroupWithCode400Response = (typeof SplidError)[keyof typeof SplidError];
export type JoinGroupWithAnyCodeResponse = {
result: {
objectId: string;
/**
* the invite code used to join the group
*/
shortCode: string;
extendedShortCode: string;
longCode: string;
};
};
export declare function joinGroupWithAnyCode(config: RequestConfig, rawCode: string): Promise<JoinGroupWithAnyCodeResponse>;