UserTimelineQuery
public struct UserTimelineQuery : Sendable
extension UserTimelineQuery: TimelineQuery
Specifies the parameters for a user posts timeline request
-
Undocumented
Declaration
Swift
public init(userId: String, onlyMedia: Bool? = nil, excludeReplies: Bool? = nil, excludeBoosts: Bool? = nil, pinned: Bool? = nil, tagged: String? = nil) -
The id of the user
Declaration
Swift
public var userId: String -
Return only posts with media attachments
Declaration
Swift
public var onlyMedia: Bool? -
Filter out posts in reply to a different account
Declaration
Swift
public var excludeReplies: Bool? -
Filter out boosts
Declaration
Swift
public var excludeBoosts: Bool? -
Filter for pinned posts only
Declaration
Swift
public var pinned: Bool? -
Filter for posts using a specific hashtag
Declaration
Swift
public var tagged: String? -
Undocumented
Declaration
Swift
public func getQueryItems() -> [URLQueryItem]
UserTimelineQuery Structure Reference