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