SearchMessagesRequest

data class SearchMessagesRequest @JvmOverloads constructor(val offset: Int?, val limit: Int?, val channelFilter: FilterObject, val messageFilter: FilterObject, val next: String? = null, val querySort: QuerySorter<Message>? = null)

Constructors

Link copied to clipboard
constructor(offset: Int?, limit: Int?, channelFilter: FilterObject, messageFilter: FilterObject, next: String? = null, querySort: QuerySorter<Message>? = null)

Properties

Link copied to clipboard

Channel filter conditions

Link copied to clipboard
val limit: Int?

Number of messages to return

Link copied to clipboard

Message filter conditions

Link copied to clipboard
val next: String? = null

Pagination parameter. Cannot be used with non-zero offset.

Link copied to clipboard
val offset: Int?

Pagination offset. Cannot be used with sort or next.

Link copied to clipboard

Sort parameters. Cannot be used with non-zero offset

Link copied to clipboard