15 lines
566 B
TypeScript
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>;
|