Messages CRUD

This commit is contained in:
2024-03-30 18:40:21 +08:00
parent 8e31675317
commit 729409618b
5 changed files with 134 additions and 33 deletions

View File

@ -17,6 +17,8 @@ type Message struct {
Metadata datatypes.JSONMap `json:"metadata"`
Type MessageType `json:"type"`
Attachments []Attachment `json:"attachments"`
Channel Channel `json:"channel"`
Sender Account `json:"sender"`
ChannelID uint `json:"channel_id"`
SenderID uint `json:"sender_id"`
}