UNPKG

@amityco/ts-sdk-react-native

Version:

Amity Social Cloud Typescript SDK

14 lines 498 B
/** * ```js * import { MessageRepository } from '@amityco/ts-sdk-react-native' * const isReportedByMe = await MessageRepository.isMessageFlaggedByMe(messageId) * ``` * * @param messageId of the message to check a report of. * @returns `true` if the report is created by me, `false` if doesn't. * * @category Report API * @async * */ export declare const isMessageFlaggedByMe: (messageId: Amity.Message['messageId']) => Promise<boolean>; //# sourceMappingURL=isMessageFlaggedByMe.d.ts.map