Tag
public struct Tag : Codable, Hashable, Sendable
Represents a hashtag used within the content of a post.
-
Undocumented
Declaration
Swift
public init(name: String, url: String, history: [History]? = nil, following: Bool? = nil) -
The value of the hashtag after the # sign.
Declaration
Swift
public let name: String -
A link to the hashtag on the instance.
Declaration
Swift
public let url: String -
Usage statistics for given days.
Declaration
Swift
public let history: [History]? -
Are you following this tag?
Declaration
Swift
public let following: Bool? -
Represents daily usage history of a hashtag.
See moreDeclaration
Swift
struct History : Codable, Hashable, Sendable
Tag Structure Reference