slack-edge
Version:
Slack app development framework for edge functions with streamlined TypeScript support
41 lines • 935 B
TypeScript
import { AnyOption } from "slack-web-api-client";
import { DataSubmissionView } from "./view-objects";
export interface BlockSuggestion {
type: "block_suggestion";
block_id: string;
action_id: string;
value: string;
api_app_id: string;
team: {
id: string;
domain: string;
enterprise_id?: string;
enterprise_name?: string;
} | null;
channel?: {
id: string;
name: string;
};
user: {
id: string;
name: string;
team_id?: string;
};
token: string;
container: any;
view?: DataSubmissionView;
is_enterprise_install?: boolean;
enterprise?: {
id: string;
name: string;
};
}
export interface BlockOptions {
options: AnyOption[];
}
export interface OptionGroups<Options> {
option_groups: ({
label: string;
} & Options)[];
}
//# sourceMappingURL=block-suggestion.d.ts.map