UNPKG

@atomist/sdm

Version:

Atomist Software Delivery Machine SDK

11 lines 980 B
import { HandlerContext } from "@atomist/automation-client/lib/HandlerContext"; import { Attachment, SlackMessage } from "@atomist/slack-messages"; export declare function slackSuccessMessage(title: string, text: string, options?: Partial<Attachment>): SlackMessage; export declare function slackQuestionMessage(title: string, text: string, options?: Partial<Attachment>): SlackMessage; export declare function slackInfoMessage(title: string, text: string, options?: Partial<Attachment>): SlackMessage; export declare function slackWarningMessage(title: string, text: string, ctx: HandlerContext, options?: Partial<Attachment>): SlackMessage; export declare function slackErrorMessage(title: string, text: string, ctx: HandlerContext, options?: Partial<Attachment>): SlackMessage; export declare function slackSupportLink(ctx: HandlerContext): string; export declare function slackFooter(): string; export declare function slackTs(): number; //# sourceMappingURL=messages.d.ts.map