A Microsoft Bot Framework adapter for handling connectivity with the channel in tyntec Conversations API.
It is a TypeScript library that allows your bots to use WhatsApp through the tyntec Conversations API. The adapter supports two-way (incoming and outgoing) messaging with templates, free-form and rich media.
Look how easy it is to use:
import express from 'express'
import { TyntecConversationInboxAdapter } from '../src/TyntecConversationInboxAdapter'
const adapter = new TyntecConversationInboxAdapter({
TOKEN: 'some-token', // Fill your Tyntec token
})
const app = express()
// ... your bot and server initialization ...
app.post('/incoming', (req, res) => {
adapter.processIncomingMessage(req, res, (context) => myBot.run(context))
})
app.listen(3000)
You can find the full quick start guide in the tyntec Docs Center.
Install Tyntec WhatsApp Adapter by running:
$ npm install botbuilder-adapter-tyntec-conversation-inbox
At the moment, the adapter supports only:
- receiving WhatsApp messages (
processIncomingMessage
), - sending WhatsApp messages (
sendActivities
) and - sending WhatsApp messages proactively (
continueConversation
).
If you are having issues, please let us know
- either via https://www.tyntec.com/get-help-support
- or support@tyntec.com
To release new version just push into main
. To release beta push into beta
branch. @semantic-release/commit-analyzer
is used to decide how to increment version and compose CHANGELOG.
This project is distributed under the MIT license.