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