UNPKG

@slack/web-api

Version:

Official library for using the Slack Platform's Web API

37 lines 880 B
import { WebAPICallResult } from '../WebClient'; export type GroupsListResponse = WebAPICallResult & { error?: string; groups?: Group[]; needed?: string; ok?: boolean; provided?: string; response_metadata?: ResponseMetadata; warning?: string; }; export interface Group { created?: number; creator?: string; id?: string; is_archived?: boolean; is_group?: boolean; is_mpim?: boolean; is_open?: boolean; last_read?: string; members?: string[]; name?: string; name_normalized?: string; parent_group?: string; priority?: number; purpose?: Purpose; topic?: Purpose; } export interface Purpose { creator?: string; last_set?: number; value?: string; } export interface ResponseMetadata { messages?: string[]; warnings?: string[]; } //# sourceMappingURL=GroupsListResponse.d.ts.map