1 | import type { WebAPICallResult } from '../../WebClient';
|
2 | export type GroupsCreateResponse = 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 | members?: string[];
|
21 | name?: string;
|
22 | name_normalized?: string;
|
23 | priority?: number;
|
24 | purpose?: Purpose;
|
25 | topic?: Purpose;
|
26 | unread_count?: number;
|
27 | unread_count_display?: number;
|
28 | }
|
29 | export interface Purpose {
|
30 | creator?: string;
|
31 | last_set?: number;
|
32 | value?: string;
|
33 | }
|
34 | export interface ResponseMetadata {
|
35 | messages?: string[];
|
36 | warnings?: string[];
|
37 | }
|
38 |
|
\ | No newline at end of file |