Updated protocol

This commit is contained in:
Tristan B. Kildaire 2020-09-30 10:15:22 +02:00
parent 87eb1f02e7
commit 1a3de749b5
1 changed files with 15 additions and 3 deletions

View File

@ -129,14 +129,26 @@ Request format:
|-- 8 --|-- channel --|
```
* `type`, `0` - to user, `1` to channel
Reply format *TODO*
Reply format:
```
|-- status (1 byte) --|-- member count (4 bytes - big endian) --|
```
### `memberlist`
Request format:
```
|-- 9 --|-- channel --|
```
Reply format:
```
|-- status (1 byte) --|-- channel members (CSV) --|
```
### `chanprop`