1.0.8 • Published 10 years ago

cella-node v1.0.8

Weekly downloads
3
License
MIT
Repository
github
Last release
10 years ago

cella-node Build Status

The hassle-free way to build AI assistant service for WeChat, this is the node.js client of Cella platform

Run demo

TOKEN=WECHAT_APPID DEBUG=* node demo.js

Run test

make test

Configuration your WeChat

How to configure your WeChat Official Account to use this service

1 minute integrate your WeChat to your service

Add cella-node to your project

npm i cella-node --save

Implement your hello world robot

const CellaClient = require('cella-node')

const client = new CellaClient({
	token: process.env.TOKEN,
})

client.on('connect', _ => console.log('>>> Connected >>>'))

client.on('message', msg => {
	client.sendTextMessage(msg.userId, `Hello World`)
}
1.0.8

10 years ago

1.0.7

10 years ago

1.0.6

10 years ago

1.0.5

10 years ago

1.0.4

10 years ago

1.0.3

10 years ago

1.0.2

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago

0.0.1

10 years ago