@amityco/ts-sdk-react-native
Version:
Amity Social Cloud Typescript SDK
17 lines • 662 B
TypeScript
/**
* ```js
* import { onLocalCommunityUserRemoved } from '@amityco/ts-sdk-react-native'
* const dispose = onLocalCommunityUserRemoved((community, member) => {
* // ...
* })
* ```
*
* Fired when a user has been removed from a {@link Amity.Community}
*
* @param callback The function to call when the event was fired
* @returns an {@link Amity.Unsubscriber} function to stop listening
*
* @category Community Events
*/
export declare const onLocalCommunityUserRemoved: (callback: (community: Amity.InternalCommunity, member: Amity.Membership<'community'>[]) => void) => Amity.Unsubscriber;
//# sourceMappingURL=onLocalCommunityUserRemoved.d.ts.map