UNPKG

852 BTypeScriptView Raw
1import { WebAPICallResult } from '../../WebClient';
2export type MpimListResponse = 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 priority?: number;
24 purpose?: Purpose;
25 topic?: Purpose;
26}
27export interface Purpose {
28 creator?: string;
29 last_set?: number;
30 value?: string;
31}
32export interface ResponseMetadata {
33 messages?: string[];
34 warnings?: string[];
35}
36//# sourceMappingURL=MpimListResponse.d.ts.map
\No newline at end of file