Initial commit: conversaions, status, version
This commit is contained in:
11
model/conversation.go
Normal file
11
model/conversation.go
Normal file
@@ -0,0 +1,11 @@
|
||||
package model
|
||||
|
||||
import "time"
|
||||
|
||||
type Conversation struct {
|
||||
Date time.Time `json:"date"`
|
||||
Participants []string `json:"participantDisplayNames"`
|
||||
UnreadCount int `json:"unreadCount"`
|
||||
LastMessagePreview string `json:"lastMessagePreview"`
|
||||
Guid string `json:"guid"`
|
||||
}
|
||||
Reference in New Issue
Block a user