UNPKG

@amityco/ts-sdk-react-native

Version:

Amity Social Cloud Typescript SDK

24 lines 702 B
/** * ```js * import { updateRoom } from '@amityco/ts-sdk-react-native' * const updated = await updateRoom('roomId', { title: 'updated title' }) * ``` * * Updates an {@link Amity.InternalRoom} * * @param roomId The ID of the room to update * @param bundle The data to update the room with * @returns The updated {@link Amity.InternalRoom} * * @category Room API * @async */ export declare const updateRoom: (roomId: string, bundle: Partial<{ title: string; thumbnailFileId: string; description: string; metadata: Record<string, any>; liveChatEnabled: boolean; parentRoomId: string; }>) => Promise<Amity.Cached<Amity.Room>>; //# sourceMappingURL=updateRoom.d.ts.map