2023-06-16 23:35:41 -07:00
|
|
|
package model
|
|
|
|
|
|
|
|
|
|
import "time"
|
|
|
|
|
|
|
|
|
|
type Conversation struct {
|
|
|
|
|
Date time.Time `json:"date"`
|
|
|
|
|
Participants []string `json:"participantDisplayNames"`
|
2023-06-18 13:12:06 -07:00
|
|
|
DisplayName *string `json:"displayName"` // Optional
|
2023-06-16 23:35:41 -07:00
|
|
|
UnreadCount int `json:"unreadCount"`
|
|
|
|
|
LastMessagePreview string `json:"lastMessagePreview"`
|
|
|
|
|
Guid string `json:"guid"`
|
|
|
|
|
}
|