1 | import type { WebAPICallResult } from '../../WebClient';
|
2 | export type ConversationsRenameResponse = WebAPICallResult & {
|
3 | channel?: 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 | id?: string;
|
14 | internal_team_ids?: string[];
|
15 | is_archived?: boolean;
|
16 | is_channel?: boolean;
|
17 | is_ext_shared?: boolean;
|
18 | is_general?: boolean;
|
19 | is_group?: boolean;
|
20 | is_im?: boolean;
|
21 | is_member?: boolean;
|
22 | is_moved?: number;
|
23 | is_mpim?: boolean;
|
24 | is_open?: boolean;
|
25 | is_org_shared?: boolean;
|
26 | is_pending_ext_shared?: boolean;
|
27 | is_private?: boolean;
|
28 | is_shared?: boolean;
|
29 | last_read?: string;
|
30 | name?: string;
|
31 | name_normalized?: string;
|
32 | pending_connected_team_ids?: string[];
|
33 | pending_shared?: string[];
|
34 | previous_names?: string[];
|
35 | purpose?: Purpose;
|
36 | shared_team_ids?: string[];
|
37 | topic?: Purpose;
|
38 | unlinked?: number;
|
39 | updated?: number;
|
40 | }
|
41 | export interface Purpose {
|
42 | creator?: string;
|
43 | last_set?: number;
|
44 | value?: string;
|
45 | }
|
46 |
|
\ | No newline at end of file |