🐛 Bug fixes of message pushing

This commit is contained in:
2024-03-30 22:33:20 +08:00
parent eacfd7296e
commit 56af8688f6
3 changed files with 23 additions and 13 deletions

View File

@ -18,7 +18,7 @@ type Message struct {
Type MessageType `json:"type"`
Attachments []Attachment `json:"attachments"`
Channel Channel `json:"channel"`
Sender Account `json:"sender"`
Sender ChannelMember `json:"sender"`
ChannelID uint `json:"channel_id"`
SenderID uint `json:"sender_id"`
}