1 | import type { WebAPICallResult } from '../../WebClient';
|
2 | export type ChannelsJoinResponse = 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 | last_read?: string;
|
22 | latest?: Latest;
|
23 | members?: string[];
|
24 | name?: string;
|
25 | name_normalized?: string;
|
26 | previous_names?: string[];
|
27 | priority?: number;
|
28 | purpose?: Purpose;
|
29 | topic?: Purpose;
|
30 | unlinked?: number;
|
31 | unread_count?: number;
|
32 | unread_count_display?: number;
|
33 | }
|
34 | export interface Latest {
|
35 | subtype?: string;
|
36 | text?: string;
|
37 | ts?: string;
|
38 | type?: string;
|
39 | user?: string;
|
40 | }
|
41 | export interface Purpose {
|
42 | creator?: string;
|
43 | last_set?: number;
|
44 | value?: string;
|
45 | }
|
46 |
|
\ | No newline at end of file |