@slack/web-api
Version:
Official library for using the Slack Platform's Web API
46 lines • 1.06 kB
TypeScript
import type { WebAPICallResult } from '../../WebClient';
export type GroupsInviteResponse = 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;
latest?: Latest;
name?: string;
name_normalized?: string;
priority?: number;
purpose?: Purpose;
topic?: Purpose;
unread_count?: number;
unread_count_display?: number;
}
export interface Latest {
subtype?: string;
text?: string;
topic?: string;
ts?: string;
type?: string;
user?: string;
}
export interface Purpose {
creator?: string;
last_set?: number;
value?: string;
}
export interface ResponseMetadata {
messages?: string[];
warnings?: string[];
}
//# sourceMappingURL=GroupsInviteResponse.d.ts.map