@amityco/ts-sdk
Version:
Amity Social Cloud Typescript SDK
17 lines • 589 B
TypeScript
/**
* ```js
* import { UserRepository } from '@amityco/ts-sdk'
* const unsubscribe = UserRepository.getBlockingUsers(({ data: users }) => {
* console.log(users)
* })
* ```
*
* Observe the {@link Amity.User}s who have blocked the current user
*
* @param callback to receive updates on the blocking {@link Amity.User}s
* @returns {@link Amity.Unsubscriber} to unsubscribe from collection
*
* @category User API
*/
export declare const getBlockingUsers: (callback: Amity.LiveCollectionCallback<Amity.User>) => Amity.Unsubscriber;
//# sourceMappingURL=getBlockingUsers.d.ts.map