This repository has been archived on 2023-06-16. You can view files and clone it, but cannot push or open issues or pull requests.
2021-06-24 22:30:46 +00:00
|
|
|
package utils
|
|
|
|
|
|
|
|
type Contact struct {
|
2022-02-07 22:21:52 +00:00
|
|
|
Name string `json:"name"`
|
|
|
|
Onion string `json:"onion"`
|
|
|
|
Status string `json:"status"`
|
|
|
|
Picture string `json:"picture"`
|
|
|
|
DefaultPicture string `json:"defaultPicture"`
|
|
|
|
Accepted bool `json:"accepted"`
|
|
|
|
Blocked bool `json:"blocked"`
|
|
|
|
SaveHistory string `json:"saveConversationHistory"`
|
|
|
|
Messages int `json:"numMessages"`
|
|
|
|
Unread int `json:"numUnread"`
|
|
|
|
LastMessage string `json:"lastMsgTime"`
|
|
|
|
IsGroup bool `json:"isGroup"`
|
|
|
|
GroupServer string `json:"groupServer"`
|
|
|
|
IsArchived bool `json:"isArchived"`
|
|
|
|
Identifier int `json:"identifier"`
|
2021-06-24 22:30:46 +00:00
|
|
|
}
|