1.1.2 • Published 5 years ago

broadcast-chatfuel v1.1.2

Weekly downloads
2
License
ISC
Repository
github
Last release
5 years ago

broadcast-chatfuel

Simple package to post broadcast chatfuel

How to install?

npm install broadcast-chatfuel

How to use?

var broadcast = require('../index')({ botID: '<YOUR-BOT-ID>' , token:'<YOUR-TOKEN>'})

broadcast(options).then(...)

Argument

*options: is an object or array of object.

*object:

*userID: userID.

*blockName: name of block chatfuel.

*attributes: an object of many.

Example:

const broadcast = require('../index')({ botID: '<YOUR-BOT-ID>' , token:'<YOUR-TOKEN>'})


broadcast({
    userID: '<UID>',
    blockName: 'test_broadcast',
    attributes:{
        key1: 'Hello it\'s test message number 0'
    }
}).then(console.log)
1.1.2

5 years ago

1.1.1

5 years ago

1.0.2-beta

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago