mirror of
https://github.com/FlourishingWorld/hk4e.git
synced 2026-02-04 18:22:26 +08:00
17 lines
306 B
Go
17 lines
306 B
Go
package model
|
|
|
|
const (
|
|
ChatMsgTypeText = iota
|
|
ChatMsgTypeIcon
|
|
)
|
|
|
|
type ChatMsg struct {
|
|
Time uint32 `bson:"time"`
|
|
ToUid uint32 `bson:"toUid"`
|
|
Uid uint32 `bson:"uid"`
|
|
IsRead bool `bson:"isRead"`
|
|
MsgType uint8 `bson:"msgType"`
|
|
Text string `bson:"text"`
|
|
Icon uint32 `bson:"icon"`
|
|
}
|