List all scheduled messages
Create a ScheduleMessageListQuery
instance to retrieve all scheduled messages matching the specifications set by ScheduledMessageListQueryParams
.
ScheduledMessageListQueryParams
Property name | Type | Description |
---|---|---|
order? | enum | Determines the order of the retrieved messages. Acceptable values are |
messageTypeFilter | enum | Specifies the message type to filter the messages with the corresponding type. Acceptable values are |
reverse? | boolean | Determines whether to sort the retrieved messages in reverse order. If |
channelUrl? | string | Specifies a target channel to query the scheduled messages from. If |
scheduledStatus? | list | Specifies list of |
limit | int | Specifies the number of results to return per call. Acceptable values are |
ScheduledMessageListQuery
Property name | Type | Description |
---|---|---|
| int | Specifies the number of results to return per call. Acceptable values are 1 to 100, inclusive. The recommended value for this parameter is 30. |
| string | Specifies the url of a group channel. |
| ScheduledMessageListOrder | Specifies the sort order of messages being fetched. Acceptable values are ScheduledMessageListOrder.CREATED_AT, and ScheduledMessageListOrder.SCHEDULED_AT. |
| boolean | Determines whether to sort the retrieved messages in reverse order. If false, the results are in ascending order. |
| ScheduledStatus | Specifies the list of scheduled status of scheduled messages to fetch. Acceptable values are ScheduledStatus.PENDING, ScheduledStatus.SENT, ScheduledStatus.FAILED, and ScheduledStatus.CANCELED. |
| enum | Specifies the message type to filter the messages with the corresponding type. Acceptable values are MessageTypeFilter.ALL, MessageTypeFilter.USER, MessageTypeFilter.FILE, MessageTypeFilter.ADMM, and MessageTypeFilter.ALL. |