Something went wrong. Try again.
A slopfork of Sam Henri Gold's Twitter client, reskinned like Tweetie 2 / Twitter for iPhone circa 2012. Personal use.
Something went wrong. Try again.
1234567891011121314151617181920212223242526272829303132import Foundation
/// A "Readers added context" note attached to a post.package struct CommunityNote: Hashable, Codable, Sendable { package var id: String? package var title: String package var shortTitle: String? package var text: String /// Where `text` links out, and where each link goes. package var links: [TextLink] = [] package var footer: String? package var destinationURL: URL?
package init( id: String? = nil, title: String, shortTitle: String? = nil, text: String, links: [TextLink] = [], footer: String? = nil, destinationURL: URL? = nil ) { self.id = id self.title = title self.shortTitle = shortTitle self.text = text self.links = links self.footer = footer self.destinationURL = destinationURL }}