MembersOnlyData

public struct MembersOnlyData : Content, ResponseEncodable

FezData.MembersOnlyData returns data only available to participants in a Fez.

  • The users participating in the fez.

    Declaration

    Swift

    var participants: [UserHeader]
  • The users on a waiting list for the fez.

    Declaration

    Swift

    var waitingList: [UserHeader]
  • How many posts the user can see in the fez. The count is returned even for calls that don’t return the actual posts, but is not returned for fezzes where the user is not a member. PostCount does not include posts from blocked/muted users.

    Declaration

    Swift

    var postCount: Int
  • How many posts the user has read. If postCount > readCount, there’s posts to be read. UI can also use readCount to set the initial view to the first unread message.ReadCount does not include posts from blocked/muted users.

    Declaration

    Swift

    var readCount: Int
  • Paginates the array in posts–gives the start and limit of the returned posts array relative to all the posts in the thread.

    Declaration

    Swift

    var paginator: Paginator?
  • The FezPosts in the fez discussion. Methods that return arrays of Fezzes, or that add or remove users, do not populate this field (it will be nil).

    Declaration

    Swift

    var posts: [FezPostData]?
  • Whether user has muted the fez.

    Declaration

    Swift

    var isMuted: Bool