1.0.10 • Published 4 years ago

trustcheckr-messaging v1.0.10

Weekly downloads
11
License
ISC
Repository
-
Last release
4 years ago

Messaging Package

This package allows the users registered with TrustCheckr to send emails and SMSs in a simple way to users.

Usage

const Messaging = require('trustcheckr-messaging');

const message = Messaging(MESSAGING_TOKEN);
// MESSAGING_TOKEN can be found from TrustCheckr team.

message.send(EVENT_NAME, EMAIL, PHONE, CC_EMAIL, EMAIL_DATA, SMS_DATA);
// EVENT_NAME can be created on the dashboard provided by TrustCheckr when you register.
// EMAIL is the email address to which you want to send email.
// PHONE Phone number with country code to which you want to send SMS.
// CC_EMAiL email you want to CC to.
// EMAIL_DATA {var1: 'Test', var2: 'TEST'} Object with all the dynamic keys that were added to the Email template.
// SMS_DATA {var1: 'TEST', var2: 'TEST'} Object with all the dynamic keys that were added to the SMS template.
1.0.9

4 years ago

1.0.10

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago