UNPKG

@amityco/ts-sdk-react-native

Version:

Amity Social Cloud Typescript SDK

16 lines 493 B
/** * ```js * import { PostRepository } from '@amityco/ts-sdk-react-native' * const success = await PostRepository.softDeletePost('foobar') * ``` * * Soft deletes a {@link Amity.Post} * * @param postId The {@link Amity.Post} ID to soft delete * @return A success boolean if the {@link Amity.Post} was deleted * * @category Post API * @async */ export declare const softDeletePost: (postId: Amity.Post['postId']) => Promise<Amity.Post>; //# sourceMappingURL=softDeletePost.d.ts.map