HashtagTimelineQuery

public struct HashtagTimelineQuery : Codable, Sendable
extension HashtagTimelineQuery: TimelineQuery

Specifies the parameters for a hashtag timeline request

  • Undocumented

    Declaration

    Swift

    public init(tag: String, anyTags: [String]? = nil, allTags: [String]? = nil, noneTags: [String]? = nil, onlyMedia: Bool? = nil, local: Bool? = nil, remote: Bool? = nil)
  • tag

    The name of the hashtag, not including the # symbol

    Declaration

    Swift

    public var tag: String
  • Return posts that contain any of these additional tags

    Declaration

    Swift

    public var anyTags: [String]?
  • Return posts that contain all of these additional tags

    Declaration

    Swift

    public var allTags: [String]?
  • Return posts that contain none of these additional tags

    Declaration

    Swift

    public var noneTags: [String]?
  • Return only posts with media attachments

    Declaration

    Swift

    public var onlyMedia: Bool?
  • Return only local posts

    Declaration

    Swift

    public var local: Bool?
  • Return only remote posts

    Declaration

    Swift

    public var remote: Bool?
  • Undocumented

    Declaration

    Swift

    public func getQueryItems() -> [URLQueryItem]