Add type, channel, and receiver fields to chat model and database handling.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user