summaryrefslogtreecommitdiffstats
path: root/packages/meshbay-common/src/meshbay_common/protocol.py
diff options
context:
space:
mode:
Diffstat (limited to 'packages/meshbay-common/src/meshbay_common/protocol.py')
-rw-r--r--packages/meshbay-common/src/meshbay_common/protocol.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/packages/meshbay-common/src/meshbay_common/protocol.py b/packages/meshbay-common/src/meshbay_common/protocol.py
index c3f2b1a..fbf871a 100644
--- a/packages/meshbay-common/src/meshbay_common/protocol.py
+++ b/packages/meshbay-common/src/meshbay_common/protocol.py
@@ -27,6 +27,10 @@ class MNP:
STREAM_SEGMENT = "stream_seg" # HLS/DASH segment
CHAT_MESSAGE = "chat_msg" # Double Ratchet message
CHAT_ATTACHMENT = "chat_attach" # attachment metadata
+ CHAT_HISTORY = "chat_hist" # request message history
+ CHAT_HISTORY_RESPONSE = "chat_hist_resp" # history response with messages
+ GEK_REQUEST = "gek_req" # browser requests group GEK
+ GEK_RESPONSE = "gek_resp" # node delivers GEK over secure channel
EPHEMERAL_STREAM = "ephemeral_stream" # reserved — mobile live push