chat
chat copied to clipboard
Pagination param not working
Describe the bug Hi! i tried implementing pagination in the getMessage() method, but there is no data change when I manipulate the page parameter
To Reproduce Steps to reproduce the behavior:
- There is my code with pagination params
\Chat::conversations()->setPaginationParams([ 'perPage' => 10, 'sorting' => "desc", 'columns' => [ '*' ], ]) ->setParticipant($auth) ->get();
- I only have 25 message items, but when I fill in 10 page parameters, the data still matches the page 1 parameter, When I change the parameter to 2 the data that appears also doesn't change
- This is the response
Expected behavior My expectation is that my data changes according to the value of the page parameter
Thank you 👍