The communications platform that puts data protection first.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Rocket.Chat/packages/apps-engine/tests/test-data/bridges/outboundComms.ts

20 lines
759 B

import type {
IOutboundEmailMessageProvider,
IOutboundMessageProviders,
IOutboundPhoneMessageProvider,
} from '@rocket.chat/apps-engine/definition/outboundCommunication';
import { OutboundMessageBridge } from '@rocket.chat/apps-engine/server/bridges';
export class TestOutboundCommunicationBridge extends OutboundMessageBridge {
protected async registerPhoneProvider(provider: IOutboundPhoneMessageProvider, appId: string): Promise<void> {
return Promise.resolve();
}
protected async registerEmailProvider(provider: IOutboundEmailMessageProvider, appId: string): Promise<void> {
return Promise.resolve();
}
protected async unRegisterProvider(provider: IOutboundMessageProviders, appId: string): Promise<void> {
return Promise.resolve();
}
}