UNPKG

@amityco/ts-sdk-react-native

Version:

Amity Social Cloud Typescript SDK

17 lines 543 B
/** * ```js * import { onClientBanned } from '@amityco/ts-sdk-react-native' * const dispose = onClientBanned(() => { * // ... * }) * ``` * * Fired when any {@link Amity.Client} have been banned from the platform * * @param callback The function to call when the event was fired * @returns an {@link Amity.Unsubscriber} function to stop listening * * @category Client Events */ export declare const onClientBanned: (callback: Amity.Listener<Amity.UserPayload>) => Amity.Unsubscriber; //# sourceMappingURL=onClientBanned.d.ts.map