Huan Li
Huan Li
When Friday BOT has sent too many UrlLinks, the server will response with `操作过于频繁,可稍后再试。` ``` 22:43:53 VERB IoClient onMessage(Message#Unknown[🗣Contact@👥Room] 操作过于频繁,可稍后再试。) ``` However, this message type is set as `Unknown`, I...
- #140 ## Before Feb 2022 - #135 - #123 - #116 - #115 - #114 - #112 - #109 - #103 - #102 - #101 - #100 - #99...
## Before 1. `puppet.id` is defined as `undefined | string` and will be set when the puppet logged in with a user-id ## After 1. `puppet.id` will store a UUID...
```diff - fromId + talkerId - toId + listenerId ``` 1. Adding compatible code to make sure both the `talkerId` and the `fromId` will be available in the payloads, 2....
```ts interface PuppetMeta { /** * the official IM name * @example 'WeChat', 'QQ', */ channel: string /** * the Puppet Name * @example 'Xyz' (PuppetXyz) */ protocol: string /**...
This is a workaround solution for the Wechaty v0.x client to work with the v1 server. Thanks @zpaimon help us figure it out. > If the client is 0.x and...
I'm using TypeScript 4.5 and still get `ts(2502)` error. Code: ```ts const func = (test: Test) => ({ ...test }); interface Test { test: ReturnType; } ``` Minimum reproducible code...
## Requirements 1. Node.js v16+ 2. NPM v7+ 3. `[email protected]` 4. `[email protected]` ## Changes - #156 - #157 - #158 - #159 - #160 - #163 ## Puppet API v1.11...
In RxJS, we can use `fromEvent` to convert an `EventEmitter` to an `Observable`: ```ts const message$ = fromEvent(wechaty.puppet, 'message') ``` However, `fromEvent` does not use `on()` for type infer, it...
https://github.com/wechaty/puppet/blob/f175a698caec1ead62474c23794779dc203e144b/src/schemas/message.ts#L1-L19 https://github.com/wechaty/puppet/blob/f175a698caec1ead62474c23794779dc203e144b/src/schemas/payload.ts#L5-L12