UNPKG

@amityco/ts-sdk-react-native

Version:

Amity Social Cloud Typescript SDK

16 lines 673 B
/** * ```js * import { CommunityRepository } from '@amityco/ts-sdk-react-native' * * await CommunityRepository.Moderation.unbanMembers('communityId', ['userId1', 'userId2']) * ``` * * @param communityId of {@link Amity.Community} from which the users should be unbanned * @param userIds of the {@link Amity.InternalUser}'s to be unbanned * @returns the updated {@link Amity.Membership}'s object * * @category Community API * @async * */ export declare const unbanMembers: (communityId: Amity.Community['communityId'], userIds: Amity.InternalUser['userId'][]) => Promise<Amity.Cached<Amity.Membership<'community'>[]>>; //# sourceMappingURL=unbanMembers.d.ts.map