Kordophone-2.6: lastMessage in /conversations
This commit is contained in:
@@ -9,11 +9,11 @@ import (
|
||||
type Message struct {
|
||||
Text string `json:"text"`
|
||||
Guid string `json:"guid"`
|
||||
Sender *string `json:"sender"` // Optional: nil means from "me"
|
||||
Sender *string `json:"sender,omitempty"` // Optional: nil means from "me"
|
||||
Date time.Time `json:"date"`
|
||||
|
||||
// Map of attachment GUID to attachment metadata
|
||||
Attachments *map[string]AttributionInfo `json:"attachmentMetadata"` // Optional
|
||||
Attachments *map[string]AttributionInfo `json:"attachmentMetadata,omitempty"` // Optional
|
||||
}
|
||||
|
||||
type AttributionInfo struct {
|
||||
|
||||
Reference in New Issue
Block a user