Preferences
public struct Preferences : Codable, Hashable
Represents a user’s preferences.
-
Default visibility for new posts. Equivalent to Source#privacy.
Declaration
Swift
public var postingDefaultVisibility: Post.Visibility
-
Default sensitivity flag for new posts. Equivalent to Source#sensitive.
Declaration
Swift
public var postingDefaultSensitive: Bool
-
Default language for new posts. Equivalent to Source#language
Declaration
Swift
public var postingDefaultLanguage: String?
-
Whether media attachments should be automatically displayed or blurred/hidden.
Declaration
Swift
public var readingExpandMedia: ExpandMedia
-
Whether CWs should be expanded by default.
Declaration
Swift
public var readingExpandSpoilers: Bool
-
Undocumented
See moreDeclaration
Swift
public enum ExpandMedia : String, Codable