selectLocalOnlyMessagesForChannel

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.

Return

List of local-only messages, unordered.

Parameters

cid

The channel ID (format "type:id").