CommunityRemoteMessagesQueryParams

community channel specified sub-channel Remote history message query parameters.

Used for com.nexconn.chat.channel.CommunityChannel.createRemoteMessagesQuery, Get community channel specified sub-channel Remote history message and Supports Pagination.

Usage Example:

val params = CommunityRemoteMessagesQueryParams(communityChannel).apply {
pageSize = 30
}
val query = CommunityChannel.createRemoteMessagesQuery(params)

query.loadNextPage { messages, error ->
if (error == null && messages != null) {
// Handle remote history messages
}
}

Parameters

channel

Target community channel

Properties

Link copied to clipboard
private final CommunityChannel channel
Link copied to clipboard
private Integer pageSize

each time Get message Count, Default 20.

Link copied to clipboard
private Long sentTime

Start Send Timestamp (milli seconds).

Functions

Link copied to clipboard
Link copied to clipboard
public final Integer getPageSize()

each time Get message Count, Default 20.

Link copied to clipboard
public final Long getSentTime()

Start Send Timestamp (milli seconds).

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

each time Get message Count, Default 20.

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

Start Send Timestamp (milli seconds).

Link copied to clipboard
public String toString()