UNPKG

@amityco/ts-sdk-react-native

Version:

Amity Social Cloud Typescript SDK

24 lines 686 B
/** * ```js * import { createRoom } from '@amityco/ts-sdk-react-native' * const created = await createRoom({ title: 'my room', 'thumbnailFileId': fileId }) * ``` * * Creates an {@link Amity.Room} * * @param bundle The data necessary to create a new {@link Amity.Room} * @returns The newly created {@link Amity.Room} * * @category Room API * @async */ export declare const createRoom: (bundle: { title: string; thumbnailFileId?: string; description?: string; metadata?: Record<string, any>; liveChatEnabled?: boolean; parentRoomId?: string; type?: Amity.RoomType; }) => Promise<Amity.Cached<Amity.Room>>; //# sourceMappingURL=createRoom.d.ts.map