UNPKG

@amityco/ts-sdk-react-native

Version:

Amity Social Cloud Typescript SDK

19 lines 808 B
/** * ```js * import { onReactionRemoved } from '@amityco/ts-sdk-react-native' * const dispose = onReactionRemoved('post', postId, post => { * // ... * }) * ``` * * Fired when an {@link Amity.Reaction} has been removed * * @param {@link Amity.ReactableType} referenceType * @param {string} referenceId * @param callback The function to call when the event was fired * @returns an {@link Amity.Unsubscriber} function to stop listening * * @category Message Events * */ export declare const onReactionRemoved: (referenceType: Amity.ReactableType, referenceId: Amity.Reaction['referenceId'], callback: Amity.Listener<Amity.InternalComment<any> | Amity.InternalStory | Amity.InternalPost<any> | Amity.InternalMessage<any>>) => Amity.Unsubscriber; //# sourceMappingURL=onReactionRemoved.d.ts.map