Skip to content

VNBot-Developers/broadcast-chatfuel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published