UNPKG

@amityco/ts-sdk

Version:

Amity Social Cloud Typescript SDK

14 lines 366 B
/** * ```js * import { PostRepository } from '@amityco/ts-sdk' * 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