@amityco/ts-sdk-react-native
Version:
Amity Social Cloud Typescript SDK
14 lines • 468 B
TypeScript
/**
* ```js
* import { UserRepository } from '@amityco/ts-sdk-react-native'
* const isFlagged = await UserRepository.isUserFlaggedByMe(postId)
* ```
*
* @param userId The ID of the thing to check a report to.
* @returns `true` if the report is created by me, `false` if doesn't.
*
* @category Report API
* @async
* */
export declare const isUserFlaggedByMe: (userId: Amity.User['userId']) => Promise<boolean>;
//# sourceMappingURL=isUserFlaggedByMe.d.ts.map