提交 90d547f7 编写于 作者: Huan (李卓桓)'s avatar Huan (李卓桓)

doc clean

上级 6d250f29
......@@ -124,13 +124,14 @@ Main bot class.
A `Bot` is a Wechaty instance that control a specific [wechaty-puppet](https://github.com/Chatie/wechaty/wiki/Puppet).
* `new Wechaty(options?: WechatyOptions)`
1. `options.name?: string` the name to identify this bot
2. `optoins.puppet?: string` select which puppet provider we use. must be one of
1. `options.name?: string` the name of this bot(optional)
2. `optoins.puppet?: string` select which puppet provider we want to use. must be one of the:
1. [wechaty-puppet-puppeteer](https://github.com/chatie/wechaty-puppet-puppeteer) - Angular Hook for Web Wechat <- This is the DEFAULT
2. [wechaty-puppet-wechat4u](https://github.com/chatie/wechaty-puppet-wechat4u) - HTTP API for Web Wechat
3. [wechaty-puppet-padchat](https://github.com/lijiarui/wechaty-puppet-padchat) - iPad App Protocol
4. [wechaty-puppet-ioscat](https://github.com/linyimin-bupt/wechaty-puppet-ioscat) - iPhone App Hook
3. `optoins.puppetOptions?: PuppetOptions` puppet provider options.
5. [wechaty-puppet-mock](https://github.com/chatie/wechaty-puppet-mock) - Mock for Testing
3. `optoins.puppetOptions?: PuppetOptions` options for the puppet provider.
| Wechaty | API | Description |
| :--- | :--- | :--- |
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册