Hi,
I’m using the API to retrieve a list of Groups as detailed here https://prodocs.cometchat.com/reference#listgroups.
Is there anyway to page these results at all?
Thanks
Hi,
I’m using the API to retrieve a list of Groups as detailed here https://prodocs.cometchat.com/reference#listgroups.
Is there anyway to page these results at all?
Thanks
Hi Ryanek,
Yes we do provide an option to paginate the results based on certain query parameters -
append
(after) and prepend
(before).prepend
/groups?createdAt=1597755077&affix=prepend
- This would fetch all the groups that were created prior to the passed timestamp.Kindly refer this for details - https://prodocs.cometchat.com/reference#listgroups
Hope this helps!
Siva
That’s what I was looking for as this functionality was not entirely clear in the documentation.
Thanks Siva!
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.