Get to know more about the tests from [Wiki:Tests](https://github.com/chatie/wechaty/wiki/Tests)
## DOCUMATAION
## API
In order to sync the doc with the lastest code, we are using [jsdoc](http://usejsdoc.org/) to describe the API, and use [jsdoc-to-markdown](https://github.com/jsdoc2md/jsdoc-to-markdown/wiki) to generate markdown format documents to the [docs](docs/index.md) directory.
This is a overview of most of the easy to use Wechaty APIs.
See: [Official API Reference](https://chatie.github.io/wechaty/)
You can get the full Documentation from [Wechaty Official API Reference](https://chatie.github.io/wechaty/)
### 1 Class `Wechaty`
Main bot class.
A `Bot` is a Wechaty instance that control a specific [wechaty-puppet](https://github.com/Chatie/wechaty/wiki/Puppet).
#### 1.1 `new Wechaty(options: WechatyOptions)`
1.`options.name?: string` the name to identify this bot
2.`optoins.puppet?: string` select which puppet we use. must be one of
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
* About the Generic: https://stackoverflow.com/q/43003970/1123955
*/
/**
*
* Get Contact by id
* > Tips:
* This function is depending on the Puppet Implementation, see [puppet-compatible-table](https://github.com/Chatie/wechaty/wiki/Puppet#3-puppet-compatible-table)