UNPKG

@amityco/ts-sdk-react-native

Version:

Amity Social Cloud Typescript SDK

14 lines 379 B
/** * ```js * import { PostRepository } from '@amityco/ts-sdk-react-native' * const flagged = await PostRepository.flagPost(postId) * ``` * * @param postId of the post to flag * @returns a boolean * * @category Post API * @async * */ export declare const flagPost: (postId: Amity.Post['postId']) => Promise<boolean>; //# sourceMappingURL=flagPost.d.ts.map