Skip to main content

Wechaty API reference overview

The Wechaty API surface is tiny. Wechaty defines a set of easy to use classes for you.

This section documents the complete Wechaty API.

Top-level Exports#

Every class described below is a top-level export.

Wechaty Class#

User Classes#

Importing#

You can import any of them like this:

ES6/TypeScript#

import { Wechaty } from 'wechaty'

ES5 (CommonJS)#

var Wechaty = require('wechaty').Wechaty