Skip to main content

Polyglot Wechaty

OpenAPI Wechaty TypeScript Wechaty Python Wechaty Go Wechaty Kotlin(Java) Wechaty Scala Wechaty PHP Wechaty .NET Wechaty Rust Wechaty DIY Wechaty

LanguageGit RepoMaintainer(s)Getting Started Template
OpenAPIopenapi@huanopenapi-wechaty-getting-started
TypeScriptwechaty@huan @lijiaruiwechaty-getting-started
Pythonpython-wechaty@wj-Mcatpython-wechaty-getting-started
Gogo-wechaty@dingdayu @dchaofeigo-wechaty-getting-started
Javajava-wechaty@diaozxin007java-wechaty-getting-started
Scalascala-wechaty@jcaiscala-wechaty-getting-started
PHPphp-wechaty@zhangchunshengphp-wechaty-getting-started
.NETdotnet-wechaty@echofool @jesndotnet-wechaty-getting-started
Rustrust-wechaty@lucifer1004rust-wechaty-getting-started
tip

We have the world's shortest lines code of chatbot in all programming languages!

import { Wechaty } from 'wechaty'
async function main () {  const bot = new Wechaty()  bot    .on('scan', (qrcode, status) => console.log(`Scan QR Code to login: ${status}\nhttps://wechaty.js.org/qrcode/${encodeURIComponent(qrcode)}`))    .on('login',            user => console.log(`User ${user} logged in`))    .on('message',       message => console.log(`Message: ${message}`))  await bot.start()}
main()  .catch(console.error)
tip

Wechaty in all programming languages have the same API, as the TypeScript documented version.

Getting Started Templates#

git clone git@github.com:wechaty/wechaty-getting-started.gitcd wechaty-getting-started

GitHub: https://github.com/wechaty/wechaty-getting-started

Install & Start#

make installmake bot

Blogs#

Docs (Issues)#

Support#

You can join our Gitter network if you aren’t already a member.