MessageRepository
Functions
Link copied to clipboard
Deletes message.
Link copied to clipboard
Deletes all messages from a channel.
Link copied to clipboard
Deletes all messages before a message with passed ID.
Link copied to clipboard
Evicts a message from the repository.
Link copied to clipboard
Evict messages from the repository.
Link copied to clipboard
Inserts a messages.
Link copied to clipboard
Inserts many messages.
Link copied to clipboard
Reads the message with passed ID.
Link copied to clipboard
Selects all message of a SyncStatus
Link copied to clipboard
Selects all message ids of a SyncStatus
Link copied to clipboard
Selects messages by IDs.
Link copied to clipboard
abstract suspend fun selectMessagesForChannel(cid: String, pagination: AnyChannelPaginationRequest?): List<Message>
Select messages for a channel in a desired page.
Link copied to clipboard
Select messages for a thread in a desired page.
Link copied to clipboard
Selects all messages with a poll with the passed ID.