Merge pull request #33 from Charles-Wu-Chen/support_WECHATY_PUPPET_SERVICE_TOKEN replace env variable WECHATY_PUPPET_HOSTIE_TOKEN with WECHATY_PUPPET_…
Merge pull request #33 from Charles-Wu-Chen/support_WECHATY_PUPPET_SERVICE_TOKEN
replace env variable WECHATY_PUPPET_HOSTIE_TOKEN with WECHATY_PUPPET_…
Java Wechaty Starter Project Template that Works Out-of-the-Box
Wechaty is a RPA SDK for Wechat Individual Account that can help you create a chatbot in 6 lines of Java.
class Bot{ public static void main(String args[]){ Wechaty bot = Wechaty.instance() .onScan((qrcode, statusScanStatus, data) -> System.out.println(QrcodeUtils.getQr(qrcode))) .onLogin(user -> System.out.println("User logined :" + user)) .onMessage(message -> System.out.println("Message:" + message)) .start(true); } }
# Install Maven apt install maven make install
export WECHATY_PUPPET_SERVICE_TOKEN=your_token_at_here make bot
[](https://github.com/wechaty/java-wechaty)
@wechaty/java
版权所有:中国计算机学会技术支持:开源发展技术委员会 京ICP备13000930号-9 京公网安备 11010802032778号
java-wechaty-getting-started

Java Wechaty Starter Project Template that Works Out-of-the-Box
Connecting Chatbots
Wechaty is a RPA SDK for Wechat Individual Account that can help you create a chatbot in 6 lines of Java.
The World’s Shortest Java ChatBot: 6 lines of Code
Usage
Install
Run
Wechaty Getting Started in Multiple Languages
Badge
Maintainers
@wechaty/java
Copyright & License