@amityco/ts-sdk
Version:
Amity Social Cloud Typescript SDK
20 lines • 763 B
TypeScript
/**
* ```js
* import { UserRepository } from '@amityco/ts-sdk'
* const blockingUsers = await UserRepository.getAllBlockingUsers()
* ```
*
* Returns all users who have blocked the current user
* non-paginated list (limit 100) with TTL-based caching (5-minute window). Within the
* TTL window, subsequent calls resolve instantly from the local store without any
* server call. After the TTL expires, the next call triggers a fresh server fetch.
*
* The directional inverse of {@link getAllBlockedUsers}.
*
* @returns A promise that resolves to an array of blocking {@link Amity.User} objects
*
* @category Block API
* @async
*/
export declare const getAllBlockingUsers: () => Promise<Amity.User[]>;
//# sourceMappingURL=getAllBlockingUsers.d.ts.map