wechaty-puppet-padpro-cyt

Padpro Puppet for Wechaty


Keywords
chatie, wechaty, puppet, padpro, wechat, chatbot, sdk
License
Apache-2.0
Install
npm install wechaty-puppet-padpro-cyt@0.0.53

Documentation

WECHATY-PUPPET-PADPRO

Powered by Wechaty npm version Greenkeeper badge Codacy Badge

This module is a sub module of Wechaty Puppet.

See more: Wechaty NPM Version Docker Pulls TypeScript Greenkeeper badge

Install

npm install wechaty
npm install wechaty-puppet-padpro

Example

import { Wechaty } from 'wechaty'
import { PuppetPadpro } from 'wechaty-puppet-padpro'

const WECHATY_PUPPET_PADPRO_TOKEN = 'your-token-here'

const puppet = new PuppetPadpro({
  token: WECHATY_PUPPET_PADPRO_TOKEN,
})

const bot = new Wechaty({
  puppet,
})

// Setting Done

// Run wechaty
bot
.on('scan', (qrcode, status) => console.log(`Scan QR Code to login: ${status}\nhttps://api.qrserver.com/v1/create-qr-code/?data=${encodeURIComponent(qrcode)}`))
.on('login',            user => console.log(`User ${user} logined`))
.on('message',       message => console.log(`Message: ${message}`))
.start()

Docs

https://docs.chatie.io

Token

  • We stop selling the token service, only provide technical support to our partner. If you have any needs, please click here to get alpha test.

LICENSE

Apache-2.0