public MessageListResult v2GetMessageListByCursor ( String cursor ) throws APIConnectionException , APIRequestException { if ( null != cursor ) { String requestUrl = mBaseReportPath + mV2MessagePath + "?cursor=" + cursor ; ResponseWrapper response = _httpClient . sendGet ( requestUrl ) ; return MessageListResult . fromResponse ( response , MessageListResult . class ) ; } else { throw new IllegalArgumentException ( "the cursor parameter should not be null" ) ; } }
Get message list with cursor the cursor will effective in 120 seconds . And will return same count of messages as first request .