UNPKG

883 BTypeScriptView Raw
1import { WebAPICallResult } from '../../WebClient';
2export type GroupsListResponse = WebAPICallResult & {
3 error?: string;
4 groups?: Group[];
5 needed?: string;
6 ok?: boolean;
7 provided?: string;
8 response_metadata?: ResponseMetadata;
9 warning?: string;
10};
11export interface Group {
12 created?: number;
13 creator?: string;
14 id?: string;
15 is_archived?: boolean;
16 is_group?: boolean;
17 is_mpim?: boolean;
18 is_open?: boolean;
19 last_read?: string;
20 members?: string[];
21 name?: string;
22 name_normalized?: string;
23 parent_group?: string;
24 priority?: number;
25 purpose?: Purpose;
26 topic?: Purpose;
27}
28export interface Purpose {
29 creator?: string;
30 last_set?: number;
31 value?: string;
32}
33export interface ResponseMetadata {
34 messages?: string[];
35 warnings?: string[];
36}
37//# sourceMappingURL=GroupsListResponse.d.ts.map
\No newline at end of file