1 | import type { WebAPICallResult } from '../../WebClient';
|
2 | export type ChannelsRenameResponse = WebAPICallResult & {
|
3 | channel?: Channel;
|
4 | error?: string;
|
5 | needed?: string;
|
6 | ok?: boolean;
|
7 | provided?: string;
|
8 | };
|
9 | export interface Channel {
|
10 | created?: number;
|
11 | creator?: string;
|
12 | id?: string;
|
13 | is_archived?: boolean;
|
14 | is_channel?: boolean;
|
15 | is_general?: boolean;
|
16 | is_member?: boolean;
|
17 | is_mpim?: boolean;
|
18 | is_org_shared?: boolean;
|
19 | is_private?: boolean;
|
20 | is_shared?: boolean;
|
21 | members?: string[];
|
22 | name?: string;
|
23 | name_normalized?: string;
|
24 | previous_names?: string[];
|
25 | purpose?: Purpose;
|
26 | topic?: Purpose;
|
27 | unlinked?: number;
|
28 | }
|
29 | export interface Purpose {
|
30 | creator?: string;
|
31 | last_set?: number;
|
32 | value?: string;
|
33 | }
|
34 |
|
\ | No newline at end of file |