12 lines
319 B
Go
12 lines
319 B
Go
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"`
|
|
}
|