@amityco/ts-sdk-react-native
Version:
Amity Social Cloud Typescript SDK
17 lines • 560 B
TypeScript
/**
* ```js
* import { onStreamViewerUnbanned } from '@amityco/ts-sdk'
* const dispose = onStreamViewerBanned(stream => {
* // ...
* })
* ```
*
* Fired when a user in channel linked to stream has been unbanned
*
* @param callback The function to call when the event was fired
* @returns an {@link Amity.Unsubscriber} function to stop listening
*
* @category Stream Events
*/
export declare const onStreamViewerUnbanned: (callback: Amity.Listener<Amity.InternalStream>) => Amity.Unsubscriber;
//# sourceMappingURL=onStreamViewerUnbanned.d.ts.map