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

fix table

上级 ba91eb0c
......@@ -235,6 +235,10 @@ All wechat rooms(groups) will be encapsulated as a Room.
| static | `find(query: string): Promise<null \| Room>` | |
| static | `findAll(query: string): Promise<Room[]>` | |
| property | `id: readonly string` | |
| event | `join` | emit when anyone join any room |
| event | `topic` | emit when someone change room topic |
| event | `leave` | emit when anyone leave the room |
| event | `invite` | emit when receive a room invitation |
| | `say(text: string): Promise<void>` | |
| | `add(contact: Contact): Promise<void>` | |
| | `del(contact: Contact): Promise<void>` | |
......@@ -248,10 +252,6 @@ All wechat rooms(groups) will be encapsulated as a Room.
| | `memberAll(query?: string): Promise<Contact[]>` | |
| | `member(query: string): Promise<null \| Contact>` | |
| | `owner(): null \| Contact` | |
| event | `join` | emit when anyone join any room |
| event | `topic` | emit when someone change room topic |
| event | `leave` | emit when anyone leave the room |
| event | `invite` | emit when receive a room invitation |
### 6 Class `Friendship`
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册