@amityco/ts-sdk-react-native
Version:
Amity Social Cloud Typescript SDK
18 lines • 572 B
TypeScript
/**
* ```js
* import { onMessageReactionAdded } from '@amityco/ts-sdk-react-native';
*
* const unsubscribe = onMessageReactionAdded(message => {
* // ...
* });
* ```
*
* Fired when a {@link Amity.Message} has been reacted
*
* @param callback The function to call when the event was fired
* @returns an {@link Amity.Unsubscriber} function to stop listening
*
* @category Post Events
*/
export declare const onMessageReactionAdded: (callback: Amity.Listener<Amity.InternalMessage>) => Amity.Unsubscriber;
//# sourceMappingURL=onMessageReactionAdded.d.ts.map