@satorijs/adapter-wechat-official
Setup
- Go to WeChat Official Account Platform and register an account
- Obtain the AppID and AppSecret from "Basic Configuration"
- Configure the URL, Token, and EncodingAESKey in "Server Configuration"
- Use the above information as your bot configuration
Configuration
options.account
- Type:
string
The WeChat Official Account ID.
options.appid
- Type:
string
The application ID.
options.secret
- Type:
string
The application secret.
options.token
- Type:
string
The Token from server configuration.
options.aesKey
- Type:
string
The message encryption/decryption key.
options.customerService
- Type:
boolean - Default:
false
Whether to enable customer service messaging.