1 | import type { WebAPICallResult } from '../../WebClient';
|
2 | export type ConversationsInviteResponse = WebAPICallResult & {
|
3 | channel?: Channel;
|
4 | error?: string;
|
5 | errors?: Error[];
|
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 | purpose?: Purpose;
|
37 | shared_team_ids?: string[];
|
38 | topic?: Purpose;
|
39 | unlinked?: number;
|
40 | updated?: number;
|
41 | }
|
42 | export interface Purpose {
|
43 | creator?: string;
|
44 | last_set?: number;
|
45 | value?: string;
|
46 | }
|
47 | export interface Error {
|
48 | error?: string;
|
49 | ok?: boolean;
|
50 | user?: string;
|
51 | }
|
52 |
|
\ | No newline at end of file |