sendchamp
v1.0.8
Published
This library allows you to quickly and easily use the sendchamp nodejs library. <h1>Installing</h1> using npm<br><br>
Downloads
40
Readme
This library allows you to quickly and easily use the sendchamp nodejs library.
npm install sendchamp
using yarn
yarn install sendchamp
In order to gain the TypeScript typings (for intellisense / autocomplete) while using CommonJS imports with require() use the following approach:
const sendchamp = require('sendchamp');
sendchamp.emailotp( publickey, customer_mobile_number, customer_email, token_type, token_length, expiration_time, metadata )
The following parameters are not required and have default values.
token_type == 'numeric'
expiration_time == 6
token_length == 5
sendchamp.smsotp( publickey, customer_mobile_number, customer_email, token_type, token_length, expiration_time, metadata )
The following parameters are not required and have default values.
token_type == 'numeric'
expiration_time == 6
token_length == 5
sendchamp.whatsappOTP( publickey, customer_mobile_number, customer_email, token_type, token_length, expiration_time, metadata )
The following parameters are not required and have default values.
token_type == 'numeric'
expiration_time == 6
token_length == 5
sendchamp.confirmotp( publickey, verifiationCode, verification_reference )
sendchamp.texttospeech( publickey, customer_mobile_number, message, sender_name)
Visit the sendchamp website for full doocumentation of APIs