OpenChannelListQuery
public final class OpenChannelListQuery: NSObject, NSCopying, Queryable
The OpenChannelListQuery class is a query class for getting the list of open channels.
The instance of this class is created by createOpenChannelListQuery() in OpenChannel 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 OpenChannelListHandler)Parameters
completionHandlercompletion handler
-
Copies this object
Declaration
Swift
public func copy(with zone: NSZone? = nil) -> AnyParameters
zoneoptional
NSZoneReturn Value
OpenChannelListQueryinstance
-
Whether the result contains frozen channel or not. Default is
trueSince
3.0.182Declaration
Swift
public var includeFrozenChannel: Bool -
Whether the result channel includes metadata or not. Default is
falseSince
3.0.216Declaration
Swift
public var includeMetaData: Bool -
Whether the result channel includes pinned messages. Default is
trueSince
4.20.0Declaration
Swift
public var includePinnedMessages: Bool -
Sets the channel URL filter.
Declaration
Swift
public var channelURLFilter: String? -
Sets the channel name filter.
Declaration
Swift
public var channelNameFilter: String? -
Sets the custom type filter.
Declaration
Swift
public var customTypeFilter: String? -
Specifies the number of results to return per call. (Default: 20)
Declaration
Swift
public var limit: UInt
View on GitHub
Install in Dash