TootSource

public struct TootSource : Codable, Hashable, Sendable

Represents display or publishing preferences of user’s own account. Returned as an additional entity when verifying and updated credentials, as an attribute of Account.

  • Undocumented

    Declaration

    Swift

    public init(note: String? = nil, fields: [TootField], privacy: Post.Visibility? = nil, sensitive: Bool? = nil, language: String? = nil, followRequestsCount: Int? = nil)
  • Profile bio.

    Declaration

    Swift

    public var note: String?
  • Metadata about the account.

    Declaration

    Swift

    public var fields: [TootField]
  • The default post privacy to be used for new posts.

    Declaration

    Swift

    public var privacy: Post.Visibility?
  • Whether new posts should be marked sensitive by default.

    Declaration

    Swift

    public var sensitive: Bool?
  • The default posting language for new posts.

    Declaration

    Swift

    public var language: String?
  • The number of pending follow requests.

    Declaration

    Swift

    public var followRequestsCount: Int?