@slack/web-api
Version:
Official library for using the Slack Platform's Web API
25 lines • 652 B
TypeScript
import { WebAPICallResult } from '../WebClient';
export type AdminUsersListResponse = WebAPICallResult & {
error?: string;
needed?: string;
ok?: boolean;
provided?: string;
response_metadata?: ResponseMetadata;
users?: User[];
};
export interface ResponseMetadata {
messages?: string[];
next_cursor?: string;
}
export interface User {
email?: string;
expiration_ts?: number;
id?: string;
is_admin?: boolean;
is_bot?: boolean;
is_owner?: boolean;
is_primary_owner?: boolean;
is_restricted?: boolean;
is_ultra_restricted?: boolean;
}
//# sourceMappingURL=AdminUsersListResponse.d.ts.map