For AI agents: this page in Markdown: https://www.pubnub.com/docs/sdks/rest-api/channel-groups-introduction.md. Documentation index: https://www.pubnub.com/llms-full.txt.
Channel Groups introduction
You can think of a channel group like a pointer to a list of channels on your server. If your application requires listening to large numbers of channels at once, channel groups allow you to send a single call which may subscribe to up to 100 channels. By default, each individual client can subscribe to a maximum of 10 channel groups for a total of up to 1,000 channels. For information on limits for paid accounts, refer to the docs.
Publishing
You can't publish to a channel group. You can only subscribe to it. To publish within a channel group, you need to publish to each channel individually.
For more information, refer to Channel groups.