Versions in this module Expand all Collapse all v1 v1.10.4 Jun 13, 2022 Changes in this version + const NAME_PADDED_LENGTH + const PROFILE_CREDENTIAL_PATH + const PROFILE_PATH + func GenerateProfileKey() []byte + func GetAvatar(avatarURL string) (io.ReadCloser, error) + func GetProfileE164(tel string) (contacts.Contact, error) + func UpdateProfile(profileKey []byte, uuid, name string) error + type Profile struct + About string + AboutEmoji string + Avatar string + Badges []string + Capabilities config.AccountCapabilities + Credential []byte + IdentityKey string + Name string + PaymentAddress string + UUID string + UnidentifiedAccess string + UnrestrictedUnidentifiedAccess bool + func GetProfile(UUID string, profileKey []byte) (*Profile, error) + func GetProfileAndCredential(UUID string, profileKey []byte) (*Profile, error) + type ProfileSettings struct + About []byte + AboutEmoji []byte + Avatar bool + BadgeIds []string + Commitment []byte + Name []byte + Version string