NewsFeed
public struct NewsFeed : Codable, Equatable
Struct representing News Feed related values.
-
Boolean value indicator if user is allowed to post.
Declaration
Swift
public var allowedToPost: Bool
-
Boolean value indicator if user is allowed to comment.
Declaration
Swift
public var allowedToComment: Bool
-
Pinned post.
Declaration
Swift
public var pinned: Post?
-
List of posts in current feed.
Declaration
Swift
public var posts: [Post]
-
Declaration
Swift
public init(from decoder: Decoder) throws