ScheduledMessageListQuery
@objc(SBDScheduledMessageListQuery)
public class ScheduledMessageListQuery : NSObject
extension ScheduledMessageListQuery: NSCopying
The ScheduledMessageListQuery class is a query class for getting the list of scheduled messages.
Since
4.0.0-
A Boolean value that indicates whether there are more data to fetch.
Declaration
Swift
@objc public private(set) var hasNext: Bool { get } -
A Boolean value that indicates the query is currently loading or not.
Declaration
Swift
@objc public private(set) var isLoading: Bool { get } -
Fetches next page.
Declaration
Swift
@objc public func loadNextPage(completionHandler: @escaping MessageListHandler)Parameters
completionHandlerThe completion handler.
-
Undocumented
Declaration
Swift
public func copy(with zone: NSZone? = nil) -> Any
-
The maximum number of
BaseMessages per queried page. Default is20.Since
4.0.0Declaration
Swift
@objc public var limit: Int { get } -
The order method for the search. Default is
.createdAtSince
4.0.0Declaration
Swift
@objc public var order: ScheduledMessageListOrder { get } -
A Boolean value that indicates whether to reverse the queried result list. Default is
false.Since
4.0.0Declaration
Swift
@objc public var reverse: Bool { get } -
Restricts the search scope only to retrieve the messages with the specified message status. If not specified, all messages are retrieved.
Since
4.0.0Declaration
Swift
@objc public var scheduledStatusOptions: ScheduledStatusOptions { get } -
Restricts the search scope only to retrieve messages with the specified message type. Default is
.all.Since
4.0.0Declaration
Swift
@objc public var messageTypeFilter: MessageTypeFilter { get }
View on GitHub
Install in Dash
ScheduledMessageListQuery Class Reference