Can I make a History Call to several Channels Simultaneously?

You cannot make a single call using Ably to retrieve history on multiple channels as history is stored by channel. However, you can iterate the history call over a list of channels in either a synchronous or asynchronous manner (depending on your requirements).

You can see a JavaScript example of this in our sharded channels demo on line 60 of the index.js file where the history from several shards can be retrieved and ordered by timestamp.

Reach out on our support portal if you have any further questions and we will be happy to help.