UNPKG

1.09 kBTypeScriptView Raw
1import { WebAPICallResult } from '../../WebClient';
2export type ChannelsInviteResponse = WebAPICallResult & {
3 channel?: Channel;
4 error?: string;
5 needed?: string;
6 ok?: boolean;
7 provided?: string;
8};
9export 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}
34export interface Latest {
35 subtype?: string;
36 text?: string;
37 ts?: string;
38 type?: string;
39 user?: string;
40}
41export interface Purpose {
42 creator?: string;
43 last_set?: number;
44 value?: string;
45}
46//# sourceMappingURL=ChannelsInviteResponse.d.ts.map
\No newline at end of file