1 | import type { WebAPICallResult } from '../../WebClient';
|
2 | export type GroupsCreateChildResponse = WebAPICallResult & {
|
3 | error?: string;
|
4 | group?: Group;
|
5 | needed?: string;
|
6 | ok?: boolean;
|
7 | provided?: string;
|
8 | response_metadata?: ResponseMetadata;
|
9 | warning?: string;
|
10 | };
|
11 | export interface Group {
|
12 | created?: number;
|
13 | creator?: string;
|
14 | id?: string;
|
15 | is_archived?: boolean;
|
16 | is_group?: boolean;
|
17 | is_mpim?: boolean;
|
18 | is_open?: boolean;
|
19 | last_read?: string;
|
20 | latest?: Latest;
|
21 | members?: string[];
|
22 | name?: string;
|
23 | name_normalized?: string;
|
24 | parent_group?: string;
|
25 | purpose?: Purpose;
|
26 | topic?: Purpose;
|
27 | unread_count?: number;
|
28 | unread_count_display?: number;
|
29 | }
|
30 | export interface Latest {
|
31 | subtype?: string;
|
32 | text?: string;
|
33 | ts?: string;
|
34 | type?: string;
|
35 | user?: string;
|
36 | }
|
37 | export interface Purpose {
|
38 | creator?: string;
|
39 | last_set?: number;
|
40 | value?: string;
|
41 | }
|
42 | export interface ResponseMetadata {
|
43 | messages?: string[];
|
44 | warnings?: string[];
|
45 | }
|
46 |
|
\ | No newline at end of file |