Send Link header with /chats/:id/messages
Most paginated endpoints in the Mastodon API return a Link header like this:
link: <https://gleasonator.com/api/v1/timelines/home?limit=20&local=false&max_id=9ynCji04aEpLed1bgO&offset=0>; rel="next", <https://gleasonator.com/api/v1/timelines/home?limit=20&local=false&min_id=9ynD7b7jnjwVHH08kC&offset=0>; rel="prev"
It would be nice for the messages endpoint in the chats API to return the Link header too, for easier pagination. It basically just offloads some pagination logic to the BE.