@satorijs/adapter-wecom
Setup
- Go to WeCom Admin Console and register an enterprise
- Create a custom application in "Application Management"
- Obtain the CorpId, AgentId, and Secret
- Configure the URL, Token, and EncodingAESKey in "Receive Messages"
- Use the above information as your bot configuration
Configuration
options.corpId
- Type:
string
The enterprise ID.
options.agentId
- Type:
string
The application AgentId.
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.