PagingQuery

PagingQuery

# new PagingQuery(query, limit, nextCursor)

Creates a PagingQuery
Parameters:
Name Type Description
query Object Query with needed parameters.
limit number Limit amount of items in the response.
nextCursor string Cursor received in previous response.

PagingQuery

# new PagingQuery(query, limit, next, previous, refresh)

Creates a PagingQuery Only use one cursror at a time. Previous has priortiy over next cursor. Next has priortiy over refresh cursor.
Parameters:
Name Type Description
query ChatMessagesQuery Query with needed parameters.
limit number Limit amount of items in the response.
next string Next cursor received in last response.
previous string Previous cursor received in last response.
refresh string Refresh cursor received in last response.