notifme/notifme-sdk

View on GitHub
src/models/provider-whatsapp.js

Summary

Maintainability
A
1 hr
Test Coverage
/* @flow */
// Types
import type { WhatsappRequestType } from './notification-request'

export type WhatsappProviderType = {
  type: 'logger'
} | {
  type: 'custom',
  id: string,
  send: (WhatsappRequestType) => Promise<string>
} | {
  type: 'infobip',
  baseUrl: string,
  apiKey: string,
}