PostSource
public struct PostSource : Codable, Identifiable, Sendable
Represents a post’s source as plain text.
-
ID of the post in the database.
Declaration
Swift
public var id: String
-
The plain text used to compose the post.
Declaration
Swift
public var text: String
-
The plain text used to compose the post subject or content warning.
Declaration
Swift
public var spoilerText: String
-
Undocumented
Declaration
Swift
public init(id: String, text: String, spoilerText: String)