On chat opening load only 10-15 last messages to prevent loading all the results, so it should work faster on long chats. On scrolling up we should count how many messages we already have and use offset param to get more messages and show it to user, so user will be able to see more content on scrolling messages list
On chat opening load only 10-15 last messages to prevent loading all the results, so it should work faster on long chats. On scrolling up we should count how many messages we already have and use offset param to get more messages and show it to user, so user will be able to see more content on scrolling messages list