docs: 完善文档

This commit is contained in:
Fu Diwei
2022-10-27 20:22:53 +08:00
parent 5a105bcbef
commit aad11dde21
9 changed files with 80 additions and 0 deletions

View File

@@ -56,6 +56,18 @@ switch (msgType)
上述提供的扩展方法,会自动判定是否处于安全模式下,无需开发者手动干预。
为此,你需要在构造得到 `WechatApiClient` 对象时指定推送参数:
```csharp
var options = new WechatApiClientOptions()
{
// 其他配置项略
PushToken = "Token",
PushEncodingAESKey = "EncodingAESKey"
};
var client = new WechatApiClient(options);
```
---
### 被动回复: