1 | import type { WebAPICallResult } from '../../WebClient';
|
2 | export type ConversationsJoinResponse = 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 | context_team_id?: string;
|
13 | created?: number;
|
14 | creator?: string;
|
15 | id?: string;
|
16 | internal_team_ids?: string[];
|
17 | is_archived?: boolean;
|
18 | is_channel?: boolean;
|
19 | is_ext_shared?: boolean;
|
20 | is_general?: boolean;
|
21 | is_group?: boolean;
|
22 | is_im?: boolean;
|
23 | is_member?: boolean;
|
24 | is_moved?: number;
|
25 | is_mpim?: boolean;
|
26 | is_org_shared?: boolean;
|
27 | is_pending_ext_shared?: boolean;
|
28 | is_private?: boolean;
|
29 | is_shared?: boolean;
|
30 | is_starred?: boolean;
|
31 | last_read?: string;
|
32 | name?: string;
|
33 | name_normalized?: string;
|
34 | pending_connected_team_ids?: string[];
|
35 | pending_shared?: string[];
|
36 | previous_names?: string[];
|
37 | priority?: number;
|
38 | properties?: Properties;
|
39 | purpose?: Purpose;
|
40 | shared_team_ids?: string[];
|
41 | topic?: Purpose;
|
42 | unlinked?: number;
|
43 | updated?: number;
|
44 | }
|
45 | export interface Properties {
|
46 | canvas?: Canvas;
|
47 | tabs?: Tab[];
|
48 | }
|
49 | export interface Canvas {
|
50 | file_id?: string;
|
51 | is_empty?: boolean;
|
52 | quip_thread_id?: string;
|
53 | }
|
54 | export interface Tab {
|
55 | id?: string;
|
56 | label?: string;
|
57 | type?: string;
|
58 | }
|
59 | export interface Purpose {
|
60 | creator?: string;
|
61 | last_set?: number;
|
62 | value?: string;
|
63 | }
|
64 | export interface ResponseMetadata {
|
65 | warnings?: string[];
|
66 | }
|
67 |
|
\ | No newline at end of file |