Getstream.io - 将一条消息发送到多个频道

Getstream.io - Sending one message to many channels

从一个用户向多个 'messaging' 频道发送一条消息的最佳模式是什么?就我而言,它可能多达 300 个或更多。通过查看文档,我似乎需要 query the channels 30 at a time, then iterate through those channels and send a message to each one. That seems very cumbersome and I was wondering if there was a better way. Would using Mult-Tenant and Teams 以某种方式解决问题?

不幸的是,您解释的方式(查询 -> 发送 -> 重复)是解决方案。

批处理端点会很有用,但由于未读消息维护、推送通知等,它可能比预期更复杂。

但是,今天没有,也没有计划很快。