enriched Messages
suspend fun enrichedMessages(limit: Int? = null, beforeNs: Long? = null, afterNs: Long? = null, direction: DecodedMessage.SortDirection = DecodedMessage.SortDirection.DESCENDING, deliveryStatus: DecodedMessage.MessageDeliveryStatus = DecodedMessage.MessageDeliveryStatus.ALL, excludedContentTypes: List<FfiContentType>? = null, excludeSenderInboxIds: List<String>? = null, insertedAfterNs: Long? = null, insertedBeforeNs: Long? = null, sortBy: DecodedMessage.SortBy = SortBy.SENT_TIME): List<DecodedMessageV2>
Get messages with enriched metadata automatically included.
This method retrieves messages with reactions, replies, and other associated data "baked in" to each message, eliminating the need for separate queries to fetch this information.
Recommended for UI rendering. This method provides better performance and simpler code compared to messages when displaying conversations.
When handling content types, use the generic content<T>() method with the appropriate type for reactions and replies.
Return
List of DecodedMessageV2 with enriched metadata.