ChatMessagesPagingResult

ChatMessagesPagingResult

# new ChatMessagesPagingResult(resultMap)

Creates a ChatMessagesPagingResult
Parameters:
Name Type Description
resultMap Object Chat messages.
Properties
Name Type Description
entries Array.<ChatMessage> Chat messages.
next string Cursor to get next page.
previous string Cursor to get previous page.
refresh string Cursor to get updated first page.

Methods

# (static) isLastPage() → {boolean}

Check if there are more entries to load.
Returns:
true if there are no more entries, false otherwise.
Type
boolean