From 411e15d53d9a63ee9bdd39db153f6ca26af4f44c Mon Sep 17 00:00:00 2001 From: "Tristan B. Kildaire" Date: Tue, 29 Sep 2020 14:29:51 +0200 Subject: [PATCH] Added 'membercount' command (protocol) --- protocol.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/protocol.md b/protocol.md index 6c21fed..4bb5958 100644 --- a/protocol.md +++ b/protocol.md @@ -120,6 +120,24 @@ Request format: Reply format *TODO* + +### `membercount` + +Request format: + +``` +|-- 8 --|-- channel --| +``` + +* `type`, `0` - to user, `1` to channel + +Reply format *TODO* + +``` +|-- status (1 byte) --|-- member count (4 bytes - big endian) --| +``` + + ### `chanprop`