MemberListQuery
public final class MemberListQuery: NSObject, Queryable
The MemberListQuery class is a query class for getting the list member in group channels.
The instance of this class is created by createMemberListQuery() in GroupChannel class.
-
Boolean indicates there are more data to fetch
Declaration
Swift
public internal(set) var hasNext: Bool = true -
Indicates the query is currently loading or not
Declaration
Swift
public internal(set) var isLoading: Bool = false -
Fetches next page
Declaration
Swift
public func loadNextPage(completionHandler: @escaping MemberListHandler)Parameters
completionHandlercompletion handler
-
Copies this object
Declaration
Swift
public func copy(with zone: NSZone? = nil) -> AnyParameters
zoneoptional
NSZoneReturn Value
MemberListQueryinstance
-
Filters members of nickname that starts with.
Since
3.0.102Declaration
Swift
public var nicknameStartsWithFilter: String? -
Sets a filter to query operators.
Since
3.0.89Declaration
Swift
public var operatorFilter: GroupChannelOperatorFilter -
Sets a filter to query muted member list.
Since
3.0.89Declaration
Swift
public var mutedMemberFilter: GroupChannelMutedMemberFilter -
Sets a filter to query member list with member state.
Declaration
Swift
public var memberStateFilter: MemberStateFilter -
Sets how the query result should be ordered.
If the
orderis.nicknameAlphabetical, the result will be ordered by the nickname in alphabetical order. If theorderis.operatorThenMemberNicknameAlphabetical, then the result will contain the operators first, and then the members. The two groups (operators and members) will be ordered by the nickname in alphabetical order. The default value is.nicknameAlphabetical.Since
3.0.198Declaration
Swift
public var order: MemberListOrder -
Specifies the number of results to return per call. (Default: 20)
Declaration
Swift
public var limit: UInt
View on GitHub
Install in Dash