Date range for chat/channel messages

This is for developer-specific feature requests. For other requests please contact our customer support team.

Is your feature request related to a problem? Please describe.
When calling /chat/users/{userId}/messages, in order to get all chat messages we must make several calls as the date must be specified as a single day. For example getting all messages in a channel from the past year would require 365 API calls for each user!

Describe the solution you’d like
allow the option for a start and end date to be specified so messages from a range of days can be got from a single API call.

Also consider getting all messages to a channel from all members of the channel, rather than calling to each user to get all channels the user is in, then calling on the user to get all messages to the channel.

Describe alternatives you’ve considered
There is no alternative other than an API call for each user for every day in the date range.

Additional context