@amityco/ts-sdk-react-native
Version:
Amity Social Cloud Typescript SDK
15 lines • 515 B
TypeScript
/**
* ```js
* import { CommentRepository } from '@amityco/ts-sdk-react-native'
* const flagged = await CommentRepository.flagComment(commentId, reason)
* ```
*
* @param commentId The ID of the comment to flag
* @param reason the reason to flag the comment
* @returns the created report result
*
* @category Comment API
* @async
* */
export declare const flagComment: (commentId: Amity.Comment['commentId'], reason?: Amity.ContentFlagReason) => Promise<boolean>;
//# sourceMappingURL=flagComment.d.ts.map