UNPKG

1.51 kBTypeScriptView Raw
1import { WebAPICallResult } from '../../WebClient';
2export type ConversationsInfoResponse = WebAPICallResult & {
3 channel?: Channel;
4 error?: string;
5 needed?: string;
6 ok?: boolean;
7 provided?: string;
8};
9export interface Channel {
10 connected_limited_team_ids?: string[];
11 connected_team_ids?: string[];
12 context_team_id?: string;
13 conversation_host_id?: string;
14 created?: number;
15 creator?: string;
16 id?: string;
17 internal_team_ids?: string[];
18 is_archived?: boolean;
19 is_channel?: boolean;
20 is_ext_shared?: boolean;
21 is_general?: boolean;
22 is_global_shared?: boolean;
23 is_group?: boolean;
24 is_im?: boolean;
25 is_member?: boolean;
26 is_moved?: number;
27 is_mpim?: boolean;
28 is_non_threadable?: boolean;
29 is_org_default?: boolean;
30 is_org_mandatory?: boolean;
31 is_org_shared?: boolean;
32 is_pending_ext_shared?: boolean;
33 is_private?: boolean;
34 is_read_only?: boolean;
35 is_shared?: boolean;
36 is_thread_only?: boolean;
37 last_read?: string;
38 locale?: string;
39 name?: string;
40 name_normalized?: string;
41 num_members?: number;
42 pending_connected_team_ids?: string[];
43 pending_shared?: string[];
44 previous_names?: string[];
45 purpose?: Purpose;
46 shared_team_ids?: string[];
47 topic?: Purpose;
48 unlinked?: number;
49 updated?: number;
50}
51export interface Purpose {
52 creator?: string;
53 last_set?: number;
54 value?: string;
55}
56//# sourceMappingURL=ConversationsInfoResponse.d.ts.map
\No newline at end of file