MessagePagingParams

class MessagePagingParams(val hasNext: Boolean = false, val hasPrevious: Boolean = false, val initialized: Boolean = false)

Represents the paging parameters for messages.

Since

1.0.0-beta.1

See also

MessageCollection.hasNext
MessageCollection.hasPrevious
MessageCollection.initialize

// fixme: change to lifecycle

Constructors

Link copied to clipboard
constructor(hasNext: Boolean = false, hasPrevious: Boolean = false, initialized: Boolean = false)

Properties

Link copied to clipboard
val hasNext: Boolean = false

Whether there are more messages to load in the next (latest) direction. Defaults to false.

Link copied to clipboard
val hasPrevious: Boolean = false

Whether there are more messages to load in the previous (oldest) direction. Defaults to false.

Link copied to clipboard
val initialized: Boolean = false

Whether the MessageCollection is initialized. Defaults to false.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int