-
Account billing and packages
-
General
-
Realtime API and client libraries
-
Troubleshooting
-
Channels
-
REST API and client libraries
-
Ably error codes
-
Account and app setup and configuration
-
Ably architecture, transports, and security
-
Performance and Redundancy
-
Push Notifications
-
Integrations
-
Migrating to Ably from an existing service
How to limit user numbers in channels
Is it possible to limit the number of users that are allowed to be in a channel?
It’s not possible to set a numeric limit on how many users can access a channel, although it is possible to restrict who can access the channel via token authentication.
Token permissions can be set to limit access to the channel for the required users, by setting your auth server to only allow permissions on a channel to certain client IDs as specified in this article.
For examples on how to send private/direct messages or set up a group chat, please see this FAQ
For more information on the different permissions that can be assigned to users on a channel and examples, please see here.
You can also find a demo on how to implement token authentication and how to assign permissions via this link.
For further details on authentication, please see this guide