@amityco/ts-sdk-react-native
Version:
Amity Social Cloud Typescript SDK
14 lines • 403 B
TypeScript
/**
* ```js
* import { UserRepository } from '@amityco/ts-sdk-react-native'
* const flagged = await UserRepository.flagUser('userId')
* ```
*
* @param userId The ID of the user to add a be flagged
* @returns the created report result
*
* @category User API
* @async
* */
export declare const flagUser: (userId: Amity.User['userId']) => Promise<boolean>;
//# sourceMappingURL=flagUser.d.ts.map