1 | import { WebAPICallResult } from '../../WebClient';
|
2 | export type ImListResponse = WebAPICallResult & {
|
3 | error?: string;
|
4 | ims?: Im[];
|
5 | needed?: string;
|
6 | ok?: boolean;
|
7 | provided?: string;
|
8 | response_metadata?: ResponseMetadata;
|
9 | warning?: string;
|
10 | };
|
11 | export interface Im {
|
12 | created?: number;
|
13 | id?: string;
|
14 | is_archived?: boolean;
|
15 | is_im?: boolean;
|
16 | is_org_shared?: boolean;
|
17 | is_user_deleted?: boolean;
|
18 | priority?: number;
|
19 | user?: string;
|
20 | }
|
21 | export interface ResponseMetadata {
|
22 | messages?: string[];
|
23 | next_cursor?: string;
|
24 | warnings?: string[];
|
25 | }
|
26 |
|
\ | No newline at end of file |