MessageRepository
Functions
Deletes message.
Deletes all messages from a channel.
Deletes all messages before a message with passed ID.
Delete a draft message.
Deletes the list of Message objects.
Deletes a Poll by its ID.
Evicts a message from the repository.
Evict messages from the repository.
Insert a draft message.
Inserts a messages.
Inserts many messages.
Selects all messages from a given user in a given channel.
Selects all messages from a given user.
Selects a draft message by its parent message ID.
Selects all draft messages.
Selects a draft message by its channel ID.
Returns all messages for cid that are local-only: syncStatus is one of SYNC_NEEDED, IN_PROGRESS, AWAITING_ATTACHMENTS, FAILED_PERMANENTLY, or type is "ephemeral" or "error". Used by the preservation mechanism before a server response replaces the active message window.
Reads the message with passed ID.
Selects all message of a SyncStatus
Selects all message ids of a SyncStatus
Selects messages by IDs.
Select messages for a channel in a desired page.
Select messages for a thread in a desired page.
Selects all messages with a poll with the passed ID.