ScheduledMessageListQuery

public final 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

    public private(set) var hasNext: Bool = true
  • A Boolean value that indicates the query is currently loading or not.

    Declaration

    Swift

    public private(set) var isLoading: Bool = false
  • Fetches next page.

    Declaration

    Swift

    public func loadNextPage(completionHandler: @escaping MessageListHandler)

    Parameters

    completionHandler

    The completion handler.

NSCopying

  • Undocumented

    Declaration

    Swift

    public func copy(with zone: NSZone? = nil) -> Any

Params Bridge

  • The maximum number of BaseMessages per queried page. Default is 20.

    Since

    4.0.0

    Declaration

    Swift

    public var limit: Int
  • The order method for the search. Default is .createdAt

    Since

    4.0.0

    Declaration

    Swift

    public var order: ScheduledMessageListOrder
  • A Boolean value that indicates whether to reverse the queried result list. Default is false.

    Since

    4.0.0

    Declaration

    Swift

    public var reverse: Bool
  • Restricts the search scope only to retrieve the messages with the specified message status. If not specified, all messages are retrieved.

    Since

    4.0.0

    Declaration

    Swift

    public var scheduledStatusOptions: ScheduledStatusOptions
  • Restricts the search scope only to retrieve messages with the specified message type. Default is .all.

    Since

    4.0.0

    Declaration

    Swift

    public var messageTypeFilter: MessageTypeFilter