feat: Implement new message to a channel for slack w/o webhook

This commit is contained in:
Faruk AYDIN
2022-05-11 13:49:59 +02:00
parent a88d208cd6
commit c59bb85793
4 changed files with 122 additions and 0 deletions

View File

@@ -5,11 +5,13 @@ import {
IJSONObject,
} from '@automatisch/types';
import Authentication from './authentication';
import Triggers from './triggers';
import Actions from './actions';
import Data from './data';
export default class Slack implements IService {
authenticationClient: IAuthentication;
triggers: Triggers;
actions: Actions;
data: Data;
@@ -20,6 +22,7 @@ export default class Slack implements IService {
) {
this.authenticationClient = new Authentication(appData, connectionData);
this.data = new Data(connectionData);
this.triggers = new Triggers(connectionData, parameters);
this.actions = new Actions(connectionData, parameters);
}
}