1 | import { WebAPICallResult } from '../../WebClient';
|
2 | export type AdminUsergroupsListChannelsResponse = WebAPICallResult & {
|
3 | channels?: Channel[];
|
4 | error?: string;
|
5 | needed?: string;
|
6 | ok?: boolean;
|
7 | provided?: string;
|
8 | };
|
9 | export interface Channel {
|
10 | context_team_id?: string;
|
11 | created?: number;
|
12 | creator?: string;
|
13 | date_connected?: number;
|
14 | enterprise_id?: string;
|
15 | id?: string;
|
16 | is_archived?: boolean;
|
17 | is_channel?: boolean;
|
18 | is_ext_shared?: boolean;
|
19 | is_general?: boolean;
|
20 | is_global_shared?: boolean;
|
21 | is_group?: boolean;
|
22 | is_im?: boolean;
|
23 | is_member?: boolean;
|
24 | is_moved?: number;
|
25 | is_mpim?: boolean;
|
26 | is_org_default?: boolean;
|
27 | is_org_mandatory?: boolean;
|
28 | is_org_shared?: boolean;
|
29 | is_pending_ext_shared?: boolean;
|
30 | is_private?: boolean;
|
31 | is_shared?: boolean;
|
32 | name?: string;
|
33 | name_normalized?: string;
|
34 | pending_connected_team_ids?: string[];
|
35 | pending_shared?: string[];
|
36 | previous_names?: string[];
|
37 | properties?: Properties;
|
38 | purpose?: Purpose;
|
39 | topic?: Purpose;
|
40 | unlinked?: number;
|
41 | updated?: number;
|
42 | }
|
43 | export interface Properties {
|
44 | posting_restricted_to?: PostingRestrictedTo;
|
45 | }
|
46 | export interface PostingRestrictedTo {
|
47 | type?: string[];
|
48 | }
|
49 | export interface Purpose {
|
50 | creator?: string;
|
51 | last_set?: number;
|
52 | value?: string;
|
53 | }
|
54 |
|
\ | No newline at end of file |