Skip to content
This repository was archived by the owner on Aug 15, 2025. It is now read-only.

Commit e02c072

Browse files
committed
Extend table of contents
1 parent b0d209a commit e02c072

File tree

1 file changed

+45
-0
lines changed
  • docs/Protocol Specifications/P2 Extensions

1 file changed

+45
-0
lines changed

docs/Protocol Specifications/P2 Extensions/chat.md

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,14 @@ title: polyproto-chat
2626
- [2.1.1 Private messages](#211-private-messages)
2727
- [2.1.2 Group messages](#212-group-messages)
2828
- [2.2 Guilds and Guild channels](#22-guilds-and-guild-channels)
29+
- [3. General Behaviors](#3-general-behaviors)
30+
- [4. Gateway](#4-gateway)
31+
- [5. Data Structures](#5-data-structures)
32+
- [6. Permissions](#6-permissions)
33+
- [7. Rate Limits](#7-rate-limits)
34+
- [8. Voice and Video](#8-voice-and-video)
35+
- [9. Encryption](#9-encryption)
36+
- [10. Push Notifications](#10-push-notifications)
2937
- [polyproto-chat specific glossary](#polyproto-chat-specific-glossary)
3038
- [General glossary](#general-glossary)
3139

@@ -200,6 +208,43 @@ and
200208
end
201209
```
202210

211+
## 3. General Behaviors
212+
213+
This chapter covers general behaviors, describing how a polyproto-chat server or client is expected to
214+
behave.
215+
216+
## 4. Gateway
217+
218+
This chapter covers polyproto-chat specific gateway events, opcodes and more.
219+
220+
## 5. Data Structures
221+
222+
This chapter defines all data structures found in polyproto-chat.
223+
224+
## 6. Permissions
225+
226+
This chapter describes the permission system of polyproto-chat, defining the actions and resources
227+
actors can access.
228+
229+
## 7. Rate Limits
230+
231+
This chapter defines the rate limiting system used in polyproto-chat.
232+
233+
## 8. Voice and Video
234+
235+
This section covers voice and video encoding, decoding and transmission.
236+
237+
## 9. Encryption
238+
239+
This chapter defines cryptographic behaviors, routines and defaults which polyproto-chat implementations
240+
must implement.
241+
242+
## 10. Push Notifications
243+
244+
This chapter covers how push notifications work in polyproto-chat.
245+
246+
---
247+
203248
*Fig. 3: Sequence diagram, showing Alice sending a message to a guild channel accessible to both
204249
Alice and Bob.*
205250

0 commit comments

Comments
 (0)