@slack/web-api
Version:
Official library for using the Slack Platform's Web API
38 lines • 924 B
TypeScript
import type { WebAPICallResult } from '../../WebClient';
export type GroupsCreateResponse = WebAPICallResult & {
error?: string;
group?: Group;
needed?: string;
ok?: boolean;
provided?: string;
response_metadata?: ResponseMetadata;
warning?: string;
};
export interface Group {
created?: number;
creator?: string;
id?: string;
is_archived?: boolean;
is_group?: boolean;
is_mpim?: boolean;
is_open?: boolean;
last_read?: string;
members?: string[];
name?: string;
name_normalized?: string;
priority?: number;
purpose?: Purpose;
topic?: Purpose;
unread_count?: number;
unread_count_display?: number;
}
export interface Purpose {
creator?: string;
last_set?: number;
value?: string;
}
export interface ResponseMetadata {
messages?: string[];
warnings?: string[];
}
//# sourceMappingURL=GroupsCreateResponse.d.ts.map