UNPKG

638 BTypeScriptView Raw
1import { WebAPICallResult } from '../../WebClient';
2export 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};
11export 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}
21export interface ResponseMetadata {
22 messages?: string[];
23 next_cursor?: string;
24 warnings?: string[];
25}
26//# sourceMappingURL=ImListResponse.d.ts.map
\No newline at end of file