Skip to content

markusf/botbuilder-wechat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

For a more up to date version, which works with Version 3 of the botframework, please have a look at this project:

https://github.com/jyfcrw/botbuilder-wechat-connector

Microsoft Bot Builder Wechat Integration

Connect your Bot to your Wechat Account!

Requirements

This bot requires a Wechat Service Account with Server Callback Messages enabled.

Get started

Step 1: Install using npm npm install botbuilder-wechat

Step 2: Initialize Wechat Bot

var wechatBotBuilder = require('botbuilder-wechat');

var bot = new wechatBotBuilder.WechatBot({
  wechatAppId: 'wxa28b834343434',
  wechatSecret: '96e1fd0e72ff4343434',
  wechatToken: 'asdasd33'
});

Step 3: Integrate into your express like middleware

app.use('/wc', bot.getWechatCallbackHandler());

A fully working sample can be found in sample.js

About

Microsoft Bot Framework Wechat Integration

Resources

Stars

Watchers

Forks

Packages

No packages published