Django channels deliberately avoid the ability to define all users, mainly due to scalability issues. Read this
However, there is this package called Django Channels Presence, which allows you to define users currently in the room, and they use it differently compared to Django channels.
source share