Add type, channel, and receiver fields to chat model and database handling.

This commit is contained in:
2026-07-19 22:52:14 +02:00
parent 7750bf6439
commit 1c2478e8d0
6 changed files with 66 additions and 14 deletions
+16 -8
View File
@@ -68,25 +68,33 @@ components:
required:
- uuid
- message
- channel
- server
- type
- timestamp
- blocked
properties:
uuid:
type: string
format: uuid
channel:
type: string
enum:
- CHAT
- PARTY
- AC
- GAC
message:
type: string
server:
type: string
type:
type: string
enum:
- PUBLIC
- GLOBAL
- PARTY
- GAC
- MSG
- CUSTOM
channel:
type: string
maxLength: 36
receiver:
type: string
maxLength: 36
timestamp:
type: string
format: date-time