Timeline
public enum Timeline : Hashable, Sendable
extension Timeline: TootStream
Timelines that we can get posts for, or create streams of posts from
-
The user’s home timeline
Declaration
Swift
case home
-
The user’s local timeline
Declaration
Swift
case local(_: LocalTimelineQuery = LocalTimelineQuery())
-
The user’s federated timeline
Declaration
Swift
case federated(_: FederatedTimelineQuery = FederatedTimelineQuery())
-
The user’s favourite posts
Declaration
Swift
case favourites
-
The user’s bookmarked posts
Declaration
Swift
case bookmarks
-
Posts matching the hashtag requested
Declaration
Swift
case hashtag(HashtagTimelineQuery)
-
The user’s list matching that id
Declaration
Swift
case list(listID: String)
-
Timeline with posts submitted by a single user
Declaration
Swift
case user(UserTimelineQuery)
-
The user’s local timeline
Declaration
Swift
public static var local: Timeline { get }
-
The user’s federated timeline
Declaration
Swift
public static var federated: Timeline { get }
-
Timeline with posts submitted by a single user
Declaration
Swift
public static func user(userID: String) -> Timeline
-
Undocumented
Declaration
Swift
public typealias ResponseType = [Post]