UNPKG

941 BTypeScriptView Raw
1import { WebAPICallResult } from '../../WebClient';
2export type ChannelsCreateResponse = 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 members?: string[];
23 name?: string;
24 name_normalized?: string;
25 previous_names?: string[];
26 priority?: number;
27 purpose?: Purpose;
28 topic?: Purpose;
29 unlinked?: number;
30 unread_count?: number;
31 unread_count_display?: number;
32}
33export interface Purpose {
34 creator?: string;
35 last_set?: number;
36 value?: string;
37}
38//# sourceMappingURL=ChannelsCreateResponse.d.ts.map
\No newline at end of file