1.0.0 • Published 6 years ago

conversation-api v1.0.0

Weekly downloads
-
License
ISC
Repository
github
Last release
6 years ago

Install

npm install conversation-api

Usage

Sending Text Message

const config: ConfigType = {
  BASE_URL: "https://api.conversation-api.prod.sinch.com",
  VERSION: "v1beta",
  ACCOUNT_ID: "YOUR_ACCOUNT_ID",
  APP_SECRET: "YOUR_APP_SECRET",
  APP_ID: "YOUR_APP_ID",
};

const message = new MessageApi(config);
const response = message.sendTextMessage(
  "YOUR_CONTACT_ID",
  "Hello world "
);
response.then((res) => {
  console.log(res);
});
1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago

0.0.1

7 years ago