UNPKG

reservease.consumer

Version:

This package allows you to create an amqplib consumer and producer.

10 lines (9 loc) 592 B
import { SlackMessengerService } from './SlackMessenger'; export declare class SlackNotification extends SlackMessengerService { private readonly channel; private readonly environment?; constructor(slackToken: string, slackChannel: string, devEnviron?: string); LogError(err: any, req: any, res: any, next: any, code?: null): any; LogSuccess(message: string, code: number, data?: any): Promise<import("@slack/web-api").ChatPostMessageResponse>; LogDebug(message: string, data: any, code?: number): Promise<import("@slack/web-api").ChatPostMessageResponse>; }