UNPKG

@amityco/ts-sdk-react-native

Version:

Amity Social Cloud Typescript SDK

18 lines 652 B
/** * * ```js * import { StreamRepository } from '@amityco/ts-sdk' * const updated = await StreamRepository.editStream(streamId, { title: 'foobar' }) * ``` * * Updates an {@link Amity.Stream} * * @param streamId The ID of the {@link Amity.Stream} to edit * @param patch The patch data to apply * @returns the updated {@link Amity.Stream} object * * @category Stream API * @async */ export declare const editStream: (streamId: Amity.Stream['streamId'], patch: Patch<Amity.Stream, 'title' | 'thumbnailFileId' | 'description' | 'metadata' | 'channelEnabled'>) => Promise<Amity.Cached<Amity.Stream>>; //# sourceMappingURL=editStream.d.ts.map