MessageList
List-like interface to transparently access cached and retrieve not-yet-received messages from Discord.
Supports traversing chat history in backward direction (from newest to the oldest messages). It potentially may traverse the whole chat history, so use with caution!
Types
Link copied to clipboard
interface MessageIterator
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun subList(fromId: Snowflake? = null, toId: Snowflake? = null, toInclusive: Boolean = false): MessageList
open fun subList(fromDate: Instant? = null, toDate: Instant? = null, toInclusive: Boolean = false): MessageList