We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b2f7bb commit a7d6f0bCopy full SHA for a7d6f0b
README.md
@@ -47,7 +47,7 @@ npm run compile // babel编译
47
48
`node run-core.js`
49
50
-逻辑见代码,简明完整
+逻辑见[代码](https://github.com/nodeWechat/wechat4u/blob/master/run-core.js),简明完整,一定要看
51
52
## 实例属性
53
@@ -165,9 +165,13 @@ bot.uploadMedia(fs.createReadStream('test.png'))
165
166
对以上发送消息的方法的封装,是发送消息的通用方法
167
168
-当msg为string时,发送文本消息
+当`msg`为string时,发送文本消息
169
170
-当msg为`{file:xxx,filename:'xxx.ext'}`时,发送对应媒体文件
+当`msg`为`{file:xxx,filename:'xxx.ext'}`时,发送对应媒体文件
171
+
172
+##### bot.forwardMsg(msg, toUserName)
173
174
+转发消息,`msg`为`message`事件传递的`msg`对象
175
176
```javascript
177
bot.sendMsg({
0 commit comments