LocalMessagesByTimeQueryParams

Parameters for creating a local messages query by timestamp.

Used with ai.nexconn.chat.channel.BaseChannel.createLocalMessagesByTimeQuery to query local history messages starting from a specific timestamp, optionally filtered by message types.

Parameters

channelIdentifier

The target channel identifier to query messages from

Properties

Link copied to clipboard
Link copied to clipboard
private Boolean isAscending

Whether ascending by time (From Old to New).

Link copied to clipboard
private List<String> messageTypes

Message type filters (object names).

Link copied to clipboard
private Integer pageSize

Number of messages per page. Default is 20.

Link copied to clipboard
private Long sentTime

Reference sent time (milliseconds) to start the query from.

Functions

Link copied to clipboard
Link copied to clipboard
public final List<String> getMessageTypes()

Message type filters (object names).

Link copied to clipboard
public final Integer getPageSize()

Number of messages per page. Default is 20.

Link copied to clipboard
public final Long getSentTime()

Reference sent time (milliseconds) to start the query from.

Link copied to clipboard
public final Boolean isAscending()

Whether ascending by time (From Old to New).

Link copied to clipboard
public final Unit setAscending(Boolean isAscending)

Whether ascending by time (From Old to New).

Link copied to clipboard
public final Unit setMessageTypes(List<String> messageTypes)

Message type filters (object names).

Link copied to clipboard
public final Unit setPageSize(Integer pageSize)

Number of messages per page. Default is 20.

Link copied to clipboard
public final Unit setSentTime(Long sentTime)

Reference sent time (milliseconds) to start the query from.