Represents a query for retrieving a list of scheduled messages.

Hierarchy

  • default
    • ScheduledMessageListQuery

Properties

channelUrl: null | string = null

The scheduled messages in specified channel will be retrieved.

limit: number = DEFAULT_LIST_QUERY_LIMIT

The maximum number of data per queried page.

messageTypeFilter: MessageTypeFilter = MessageTypeFilter.ALL

Message type filter of scheduled messages.

order: null | ScheduledMessageListOrder = null

The result order of scheduled messages.

reverse: boolean = false

Determines whether to list the retrieved messages in reverse order.

scheduledStatus: null | ScheduledStatus[] = null

The target scheduled status of the scheduled messages to be retrieved.

Accessors

  • get hasNext(): boolean
  • Returns boolean

    Whether there is a next page.

  • get isLoading(): boolean
  • Returns boolean

    Whether the current query is in communication progress with server.

Methods

  • Returns Promise<BaseMessage[]>

    Requests query result for the scheduled messages.