@amityco/ts-sdk-react-native
Version:
Amity Social Cloud Typescript SDK
14 lines • 479 B
TypeScript
/**
* ```js
* import { PostRepository } from '@amityco/ts-sdk-react-native'
* const isReported = await PostRepository.isPostFlaggedByMe('post', postId)
* ```
*
* @param postId of the post to check if flagged by current user
* @returns `true` if the post is flagged by me, `false` if doesn't.
*
* @category Post API
* @async
* */
export declare const isPostFlaggedByMe: (postId: Amity.Post['postId']) => Promise<boolean>;
//# sourceMappingURL=isPostFlaggedByMe.d.ts.map