get Delivery Report List By Message Id
suspend fun getDeliveryReportListByMessageId( context: Context, messageId: String, @IntRange(from = 0 ) from: Int? = null, @IntRange(from = 1 ) pageSize: Int? = null, ascOrder: Boolean = true): List<STWDeliveryReport>?
Content copied to clipboard
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
message Id
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
page Size
The max number of delivery report record to be retrieved, 0 will return nothing. Value should be >= 1
asc Order
true Whether the list is ordered ascending or descending