UNPKG

@amityco/ts-sdk-react-native

Version:

Amity Social Cloud Typescript SDK

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