onQueryDraftMessagesResult
abstract suspend fun onQueryDraftMessagesResult(result: Result<QueryDraftsResult>, filter: FilterObject, limit: Int, next: String?, sort: QuerySorter<DraftsSort>)
Side effect to be invoked when the original request is completed with a response.
Parameters
result
Result response from the original request.
filter
The filter object used in the query.
limit
The limit of the query.
next
The next page token.
sort
The sorter used in the query.
abstract suspend fun onQueryDraftMessagesResult(result: Result<List<DraftMessage>>, offset: Int?, limit: Int?)
Deprecated
The offset param in the onQueryDraftMessagesResult method is not used. Use the onQueryDraftMessagesResult(Result, FilterObject, Int, String?, QuerySorter) method instead.
Side effect to be invoked when the original request is completed with a response.
Parameters
result
Result response from the original request.
offset
The offset of the query.
limit
The limit of the query.