1
0
mirror of https://github.com/deavminet/dnetd synced 2024-09-21 09:43:37 +02:00

Updated protocol

This commit is contained in:
Tristan B. Kildaire 2020-09-27 16:58:44 +02:00
parent 2b94a85e2c
commit a1017c0a75

View File

@ -77,7 +77,22 @@ Reply format:
```
### `msg`
5
Request format:
```
|-- 5 --|-- channelToPart(CSV) --|
```
* The `type` field specifies whether the message is to be sent to a user or channel
1. `0` - this is for a **user** as the destination
2. `1` - this is for a **channel** as the destination
Reply format:
```
|-- status (1 byte) --|
```
### `list`