UNPKG

1.12 kBTypeScriptView Raw
1import { WebAPICallResult } from '../../WebClient';
2export type ConversationsSetPurposeResponse = WebAPICallResult & {
3 channel?: Channel;
4 error?: string;
5 needed?: string;
6 ok?: boolean;
7 provided?: string;
8};
9export interface Channel {
10 context_team_id?: string;
11 created?: number;
12 creator?: string;
13 id?: string;
14 is_archived?: boolean;
15 is_channel?: boolean;
16 is_ext_shared?: boolean;
17 is_general?: boolean;
18 is_group?: boolean;
19 is_im?: boolean;
20 is_member?: boolean;
21 is_mpim?: boolean;
22 is_org_shared?: boolean;
23 is_pending_ext_shared?: boolean;
24 is_private?: boolean;
25 is_shared?: boolean;
26 last_read?: string;
27 name?: string;
28 name_normalized?: string;
29 pending_connected_team_ids?: string[];
30 pending_shared?: string[];
31 previous_names?: string[];
32 purpose?: Purpose;
33 shared_team_ids?: string[];
34 topic?: Purpose;
35 unlinked?: number;
36 updated?: number;
37}
38export interface Purpose {
39 creator?: string;
40 last_set?: number;
41 value?: string;
42}
43//# sourceMappingURL=ConversationsSetPurposeResponse.d.ts.map
\No newline at end of file