0.0
No commit activity in last 3 years
No release in over 3 years
Wechat Handler engine handles the Wechat event & message notifications. 微信回调处理引擎处理微信服务器发出的事件通知和消息通知。
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

 Project Readme

Wechat Handler 微信回调处理引擎

Documentation License

Gem Version Dependency Status

The Wechat Handler engine handles the Wechat event & message notifications. 微信回调处理引擎处理微信服务器发出的事件通知和消息通知。

Recent Update

Check out the Road Map to find out what's the next. Check out the Change Log to find out what's new.

Usage in Gemfile

gem 'wechat-handler'

Include the controller concern

include Wechat::Handler::Concerns::Dispatcher

def on_event(pairs)
  { 'MsgType' => 'text', 'Content' => 'Aloha!' }
end

The Dispatcher handles the ToUserName, the FromUserName, and the CreateTime automatically.