Discover Packages
github.com/snowpal/pitch-conversation-sdk
lib
structs
response
package
Version:
v1.0.10
Opens a new window with list of versions in this module.
Published: Jun 26, 2023
License: MIT
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type BlockedUser struct {
ID string `json:"id"`
Username string `json:"userName"`
FirstName string `json:"firstName"`
}
type Conversation struct {
ID string `json:"id"`
Type string `json:"type"`
RecentMessage string `json:"recentMessage"`
IsGroup bool `json:"isGroup"`
UserBlocked bool `json:"blockedUser"`
UserLeft bool `json:"leftConversation"`
UserCanLeave bool `json:"canLeave"`
Archived bool `json:"archived"`
AllMessagesRead bool `json:"allMessagesRead"`
Members []Member `json:"members"`
Messages *[]ConversationMessage `json:"messages"`
LastModified string `json:"lastModified"`
}
type ConversationMessage struct {
ID string `json:"id"`
Sequence int `json:"sequence"`
AddedBy string `json:"addedBy"`
MessageText string `json:"messageText"`
MessageTime string `json:"messageTime"`
ReadReceipt string `json:"readReceipt"`
}
type Conversations struct {
Conversations []Conversation `json:"conversations"`
}
type Member struct {
ID string `json:"id"`
Username string `json:"userName"`
FirstName string `json:"firstName"`
FullName string `json:"fullName"`
LastSeenMessageId int `json:"LastSeenMessageId"`
}
type Preference struct {
SubscribeMail bool `json:"subscribeMail"`
SubscribeSms bool `json:"subscribeSms"`
ShowResourcesChart bool `json:"showResourcesChart"`
ShowScalesChartForBlocks bool `json:"showScalesChartForBlocks"`
ShowScalesChartForPods bool `json:"showScalesChartForPods"`
}
type Profile struct {
ID string `json:"id"`
Email string `json:"email"`
Username string `json:"userName"`
FirstName string `json:"firstName"`
MiddleName string `json:"middleName"`
LastName string `json:"lastName"`
PhoneNumber string `json:"phoneNumber"`
AddressUserBy string `json:"addressUserBy"`
UserInitial string `json:"userInitial"`
AvatarName string `json:"avatarName"`
AvatarUrl string `json:"avatarUrl"`
IsInactive bool `json:"inactive"`
IsAnnualSubscriber bool `json:"isAnnualSubscriber"`
BlockedUsers []BlockedUser `json:"blockedUsers"`
Preferences []Preference `json:"preferences"`
}
type SearchUser struct {
ID string `json:"id"`
ProfileID string `json:"profileId"`
Username string `json:"userName"`
FirstName string `json:"firstName"`
FullName string `json:"fullName"`
}
type SearchUsers struct {
SearchUsers []SearchUser `json:"users"`
}
type SharedUser struct {
ID string `json:"id"`
Acl string `json:"acl"`
Username string `json:"userName"`
FirstName string `json:"firstName"`
LastName string `json:"lastName"`
FullName string `json:"fullName"`
AddressUserBy string `json:"addressUserBy"`
}
type TaggedUser struct {
ID string `json:"userId"`
ProfileID string `json:"profileId"`
FirstName string `json:"firstName"`
LastName string `json:"lastName"`
Username string `json:"username"`
Initial string `json:"userInitial"`
Email string `json:"email"`
}
type UnreadCount struct {
UnreadCount int `json:"unreadCount"`
}
type User struct {
ID string `json:"id"`
Uuid string `json:"uuid"`
Email string `json:"email"`
Inactive bool `json:"inactive"`
Deactivated bool `json:"userDeactivated"`
Dormant bool `json:"dormant"`
AvatarUrl string `json:"avatarUrl"`
JwtToken string `json:"jwtToken"`
}
type UserRegistration struct {
User User `json:"user"`
}
type Users struct {
Users []User `json:"users"`
}
type Version struct {
Status string `json:"status"`
Version string `json:"version"`
InternalVersion string `json:"internalVersion"`
DeploymentIteration *string `json:"deploymentIteration"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.