mirror of
https://github.com/deavminet/dnetd
synced 2024-09-21 09:43:37 +02:00
Updated protocol
This commit is contained in:
parent
2b94a85e2c
commit
a1017c0a75
17
protocol.md
17
protocol.md
@ -77,7 +77,22 @@ Reply format:
|
|||||||
```
|
```
|
||||||
|
|
||||||
### `msg`
|
### `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`
|
### `list`
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user