UNPKG

@amityco/ts-sdk-react-native

Version:

Amity Social Cloud Typescript SDK

17 lines 543 B
/** * ```js * import { onMessageFetched } from '@amityco/ts-sdk-react-native' * const dispose = onMessageFetched(message => { * // ... * }) * ``` * * Fired when an {@link Amity.Message} has been fetched * * @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 onMessageFetched: (callback: Amity.Listener<Amity.InternalMessage>) => Amity.Unsubscriber; //# sourceMappingURL=onMessageFetched.d.ts.map