Handling pagination
This guide covers the process loading and displaying chunks of conversation events at a time.
NOTE: A step-by-step tutorial to build a chat application is available here.
Given a Conversation you are already a Member of, you can download chunks (pages) of events existing within this conversation.
Load first page of events:
After loading the first chunk of events you will get the reference to the current Events Page (JavaScript, iOS, Android). This reference allows you to retrieve following event pages:
Preceding pages can also be retrieved using a similar technique: