21 lines
884 B
Go
21 lines
884 B
Go
package common
|
|
|
|
// Optional selections distinguish an unset preference from an explicit zero,
|
|
// false, empty signature or cleared avatar list. Ownership comes from resources.
|
|
type ProfileSettings struct {
|
|
PhoneTheme *uint32 `json:"phone_theme,omitempty"`
|
|
PhoneCase *uint32 `json:"phone_case,omitempty"`
|
|
ChatBubble *uint32 `json:"chat_bubble,omitempty"`
|
|
HeadIcon *uint32 `json:"head_icon,omitempty"`
|
|
PersonalCard *uint32 `json:"personal_card,omitempty"`
|
|
Signature *string `json:"signature,omitempty"`
|
|
IsDisplay *bool `json:"is_display,omitempty"`
|
|
DisplayAvatars *[]ProfileAvatar `json:"display_avatars,omitempty"`
|
|
AssistAvatars *[]uint32 `json:"assist_avatars,omitempty"`
|
|
}
|
|
|
|
type ProfileAvatar struct {
|
|
AvatarID uint32 `json:"avatar_id"`
|
|
Pos uint32 `json:"pos"`
|
|
}
|