getDeliveryReportListByMessageId

suspend fun getDeliveryReportListByMessageId(    context: Context,     messageId: String,     @IntRange(from = 0) from: Int? = null,     @IntRange(from = 1) pageSize: Int? = null,     ascOrder: Boolean = true): List<STWDeliveryReport>?

Call this method to retrieve all message deliveries given a message id from local Database and it should be called only from a coroutine or another suspend function

Return

List of STWDeliveryReport or null

See also

Parameters

context

The application context

messageId

The message id

from

The offset of the first delivery report starting from it will return delivery report list based on pageSize. Value should be >= 0

pageSize

The max number of delivery report record to be retrieved, 0 will return nothing. Value should be >= 1

ascOrder

true Whether the list is ordered ascending or descending